Jump to content

Talk:Perplexity: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
top: +
Line 1: Line 1:
{{maths rating|class=Start|priority=Low|field=probability and statistics}}
{{maths rating|class=Start|priority=Low|field=probability and statistics}}
{{WikiProject Artificial Intelligence}}

{{WikiProject Systems}}
{{WikiProject Systems}}



Revision as of 15:24, 30 March 2023

WikiProject iconMathematics Start‑class Low‑priority
WikiProject iconThis article is within the scope of WikiProject Mathematics, a collaborative effort to improve the coverage of mathematics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-priority on the project's priority scale.
WikiProject iconArtificial Intelligence
WikiProject iconThis article is within the scope of WikiProject Artificial Intelligence, a collaborative effort to improve the coverage of Artificial intelligence on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
WikiProject iconSystems Unassessed
WikiProject iconThis article is within the scope of WikiProject Systems, which collaborates on articles related to systems and systems science.
???This article has not yet received a rating on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.
Taskforce icon
This article is not associated with a particular field. Fields are listed on the template page.

Perplexity as confusion

I'd humbly suggest that somewhere should be found a small amount of space to formally recognize that perplexity, to most English speakers' understanding, a state of confusion or bewilderment. I think it's great to learn details about this math theory, but perhaps someone can find a spot to mention the origin of the word or any kind of clue/reference to the actual non-math meaning of perplexity.

Action taken: I've added a link to the Wiktionary definition. --84.9.73.211 (talk) 10:01, 6 February 2008 (UTC)[reply]

Plagiarism

Phrase "Perplexity Per Word"

"Perplexity Per Word" is taken verbatim from the following uncited source: [1] --133.11.168.148 (talk) 05:32, 27 May 2010 (UTC)[reply]

It's just perplexity scaled by the number of words. It's a really common term and would be even more common if most papers didn't just say "perplexity" and assume the reader knows it's per word. --130.108.16.157 (talk) 17:44, 20 April 2011 (UTC)[reply]
Deriving a "per word" unit from a unit applied to text is an obvious thing to do for anybody on the field. Citing a source for it would be most unusual. There is no plagiarism here. Jojo (talk) 16:42, 15 April 2017 (UTC)[reply]

Better wording

Why not just write this page as follows:

In information theory, perplexity is a unit of information such that a perplexity of $p$ equals $log_2 p$ bits, or $log_10 p$ hartleys, etc.

The rest of the page is redundant with most information theory articles.MisterSheik (talk) 02:39, 21 April 2011 (UTC)[reply]

Since when does to fact that similar information can be found in academic articles mean that a wikipedia page should be removed?

I agree, this could even be merged with Entropy. Full Decent (talk) 22:17, 18 April 2016 (UTC)[reply]

By the same token, any other page about a derived concept could be merged. The main purpose of an encyclopedia is to help people to quickly understand a concept. This page explains the perplexity measure. It also links to entropy for those who want to know more about the theory behind it. Making it a subsection of "Entropy (information theory)" would make it much more difficult to find. Jojo (talk) 16:42, 15 April 2017 (UTC)[reply]

Seriously out-of-date figures...

Article currently states:

The lowest perplexity that has been published on the Brown Corpus (1 million words of American English of varying topics and genres) as of 1992 is indeed about 247 per word

I'm really not sure why the best we could do 25 years ago is relevant here. I see perplexity of language models in English (although not on the Brown corpus) that are substantially lower than this (e.g. ~100 for recurrent neural net models). If the Brown corpus is the benchmark, what are more recent figures on that corpus? JulesH (talk) 09:17, 3 June 2017 (UTC)[reply]

I haven't seen any recent experiments on the Brown corpus, but there's no reason not to replace that with a more common benchmark. The One Billion Word Benchmark [1] is common now, and Exploring the Limits of Language Modeling (2016) [2] gets a perplexity of 23.7 using an ensemble of massive LSTM and skipgram models. I'm not aware of any better results on that set. That whole section needs to be rewritten if we switch the example, though; it refers to the Brown corpus and the 247 ppl result all over the place. 130.108.103.115 (talk) 23:01, 26 September 2017 (UTC)[reply]

References

  1. ^ Chelba, Ciprian; Mikolov, Tomas; Schuster, Mike; Ge, Qi; Brants, Thorsten; Koehn, Phillipp; Robinson, Tony (December 2013). "One Billion Word Benchmark for Measuring Progress in Statistical Language Modeling". arXiv:1312.3005.
  2. ^ Jozefowicz, Rafal; Vinyals, Oriol; Schuster, Mike; Shazeer, Noam; Wu, Yonghui. "Exploring the Limits of Language Modeling". arXiv:1602.02410.

2020 onwards status

Even more so after the BERT and subsequent advances of late 2018 onwards. — Preceding unsigned comment added by 93.172.199.165 (talk) 09:56, 11 June 2020 (UTC)[reply]

  • Perplexity of 12 bits per word was not unusual by 2021, and GPT-4 report indicates a test loss below 1.5 bits per word on Python code (but that's difficult to convert to natural language loss, let alone perplexity). See https://paperswithcode.com/task/language-modelling for more perplexities and losses on different datasets, and note that perplexity may be calculated on training, validation and/or test datasets (training data may be memorized by the model, the validation set can't but still adds bias due to tuning hyperparams while the test dataset shows the true performance, see [2] and [3] for details) by its designers, while in some cases the people evaluating the perplexity don't even know whether the model has seen the dataset they use during training, which may make such a number kinda useless. Ain92 (talk) 15:19, 30 March 2023 (UTC)[reply]

Inverse perplexity

The inverse of the perplexity (which, in the case of the fair k-sided die, represents the probability of guessing correctly), is 1/1.38 = 0.72, not 0.9.

This seems barmy to me. Inverse perplexity seems like a crazy thing. Perplexity is kind of like average list length in an underspecified input system. Inverse list length WTF? I can't make any useful mental picture of this. — MaxEnt 00:22, 30 March 2018 (UTC)[reply]