Abstract
Current language models are considered to have sub-human capabilities at natural language tasks like question-answering or writing code. However, causal language models are not trained to perform well at these tasks; they are trained to accurately predict the next token given previous tokens 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 on OpenWebText. In both experiments, we find humans to be consistently worse than relatively small language models like GPT-Neo-1.3B or GPT-2-large at next-token prediction.
Introduction
While large language models (LLMs) are often described as having "sub-human" reasoning or coding skills, this research demonstrates that they are already "superhuman" at the specific task they are trained for: next-token prediction. We typically evaluate AI by how well it performs "human" tasks—answering trivia, writing essays, or solving math problems. However, causal language models are trained to minimize the "loss" of predicting the next token in a sequence. This paper provides the first "apples-to-apples" comparison between humans and LMs on this native objective using the OpenWebText dataset.
Methodology
The authors designed two distinct experiments to bridge the gap between human intuition and machine probability:
- Top-1 Accuracy Game: Humans were shown a text snippet and asked to guess the exact next token. The interface provided hints and prevented "impossible" guesses to mitigate the difficulty humans have with Byte Pair Encoding (BPE) tokenization.
- Perplexity Estimation via Importance Sampling: To estimate human perplexity, participants were shown two candidate tokens—the "true" next token and one sampled from a reference model—and asked to estimate the ratio of their probabilities. A novel weighted binary cross-entropy reward system was used to incentivize well-calibrated probability estimates.
The primary evaluation set was OpenWebText, a high-quality crawl of Reddit-linked web pages. Models were also evaluated on The Pile to check for potential overfitting.
Key Results
The experiments revealed a significant performance gap between humans and even modest language models.
Top-1 Accuracy
Human participants averaged 29-30% accuracy. In contrast, even the tiny GPT-Neo-125M outperformed every human in the study. Larger models like GPT-3 (175B) achieved 56% accuracy on the same data.
Perplexity
Human perplexity was estimated to be significantly higher (worse) than that of GPT-2-small. This lead held up even when models were "handicapped" by rounding their probability outputs to match human constraints.
Discussion and Insights
- The "Native Task" Gap: Humans are better at writing coherent text, but models are better at predicting it. A model must allocate probability mass to every plausible continuation, including typos or obscure facts, which models excel at.
- Tokenization and Practice: While BPE tokenization is a barrier for humans, filtering for "word-like" tokens did not close the gap. Furthermore, practice did not significantly improve human performance, suggesting models' advantages stem from a massive internal library of statistical patterns.
- Interpretability: If models are superhuman at prediction, they likely "know" statistical features of text that are invisible to humans, potentially making them less interpretable as they scale.
Limitations
The study notes that high human perplexity might be partially due to poor calibration (humans being "bad at math") rather than language ability. Future work could involve "super-experts" like professional copy editors to see if they can challenge the models.
Summary updated