Abstract
Modern large language models (LLMs) often possess context windows far exceeding human cognitive capacity. This study investigates whether such "perfect" memory actually hinders their ability to model human language processing. By restricting the context window of various models, researchers found that predictions align more closely with human reading times, suggesting that human-like cognitive constraints are essential for accurate psycholinguistic modeling.
Introduction
In computational psycholinguistics, surprisal—the unexpectedness of a word given its context—is a standard proxy for human cognitive load. However, a gap has emerged between engineering-focused LLMs and cognitive science. While models like GPT-2 use self-attention to maintain a parallel memory of thousands of tokens, humans have limited working memory and are subject to "locality effects." This paper explores whether the massive context window of modern LMs makes them worse at simulating human language processing.
Methodology
The researchers evaluated the Psychometric Predictive Power (PPP) of various LMs, measuring how well surprisal values correlate with human eye-tracking data from the Dundee Corpus (English) and BCCWJ-EyeTrack (Japanese).
To simulate human-like memory constraints, they employed an "n-gram-ification" approach, restricting model inputs to a fixed number of preceding words ($n$), ranging from 2 to 20. To address the "training-inference mismatch"—where models trained on long sequences might be confused by sudden truncation—they retrained models using a special break token (<b>).
Key Results
The study revealed a "Less is More" paradox: for nearly every model, reducing the context window increased its ability to predict human reading times.
The Scaling Gap
Larger models, such as GPT2-XL, were found to be less human-like in their default (full-context) state compared to smaller models. However, these large models showed the most significant gains in human-likeness when their context was restricted. For instance, in English, GPT2-XL’s PPP score improved significantly when moving from full context to a 2-word window.
Accuracy vs. Plausibility
A critical finding is that lower perplexity (better word prediction) does not equate to higher cognitive plausibility. There was a positive correlation between perplexity and PPP; as models became "worse" at prediction due to limited context, they became "better" at mimicking human processing patterns.
Discussion
The "LM-human gap" is not uniform across all linguistic structures. Analysis of syntactic constructions suggests that humans and LMs differ most on specific dependency types. While humans benefit from long context for discourse markers, they often appear "short-sighted" when processing local verb-subject relations.
The authors acknowledge that a simple sliding $n$-gram window is a crude approximation of human memory, which is likely "lossy" based on syntactic or semantic cues rather than just distance.
Conclusion
Restricting the context window of neural language models significantly improves their alignment with human behavioral data. This suggests that incorporating cognitive constraints, such as limited working memory, is vital for developing models that truly reflect human linguistic performance. Future work should explore more sophisticated memory models, such as cue-based retrieval and syntactic biases in attention mechanisms.
Reference: Kuribayashi, T., Oseki, Y., Brassard, A., & Inui, K. (2022). Context Limitations Make Neural Language Models More Human-Like. In Proceedings of EMNLP.
Summary updated