about
Arrows of Time for Large Language Models (arxiv.org)
1 point by famouswaffles on Mar 18, 2024 | hide | past | pdf | discuss on HN

In plain words: Language models were tested on guessing the next word versus the previous one, which pure probability theory says should be equally hard. Large models consistently did better going forward, a gap traced to sparse data and limited computing power.

Abstract

We study the probabilistic modeling performed by Autoregressive Large Language Models (LLMs) through the angle of time directionality, addressing a question first raised in (Shannon, 1951). For large enough models, we empirically find a time asymmetry in their ability to learn natural language: a difference in the average log-perplexity when trying to predict the next token versus when trying to predict the previous one. This difference is at the same time subtle and very consistent across various modalities (language, model size, training time, ...). Theoretically, this is surprising: from an information-theoretic point of view, there should be no such difference. We provide a theoretical framework to explain how such an asymmetry can appear from sparsity and computational complexity considerations, and outline a number of perspectives opened by our results.

Vassilis Papadopoulos, Jérémie Wenger, Clément Hongler
arXiv:2401.17505 · cs.LG, cs.AI, cs.CL · submitted Jan 30, 2024 · updated Jul 24, 2024
abstract · pdf · html · Corrected typos in Table 2. Added links. 12 figures, 20 pages

add comment on HN
Also discussed: Feb 2024 (6 points, 3 comments)