Elamur Research

Benchmarking Language Model Surprisal for Eye-Tracking Predictions in Brazilian Portuguese

Paper · 2025 · Diego Alves

Summary

When a word is hard to anticipate, readers often spend longer looking at it. But a study of that effect needs a way to estimate what readers could have expected before the word appeared. A language model supplies one estimate by assigning probabilities to possible continuations. The lower the probability it gives the word that actually appears, the higher that word’s surprisal. Diego Alves tests how well surprisal estimates from six publicly available systems predict reading times in Brazilian Portuguese, a variety missing from an earlier multilingual comparison. The study uses RastrOS, a corpus that pairs eye-tracking records with predictability norms collected from people completing passages.

The benchmark asks whether surprisal improves predictions that already account for word length and frequency. It compares the duration of the initial fixation, the time spent looking at a word on the first pass, and the total time spent looking at it, including later visits. The gains are smallest for first fixation duration and largest for total fixation time. The systems are statistically indistinguishable on the first measure, while their performance separates more clearly on the other measures. Llama-3-2-3B gives the strongest overall results for gaze duration and total fixation time, with Mistral-7B statistically comparable on those measures. Bloomz-7b1 gives the weakest overall results in spite of being among the larger systems evaluated.

The paper also asks what kind of relationship links surprisal to reading time. Allowing the effect to follow a flexible curve did not improve predictions significantly over a straight-line effect. The fitted curves generally agree most closely where surprisal observations are dense. A separate comparison asks whether entropy reduction, an estimate of how much uncertainty falls as text unfolds, adds predictive information. RastrOS estimates it from people’s answers in a completion task. Adding that predictor gives a small benefit for first fixation duration and little improvement for either of the longer reading-time measures. The results establish a benchmark for probability-based accounts of reading in Brazilian Portuguese and show why the choice of probability estimator depends on which aspect of reading the study aims to explain.

Deep dive: Benchmarking Language Model Surprisal for Eye-Tracking Predictions in Brazilian Portuguese

Diego Alves benchmarks how well word surprisal predicts eye-tracked reading times in Brazilian Portuguese and tests whether the effect is linear. · about 34 minutes to read

The problem and its context

What a word’s predictability can explain

A word can be familiar in general and still be unexpected in the sentence where it appears. Frequency tells a researcher how often people encounter the word across a body of text. Predictability concerns what a particular stretch of text leads a reader to expect next. These quantities give different accounts of why the eyes might linger. A word can be frequent enough to recognize readily while presenting an unusual continuation. A less frequent word can be strongly suggested by what comes before it. A study seeking a contextual effect therefore needs to account for frequency while allowing the context to supply a separate prediction.

That distinction matters in psycholinguistics, where observable behaviors such as fixation duration help researchers test claims about how people understand language. The paper treats reading as incremental. At the point where the reader encounters a word, the relevant probability estimate comes from the text that has already appeared. If the word was among the continuations strongly favored by that prefix, its arrival conveys relatively little unexpected information. If the prior context gave it little probability, its arrival is more surprising. An association between surprisal and reading time would make this estimate useful for explaining which words take longer to process.

The connection between probabilistic language processing and observable difficulty predates the systems evaluated here. The paper cites Hale’s A Probabilistic Earley Parser as a Psycholinguistic Model as part of that background. It also describes earlier eye-tracking studies that linked word probabilities to reading times. In that line of work, the probability distribution matters because each continuation competes with alternatives that the preceding words make more or less plausible. A language model gives researchers a way to get such distributions across many words in a corpus, including words for which collecting reliable human predictability judgments would require substantial effort.

There is a second issue hidden in the phrase “reading time.” A record of the eyes’ movements can distinguish the initial encounter with a word, extra inspection during the same pass, and returns later in the trial. A word might be recognized quickly and still take longer to integrate with the surrounding sentence. Conversely, an initial interruption may be visible in a brief fixation measure even when its contribution to all the time spent on that word is small. By keeping these outcomes separate, Alves asks how the usefulness of the same probability estimate varies with the portion of reading being observed.

Why Brazilian Portuguese needed its own benchmark

The paper describes a research area with a substantial emphasis on English. Wilcox and colleagues had already compared surprisal with reading behavior in eleven languages spanning five language families. Their study used Transformer and attention-based systems, drawing on both language-specific systems trained on Wiki40B and the multilingual mGPT. They reported evidence for both word surprisal and contextual entropy as predictors, as well as a broadly linear link between surprisal and reading time. Brazilian Portuguese was outside the set of languages they examined.

Testing that variety matters at two levels. The theoretical question is whether an association between word predictability and reading effort also appears in Brazilian Portuguese. The practical question is which publicly available system supplies probabilities that are useful for studying that association. A multilingual training description gives only a general indication of what a system has encountered. It leaves open how much relevant text it saw and whether its probabilities reflect the variety that participants are reading. Even systems trained with access to Portuguese can differ in how they distribute probability over the words of a Brazilian passage.

RastrOS makes these questions tractable because it brings different observations together on common material. Some people supplied likely continuations in a Cloze task, where a participant completes text with a missing word. In the eye-tracking component, readers encountered passages drawn from the same materials. The gaze records give the benchmark its outcomes. The completion responses provide another source of information about the uncertainty associated with the text. The study can thus ask about probability estimates from computational systems and about an additional predictor built from human responses without moving to a different set of reading materials.

Why fluency, size, and psychological fit are distinct

An estimator can perform well at assigning probability to text while remaining a poor guide to how long people look at individual words. The paper describes an earlier comparison by Wilcox and colleagues in which increasing training data generally strengthened the relationship with eye-tracking behavior. Across 13 languages, the study used training datasets ranging in size from 1 million to 1 billion tokens. Its result supported the quality–power hypothesis within that range. The hypothesis links quality at language prediction to usefulness as an account of human processing. It motivates testing performance directly because quality and predictive power are assessed against different observations.

Other work summarized by Alves complicates that expectation. Why Does Surprisal From Larger Transformer-Based Language Models Provide a Poorer Fit to Human Reading Times? describes cases where better perplexity accompanies poorer predictions of reading time. Perplexity summarizes how well a system assigns probability to observed text. As Alves recounts, larger systems in that work tended to predict reading times that were too short for named entities and too long for function words. The authors of that earlier study raised memorization as a possible explanation. This is one way that gains in predicting what appears in a written corpus could be distributed differently from gains in predicting how people read it.

Alves also discusses work on calibration, which concerns how a system’s confidence aligns with observed outcomes. A study of temperature scaling in English changed the sharpness of probability distributions and found that this could improve predictions of reading times. Other research reviewed in the paper identifies aspects of processing that surprisal leaves poorly captured, such as difficulty at disambiguation points where an initially plausible interpretation has to be revised. The paper also describes an approach that improved the association with reading times by adding syntactic information to statistical surprisal. Together, these studies make a comparison across probability estimators more informative than a ranking by size alone. They also place contextual probability alongside other possible sources of reading difficulty.

Why the shape of the effect matters

A straight-line relationship would give an increase in surprisal approximately the same consequence throughout the range where the relationship holds. A superlinear pattern would mean that the same increase has a larger effect toward the high end of surprisal. A sublinear pattern would mean that the added processing time tapers. These are competing accounts of how a change in unexpectedness translates into a change in time. They can agree that surprising words generally take longer to read while making different predictions about where the largest costs should appear.

The earlier studies described in the paper give reasons to test the shape empirically. Alves cites evidence for an approximately linear relationship in several settings, as well as analyses that found some superlinear effects whose visibility depended on the source of surprisal. Revisiting the Uniform Information Density Hypothesis is among the works cited in connection with superlinear alternatives. The paper also cites work that motivates a sublinear alternative. An analysis that fits only a straight line can estimate its slope, but deciding whether that slope is a sufficient description requires comparison with something more flexible.

Alves presents the work as a starting point for related studies in Brazilian Portuguese, including research motivated by Uniform Information Density. For such work, the relevant setup is which estimator provides the surprisal values and how those values relate to the reading outcome. A probability estimator can change the apparent distribution of unexpected words, while the choice between an initial fixation and a measure that includes rereading changes the behavior under examination. The benchmark brings both choices into view before interpreting what a predictability effect says about human comprehension.

The method, step by step

Match the passages to the eye records and completion norms

The first task is to put every reading-time observation and every linguistic predictor on the same word. The eye tracker records where people look and for how long. The language systems take strings of text and produce probabilities for pieces of those strings. The corpus’s completion norms associate human responses with positions in the same materials. The analysis needs a common unit across those sources. Alves uses the word as that unit, preserving sentence order when reconstructing the input and joining pieces produced by computational segmentation when attaching estimates to the recorded words.

From RastrOS passages to tests of reading time

The steps in order.

From RastrOS passages to tests of reading timeStep 1: Reconstruct the corpus sentences in their original order1. Reconstruct the corpus sentences in their original orderStep 2: Score each sentence with each language system2. Score each sentence with each language systemStep 3: Reassemble token scores at the word level3. Reassemble token scores at the word levelStep 4: Align lexical features, completion norms, and eye measurements4. Align lexical features, completion norms, and eye measurementsStep 5: Fit reading-time regressions for each outcome5. Fit reading-time regressions for each outcomeStep 6: Compare predictions on held-out observations6. Compare predictions on held-out observationsStep 7: Test added predictors and flexible surprisal effects7. Test added predictors and flexible surprisal effects

RastrOS has a predictability component and an eye-tracking component. The predictability data come from 393 native speakers of Brazilian Portuguese recruited from six universities in Brazil. Most were undergraduates. Each participant completed passages from five randomly selected paragraphs, with materials balanced by genre. Journalistic and popular science texts each account for 40% of the materials, while literary texts account for 20%. The selection uses Lácio-Web, public-domain literature, and contemporary material published online.

The Cloze portion of RastrOS spans 50 paragraphs and 120 sentences. It contains 2,494 words, with 2,831 tokens when punctuation is included in the count. The distinction between those totals reflects the kind of alignment required here. The corpus represents the text with its punctuation, while the eye-tracking analysis focuses on observations attached to words. For the completion norms, RastrOS compares responses with the word in the original passage using spelling, inflection, and part-of-speech tagging. It also uses word embeddings to assess semantic similarity. These comparisons let the corpus characterize answers beyond the narrow question of whether a participant supplied exactly the printed form.

The eye-tracking data come from 37 undergraduate readers who read the 120 sentences from those materials. RastrOS recorded their eye movements using an EyeLink 1000 at a sampling rate of 1000 Hz. This sampling rate describes the recording instrument. The outcome used in the regressions is a word-level measure derived from the record of where and when the eyes fixated. RastrOS supplies 36 such measures, from which Alves selects three with different time windows.

First fixation duration measures how long the eyes initially rest on a word on the first pass. Gaze duration accumulates the fixations on that word during the first pass. If the reader fixes on the word again before moving past it, that extra time enters gaze duration. Total fixation time counts the accumulated fixation time throughout the trial. If the reader subsequently returns to the word, the later look contributes to the total. In RastrOS, these outcomes correspond to the fields IA FIRST FIXATION DURATION, IA FIRST RUN DWELL TIME, and IA DWELL TIME.

The paper associates first fixation with early access to the word, gaze duration with lexical and syntactic processing on the initial pass, and the total with additional processing such as reanalysis and integration. The outcome definitions give those interpretations their basis. They specify which visits count, allowing a statistical comparison to distinguish a signal concentrated in the initial encounter from a signal that becomes more visible over all fixations on the word.

Turn probabilities for pieces of text into estimates for words

Alves compares systems with different sizes, training histories, and stated language coverage. Bloom-560m and Bloomz-7b1 form one useful pair for describing that selection. The paper describes Bloom-560m as a multilingual system trained on 1.5 TB of preprocessed material, of which 11.1% was Portuguese. The source does not identify the variety of that Portuguese. Bloomz-7b1 shares the BLOOM training corpus and has a multitask fine-tuning stage intended to support performance on tasks without worked examples in the prompt. Alves traces that stage to Crosslingual Generalization through Multitask Finetuning. The systems differ in size as well as training objective, so their comparison changes both characteristics together.

The paper gives Bloom-560m an architectural count of 559 million parameters and describes Bloomz-7b1 as having 7 billion. It also includes Llama-3-2-1B and Llama-3-2-3B, which it describes as sharing training data. The smaller system has 1 billion parameters and was pretrained on up to 9 trillion tokens in 8 languages, including Portuguese. The larger system has 3 billion parameters. The description of another entry, Llama-2-7B-hf, reports pretraining on 2 trillion publicly sourced tokens and evaluation exclusively in English. Mistral-7B, the remaining system, has 7 billion parameters and was trained on a mixture of web material and code. Its evaluation, as reported by Alves, also concerned English. Those evaluation descriptions tell the reader where prior performance was assessed. The benchmark addresses a separate question by applying each system to the Brazilian Portuguese passages.

For any particular system, the procedure is to present the sentence in order and obtain a surprisal value for each token using the Python surprisal library and its AutoHuggingFaceModel interface. A token is the unit on which the system assigns probabilities. With subword tokenization, a written word can become several of those units. The procedure merges the pieces to recover the original words for analysis. The principle is that the probability of a continuation made of several pieces depends on the successive probabilities of those pieces. On a logarithmic scale, the surprisals of successive pieces can be added to express the surprisal of the whole continuation. The word-level value can then be used alongside the gaze measurement for the printed word.

In notation following the paper’s description, word surprisal is:

S(wₜ) = −log P(wₜ | w₍₍ₜ)

Here S(wₜ) is the surprisal of the word wₜ at position t. In the conditional probability on the right, the context is the sequence before t, written in the paper as w<t. The bar separates the word whose probability is evaluated from that preceding context. P is the probability assigned by the system, log takes its logarithm, and the minus sign makes the score rise as the assigned probability falls. The equation describes the score of the word that appeared. It can be high even in a context in which the system is very confident, if that confidence is concentrated on a different continuation.

Build the reading-time comparison around a lexical baseline

The initial regression asks how much of the gaze behavior can be accounted for using length and frequency. Here frequency is the log of unigram frequency from BrWaC, available as the RastrOS field Freq brWaC log. A unigram frequency counts occurrences of a word independent of the surrounding sequence. The length field describes the word form. Both variables are available for the target and the two preceding words. Including those earlier positions allows for spillover, where the difficulty of material just read affects time spent looking at the current word.

The paper calls the outcome y(wₜ, w<t), with y denoting the observed reading time for wₜ in its context. The predictor vector xₜ collects the information available for the regression at position t. In the baseline, those predictors are the lengths and logged frequencies at the three positions. The response is the selected duration on the target word throughout. A frequency from an earlier position is a predictor of that duration, while the earlier word’s own duration belongs to a different observation.

The appendix expresses the baseline using regression-formula notation. In compact form, that specification is:

y ∼ fₜ + ℓₜ + fₜ₋₁ + ℓₜ₋₁ + fₜ₋₂ + ℓₜ₋₂ + (1 | session)

y is the chosen reading-time response. The tilde means “is modeled using,” and each plus sign adds a term to the regression specification. f is logged word frequency and ℓ is word length. The subscripts t, t−1, and t−2 indicate the target word, its immediate predecessor, and the word before that. The final term uses the RastrOS session label as a grouping variable. Within that term, 1 specifies an intercept and the bar associates that intercept with session, allowing the overall level of the response to vary by recorded session.

This is a linear mixed-effects regression, fitted with lmer() from the R package lme4. The fixed effects describe relationships shared across observations, such as how the expected reading time changes with length. The session-level intercept permits a group of observations from the same session to have its own baseline level. Accordingly, a consistent difference between sessions need not be expressed through the coefficients on word length, frequency, or surprisal. The session term is present on both sides of the main comparison.

For the surprisal comparison, the method describes adding the scores at the target and at both preceding positions. With that reading of the method, the specification is:

y ∼ B + sₜ + sₜ₋₁ + sₜ₋₂

B stands for the full set of lexical and session terms in the preceding formula. s denotes word surprisal from the system being evaluated, with the same position subscripts as before. y remains the duration at the target. The paper’s methodological description and its table of target-word coefficients establish the role of current-word surprisal. The displayed appendix line for this comparison lists the two preceding surprisal terms but leaves out the current one. The equation here follows the description of the analysis and the coefficient the results identify.

Adding the predictor at each position addresses two related possibilities. A surprising word could slow reading while the eyes are on that word. Its effect could also carry over to a nearby word. Since the same lexical controls are already included at these positions, the comparison asks how much the conditional probability estimates improve predictions after those other properties have been taken into account. Repeating the comparison with each system’s scores holds the broad form of the regression fixed while changing the source of the contextual estimates.

The primary score is a change in per-word log-likelihood:

Δᵢ = Lᵢ(augmented) − Lᵢ(baseline)

Δᵢ is the change in log-likelihood for the evaluated word observation indexed by i. Lᵢ is the log-likelihood the fitted regression assigns to its observed reading time. The label augmented identifies the regression with added predictors, and baseline identifies the corresponding comparison regression. The minus sign sets the direction of the comparison. A positive value means the regression with the extra information fits the held-out reading observation better on this metric. The word-level changes are aggregated to compare performance across conditions.

The regressions are trained and evaluated with 10-fold cross-validation. Each evaluation uses a held-out portion of the data while fitting the regression on the remaining portions. The procedure rotates which portion is held out so the comparisons use predictions for data outside the corresponding fit. This step concerns fitting the reading-time regressions. The probability estimates come from the publicly available systems applied to the sentences, and the procedure described in the paper fits the relationship from those estimates to gaze behavior.

Paired permutation tests evaluate the improvements over baselines and the differences between systems. A pairing is available because competing regressions give scores for the same evaluated material. The test uses permutations of the likelihood values to form an empirical distribution of differences. That yields a way to assess whether the observed changes are distinguishable from zero or from one another without imposing a particular distribution on the test statistic. This matters especially when several estimates give improvements in the same direction. The relevant question for a system comparison is whether its improvement is reliably different from the improvement supplied by another.

Add uncertainty reduction after allowing for surprisal

Surprisal describes the probability of the word that actually appeared. Entropy describes how broadly probability is distributed over possible continuations. A context that leaves several alternatives plausible can have high uncertainty, while one in which an alternative dominates can have low uncertainty. Entropy reduction is about how that uncertainty changes as the text advances. A word can be difficult to anticipate and still help narrow what is expected afterwards. These quantities therefore offer different ways for the arrival of a word to matter.

RastrOS provides entropy-reduction estimates derived from the Cloze responses. Alves takes those values from the corpus and tests whether they help after surprisal has already been included. An earlier multilingual study tested contextual entropy, which concerns the uncertainty associated with a context, rather than the change in uncertainty used here. The different predictors make the present test a related comparison with a distinct interpretation. Its baseline is already stronger than the lexical baseline because it includes surprisal from the system being tested.

The entropy-reduction specification described in the prose is:

y ∼ B + sₜ + sₜ₋₁ + sₜ₋₂ + eₜ + eₜ₋₁ + eₜ₋₂

B again denotes the lexical predictors and the session intercept. s represents the surprisal estimate at the position indicated by its subscript. e represents the RastrOS entropy-reduction value at the corresponding position. The response y is whichever duration is under examination. As in the preceding specification, the prose describes current-word surprisal as part of the adjustment, though the displayed appendix formula lists only the previous surprisal terms. The entropy terms themselves are explicitly listed for the target and the two predecessors.

The comparison attaches the same corpus-derived uncertainty predictor to each system’s surprisal baseline. This creates a different test from the first one. A positive change now concerns the contribution of entropy reduction after frequency, length, and a particular source of surprisal have supplied their information. The size of that change can depend on what the surprisal baseline already captures. Testing the addition across systems checks whether any advantage is apparent even when the existing probability estimates change.

Give the surprisal effect room to bend

The linearity analysis uses generalized additive models, or GAMs. A GAM can represent the effect of a variable as a smooth curve. That flexibility makes it possible to look for a relationship that becomes steeper or flatter as surprisal increases. Alves compares a model with flexible surprisal effects, a control with linear surprisal effects, and a lexical baseline without surprisal. Both versions that use surprisal include the target and its immediate predecessor. This is a shorter predictor window than the one described for the mixed-effects regressions.

The flexible specification in the appendix can be written as:

y ∼ s(Sₜ, bs = “cr”, k = 6) + s(Sₜ₋₁, bs = “cr”, k = 6)
    + te(fₜ, ℓₜ, bs = “cr”) + te(fₜ₋₁, ℓₜ₋₁, bs = “cr”)

y is the reading-time response. Sₜ and Sₜ₋₁ denote surprisal for the target and the immediately preceding word. In this formula lower-case s(…) is the function specifying a smooth, while upper-case S denotes the value being smoothed. The argument bs selects the type of spline basis, the set of functions used to build the curve. The code “cr” specifies a cubic regression spline. The argument k = 6 sets the basis dimension for each surprisal smooth. te(…) specifies a tensor-product term so the joint effect of frequency f and length ℓ can vary flexibly. The subscripts identify the word position, and commas separate the arguments within each function.

The linear control leaves those joint lexical effects in place:

y ∼ Sₜ + Sₜ₋₁ + te(fₜ, ℓₜ, bs = “cr”) + te(fₜ₋₁, ℓₜ₋₁, bs = “cr”)

Sₜ and Sₜ₋₁ now enter as ordinary linear predictors. y, the lexical variables, and the tensor-product terms have the same meanings as in the flexible version. The shared lexical features are important to the comparison. Allowing a complex relationship between length and frequency in both controls means the flexible surprisal curve is tested for what it adds beyond that lexical structure. The baseline for this part of the study has the lexical terms without the surprisal predictors.

The methods describe root mean squared error, or RMSE, as the evaluation metric for this comparison. For each prediction on held-out data, the error is the difference between predicted and observed duration. RMSE squares those errors, averages the squared quantities, and takes the square root. A lower RMSE means that predicted durations are closer to the observed ones according to this measure. Alves uses 10-fold cross-validation, compares the improvement over the baseline for both surprisal specifications, and tests the differences with paired permutations. The paper also examines the fitted shapes visually. The held-out comparison asks whether flexibility helps prediction, while the plots show where the estimated curve departs from a straight line and where the data are concentrated.

Change the unit of analysis to grammatical categories

The last analysis groups observations by part of speech. RastrOS uses the Palavras parser to supply the grammatical tags. Alves excludes the entries marked ERR, then takes the mean surprisal and mean fixation duration for each category. Each category supplies a point with an average probability-based score and an average duration. The paper fits an ordinary least squares line to these points for each system’s surprisal estimates using SciPy’s linregress.

Ordinary least squares fits the line by minimizing squared differences between the observed outcome and the predicted value. Here the observations for the fit are the category means. The procedure yields a slope, intercept, coefficient of determination, p-value, and standard error. The slope describes how mean duration changes with mean surprisal across categories. The coefficient of determination, written R², describes the share of variation among category means accounted for by the fitted line. This is a simpler analysis than the word-level regressions. It gives a way to see whether broad grammatical groups tend to occupy different parts of the surprisal and reading-time ranges.

Experiments and results

Surprisal adds the most for total fixation time

The primary experiment compares a regression using length, logged frequency, and session grouping with an otherwise corresponding regression that adds surprisal. It evaluates the change in held-out log-likelihood per word for each reading outcome. This design sets a more informative baseline than an estimate based on surprisal alone. A positive change indicates that context-sensitive scores contribute information beyond a word’s general frequency and length, under the predictor window and session adjustment used by the analysis.

For first fixation duration, the gains in mean log-likelihood per word are roughly 0.0025. Every system’s improvement differs significantly from 0, with p < 0.001. The pairwise comparisons do not detect a statistically significant difference among the systems. Consequently, the first-fixation results support using surprisal as an added predictor but give little basis for preferring one source of surprisal over another. A detectable improvement over a lexical baseline and a detectable separation between probability estimators are different outcomes, and the study finds the former on this early measure.

Gaze duration gives a more differentiated picture. Improvements vary more across the systems, and the reported error bars are larger. The paper treats Bloomz-7b1 as the exception to its significant departures from 0 for this outcome and gives p = 0.0014 for that comparison. That result is best read with the paper’s reported significance treatment attached. The pairwise tests also distinguish several systems, though there are overlapping sets of statistically similar comparisons. Llama-2-7B is reported as similar to Bloom-560m and to both Llama-3 systems. The Llama-3 systems are similar to each other, and Mistral-7B is similar to Llama-3-2-3B and Llama-2-7B. The pattern shows how systems from different size ranges can give comparable improvements on the same measure.

For total fixation time, the mean gains in log-likelihood per word are around 0.05 for the systems other than Bloomz-7b1. The paper reports gains significantly different from 0 and places Bloomz-7b1 apart from that cluster in magnitude. The largest improvements in this experiment occur on this outcome. In the pairwise comparisons, Mistral-7B is statistically similar to Llama-2-7B and both Llama-3 systems. The test also finds Llama-2-7B similar to Llama-3-2-1B. The remaining pairwise comparisons for this measure are reported as significantly different.

The authors identify Llama-3-2-3B as the strongest overall choice when gaze duration and total fixation time are considered together. The comparisons indicate that the ordering is tied to the outcome. There is no demonstrated winner for first fixation duration, and Mistral-7B is statistically comparable to Llama-3-2-3B on the longer measures. That comparability is of interest because Mistral’s earlier evaluation, as described by the paper, was conducted in English. The evidence for this use of its probabilities comes from the Brazilian Portuguese observations in RastrOS.

The difference across reading outcomes is about the amount of predictive information added to each corresponding baseline. The first-fixation model predicts a short, early window of behavior. The total-fixation model predicts a response that can reflect both initial inspection and later visits. A larger log-likelihood improvement there shows that including surprisal is especially useful for predicting that combined measure. It does not allocate the improvement between earlier looks and later returns. The gaze-duration result is an intermediate comparison tied specifically to first-pass attention.

Coefficients describe an effect on each system’s score scale

The paper reports coefficients for target-word surprisal in a linear regression containing frequency, length, and the position-specific surprisal terms. Bloom-560m has a reported target coefficient of 9.52 and a standard error of 0.15. The value for Bloomz-7b1, abbreviated as bloom-7B1 in the results table, is 5.01 with a standard error of 0.13. Llama-2-7B has a coefficient of 8.16 with a standard error of 0.14. The estimates for Llama-3-2-1B, Llama-3-2-3B, and Mistral-7B are 8.57, 8.61, and 8.37, each with a standard error of 0.15. These are estimates of a target-word effect conditional on the other predictors in the regression. The table caption identifies the coefficient and predictor setup without naming a specific duration, so the values are best read as reported coefficient estimates without assigning them to a particular reading window.

A coefficient answers a different question from the held-out log-likelihood improvement. It describes how a change in the numerical surprisal score relates to the fitted response within a regression. An improvement over baseline measures how informative the scores are across evaluated observations. Two systems can assign different spreads of surprisal values to the same words. A larger fitted effect for a unit of surprisal can therefore coexist with a weaker overall improvement. This is why Bloom-560m’s large target coefficient and Llama-3-2-3B’s stronger overall ranking on the longer durations can both hold.

The paper also notes that the other predictors generally show significant effects. Logged frequency for the second preceding word is the exception it singles out. That variable is significant only in the Bloomz-7b1 regression. The observation concerns the fitted terms under the specified controls. Each system supplies a different set of surprisal values for those preceding positions, and the remaining contribution attributed to frequency is estimated conditional on those values. The comparison of predictive performance still turns on the full regression and its baseline.

Entropy reduction helps mainly at the initial fixation

The entropy-reduction experiment uses a baseline that already contains surprisal. It asks how much the Cloze-derived predictor helps on top of that baseline, with the same target and preceding positions represented in the analysis. For first fixation duration, the gains in log-likelihood per word are around 0.004. The paper reports that all of those gains differ significantly from 0 and that the systems perform similarly. Across the different sources of surprisal, the completion-derived feature therefore adds a small amount of information about the initial fixation.

For gaze duration and total fixation time, the mean improvements are close to 0. The paper also reports no significant differences among the systems on this comparison. The pattern changes with the reading window. The original addition of surprisal gives its largest gain for total fixation time, while the subsequent addition of entropy reduction gives an advantage concentrated at first fixation. These results come from different baselines and should be interpreted at their respective stages of the comparison. The gain for entropy reduction measures the information left for it to contribute after a surprisal estimate is already present.

Alves distinguishes this result from the earlier multilingual finding that contextual entropy gave a small but consistent gain for gaze duration. Contextual entropy and entropy reduction are related to uncertainty in different ways. The sources of the estimates differ as well. Here the evidence concerns the change in uncertainty as estimated from RastrOS completions. It is informative about the value of the available corpus feature, while leaving open how well another uncertainty predictor would behave on the same eye records.

Part-of-speech averages give a different ranking

The chart compares the fits to mean total fixation duration across grammatical categories. Every point entering a fit is a category mean. The same category’s average fixation time is related to its mean surprisal under each of the six probability estimators. The metric is the R² of the corresponding least-squares line, so larger values indicate that the line accounts for more variation among the category means.

R² for predicting mean total fixation time by part of speech in RastrOS

Bloom-560m gives the strongest fit when observations are averaged by grammatical category.

R² for predicting mean total fixation time by part of speech in RastrOSBloom-560m (this paper): 0.86Bloom-560m (this paper)0.86Mistral-7B: 0.71Mistral-7B0.71Bloomz-7b1: 0.62Bloomz-7b10.62Llama-3-2-3B: 0.57Llama-3-2-3B0.57Llama-2-7B: 0.53Llama-2-7B0.53Llama-3-2-1B: 0.51Llama-3-2-1B0.51
The numbers
System or settingR²
Bloom-560m (this paper)0.86
Mistral-7B0.71
Bloomz-7b10.62
Llama-3-2-3B0.57
Llama-2-7B0.53
Llama-3-2-1B0.51

All of the slopes reported for this analysis are positive, with p < 0.001 in each fit. Bloom-560m’s slope is 71.88, and Mistral-7B’s is 65.05. The slopes for Bloomz-7b1 and Llama-3-2-3B are 45.86 and 47.91. Llama-2-7B has a slope of 38.82, and Llama-3-2-1B has a slope of 35.95. These are slopes for average total fixation duration against average surprisal at the category level. Their magnitudes reflect how each system’s scores are distributed across the categories. They answer a different question from the coefficients estimated with lexical controls at individual word positions.

The paper illustrates the Bloom-560m fit with a plot of the category means. Nouns, verbs, and adjectives occupy parts of the plot associated with longer reading and greater surprisal. Conjunctions, determiners, and pronouns have lower values on both dimensions. Auxiliary verbs have the least surprisal and shortest reading times in the reported comparison. The authors report the same general tendency across the systems. Broad grammatical groupings therefore bring out a shared association, even though the strength of the category-level fit depends on which probability estimates are used.

The ranking changes with the move from individual observations to averages. Bloom-560m gives the strongest fit across categories, while Llama-3-2-3B leads the main comparisons that consider gaze duration and total fixation time together. Averaging suppresses differences among words within the same category. It also goes with a simpler regression using surprisal as the fixed predictor. Performance in that setting concerns how an estimator distinguishes the category means. The word-level benchmark concerns additional predictive information after the lexical variables have already contributed, so the two analyses give complementary evidence.

What the ablations show

Adding predictors tests what they contribute beyond the baseline

The study uses controlled comparisons of regression specifications. Its main comparison adds the surprisal terms to the lexical baseline while retaining the session adjustment. An improvement on held-out observations supports the contribution of conditional word probabilities beyond the information available from general word frequency and length. Including several positions is part of that test. Current-word prediction and recent context are both allowed to contribute, so the overall gain represents the joint addition of the surprisal terms.

This also explains what the benchmark can say about spillover. The regressions accommodate spillover by supplying predictors for preceding words. The paper does not report a separate held-out experiment that removes each preceding surprisal term in turn. The presence of a target-word coefficient gives some information about how the fitted regression distributes the effect among its predictors. The overall improvement, however, cannot establish how much of the predictive gain would survive if the analysis used the target alone or if one preceding position were dropped.

The next comparison holds surprisal in the baseline and adds entropy reduction. This tests whether the uncertainty change estimated from completions supplies additional information once a predictor for the probability of the realized word is available. The benefit for early fixation is apparent regardless of the particular system supplying surprisal. The longer outcomes show little added benefit. This pattern narrows the empirical result to an early observation window and to the kind of uncertainty estimate that RastrOS supplies. It gives no basis for treating corpus-derived entropy reduction as a general improvement on every reading measure.

These additions also show why absolute gain sizes need their baseline attached. Removing a predictor from the first comparison would take the regression back to lexical controls. Removing entropy reduction from the second comparison leaves those controls and surprisal in place. The second predictor is therefore assessed against a fit that already accounts for some context-related variation. Looking at the two gain sizes alone would miss that difference in what each comparison asks of the feature.

Comparing straight lines with curves tests the shape directly

The GAM comparison keeps flexible lexical terms in both surprisal specifications and changes the shape permitted for the surprisal predictors. For total fixation duration, both the linear and flexible versions improve significantly over the no-surprisal baseline for all the systems considered. Within each system, the difference between the two surprisal versions is not statistically significant. The comparison thus favors the adequacy of a straight-line term for the available prediction problem. The flexible fit can bend, but that freedom does not give a reliably better held-out result in this experiment.

The visual comparison provides a second view of that outcome. The fitted curves generally trace a pattern close to the fitted line where surprisal observations are concentrated. Bloomz-7b1 shows the largest visible departure from a line in its flexible fit. It is also the weakest system overall in the main surprisal comparison. Those observations make the quality of the surprisal estimates relevant when interpreting visible curvature. A departure in one fitted curve can reflect how that particular estimator distributes observations along the surprisal scale. The paper does not establish a cause for Bloomz-7b1’s curve from its shape alone.

The authors describe similar broad patterns for gaze duration and first fixation duration. The flexible fits for first fixation duration have substantially larger error bars. In combination with the modest gain from adding surprisal on that outcome, this makes the early-fixation curve a less precise description of how the effect changes across surprisal values. The strongest visual support for linearity is in densely observed parts of the predictor range. That is where the plotted fit has the most observations available to distinguish a bend from a straight line.

The methods specify that the held-out GAM comparison uses RMSE. The caption for the total-fixation comparison mixes that description with the label for per-word log-likelihood used elsewhere in the paper. Its error-bar description refers to the mean change in RMSE across cross-validation folds. The safe conclusion is the one supported by the reported tests and the fitted shapes together. Both surprisal specifications improve prediction, and allowing a flexible shape yields no significant improvement over using a linear surprisal term.

Changing the probability estimator tests transfer across systems

The comparison across systems keeps the corpus, outcomes, and general regression structure constant while changing the scores given to the words. This tests the usefulness of each system as a probability estimator for the psycholinguistic task. It also demonstrates how little a size ordering tells the reader on its own. Systems with different parameter counts can perform similarly, while distinct systems in the 7 billion range can give substantially different fits. This is especially visible in the contrast between the strong showing by Mistral-7B and the weaker results for Bloomz-7b1.

The two Llama-3 sizes offer a closer comparison because the paper describes them as sharing training data. Llama-3-2-3B has the strongest overall showing across the longer measures, while the pairwise gaze-duration result treats it as statistically similar to Llama-3-2-1B. On total fixation time the reported set of nonsignificant comparisons does not include the pair of Llama-3 systems. The evidence for a distinction therefore depends on the outcome. Across the broader system selection, size changes together with the nature of the training material and, in some cases, the objective used to adapt the system.

Bloom-560m and Bloomz-7b1 also illustrate the interpretive difference between a comparison and an intervention. The paper compares their actual probability estimates. It does not retrain an otherwise fixed system with a single changed objective. Differences in the two systems’ psycholinguistic usefulness are observable, while the distinct contributions of size and multitask adaptation remain unresolved. The category-level result adds another controlled view of the scores. With the same grammatical grouping applied across estimators, there is a clear association between mean surprisal and reading time. The aggregation changes what counts as a good fit and helps explain why a system can excel there without leading the main word-level prediction experiment.

Limitations

Limits identified by the authors

Alves describes RastrOS as relatively small and uneven across genres. The corpus gives the study a shared set of passages with both eye measurements and predictability norms, but those passages define the scope of the evidence. Journalistic and popular science material each make up 40% of the text selection, while literary material accounts for 20%. A system that captures regularities in those materials could supply scores with different properties on other writing. The finite collection also matters for the linearity analysis, because a flexible relationship is hardest to assess where relevant surprisal values occur infrequently.

The paper also identifies uncertainty about Portuguese representation in training. Among the selected systems, the BLOOM descriptions supply a proportion, and even that figure leaves the variety of Portuguese unspecified. None of the selected systems was optimized specifically for Brazilian Portuguese. The comparison can identify the strongest estimator among the systems evaluated on RastrOS. It cannot determine how a system trained specifically on Brazilian Portuguese would perform, or how much of any observed ranking reflects exposure to text from that variety.

The authors qualify the entropy result because the available estimates come from Cloze norms. A set of human completions provides direct observations of responses in the task. It may represent the range of alternatives differently from a probability distribution produced by a system trained on a large corpus. Alves therefore raises the possibility that the analysis underestimates the predictive contribution of entropy reduction. It also concerns entropy reduction specifically. The earlier result about contextual entropy on gaze duration leaves a related question that this feature comparison does not settle.

The paper further identifies syntactic complexity as a potential contributor to reading time that its main regression does not explicitly control. Frequency and length are important lexical adjustments. The surprisal score can reflect some regularities in syntax insofar as they influence probabilities. That does not give the analysis a separate estimate of the time associated with syntactic complexity. The part-of-speech analysis uses grammatical categories descriptively, which also serves a different purpose from measuring the complexity of the structure a reader has to process.

Limits of interpretation in this design

The sample and evaluation procedure define how broadly the findings can be applied. The eye-tracking participants are 37 undergraduates. The paper describes 10-fold cross-validation on the corpus but does not give a separate transfer result for a new collection or spell out whether whole readers or passages are held out together. Performance on a held-out portion of the observed data demonstrates generalization under that evaluation procedure. The scope for generalization to new readers, new texts, or both cannot be assigned more precisely from the split description.

Reading windows also matter to the interpretation. First fixation, gaze duration, and total time are related measures of the same behavior. Total time includes the earlier visits, so a larger improvement on that metric cannot by itself locate the contribution in a later cognitive process. The paper links the total measure to possibilities such as rereading, reanalysis, and integration. Those are plausible reasons the broader measure might carry a stronger signal. Identifying which of those processes contributed would require an analysis that separates their observable consequences more directly.

Judgments about linearity are strongest within the observed range. The flexible models have enough freedom to represent a curve, but sparse observations give the comparison limited ability to distinguish some curves from lines. The paper’s visual results explicitly emphasize dense regions of the surprisal distributions. The held-out tests establish that flexibility did not improve the reported fits significantly. That supports using a linear account for the benchmark while leaving finer curvature, especially at sparsely observed extremes, uncertain.

The grammatical-category result has a similar scope restriction. A high R² describes variation in the category means, which each combine observations from different words and contexts. The analysis also omits the separate length and frequency adjustments used in the main comparison. Categories that tend to have longer words can differ from other categories in their average surprise and their average fixation time. The line summarizes that joint pattern. It cannot establish that differences between individual words of the same grammatical category are explained equally well, or isolate the contribution of surprisal from the other properties that vary across categories.

Finally, the benchmark identifies useful predictors, with causal explanations remaining open. The systems are a selected collection of pretrained estimators. Their parameter counts, training data, and objectives are not jointly controlled. Likewise, the reading data come from a fixed set of naturally occurring passages. A gain from adding surprisal provides evidence that the score tracks an aspect of reading difficulty conditional on the specified controls. It leaves open which language-processing mechanism produces the association and which training choices are responsible for giving an estimator a better fit.

What came after

Predicting Gaze Location without Camera or Eye-Tracker (2026) cites the benchmark and addresses gaze prediction with a different target. Alves uses recorded fixations to ask how long people look at a word, given estimated properties of that word and its context. The later title concerns where a person is looking when camera or eye-tracker data are unavailable. The citation establishes a connection between the studies. It leaves open whether the later work used RastrOS, adopted surprisal as a predictor, or tested any of Alves’s regression comparisons.

Cite

Cite as Diego Alves. 2025. Benchmarking Language Model Surprisal for Eye-Tracking Predictions in Brazilian Portuguese. Proceedings of the First International Workshop on Gaze Data and Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{diego2025benchmarking,
  title = {{Benchmarking Language Model Surprisal for Eye-Tracking Predictions in Brazilian Portuguese}},
  author = {Diego Alves},
  booktitle = {Proceedings of the First International Workshop on Gaze Data and Natural Language Processing},
  year = {2025},
  url = {https://aclanthology.org/2025.gaze4nlp-1.2/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/alves-2025-benchmarking-language-model-surprisal-eye/