Introduction
Human reading is a complex cognitive process characterized by alternating fixations (brief pauses) and saccades (rapid jumps). Predicting these eye-tracking patterns is a fundamental goal in psycholinguistics and computational linguistics, as it offers a window into how the human brain processes language. While modern Transformer-based models like BERT and GPT-2 have shown impressive capabilities in various NLP tasks, their ability to simulate human gaze behavior—and the factors influencing that simulation—remains an active area of research.
The Problem: Complexity and Context
Despite the success of large language models (LLMs), two significant gaps persist in gaze prediction research. First, the relationship between model performance and text complexity is not well understood; it is unclear if models struggle more with syntactically dense or less readable text. Second, most existing models treat sentences or words in isolation, ignoring the "spillover effect"—the phenomenon where the cognitive load of a preceding sentence influences the reading behavior of the current one.
Methodology: A Hybrid Approach
To address these gaps, researchers evaluated BERT (bidirectional encoder) and GPT-2 (unidirectional decoder) in both frozen and fine-tuned states. They extracted 107 linguistic features across five categories: syntactic complexity, lexical richness, register-based n-grams, readability scores (e.g., SMOG), and psycholinguistic properties (e.g., Age of Acquisition).
To model the spillover effect, the authors developed a hybrid architecture. As illustrated in Figure 1, a Bidirectional LSTM (BLSTM) processes the linguistic features of preceding sentences. This contextual information is then integrated with the Transformer's internal representations before reaching the final regression layer for gaze prediction.
Datasets
The models were evaluated on two distinct eye-tracking corpora:
- GECO (Ghent Eye-Tracking Corpus): Featuring Agatha Christie’s The Mysterious Affair at Styles, providing a consistent "within-domain" narrative.
- PROVO: A diverse dataset encompassing news, fiction, and popular science, used to test the models' generalization capabilities across different registers.
Key Insights
BERT vs. GPT-2
Contrary to some theories suggesting unidirectional models are more "cognitively plausible" due to the left-to-right nature of reading, BERT consistently outperformed GPT-2. This suggests that BERT’s bidirectional context may better capture the integrative and regressive (re-reading) phases of human eye movements.
The Impact of Text Difficulty
Analysis revealed that model accuracy is inversely proportional to text difficulty. As syntactic complexity increases or readability decreases, the Mean Absolute Error (MAE) of the predictions rises. Models are notably better at predicting "early" measures (initial fixations) than "late" measures (total reading time including re-reads), indicating that higher-order cognitive resolution of ambiguity remains a challenge for LLMs.
The Spillover Boost
Incorporating information from the previous sentence significantly improved prediction accuracy. This confirms that human reading is a cumulative process where the difficulty of recently processed text lingers and affects subsequent gaze patterns.
Results
The fine-tuned models achieved state-of-the-art results. As shown in Table 1, the addition of the spillover component ("com S-1") consistently boosted performance across both datasets and model types.
The fine-tuned BERT model with spillover features reached a peak accuracy of 94.08% on GECO and 95.51% on PROVO. Interestingly, the models generalized exceptionally well, often performing better on the out-of-domain PROVO dataset than on the GECO data used for training.
Conclusion
This research demonstrates that while Transformer models are highly effective at predicting human eye movements, their performance is sensitive to linguistic complexity and benefits greatly from multi-sentence context. While high prediction accuracy does not necessarily equate to identical cognitive processing, these findings provide a robust framework for improving the "human-likeness" of language models in processing complex text.
Summary updated