AskDefine | Define perplexity

Dictionary Definition

perplexity n : trouble or confusion resulting from complexity

User Contributed Dictionary



From Middle French perplexité or post-classical Latin perplexitas ‘entanglement’, from perplexus.


  • (UK) /pəˈplɛksɪti/
  • (US) /pəɻˈplɛksədi/


  1. The state of being perplexed; puzzled or confused.
  2. Something that perplexes.
    • 1942: The Emperor, who was by then a focus of unresolvable perplexities, stood providing a strongly contrary appearance — Rebecca West, Black Lamb and Grey Falcon (Canongate 2006, p. 149)


Extensive Definition

Perplexity is a measurement in information theory. It is defined as 2 raised to the power of entropy, or more often as 2 raised to the power of cross-entropy. The latter definition is commonly used to compare probability models empirically.

Perplexity of a probability distribution

The perplexity of a discrete probability distribution p is defined as
where H(p) is the entropy of the distribution and x ranges over events.
One may also define the perplexity of a random variable X as the perplexity of the distribution over its possible values x.
It is easy to see that in the special case where p models a fair k-sided die (a uniform distribution over k discrete events), its perplexity is k. We may therefore regard any random variable with perplexity k as having the same uncertainty as a fair k-sided die. We are "k-ways perplexed" about the value of such a random variable. (Unless it is also a fair k-sided die, more than k values will be possible, but the overall uncertainty is no greater because some of these values will have probability greater than 1/k.)

Perplexity of a probability model

Often one tries to model an unknown probability distribution p, based on a training sample that was drawn from p. Given a proposed probability model q, one may evaluate q by asking how well it predicts a separate test sample x1, x2, ..., xN also drawn from p. The perplexity of the model q is defined as
Better models q of the unknown distribution p will tend to assign higher probabilities q(xi) to the test events. Thus, they have lower perplexity: they are less surprised by the test sample.
The exponent above may be regarded as the average number of bits needed to represent a test event xi if one uses an optimal code based on q. Low-perplexity models do a better job of compressing the test sample, requiring few bits per test element on average because q(xi) tends to be high.
The exponent may also be regarded as a cross-entropy,
H(\tilde,q) = -\sum_x \tilde(x) \log_2 q(x)
where \tilde denotes the empirical distribution of the test sample (i.e., \tilde(x) = n/N if x appeared n times in the test sample of size N).

Perplexity per word

In natural language processing, perplexity is a common way of evaluating language models. A language model is a probability distribution over entire sentences or texts.
Using the definition above, one might find that the average sentence xi in the test sample could be coded in 190 bits (i.e., the test sentences had an average log-probability of -190). This would give an enormous model perplexity of 2190 per sentence. However, it is more common to normalize for sentence length and consider only the number of bits per word. Thus, if the test sample's sentences comprised a total of 1,000 words, and could be coded using a total of 7,950 bits, one could report a model perplexity of 27.95 = 247 per word. In other words, the model is as confused on test data as if it had to choose uniformly and independently among 247 possibilities for each word.
The lowest perplexity that has been published on the Brown Corpus (1 million words of American English of varying topics and genres) is indeed about 247 per word, corresponding to a cross-entropy of log2247 = 7.95 bits per word or 1.75 bits per letter using a trigram model. It is often possible to achieve lower perplexity on more specialized corpora, as they are more predictable.


perplexity in German: Perplexität (Statistik)
perplexity in Spanish: Perplejidad
perplexity in Portuguese: Perplexidade

Synonyms, Antonyms and Related Words

Chinese puzzle, Gordian knot, amorphousness, baffle, bafflement, baffling problem, befuddlement, bewilderment, bind, bother, botheration, brain twister, catch-22, chaos, cloud, complexity, complexness, complication, confoundment, confusion, convolution, crabbedness, crossword puzzle, crux, dark, darkness, daze, difficulty, dilemma, discombobulation, discomfiture, discomposure, disconcert, disconcertedness, disconcertion, disconcertment, disorder, disorganization, disorientation, distress, disturbance, doubt, embarrassment, enigma, enigmatic question, entanglement, fix, floorer, flummox, flurry, fluster, flutter, fog, fogginess, frenzy, fuddle, fuddlement, fuzziness, haze, impenetrability, indeterminateness, indistinctness, intricacy, intricateness, involution, involvement, jam, jigsaw puzzle, jumble, knot, knotty point, maze, mess, mind-boggler, mist, mistiness, muddle, muddlement, mumbo jumbo, murk, murkiness, mystery, mystification, node, nodus, nonplus, nut to crack, obfuscation, obscurantism, obscuration, obscurity, opacity, oxymoron, paradox, perplexed question, perturbation, pickle, plight, pons asinorum, poser, pother, predicament, problem, pucker, puzzle, puzzlement, puzzler, quandary, question, question mark, ramification, reconditeness, riddle, ruffle, scrape, shapelessness, shuffle, sixty-four dollar question, stew, sticker, stumper, subtlety, sweat, swivet, tanglement, teaser, technicality, tizzy, tough proposition, unassuredness, unclarity, unclearness, unplainness, unsettlement, upset, vagueness, vexed question, why
Privacy Policy, About Us, Terms and Conditions, Contact Us
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2
Material from Wikipedia, Wiktionary, Dict
Valid HTML 4.01 Strict, Valid CSS Level 2.1