Language models are better than humans at next-token prediction

Buck Shlegeris, Fabien Roger, Lawrence Chan, Euan McLean
12/21/2022
cs.CLcs.AIcs.LG

Official code: FabienRoger/lm-game-analysis-main (1 star, Python, last commit 2024-07-10).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

10Python, JavaScriptJul 10, 20242 years ago

Similar Papers

Cite this paper

@article{shlegeris2022language,
  title  = {Language models are better than humans at next-token prediction},
  author = {Buck Shlegeris and Fabien Roger and Lawrence Chan and Euan McLean},
  year   = {2022},
  eprint = {2212.11281},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.11281}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.11281.svg)](https://codeofpaper.com/paper/2212.11281)

Discussion