[Paper Review] Language models are better than humans at next-token prediction
This study directly compares human and language model performance on next-token prediction using the OpenWebText dataset, measuring both top-1 accuracy and perplexity. It finds that even small language models like GPT-3-Ada outperform humans in both metrics, demonstrating that current language models are superhuman at the task they are trained on—next-token prediction.
Current language models are considered to have sub-human capabilities at natural language tasks like question-answering or writing code. However, language models are not trained to perform well at these tasks, they are trained to accurately predict the next token given previous tokes in tokenized text. It is not clear whether language models are better or worse than humans at next token prediction. To try to answer this question, we performed two distinct experiments to directly compare humans and language models on this front: one measuring top-1 accuracy and the other measuring perplexity. In both experiments, we find humans to be consistently \emph{worse} than even relatively small language models like GPT3-Ada at next-token prediction.
Motivation & Objective
- To resolve the ambiguity about whether language models outperform humans at next-token prediction, the core task they are trained on.
- To conduct apples-to-apples comparisons using non-handcrafted, real-world internet text (OpenWebText) rather than curated or synthetic datasets.
- To measure human performance not just via top-1 accuracy but also via perplexity, which captures the full probability distribution over next tokens.
- To challenge prior claims that humans have lower perplexity than language models, especially those based on flawed extrapolation or indirect estimation methods.
Proposed method
- Conducted a top-1 accuracy experiment where human participants selected the most likely next token from a 50,000-token vocabulary in OpenWebText sequences.
- Developed a calibrated probability estimation game to measure human perplexity, where participants assigned probability ratios between candidate tokens.
- Used GPT-2-small as a reference model to estimate human perplexity via a ratio-based scoring system, enabling direct comparison with language models.
- Applied uncertainty estimation techniques to assess reliability of human perplexity estimates, acknowledging potential underestimation due to calibration issues.
- Used the same methodology for both humans and language models to ensure a fair, direct comparison of perplexity scores.
- Evaluated multiple language models including GPT-3-Ada, GPT-2, and GPT-1, using their reported log-probabilities to compute perplexity for comparison.
Experimental results
Research questions
- RQ1Are language models better than humans at next-token prediction on real-world internet text?
- RQ2What is the true human perplexity on next-token prediction, and how does it compare to that of small language models?
- RQ3How reliable are prior estimates of human perplexity, particularly those based on extrapolation from small models or subjective judgment scales?
- RQ4Does top-1 accuracy alone provide a sufficient measure of next-token prediction performance, or is full probability distribution modeling necessary?
- RQ5To what extent do language models surpass humans in the specific task of predicting the next token, given that they are trained exclusively on this objective?
Key findings
- Humans achieved a top-1 accuracy of approximately 28% on the OpenWebText dataset, which is lower than the 36% accuracy of GPT-2 in a similar setup.
- Even small language models like GPT-3-Ada outperform humans in both top-1 accuracy and perplexity, indicating superhuman performance on the core training objective.
- Human perplexity estimates were substantially higher than those of GPT-3-Ada, with the human perplexity being overestimated due to poor calibration in probability reporting.
- The study found that human performance in calibrated probability estimation was worse than that of a two-layer neural network, suggesting fundamental limitations in human probabilistic reasoning for this task.
- Prior claims that humans have a perplexity of around 12 are invalid due to flawed extrapolation from small models and non-representative datasets.
- The results imply that modern language models are already superhuman at next-token prediction, even at the small model scale, which has implications for interpretability and model capabilities.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.