betaFeedback

WorksComputer Science

The Depth of a Prediction: Where Language Models Resolve a Word Predicts Human Reading Time

Abstract

Surprisal from a language model's final layer predicts how long people read a word, yet the model computes its prediction across many layers. We read each word's prediction at every layer with the tuned lens and summarize this layerwise surprisal trajectory by its resolution depth, the depth around which its change is centered. On eight English eye-tracking and self-paced reading corpora (81,957 words) and ten GPT-2, OPT and Pythia models, words that a model resolves later, and the words after them, are read more slowly than equally surprising words. Resolution depth improves held-out prediction beyond final-layer surprisal, entropy and the best single layer by 0.26 millinats per word (pooled p = 0.001), about a third of entropy's gain, and each model family gains, GPT-2 and Pythia through one corpus each. The net gain varies between corpora (random-effects mean 0.07, p = 0.37); against layer-shuffled depth, which adds as many coefficients, it is positive in seven of eight corpora (random-effects mean 0.23, p = 0.016), and untrained networks show no gain under the logit lens. Pooled over corpora, the effect holds with corrected word probabilities and beyond first-to-last-layer divergences, and a whole-trajectory functional regression adds no significant information beyond resolution depth.

Introduction

Readers spend longer on words that are hard to predict. Surprisal theory makes this precise: the processing cost of a word grows with its surprisal, the negative log probability of the word given its context [13, 19]. Neural language models supply these probabilities, and their surprisal predicts reading times on held-out data across languages, corpora and reading paradigms (Wilcox et al., 2023; Shain et al., 2024). In these studies the probability comes from the model’s output layer.

A transformer language model reaches that output in steps. Each block updates a residual stream, and decoding the stream after every block, with the model’s own unembedding (the logit lens; nostalgebraist, 2020) or with a learned affine translator for each layer (the tuned lens; Belrose et al., 2023), yields a sequence of predictions that converges toward the output. These intermediate predictions bear on human reading. Surprisal read from intermediate layers fits self-paced reading times and gaze durations better than final-layer surprisal [17]; the probability update between the first and the last layer adds to surprisal in explaining reading times for garden-path sentences [18]; and in recall, categorization and reasoning tasks, measures of how a forward pass unfolds, such as the layer after which the model settles on an answer, improve predictions of human response times beyond final-layer measures [16].

The reading-time studies treat depth either as a choice of layer for a whole dataset or as a contrast between two layers. Within one model, however, the prediction of each word follows its own course across depth: some predictions are fixed in the first blocks while others change until the last [12, 3]. Whether the position along depth at which a word’s prediction resolves carries information about reading effort, beyond how surprising the word finally is, has not been tested. A test needs a per-word measure of timing that is separate from the size of the change, a comparison with the best single layer, and held-out evaluation, because layerwise predictors are numerous and strongly correlated.

We treat each word’s surprisal across layers as a function of relative depth, its layerwise surprisal trajectory (Figure 1), and summarize where the trajectory changes by its resolution depth DD: the centroid of the trajectory’s absolute change along relative depth. DD lies between 0 and 1, equals 0.5 when the change is spread evenly over the layers whatever their number, and is defined separately from the final surprisal and the total amount of change, both of which enter our analyses as controls. We test DD on eight English reading corpora with ten models from three families, against controls that include final-layer surprisal and entropy, frequency, length, bigram predictability, spillover, the amount of layerwise change and the best single layer, using cross-validated log-likelihood and permutation tests pooled over corpora and models, and test with a functional regression on the whole trajectory whether DD summarizes its predictive information.

Mean layerwise surprisal trajectories for OneStop words under GPT-2 XL

Figure 1. Mean layerwise surprisal trajectories (tuned lens) of OneStop words in the middle fifth of final surprisal (40th to 60th percentile) under GPT-2 XL, split into the fifth with the lowest and the fifth with the highest resolution depth DD (Natural Stories with Pythia 2.8B in Figure 4a). Dotted lines mark each group’s mean DD; nn is the number of analyzed words in the band. Both groups end at the same surprisal; the late-resolved words keep a high surprisal through more of the network.

Words that a model resolves later, and the words that follow them, are read more slowly than equally surprising words. Pooled over corpora and models, DD improves held-out log-likelihood by 0.26 millinats per word (95% CI 0.10 to 0.40; p=0.001p = 0.001), about a third of the gain from contextual entropy, and each of the three families gains on its own: GPT-2 through OneStop, Pythia through Natural Stories and OPT without either. The net gain varies between corpora: in the smallest corpora two added coefficients cost more held-out likelihood than DD supplies, as they do for layer-shuffled and untrained DD, and its random-effects mean is 0.07 (p=0.37p = 0.37). Against layer-shuffled DD, which adds as many coefficients, the gain is positive in seven of the eight corpora, and its random-effects mean of 0.23 (95% CI 0.03 to 0.44; p=0.016p = 0.016) shows that, across corpora, DD carries information beyond the held-out cost of its two coefficients. Untrained networks read with the logit lens do not reproduce the gain, and it survives corrected word probabilities, the removal of the embedding readout, lexical, skipping and endpoint controls and first-to-last-layer divergences.

The paper thus contributes a per-word measure of where along a transformer’s depth the prediction of a word resolves (§ 3), evidence from eight corpora and ten models of three families that this measure predicts held-out reading times beyond surprisal and the best single layer and loses its gain when the layers are shuffled (§ 6.1–§ 7), a functional analysis showing that, pooled over corpora, it summarizes the trajectory’s predictive information, while OneStop and Natural Stories hold more in the trajectory’s shape (§ 5.4, § 7.1), and a characterization of the words that models resolve late (§ 7.2).

Related Work

Surprisal and reading times. Surprisal links probabilistic prediction to processing cost ([13, 19]). Language-model surprisal predicts held-out reading times in eleven languages (Wilcox et al., 2023) and, across more than 2.2 million data points from six English datasets, with a cost linear in surprisal ([32]); contextual entropy adds to surprisal in three of four datasets ([29]); and within a model family, larger models give surprisal that fits reading times worse ([25]). Other model-internal quantities also predict reading times: hidden-state representations of early layers predict first-pass measures better than surprisal (Tsipidi et al., 2026), and the discretization timestep of a Mamba state-space model (Yamamoto et al., 2026), the energy of an energy-based transformer ([7]) and deviations from the path of hidden states across successive words ([2]) add to surprisal. Vector predictors from larger models gain largely through added dimensions, and untrained networks of the same size reproduce much of their fit, which makes untrained models a necessary baseline [20].

Model layers and human processing. Kuribayashi et al. [17] read surprisal from every layer of 30 models with the logit lens, and of 14 of them with the tuned lens, and found that intermediate layers fit self-paced reading and first-pass gaze durations better than the final layer, with faster measures aligned to earlier layers; the analysis selects the best layer per dataset and measure and evaluates fit in sample. Kuribayashi et al. [18] report the reverse alignment in syntactically challenging regions and show that probability updates between the first and the last layer (a surprisal difference and the Kullback–Leibler and Jensen–Shannon divergences) improve fits to self-paced reading of garden-path sentences. Hayakawa and Saggion [14] summarize where across layers the predictive power of surprisal concentrates, as a mean layer weighted by log-likelihood gains, for groups of second-language readers and gaze measures. Hu et al. [16] relate the time course of a forward pass to human response times and accuracy in decision tasks without reading data. Resolution depth locates each word’s own prediction change along depth and enters the regression as a word-level predictor, evaluated on held-out naturalistic reading against the best single layer and against first-to-last-layer measures.

Depth of computation. The depth at which a network’s prediction becomes fixed varies across inputs and indexes example difficulty in image classifiers [1]; the tuned lens defines an analogous prediction depth for language-model tokens [3]; and the layers at which the top-ranked tokens saturate vary across tokens [12, 21], with ordered saturation present even in untrained networks [21]. These indices track the stability of the top-ranked token against model-internal quantities; resolution depth is a continuous centroid of the surprisal change of the word that occurs, validated against human reading times.

Resolution Depth

Layerwise surprisal trajectories

Consider a decoder-only transformer with LL blocks and hidden states h0,…,hLh_0,\ldots,h_L at each position, where h0h_0 is the embedding output and hih_i the residual stream after block ii. A readout maps hih_i to a distribution over the next token. The logit lens applies the model’s final normalization and unembedding directly, pi=softmax⁡(WULN⁡(hi))p_i = \operatorname{softmax}(W_U\operatorname{LN}(h_i)) (nostalgebraist, 2020). The tuned lens first applies a learned affine translator, pi=softmax⁡(WULN⁡(hi+Aihi+bi))p_i = \operatorname{softmax}(W_U\operatorname{LN}(h_i + A_i h_i + b_i)), trained to match the model’s output distribution [3]. The readout at i=Li=L is the model’s output. For a word ww that spans tokens t1,…,tkt_1,\ldots,t_k in context cc, its surprisal at readout ii is

si(w)=−∑j=1klog⁡pi(tj∣c,t<j)(1)s_i(w) = -\sum_{j=1}^{k}\log p_i(t_j \mid c,t_{<j}) \tag*{(1)}

and readout ii sits at relative depth i/Li/L. The sequence s0(w),…,sL(w)s_0(w),\ldots,s_L(w) is the word’s layerwise surprisal trajectory (Figure 1).

Definition

The change between readouts i−1i-1 and ii spans the depths from (i−1)/L(i-1)/L to i/Li/L, and we place it at the midpoint vi=(i−12)/Lv_i = (i-\frac{1}{2})/L. The resolution depth of ww is the centroid of the trajectory’s absolute change along relative depth:

D(w)=∑i=1Lvi∣si(w)−si−1(w)∣∑i=1L∣si(w)−si−1(w)∣.(2)D(w) = \frac{\sum_{i=1}^{L} v_i \lvert s_i(w)-s_{i-1}(w)\rvert}{\sum_{i=1}^{L}\lvert s_i(w)-s_{i-1}(w)\rvert}. \tag*{(2)}

DD is a weighted mean of the step depths v1,…,vLv_1,\ldots,v_L, with weights proportional to how much the word’s surprisal changes at each layer step. A word whose surprisal falls in the first blocks and then stays flat has a low DD; a word whose surprisal keeps changing until the top has a high DD; a change spread evenly over the layers gives D=0.5D=0.5 for any number of layers. Writing TV⁡(w)=∑i∣si(w)−si−1(w)∣\operatorname{TV}(w)=\sum_i\lvert s_i(w)-s_{i-1}(w)\rvert for the total variation of the trajectory, which is positive for every word we analyze, the resolution profile πi(w)=∣si(w)−si−1(w)∣/TV⁡(w)\pi_i(w)=\lvert s_i(w)-s_{i-1}(w)\rvert/\operatorname{TV}(w) is a distribution over depth, and D(w)=∑iviπi(w)D(w)=\sum_i v_i\pi_i(w) is its mean. For a trajectory that decreases monotonically, D(w)=(sˉ(w)−sL(w))/(s0(w)−sL(w))D(w)=(\bar{s}(w)-s_L(w))/(s_0(w)-s_L(w)), where sˉ(w)\bar{s}(w) is the mean of the trajectory over relative depth (trapezoidal rule on the readouts); DD is the area between the trajectory and its final value as a fraction of its total decrease, so a word with high DD keeps a high surprisal through more of the network. It describes where the trajectory changes; the final surprisal sL(w)s_L(w), the total variation TV(w)\mathrm{TV}(w) and the surprisal update SU(w)=s0(w)−sL(w)\mathrm{SU}(w) = s_0(w)-s_L(w) describe how much, and they enter our analyses as controls.

We use the centroid because a threshold landmark, the first depth at which the trajectory completes 90% of its cumulative change, compresses into the top of the network: tuned-lens trajectories keep changing until the output, and across our ten models the landmark falls in the top fifth of depth for 60% to 89% of words. The centroid spreads over the middle of the network (median 0.38 to 0.50 by model).

Data and Models

Reading corpora

We use eight publicly released English reading corpora (Table 1). In Provo ([22]), 84 native readers of American English read 55 short passages from news, popular-science and fiction sources. In GECO ([6]), 14 English monolinguals read a complete novel, Agatha Christie’s The Mysterious Affair at Styles, in screens of up to 145 words. From OneStop ([4]) we use the ordinary-reading regime, in which 180 native readers each read ten of 30 Guardian articles, paragraph by paragraph, in an original or a simplified version; we exclude practice and repeated-reading trials. From MECO (Siegelman et al., 2022) we use the English sample of Wave 1 (46 readers) in release 2.0, version 2.1 ([33]), who read 12 encyclopedic texts based on Wikipedia entries. From ZuCo 1.0 ([15]) we use the normal-reading task on Wikipedia sentences, read one sentence at a time by 12 native speakers. In Natural Stories ([10]), 181 native speakers read ten edited texts, two of them adapted from Wikipedia articles, word by word in a moving-window self-paced reading paradigm. The UCL corpus ([9]) contributes one corpus of each kind: 361 sentences from novels, chosen to be interpretable out of context and read one word at a time, and the 205 that fit on one line, read on an eye tracker by other participants.

CorpusMaterialReadersWordsAnalyzedUnitsReaders/word
Provo55 passages842,7452,11555 passages49
GECOone novel1454,36233,624586 screens7
OneStop30 articles, 2 versions18035,18825,35930 articles14
MECO12 texts462,1071,73212 texts18
ZuCo300 sentences126,5884,711300 sentences9
UCL eye tracking205 sentences371,9311,305205 sentences25
Natural Stories10 stories18110,2569,23710 stories84
UCL self-paced361 sentences624,9573,874361 sentences39
Total118,13481,9571,559 units

Table 1. Reading corpora: six eye-tracking and two self-paced reading corpora (Natural Stories, UCL self-paced); the two UCL corpora present the same sentences (205 in eye tracking) to different readers. Words are the displayed word tokens of each release; analyzed words enter the primary analysis (go-past time for eye tracking, reading time for self-paced reading) after exclusions. Units define the cross-validation folds and the units of inference (§ 5). Readers/word is the median number of readers contributing to an analyzed word. Total reading time analyzes 36,382 words in GECO, 26,824 in OneStop, 1,881 in MECO and 1,316 in UCL eye tracking, and the words of the primary measure elsewhere.

For eye tracking we use first fixation duration, gaze duration (first-pass dwell time), go-past time (regression-path duration) and total reading time. The first three count readers who fixated the word during first-pass reading; total reading time counts every reader who fixated the word. For each word and measure we average log durations over the contributing readers and keep words with at least five contributing readers (three in GECO, which has 14 readers in total).

Models and readouts

We use GPT-2 small, large and XL ([30]), whose released checkpoints have 124M, 774M and 1.5B parameters and 12, 36 and 48 blocks; OPT 125M, 1.3B and 6.7B (Zhang et al., 2022), with 12, 24 and 32 blocks; and Pythia-deduped 410M, 1.4B, 2.8B and 6.9B ([5]), with 24, 24, 32 and 32 blocks. These are the three families for which Kuribayashi et al. [17] also used the released tuned lenses ([3]). The families differ in training data: GPT-2 was trained on WebText, from which Wikipedia documents were removed ([30]), and OPT and Pythia on data that include English Wikipedia through the Pile ([11]; Zhang et al., 2022; [5]). As untrained controls we read four networks with the logit lens, since tuned lenses exist only for trained models: GPT-2 XL and OPT 1.3B with random weights, since these families release no initial checkpoint, and Pythia 410M and 1.4B at their released initialization checkpoints.

Analysis

Regression and controls

For each corpus, model and measure we predict the mean log reading time ywy_w of word ww by weighted least squares with weights equal to the number of contributing readers nwn_w, which corresponds to a Gaussian likelihood with variance σ2/nw\sigma^2/n_w.

The baseline contains word length, Zipf frequency (Speer, 2022) and their product for ww, w−1w - 1 and w−2w - 2, the log position of ww in its sentence, and the surprisal of ww and w−1w - 1 under a word bigram model of WikiText-103 (Merity et al., [23]) with interpolated absolute discounting. The control set adds the language-model quantities: final-layer surprisal of ww and its square, final-layer surprisal of w−1w - 1 and w−2w - 2, final-layer entropy of ww and w−1w - 1, the total variation and surprisal update of ww, the log number of tokens of ww and w−1w - 1, and the surprisal of ww and w−1w - 1 at the best single non-final readout. The best readout is chosen inside each training fold by five-fold grouped cross-validation over readouts 0,…,L−10, \ldots, L - 1, so that the control set contains the strongest single-layer predictor available to the model. The test model adds D(w)D(w) and D(w−1)D(w - 1) to the control set.

Evaluation and inference

We evaluate by ten-fold cross-validation with folds grouped by text unit (Table 1) and standardize predictors within training folds. The gain of a model over its comparator is the mean per-word difference in held-out log-likelihood, reported in millinats per word. Inference treats text units as independent: we sum the gains within each unit and test their total with a one-sided sign-flip permutation test (10,000 sign flips for one corpus, model and measure), one-sided because the hypothesis, that DD adds information, is directional. To pool, we sum the unit gains of the models being pooled within each corpus and concatenate units across corpora, a sentence read in both UCL corpora forming one unit (1,354 units for the primary measure; 20,000 sign flips); the pooled gain is the summed gain divided by the number of word predictions. Intervals are 95% percentile intervals from 2,000 bootstrap samples of units drawn within corpora, the UCL corpora forming one. To treat the corpora as a sample, we fit DerSimonian–Laird random-effects models to the per-corpus gains, with a Hartung–Knapp interval, the share I2I^2 of between-corpus variation beyond sampling error and a prediction interval for a new corpus, also counting the two UCL corpora as one. To express magnitude, we compare the gain with two references on the same words and folds: final-layer surprisal of ww and w−1w - 1 added to the baseline, and final-layer entropy of ww and w−1w - 1 added to the rest of the control set. The analyses are exploratory, and we report every corpus, model and measure we analyzed (Appendix § 13).

Layer order and untrained networks

If DD’s information lies in the course of the trajectory across depth, scrambling the order of readouts should remove it. We apply five fixed random permutations to readouts 0,…,L−10, \ldots, L - 1, keep the output last, recompute DD and rerun the whole cross-validated test for each, and report the median gain over the five permutations, which no single permutation determines. Shuffled DD adds as many coefficients as DD, so the difference between their gains on each text unit separates the information that DD draws from the trajectory from the held-out cost of the coefficients. If the effect arose from architecture or tokenization alone, untrained networks with the same architecture and tokenizer would reproduce it; we run the complete pipeline with the four untrained networks on every corpus and measure.

Functional regression

DD compresses the trajectory into one number. To test whether the whole trajectory carries more, we fit a scalar-on-function regression [31 ch. 15]: the term

∫01β(u)sw(u) du\int_0^1 \beta(u)s_w(u)\,du

where sw(i/L)=si(w)s_w(i/L)=s_i(w), discretized as L−1∑i=0Lβ(i/L)si(w)L^{-1}\sum_{i=0}^{L}\beta(i/L)s_i(w), with β\beta expanded in eight cubic B-splines on equally spaced knots and a second-difference roughness penalty [8] whose weight is chosen from 10−110^{-1} to 10810^8 by five-fold grouped cross-validation inside each training fold. The model contains one such term for ww and one for w−1w-1. We compare the control set plus the trajectory term with the control set plus DD, test the trajectory beyond DD and DD beyond the trajectory, and fit the trajectory term to layer-shuffled trajectories. Because DD is the mean of the resolution profile π(w)\pi(w), a functional regression on the profile, ∑iβ(vi)πi(w)\sum_i\beta(v_i)\pi_i(w), reproduces DD when β\beta is linear; added to the control set and DD, it tests whether the shape of the profile carries information beyond its mean.

Robustness and alternative measures

We repeat the main test with DD computed from readouts 1,…,L1,\ldots,L, leaving out the embedding readout; with word probabilities corrected for word boundaries [26, 28]; on words that are a single token for the model; with the function-word status of ww and w−1w-1, the squares and cubes of their length and Zipf frequency, the squared surprisal update and the product of final surprisal and update, the total variation and surprisal update of w−1w-1, or the skipping rates of ww and w−1w-1 added to the controls; with D(w)D(w) or D(w−1)D(w-1) alone in the test model; and with DD computed from the entropy trajectory Hi(w)H_i(w) of the readouts. Under the logit lens we compute DD from all readouts and from readout 1, with the main controls and with total variation, surprisal update and best readout also from the logit lens. We compare DD with the closest cross-layer measures: the mean surprisal sˉ(w)\bar{s}(w) of the trajectory over relative depth, also with its square and its products with final surprisal and update, and the depth

of the largest single-step drop in surprisal, analogous to the area-under-the-curve and argmax-delta measures of Hu et al. [16]; the Jensen–Shannon divergence and the Kullback–Leibler divergence between the readout after the first block and the output [18], added to the controls for ww and w−1w-1; prediction depth, the relative depth of the earliest readout from which every readout’s top-ranked token equals the output’s [1, 3]; and a settling depth, the first depth after which surprisal stays within 10% of the trajectory’s range from its final value. Each alternative is tested alone and as a control for DD. Appendix A gives the implementation. All corpora, models and lenses are publicly available, and we will release our analysis code under an open license with the published version.

Results

Resolution depth predicts reading times

The setup reproduces the standard surprisal effect: final-layer surprisal of ww improves held-out log-likelihood over the baseline in 79 of the 80 corpus–model pairs (5.94 millinats per word, pooled), and the improvement shrinks with model size within a family in 18 of 24 family–corpus series [25]. Pooled over the ten models and eight corpora, DD improves held-out log-likelihood on the primary measure by a further 0.26 millinats per word (95% CI 0.10 to 0.40; p=0.001p=0.001; Figure 2). Each family gains on its own: GPT-2 0.36 (0.11 to 0.59; p=0.004p = 0.004), OPT 0.25 (0.07 to 0.41; p=0.002p = 0.002) and Pythia 0.18 (0.03 to 0.33; p=0.021p = 0.021). Seven of the ten models are significant on their own, and OPT 125M, Pythia 410M and Pythia 6.9B are positive (0.11 to 0.14; p=0.14p = 0.14 each). On total reading time (reading time for self-paced reading), the pooled gain is 0.34 (0.15 to 0.53; p<0.001p < 0.001).

Pooled over the six eye-tracking corpora and ten models, DD adds 0.09 millinats per word to first fixation duration (p=0.037p = 0.037), 0.30 to gaze duration (p<0.001p < 0.001), 0.21 to go-past time (p=0.010p = 0.010) and 0.31 to total reading time (p=0.005p = 0.005; Figure 4b). GPT-2 gains on every eye-movement measure (p≤0.008p \le0.008) and OPT on all but first fixation (0.09; p=0.061p = 0.061); Pythia’s eye-tracking gains are smaller (−0.004 to 0.15; p=0.068p = 0.068 to 0.53), and its effect concentrates in self-paced reading.

Mean layerwise surprisal trajectories and held-out gain for six eye-tracking corpora

Figure 4. (a) Mean layerwise surprisal trajectories of Natural Stories words under Pythia 2.8B, as in Figure 1. (b) Held-out gain from adding D(w)D(w) and D(w−1)D(w - 1) to the control set, the six eye-tracking corpora pooled per measure and family, with 95% bootstrap intervals over text units drawn within corpora.

The effect varies across corpora (Figure 3). It is largest for GPT-2 on OneStop (0.78 to 1.47 millinats per word; p≤0.009p \le0.009) and on Natural Stories for Pythia 410M to 2.8B (1.17 to 1.64; p≤0.040p \le0.040) and OPT 6.7B (1.65; p=0.025p = 0.025). The families differ significantly only in these two corpora: GPT-2 gains more than OPT and Pythia in OneStop (two-sided p=0.005p = 0.005 and 0.001), and Pythia more than GPT-2 in Natural Stories (p=0.008p = 0.008), where GPT-2 loses (−0.28 to −0.39). GECO gives gains near zero for every model except OPT 6.7B (0.31; p=0.024p = 0.024); in UCL, self-paced reading gains for eight of the ten models (0.36 pooled over models; p=0.19p = 0.19) and eye tracking loses for nine (−1.30); Table 4 in Appendix § 13 lists every corpus, model and measure. Nine of the 80 corpus–model pairs are significant on their own (4.0 expected at α=0.05\alpha= 0.05), and over all four measures 30 of the 260 trained cells gain significantly (13.0 expected). Each added coefficient costs held-out likelihood, about 1/n1/n nats per word for two coefficients without signal on nn independent words and more when the words come from few texts or short sentences: in Provo, MECO and UCL eye tracking, shuffled DD loses as much as DD (medians −0.68, −0.50 and −1.46 against −0.35, −0.55 and −1.52), so these corpora carry little information on the question. Because the sign-flip test is centered at zero, it flags such losses more often than nominal: 30 trained cells lose significantly (two-sided p<0.05p < 0.05; 6.5 expected in that tail), 24 of them in UCL eye tracking and Provo. No single corpus carries the pooled effect: leaving out any

Heatmap of held-out gain from resolution depth across corpora and models

Figure 3. Held-out gain from resolution depth on the primary measure for each corpus and model, in millinats per word. Asterisks mark one-sided permutation p<0.05p < 0.05 for the corpus and model alone.

ModelFFDGDGPTRTModelFFDGDGPTRT
ProvoMECO
GPT-2 small−0.99-0.99−0.73-0.73−0.07-0.07−0.29-0.29GPT-2 small+1.00+1.00+3.90+3.90+0.93+0.93+1.57+1.57
GPT-2 large+0.61+0.61+0.96+0.96−0.42-0.42−0.09-0.09GPT-2 large−0.85-0.85−0.42-0.42−0.86-0.86−2.49-2.49
GPT-2 XL+1.98∗+1.98^{*}+1.07+1.07+1.03+1.03+0.85+0.85GPT-2 XL−0.40-0.40+1.03+1.03−0.62-0.62−0.18-0.18
OPT 125M+0.72+0.72+1.09+1.09+0.72+0.72−0.41-0.41OPT 125M+0.61+0.61+3.20+3.20−0.49-0.49+1.11+1.11
OPT 1.3B−0.01-0.01−0.20-0.20−0.28-0.28−0.47-0.47OPT 1.3B+1.09+1.09+2.71+2.71+0.72+0.72+3.01∗+3.01^{*}
OPT 6.7B+0.22+0.22−0.44-0.44+0.66+0.66−0.18-0.18OPT 6.7B+0.83+0.83+1.78+1.78−0.62-0.62+0.77+0.77
Pythia 410M−0.54-0.54−1.19†-1.19^{\dagger}−0.42-0.42−1.64†-1.64^{\dagger}Pythia 410M−0.86-0.86−0.70-0.70−0.38-0.38−2.02-2.02
Pythia 1.4B+0.03+0.03+0.13+0.13−1.01†-1.01^{\dagger}−0.84†-0.84^{\dagger}Pythia 1.4B−0.80-0.80−0.80-0.80−0.62-0.62−1.67†-1.67^{\dagger}
Pythia 2.8B+0.12+0.12−1.02†-1.02^{\dagger}−0.89†-0.89^{\dagger}−0.81†-0.81^{\dagger}Pythia 2.8B−0.75-0.75−0.67-0.67+0.98+0.98+0.26+0.26
Pythia 6.9B−0.68-0.68−1.17†-1.17^{\dagger}−0.52-0.52−1.29-1.29Pythia 6.9B−0.31-0.31+0.56+0.56−1.03-1.03−0.51-0.51
GECOZuCo
GPT-2 small−0.08†-0.08^{\dagger}−0.08-0.080.000.00−0.02-0.02GPT-2 small0.000.00+0.29+0.29+1.20+1.20+0.81+0.81
GPT-2 large0.000.00−0.08†-0.08^{\dagger}0.000.00−0.03-0.03GPT-2 large+0.39+0.39+0.23+0.23+0.01+0.01+0.03+0.03
GPT-2 XL0.000.00+0.09+0.09+0.17+0.17+0.22∗+0.22^{*}GPT-2 XL+1.36∗+1.36^{*}+2.21∗+2.21^{*}+0.55+0.55+0.98+0.98
OPT 125M−0.04-0.04−0.04-0.04+0.02+0.02+0.05+0.05OPT 125M−0.24-0.24−0.17-0.17−0.25-0.25+0.04+0.04
OPT 1.3B+0.06+0.060.000.00+0.09+0.09+0.15+0.15OPT 1.3B+0.22+0.22+1.28+1.28−0.07-0.07+0.86+0.86
OPT 6.7B+0.09+0.09−0.02-0.02+0.31∗+0.31^{*}−0.02-0.02OPT 6.7B−0.03-0.03+1.27+1.27+0.56+0.56+0.83+0.83
Pythia 410M−0.06-0.06−0.08-0.08−0.03-0.030.000.00Pythia 410M−0.30-0.30+0.79+0.79−0.27-0.27+0.56+0.56
Pythia 1.4B+0.01+0.01−0.02-0.02+0.03+0.03+0.01+0.01Pythia 1.4B+0.39+0.39+1.04+1.04+0.10+0.10+0.42+0.42
Pythia 2.8B−0.05†-0.05^{\dagger}−0.04-0.04+0.05+0.05+0.07+0.07Pythia 2.8B+0.55+0.55+1.30+1.30+0.95+0.95+2.11∗+2.11^{*}
Pythia 6.9B−0.06-0.06−0.05-0.05+0.12+0.12+0.02+0.02Pythia 6.9B+0.07+0.07+0.95+0.95+0.19+0.19+0.96+0.96
OneStopUCL eye tracking
GPT-2 small+0.26+0.26+0.42+0.42+0.78∗+0.78^{*}+0.88∗+0.88^{*}GPT-2 small−1.68†-1.68^{\dagger}−2.25†-2.25^{\dagger}−1.37-1.37−0.76-0.76
GPT-2 large+0.49∗+0.49^{*}+0.82∗+0.82^{*}+1.11∗+1.11^{*}+0.79+0.79GPT-2 large−0.68-0.68−0.80-0.80+0.04+0.04−1.62†-1.62^{\dagger}
GPT-2 XL+1.02∗+1.02^{*}+2.59∗+2.59^{*}+1.47∗+1.47^{*}+1.99∗+1.99^{*}GPT-2 XL−2.41†-2.41^{\dagger}−1.96†-1.96^{\dagger}−2.84†-2.84^{\dagger}−0.79-0.79
OPT 125M+0.05+0.05+0.39∗+0.39^{*}+0.49∗+0.49^{*}+0.12+0.12OPT 125M−1.39†-1.39^{\dagger}−1.15-1.15−2.02†-2.02^{\dagger}−1.30-1.30
OPT 1.3B+0.11+0.11+0.70∗+0.70^{*}+0.30+0.30+1.03∗+1.03^{*}OPT 1.3B−1.38-1.38−1.02-1.02−0.80-0.80−1.34†-1.34^{\dagger}
OPT 6.7B+0.48∗+0.48^{*}+0.70∗+0.70^{*}+0.26+0.26+1.02∗+1.02^{*}OPT 6.7B−2.91†-2.91^{\dagger}−2.86†-2.86^{\dagger}−1.68-1.68−0.58-0.58
Pythia 410M+0.23+0.23+0.44+0.44+0.24+0.24+0.55∗+0.55^{*}Pythia 410M−1.11-1.11+0.72+0.72−0.12-0.12−0.82-0.82
Pythia 1.4B+0.16+0.16+0.43∗+0.43^{*}+0.17+0.17+0.28+0.28Pythia 1.4B−0.18-0.18+0.27+0.27−0.70-0.70−3.97†-3.97^{\dagger}
Pythia 2.8B+0.06+0.06+0.06+0.06+0.01+0.01+0.25+0.25Pythia 2.8B−1.32-1.32+0.21+0.21−1.79†-1.79^{\dagger}+2.10+2.10
Pythia 6.9B+0.11+0.11+0.20+0.20+0.26+0.26+0.53∗+0.53^{*}Pythia 6.9B−2.26†-2.26^{\dagger}−1.49†-1.49^{\dagger}−1.67†-1.67^{\dagger}−0.11-0.11
Natural StoriesUCL self-paced
GPT-2 small––−0.33†-0.33^{\dagger}–GPT-2 small––−0.38-0.38–
GPT-2 large––−0.28-0.28–GPT-2 large––+1.09+1.09–
GPT-2 XL––−0.39-0.39–GPT-2 XL––+0.19+0.19–
OPT 125M––−0.26†-0.26^{\dagger}–OPT 125M––+0.29+0.29–
OPT 1.3B––+0.79+0.79–OPT 1.3B––+0.52+0.52–
OPT 6.7B––+1.65∗+1.65^{*}–OPT 6.7B––+0.29+0.29–
Pythia 410M––+1.17∗+1.17^{*}–Pythia 410M––−0.43-0.43–
Pythia 1.4B––+1.64∗+1.64^{*}–Pythia 1.4B––+0.96+0.96–
Pythia 2.8B––+1.50∗+1.50^{*}–Pythia 2.8B––+0.48+0.48–
Pythia 6.9B––+0.01+0.01–Pythia 6.9B––+0.61+0.61–

Table 4. Held-out gain (millinats per word) from adding D(w)D(w) and D(w−1)D(w-1) to the control set, for each corpus, trained model and measure: first fixation duration (FFD), gaze duration (GD), go-past time (GP) and total reading time (TRT). The self-paced reading corpora have one measure, the reading time, listed under GP, so the table holds 260 cells. Asterisks mark one-sided permutation p<0.05p < 0.05 for the cell alone (10,000 sign flips over text units), daggers a significant loss (two-sided p<0.05p < 0.05).

corpus carries the pooled effect: leaving out any one corpus keeps it significant (0.14 to 0.38 millinats per word; p≤0.020p \le0.020). For GPT-2 and Pythia, it rests on one corpus each: without OneStop, GPT-2 gains 0.02 (p=0.41p = 0.41), and without Natural Stories, Pythia gains 0.07 (p=0.20p = 0.20). OPT keeps it without either (0.21, p=0.023p = 0.023; 0.19, p=0.011p = 0.011). Treated as a sample of corpora, the net gain has a random-effects mean of 0.07 (Hartung–Knapp 95% CI −0.42 to 0.56; one-sided p=0.37p = 0.37; I2=75%I^2 = 75\%; 95% prediction interval for a new corpus −0.93 to 1.07), and 0.21 with the two UCL corpora counted as one (−0.07 to 0.48; p=0.057p = 0.057). Against layer-shuffled DD the gain is positive in seven of the eight corpora (0.09 to 0.61; UCL eye tracking −0.16), with a random-effects mean of 0.23 (0.03 to 0.44; p=0.016p = 0.016; I2=27%I^2 = 27\%; prediction interval −0.14 to 0.60; 0.25 with the two UCL corpora counted as one, p=0.015p = 0.015), and 0.15 without OneStop and Natural Stories (p=0.006p = 0.006); for OPT it does not vary between corpora (I2=0%I^2 = 0\%; 0.19, 0.03 to 0.35; prediction interval 0.03 to 0.36). GECO’s few readers per word (median 7) do not explain its result: OneStop reduced to a median of three or four readers per word keeps positive gains for GPT-2 large and XL on every measure (24 of 24 draws; 12 significant).

Words resolved later, and the words after them, are read more slowly. Added on its own, D(w)D(w) gains 0.09 millinats per word (p=0.015p = 0.015) and D(w−1)D(w - 1) 0.17 (p=0.002p = 0.002), so much of the effect falls on the following word. The coefficient of D(w)D(w) in full-data fits is positive in 66 of the 80 pairs, and in 73% of the 260 trained cells against 47% of the 104 untrained cells; the coefficients of D(w)D(w) and D(w−1)D(w - 1) are both positive in all nine significant pairs. One standard deviation of DD lengthens go-past time by 0.6% to 1.3% on the word and by 1.1% to 1.6% on the following word for GPT-2 on OneStop, and lengthens reading time by 0.2% to 0.3% on each for Pythia 410M to 2.8B on Natural Stories. Pooled, the gain from DD is 2.1% of the gain from final-layer surprisal of ww and w−1w - 1 over the baseline (0.26 against 12.6 millinats per word) and 30% of the gain from final-layer entropy of ww and w−1w - 1 beyond the other controls (0.85).

Layer order and untrained networks

Shuffling the readouts removes the gain. Under the five layer permutations, the pooled gain on the primary measure is −0.016 millinats per word (−0.051-0.051 to 0.0210.021; p=0.79p = 0.79), and no model keeps a significant gain (Figure 2). On total reading time the shuffled gain is −0.01-0.01 (p=0.66p = 0.66); OPT 1.3B is the one model that keeps a significant shuffled gain there, 0.100.10 of its 0.570.57 (p=0.019p = 0.019). No untrained network reproduces the gain: on the primary measure, GPT-2 XL and OPT 1.3B with random weights gain −0.07-0.07 and 0.080.08 millinats per word and Pythia 410M and 1.4B at initialization −0.05-0.05 and −0.09-0.09 (p≥0.27p \ge0.27), and the four together gain −0.03-0.03 (p=0.75p = 0.75), against 0.220.22 (p=0.025p = 0.025) for trained models read the same way, with logit-lens controls. The untrained networks thus rule out architecture and tokenization as the source of the logit-lens effect, which lies mostly in the first step after the embedding readout (§ 7). Three of the 104 untrained cells are positive and significant, all in GECO, against 5.2 expected by chance (Table 5).

Held-out gain in log-likelihood from adding resolution depth

Figure 2. Held-out gain in log-likelihood from adding resolution depth D(w)D(w) and D(w−1)D(w-1) to the control set on the primary measure (go-past time for eye tracking, reading time for self-paced reading), pooled over the eight corpora, per model, per family, for the ten trained models and for the four untrained networks; ticks mark the median gain over five layer permutations. Intervals are 95% bootstrap intervals over text units drawn within corpora.

ModelFFDGDGPTRT
Provo
GPT-2 XL, random−0.62-0.62−0.76†-0.76^{\dagger}−0.20-0.20−0.31-0.31
OPT 1.3B, random−1.16-1.16−1.59†-1.59^{\dagger}−0.19-0.19−0.89-0.89
Pythia 410M, step 0−0.84-0.84−0.96-0.96−1.07†-1.07^{\dagger}−1.00-1.00
Pythia 1.4B, step 0−1.22-1.22+0.16+0.16−1.00†-1.00^{\dagger}−0.68-0.68
GECO
GPT-2 XL, random−0.05†-0.05^{\dagger}−0.02-0.02−0.03-0.03+0.01+0.01
OPT 1.3B, random+0.04+0.04+0.28∗+0.28^{*}+0.09+0.09+0.36∗+0.36^{*}
Pythia 410M, step 0−0.05-0.05−0.04-0.04+0.04+0.04−0.02-0.02
Pythia 1.4B, step 0+0.04+0.04+0.05+0.05+0.06+0.06+0.34∗+0.34^{*}
OneStop
GPT-2 XL, random−0.11-0.11−0.07-0.07+0.07+0.07−0.07-0.07
OPT 1.3B, random−0.20†-0.20^{\dagger}−0.15-0.15−0.06-0.06−0.20†-0.20^{\dagger}
Pythia 410M, step 00.000.00−0.09-0.09−0.06-0.06−0.07-0.07
Pythia 1.4B, step 0−0.06-0.06−0.06-0.06−0.03-0.03+0.05+0.05
Natural Stories
GPT-2 XL, random––−0.06-0.06–
OPT 1.3B, random––−0.04-0.04–
Pythia 410M, step 0––+0.17+0.17–
Pythia 1.4B, step 0––−0.39-0.39–
MECO
GPT-2 XL, random−0.85-0.85−1.15-1.15−1.73†-1.73^{\dagger}−1.82-1.82
OPT 1.3B, random−0.86-0.86+0.15+0.15+2.61+2.61+0.23+0.23
Pythia 410M, step 0+2.90+2.90+1.67+1.67+0.53+0.53+0.86+0.86
Pythia 1.4B, step 0−0.48-0.48+1.05+1.05+0.21+0.21+0.55+0.55
ZuCo
GPT-2 XL, random−0.06-0.06−0.38-0.38−0.03-0.03−0.78†-0.78^{\dagger}
OPT 1.3B, random+0.45+0.45+0.12+0.12+0.94+0.94−0.25-0.25
Pythia 410M, step 0+0.07+0.07−0.37-0.37−0.21-0.21−0.49-0.49
Pythia 1.4B, step 0−0.05-0.05−0.71†-0.71^{\dagger}−0.21-0.21−0.24-0.24
UCL eye tracking
GPT-2 XL, random+0.78+0.78−0.52-0.52−0.95-0.95−1.23-1.23
OPT 1.3B, random−0.64-0.64−0.53-0.53−0.26-0.26+0.57+0.57
Pythia 410M, step 0−0.11-0.11−1.43-1.43−1.27-1.27+0.10+0.10
Pythia 1.4B, step 0−2.57†-2.57^{\dagger}−3.04†-3.04^{\dagger}−2.25-2.25−1.61†-1.61^{\dagger}
UCL self-paced
GPT-2 XL, random––−0.25-0.25–
OPT 1.3B, random––−0.86†-0.86^{\dagger}–
Pythia 410M, step 0––−0.23-0.23–
Pythia 1.4B, step 0––+0.03+0.03–

Table 5. Held-out gain (millinats per word) from adding D(w)D(w) and D(w−1)D(w - 1) to the control set for the untrained networks, read with the logit lens: GPT-2 XL and OPT 1.3B with random weights and Pythia 410M and 1.4B at initialization. Columns, asterisks and daggers as in Table 4.

Robustness and alternative measures

Leaving out the embedding readout (0.190.19 millinats per word), correcting word probabilities for word boundaries (0.190.19) and restricting the test to single-token words (0.170.17) keep the gain (p≤0.012p \le0.012; Table 2), so the embedding readout and token segmentation do not produce it. With function-word status, nonlinear terms in length and frequency, the skipping rates of ww and w−1w - 1, the first-to-last-layer divergences of Kuribayashi et al. [18] or quadratic terms in the trajectory’s endpoints in the controls, the gain stays at 0.190.19 to 0.260.26 (p≤0.005p \le0.005). With the total variation and surprisal update of w−1w - 1 also in the controls, DD gains 0.120.12 (p=0.029p = 0.029; OPT 0.170.17, p=0.035p = 0.035; GPT-2 and Pythia 0.100.10, p=0.12p = 0.12 and 0.100.10) and 0.140.14 on total reading time (p=0.014p = 0.014): part of D(w−1)D(w - 1)’s information is the size of the preceding word’s change. DD of the entropy trajectory adds nothing on the primary measure (−0.02-0.02; p=0.60p = 0.60) and predicts total reading time nearly as well as DD (0.300.30 against 0.340.34); on the primary measure, the information is specific to the surprisal trajectory of the word that occurs.

AnalysisGainpp
Main test0.2570.001
D(w)D(w) alone0.0940.015
D(w−1)D(w-1) alone0.1740.002
From readout 10.1880.006
Corrected word probabilities0.1850.009
Single-token words0.1710.012
+ function-word status0.2580.001
+ nonlinear length, frequency0.2170.004
+ JS and KL, first vs. last0.2410.001
+ quadratic sLs_L, sUs_U0.1870.004
+ TV and sUs_U of w−1w-10.1240.029
+ skipping rate0.2010.005
DD of the entropy trajectory−0.017-0.0170.60
Logit lens, main controls0.441<0.001<0.001
from readout 10.1640.010
Logit lens, logit controls0.2250.025
from readout 10.0130.39
Mean layerwise surprisal alone0.1370.003
DD beyond it0.1010.067
DD beyond its quadratic terms0.0700.15
Prediction depth alone−0.004-0.0040.52
DD beyond it0.2060.003
Largest-drop depth alone0.0140.38
DD beyond it0.1260.019
Settling depth alone−0.013-0.0130.63
DD beyond it0.1650.007

Table 2. Robustness and alternative measures: pooled held-out gain (millinats per word) on the primary measure over eight corpora and ten models, with one-sided sign-flip pp. “+” rows add the named variables of ww and w−1w-1 to the controls before testing DD; “alone” rows test the alternative measure in place of DD, and “beyond” rows test DD with the alternative in the controls.

The logit lens is a coarser instrument [3]: logit-lens DD gains 0.440.44 millinats per word beyond the main controls (p<0.001p < 0.001), much of it from the first step of GPT-2 and OPT, whose tied embeddings make the first readout assign tens of nats to the next word, and 0.160.16 from readout 1 (p=0.010p = 0.010); with logit-lens controls it gains 0.220.22 (p=0.025p = 0.025), and 0.010.01 from readout 1 (p=0.39p = 0.39). The mean surprisal of the trajectory, unchanged when the intermediate readouts are reordered, predicts reading times alone (0.140.14; p=0.003p = 0.003); for a decreasing trajectory it equals sL(w)+D(w)SU⁡(w)s_L(w) + D(w)\operatorname{SU}(w) and carries the information of DD given the endpoints, and DD adds 0.100.10 beyond it (p=0.067p = 0.067) and 0.070.07 beyond its quadratic terms with the final surprisal and update (p=0.15p = 0.15; 0.120.12 on total reading time, p=0.033p = 0.033). Prediction depth, the largest-drop depth and the settling depth gain −0.01-0.01 to 0.010.01 alone (p≥0.38p \ge0.38), and DD adds beyond each (0.210.21, 0.130.13 and 0.170.17; p≤0.019p \le0.019): a centroid over the whole trajectory captures timing information that single landmarks miss.

Functional regression on the whole trajectory

The functional regression on the whole trajectory gains 0.170.17 millinats per word (p=0.047p = 0.047; Table 3), less than DD. The two add little to each other in either direction, and the regression on the resolution profile, which reduces to DD when its coefficient function is linear, adds nothing beyond DD. The functional term gains little from the true layer order (0.050.05 over shuffled layers; p=0.14p = 0.14) because shuffled trajectories keep the order-free mean surprisal (gain 0.120.12; p=0.048p = 0.048), which adds −0.05-0.05 beyond DD (p=0.80p = 0.80; Table 6 in Appendix C). Across corpora, the trajectory adds information beyond DD in OneStop (0.410.41; p=0.003p = 0.003), and in Natural Stories it fits worse than DD while the shape of the resolution profile adds to DD (0.87; p=0.016p = 0.016; Table 7 in Appendix § 14).

ComparisonGain95% CIpp
DD0.2570.10, 0.400.001
Trajectory0.168−0.00-0.00, 0.340.047
Trajectory beyond DD−0.020-0.020−0.16-0.16, 0.120.61
DD beyond trajectory0.069−0.05-0.05, 0.190.15
Profile beyond DD−0.010-0.010−0.12-0.12, 0.090.57

Table 3. Functional regression on the trajectories of ww and w−1w-1: pooled held-out gain (millinats per word) on the primary measure; “beyond” rows add one term to a model that contains the other (shuffled-layer rows in Table 6).

ComparisonGain95% CIpp
DD0.2570.10, 0.400.001
Trajectory0.168−0.00, 0.340.047
&nbsp;&nbsp;&nbsp;&nbsp;true vs. shuffled0.047−0.03, 0.120.14
Trajectory beyond DD−0.020−0.16, 0.120.61
DD beyond trajectory0.069−0.05, 0.190.15
Profile beyond DD−0.010−0.12, 0.090.57
Shuffled trajectory0.1210.00, 0.250.048
&nbsp;&nbsp;&nbsp;&nbsp;beyond DD−0.047−0.15, 0.050.80

Table 6. Functional regression on the layerwise surprisal trajectory of ww and w−1w-1: pooled held-out gain (millinats per word) on the primary measure over eight corpora and ten models. The first two rows add DD or the trajectory term to the control set; “beyond” rows add one term to a model that already contains the other. “Profile beyond DD” adds a functional term on the resolution profile, whose mean is DD; shuffled rows use the median over five layer permutations.

CorpusDDTrajectoryTrajectory beyond DDDD beyond trajectoryProfile beyond DD
Provo−0.12+0.35−0.08−0.55{sup}†`−1.09
GECO+0.08+0.13*+0.09+0.03−0.05
OneStop+0.51*+0.75*+0.41*+0.16+0.06
Natural Stories+0.55*−0.43−0.57+0.41+0.87*
MECO−0.20−1.16−1.41−0.45−1.06
ZuCo+0.30−0.28−0.65{sup}†`−0.08−0.37
UCL eye tracking−1.30{sup}†`−1.88{sup}†`−1.94{sup}†`−1.36{sup}†`−0.45
UCL self-paced+0.36−0.15−0.35+0.16−0.53

Table 7. Functional regression per corpus on the primary measure, pooled over the ten trained models (millinats per word): DD and the whole-trajectory term over the control set, each beyond the other, and the resolution-profile term beyond DD. Asterisks mark one-sided sign-flip p<0.05p < 0.05 over the corpus’s text units, daggers a significant loss (two-sided p<0.05p < 0.05).

Which words resolve late

Comparing, within each decile of final surprisal, the fifth of words with the highest DD with the fifth with the lowest, late-resolved words are shorter in 74 of the 80 corpus–model pairs (median 0.44 letters), more frequent in 65 and more often function words in 60 (median share 55% against 50%). In OneStop under GPT-2 XL, the commonest late-resolved words of middling surprisal are and, in, a, the, to, for, more and of, and the commonest early-resolved ones the, have, has, is and was. DD correlates positively with final surprisal in 79 of the 80 pairs (Spearman −0.10-0.10 to 0.44), a dependence the controls absorb, and its median changes little with model size (GPT-2 small to XL 0.41 to 0.38, Pythia 410M to 6.9B 0.45 to 0.41, OPT 125M to 6.7B 0.49 to 0.48).

Discussion

Pooled over corpora and models, where a language model resolves its prediction of a word along its depth predicts how long people read the word and the next one, beyond how predictable the word is.

A high DD means that the word’s surprisal stays high through more of the network: the model completes its prediction late. Surprisal from earlier readouts correlates more strongly with bigram surprisal, and surprisal from later readouts with fully contextualized surprisal ([17 §7.1]), so a late-resolved word is one that the local context leaves open and the wider context settles. At matched surprisal, such words are shorter and more frequent, and in OneStop under GPT-2 XL the commonest of them are conjunctions, prepositions and determiners that begin a phrase; readers spend extra time on them and on the word that follows, which carries most of the gain (§6.1). Barenholtz [2] found such connectives enriched among predictable words whose hidden states depart from the path extrapolated from the preceding words; both measures mark where a sentence’s structure moves on. Function-word status as a control leaves the gain unchanged (§6.3), and the is common among both late- and early-resolved words: DD separates occurrences of the same word.

Under surprisal theory, a word’s processing difficulty depends on the comprehender’s representations only through its conditional probability, the causal bottleneck of Levy [19]. DD predicts reading times beyond final-layer surprisal, entropy and the best single readout, and two accounts fit this result. In the first, the probability that governs human reading differs from every individual readout, and the shape of the trajectory refines the estimate. In the second, the cost of a word includes a component that grows with the computation its prediction requires, in the spirit of depth-of-computation measures of example difficulty [1].

The result extends the layer-wise analyses of Kuribayashi et al. [17] and the first-to-last-layer measures of Kuribayashi et al. [18]: DD adds to the best readout selected within each training fold and to the size of the change between two layers. Flexible functions of the trajectory’s endpoints leave DD’s gain in place, and the mean surprisal of the trajectory recovers most of it, so the information lies in the intermediate readouts; pooled over corpora, a functional regression on all of them adds no significant information beyond DD, and OneStop and Natural Stories hold more in the trajectory’s shape (§ 7.1). That mean is the word’s surprisal under a weighted geometric mean of the readouts’ probabilities, an estimate of the kind the first account posits; for a decreasing trajectory it carries DD’s information given the endpoints, and DD fits reading times better.

The net effect depends on corpus and model family (§ 6.1); OPT gains in OneStop (0.35; p=0.023p = 0.023), GECO (0.14; p=0.043p = 0.043) and Natural Stories (0.73; p=0.055p = 0.055). For GPT-2 on Natural Stories the full-data coefficients of D(w)D(w) and D(w−1)D(w-1) are at most 0.08% per standard deviation, so DD carries no signal there; its losses (−0.28 to −0.39) exceed the 1/n1/n approximation (0.12) and lie within the range of shuffled and untrained DD on the same ten stories (−0.39 to 0.35): with the words clustered in ten texts, coefficients without signal cost more than 1/n1/n. GECO, the largest corpus, gives gains near zero although its reader count, surprisal and spread of DD do not set it apart (final surprisal 3.1 to 4.2 nats; standard deviation of DD 0.07 to 0.11); telling which properties of a text, a reader population or a model family govern the effect requires more corpora of each kind.

Pooled over corpora, DD is an inexpensive, interpretable complement to surprisal: it needs one forward pass and a lens and compares models of different depth.

Limitations

Size and heterogeneity. The pooled gain is small and its net size depends on the corpus: for GPT-2 and Pythia it rests on one corpus each and loses significance with the total variation and surprisal update of w−1w - 1 in the controls (§ 7), the six corpora other than OneStop and Natural Stories give 0.06 (p=0.16p = 0.16), and the prediction interval for a new corpus spans −0.93 to 1.07 millinats per word (−0.14 to 0.60 against layer-shuffled DD; § 6.1). The claims concern the pooled effect over corpora and models.

Lenses. We use the released tuned lenses; the 2025 version of the tuned-lens paper (arXiv v6; Belrose et al., [3]) reports that lenses trained with the Muon optimizer, which orthogonalizes the update of each weight matrix, reach much lower divergence from the output, and describes the released lenses as severely undertrained. Under the logit lens with logit-lens controls and without the embedding readout the gain is 0.01 (p=0.39p = 0.39; Table 2), so the effect is measured with learned translators, and its size under better-trained lenses remains open. Tuned lenses fitted to the untrained networks would extend their control to the readouts after the embedding.

Training data. ZuCo, MECO and two Natural Stories texts derive from Wikipedia, which the training data of OPT and Pythia include and GPT-2’s excludes (§ 4); without those two stories, Pythia still gains 0.76 millinats per word on Natural Stories (p=0.036p = 0.036) and GPT-2 −0.53.

Aggregation and scope. We model reading times averaged over readers, which removes reader-level variation and does not test individual differences, and compute word entropy over the first token, a lower bound on the word entropy [29]. The study covers English reading by first-language readers and three families of decoder-only transformers up to 6.9B parameters, and its analyses are exploratory (§ 5). It reanalyzes published, anonymized reading-time corpora under their licenses and collects no new data from human participants.

Conclusion

Pooled over eight English reading corpora and ten models, words that a language model resolves later along its depth, and the words after them, are read more slowly than equally surprising words, and resolution depth carries this information beyond surprisal, entropy and the best single layer. Experiments that vary the computation a prediction needs at a fixed probability would decide whether that computation itself costs human readers time.

Acknowledgments

The authors used a generative AI system (Claude, Anthropic), under their supervision throughout, in writing the analysis code and drafting the manuscript text. The authors take full responsibility for the content of the paper.

Implementation

For Natural Stories we use the release in the corpus repository (https://github.com/languageMIT/naturalstories) at commit 4700daa of 14 May 2025, which corrects a one-position misalignment between words and self-paced reading times. Natural Stories contributes the corpus’s processed reading times from readers who answered at least five of six comprehension questions for a story, and UCL the native English readers who answered at least 75% of the comprehension questions correctly, the original criterion (62 self-paced and 37 eye-tracking readers); we keep self-paced reading times between 100 and 3,000 ms. We exclude the first and last word of each sentence and of each display line (sentence edges only where line positions are unavailable or a sentence fills one line: MECO, ZuCo, UCL and Natural Stories), words without letters, and words whose labels disagree between the text and the reading data. Counting each word under the first criterion that applies, the primary analysis excludes, of the 118,134 displayed words, 26,815 sentence and line edges, 194 words without letters, 778 words whose labels disagree, 7,253 words with fewer contributing readers than the minimum and 1,137 words with an undefined predictor of w−1w - 1 or w−2w - 2 (the second word of a document, or a preceding word without a bigram surprisal). By corpus, in this order: Provo 530, 1, 44, 1 and 54; GECO 16,219, 0, 0, 4,515 and 4; OneStop 7,123, 159, 734, 1,638 and 175; MECO 202, 2, 0, 157 and 14; ZuCo 600, 32, 0, 931 and 314; UCL eye tracking 410, 0, 0, 11 and 205; Natural Stories 1,009, 0, 0, 0 and 10; UCL self-paced 722, 0, 0, 0 and 361. In UCL eye tracking the release provides first fixation, gaze and go-past times, and total reading time sums every fixation on the word in the release’s fixation records.

Each Provo passage, part of the GECO novel (four parts), OneStop article version, MECO text and Natural Stories story is processed as one continuous document, and each ZuCo and UCL sentence, presented to readers on its own, as a separate document. A document’s words are joined by single spaces, preceded by the end-of-text token and read in windows of 1,024 tokens with a stride of 512, so that every token beyond the first window is predicted from at least 511 tokens of context. Word surprisal sums the surprisal of the word’s tokens, the first of which carries the preceding space. This sum omits the probability that the word ends after its last token [26, 28]; the corrected surprisal at readout ii is si(w)−log⁡Bi(cw)+log⁡Bi(c)s_i(w) - \log B_i(cw) + \log B_i(c), where Bi(x)B_i(x) is the probability that readout ii assigns, after xx, to a token that begins with a space or ends the text [28]. Word entropy is the entropy of the readout at the position that predicts the word’s first token, a lower bound on the entropy of the word distribution [29]. Tuned-lens translators are the released parameter files for each model, applied to the model revision each lens was trained on [3]; computations use 32-bit floating point. The untrained GPT-2 XL and OPT 1.3B use the default initialization of their Hugging Face implementations (normal weights with standard deviation 0.02) under random seed 0; the Pythia controls are the released step-0 checkpoints [5].

Zipf frequencies come from wordfreq release 3.1.1, whose word lists equal those of the archived release 3.0.2 (Speer, 2022), and function words are those of the English stop-word list of scikit-learn [27]. The functional predictors are centered and divided by one common scale, so that the roughness penalty, which acts on the functional terms alone with one weight for the terms of ww and w−1w - 1, acts on β\beta itself. Regressions are solved by minimum-norm least squares (singular value decomposition) on the weighted, penalty-augmented design. Some predictors are exactly collinear for every word (the readout-0 surprisal equals the surprisal update plus the final surprisal, and the spline terms of the resolution profile span the intercept and DD), so held-out predictions are unique. Held-out log-likelihood is the Gaussian log density of ywy_w with variance σ^2/nw\hat{\sigma}^2/n_w, where σ^2\hat{\sigma}^2, the maximum-likelihood estimate in the training fold, is the mean over training words of nwn_w times the squared residual. In the random-effects models each corpus enters with the standard error of its gain over 4,000 bootstrap samples of its text units; counted as one corpus, the two UCL corpora sum each sentence’s gains over both and divide by their combined word predictions. The Hartung–Knapp variance factor is truncated below at one; the Hartung–Knapp interval and the one-sided test use a tt distribution with k−1k - 1 degrees of freedom for kk corpora, and the prediction interval one with k−2k - 2. The reader minimum, the eight B-splines, the 10% settling threshold, the five layer permutations and the random seed of the untrained networks are fixed settings that we did not tune; each permutation reruns the complete analysis, which limits their number to five, and each untrained network is a single initialization.

Results for Every Corpus, Model and Measure

Functional Regression

References

  1. [1]Robert Baldock, Hartmut Maennel, and Behnam Neyshabur. 2021. Deep learning through the lens of example difficulty. In Advances in Neural Information Processing Systems, volume 34, pages 10876–10889. Curran Associates, Inc.arxiv.org/abs/2106.09647
  2. [2]Elan Barenholtz. 2026. Trajectory dynamics in language model hidden states predict human processing costs beyond surprisal. ArXiv:2606.05346v1.
  3. [3]Nora Belrose, Igor Ostrovsky, Lev McKinney, Zach Furman, Logan Smith, Danny Halawi, Stella Biderman, and Jacob Steinhardt. 2023. Eliciting latent predictions from Transformers with the tuned lens. ArXiv:2303.08112, version 6 of 11 November 2025.arxiv.org/abs/2303.08112
  4. [4]Yevgeni Berzak, Jonathan Malmaud, Omer Shubi, Yoav Meiri, Ella Lion, and Roger Levy. 2025. OneStop: A 360-participant English eye tracking dataset with different reading regimes. Scientific Data, 12:1995.
  5. [5]Stella Biderman, Hailey Schoelkopf, Quentin Anthony, Herbie Bradley, Kyle O’Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, Edward Raff, Aviya Skowron, Lintang Sutawika, and Oskar van der Wal. 2023. Pythia: A suite for analyzing large language models across training and scaling. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 2397–2430. PMLR.arxiv.org/abs/2304.01373
  6. [6]Uschi Cop, Nicolas Dirix, Denis Drieghe, and Wouter Duyck. 2017. Presenting GECO: An eyetracking corpus of monolingual and bilingual sentence reading. Behavior Research Methods, 49(2):602–615.
  7. [7]Jakub Dotlačil and Ece Takmaz. 2026. Energy-based transformers as predictors of reading difficulty. ArXiv:2606.23382v2.arxiv.org/abs/2606.23382
  8. [8]Paul H. C. Eilers and Brian D. Marx. 1996. Flexible smoothing with B-splines and penalties. Statistical Science, 11(2):89–121.
  9. [9]Stefan L. Frank, Irene Fernandez Monsalve, Robin L. Thompson, and Gabriella Vigliocco. 2013. Reading time data for evaluating broad-coverage models of English sentence processing. Behavior Research Methods, 45(4):1182–1190.
  10. [10]Richard Futrell, Edward Gibson, Harry J. Tily, Idan Blank, Anastasia Vishnevetsky, Steven T. Piantadosi, and Evelina Fedorenko. 2021. The Natural Stories corpus: a reading-time corpus of English texts containing rare syntactic constructions. Language Resources and Evaluation, 55(1):63–77.
  11. [11]Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. 2020. The Pile: An 800GB dataset of diverse text for language modeling. ArXiv:2101.00027v1.
  12. [12]Mor Geva, Avi Caciularu, Kevin Wang, and Yoav Goldberg. 2022. Transformer feed-forward layers build predictions by promoting concepts in the vocabulary space. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 30–45, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
  13. [13]John Hale. 2001. A probabilistic Early parser as a psycholinguistic model. In Second Meeting of the North American Chapter of the Association for Computational Linguistics, Pittsburgh, Pennsylvania.
  14. [14]Akio Hayakawa and Horacio Saggion. 2026. Reader proficiency shapes layer-wise surprisal profiles. ArXiv:2609.37688v1.arxiv.org/abs/2609.37688
  15. [15]Nora Hollenstein, Jonathan Rotsztejn, Marius Troendle, Andreas Pedroni, Ce Zhang, and Nicolas Langer. 2018. ZuCo, a simultaneous EEG and eye-tracking resource for natural sentence reading. Scientific Data, 5:180291.
  16. [16]Jennifer Hu, Michael A. Lepori, and Michael Franke. 2025. Signatures of human-like processing in Transformer forward passes. ArXiv:2504.14107v2. Poster at the NeurIPS 2025 workshop CogInterp: Interpreting Cognition in Deep Learning Models.
  17. [17]Tatsuki Kuribayashi, Yohei Oseki, Souhaib Ben Taieb, Kentaro Inui, and Timothy Baldwin. 2025. Large language models are humanly inter­nally. Transactions of the Association for Com­putational Linguistics, 13:1743–1766.
  18. [18]Tatsuki Kuribayashi, Alex Warstadt, Yohei Oseki, and Ethan Gotlieb Wilcox. 2026. Dual align­ment between language model layers and hu­man sentence processing. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Pa­pers), pages 46207–46223, San Diego, Califor­nia, United States. Association for Computa­tional Linguistics.
  19. [19]Roger Levy. 2008. Expectation-based syntactic comprehension. Cognition, 106(3):1126–1177.pubmed.ncbi.nlm.nih.gov/17662975
  20. [20]Yi-Chien Lin, Hongao Zhu, and William Schuler. 2026. Vectors from larger language models pre­dict human reading time and fMRI data more poorly when dimensionality expansion is con­trolled. ArXiv:2505.12196v2.
  21. [21]Daria Lioubashevski, Tomer M. Schlank, Gabriel Stanovsky, and Ariel Goldstein. 2025. Looking beyond the Top-1: Transformers determine top tokens in order. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 38029–38048. PMLR.arxiv.org/abs/2410.20210
  22. [22]Steven G. Luke and Kiel Christianson. 2018. The Provo Corpus: A large eye-tracking corpus with predictability norms. Behavior Research Meth­ods, 50(2):826–833.DOI
  23. [23]Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. 2017. Pointer sentinel mix­ture models. In 5th International Conference on Learning Representations (ICLR 2017), Toulon, France.arxiv.org/abs/1609.07843
  24. [25]Byung-Doh Oh and William Schuler. 2023. Why does surprisal from larger Transformer-based language models provide a poorer fit to human reading times? Transactions of the Association for Computational Linguistics, 11:336–350.arxiv.org/abs/2212.12131
  25. [26]Byung-Doh Oh and William Schuler. 2024. Lead­ing whitespaces of language models’ subword vocabulary pose a confound for calculating word probabilities. In Proceedings of the 2024 Confer­ence on Empirical Methods in Natural Language Processing, pages 3464–3472, Miami, Florida, USA. Association for Computational Linguis­tics.arxiv.org/abs/2406.10851
  26. [27]Fabian Pedregosa, Gaël Varoquaux, Alexandre Gramfort, Vincent Michel, Bertrand Thirion, Olivier Grisel, Mathieu Blondel, Peter Pretten­hofer, Ron Weiss, Vincent Dubourg, Jake Van­derplas, Alexandre Passos, David Cournapeau, Matthieu Brucher, Mathieu Perrot, and Édouard Duchesnay. 2011. Scikit-learn: Machine learn­ing in Python. Journal of Machine Learning Research, 12(85):2825–2830.arxiv.org/abs/1201.0490
  27. [28]Tiago Pimentel and Clara Meister. 2024. How to compute the probability of a word. In Pro­ceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 18358–18375, Miami, Florida, USA. Associa­tion for Computational Linguistics.
  28. [29]Tiago Pimentel, Clara Meister, Ethan G. Wilcox, Roger P. Levy, and Ryan Cotterell. 2023. On the effect of anticipation on reading times. Trans­actions of the Association for Computational Linguistics, 11:1624–1642.
  29. [30]Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language models are unsupervised multitask learners. Technical report, OpenAI.
  30. [31]James O. Ramsay and Bernard W. Silverman. 2005. Functional Data Analysis, second edi­tion. Springer Series in Statistics. Springer, New York, NY.
  31. [32]Cory Shain, Clara Meister, Tiago Pimentel, Ryan Cotterell, and Roger Levy. 2024. Large-scale evidence for logarithmic effects of word predictability on reading time. Proceed­ings of the National Academy of Sciences, 121(10):e2307876121.
  32. [33]Noam Siegelman and Victor Kuperman. 2025. MECO L1: The Multilingual Eye-movement Corpus, L1 releases. OSF. Release 2.0, version 2.1 (files dated 19 February 2026).

Paper details

vlnc:W_bqee2x43
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 5

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Claude, Anthropic

View statement
Looking for related papers…
Contents