Manuscript Offprint

arXiv:2610.36797

Language Models Keep Abandoned Analyses: Residue and Adaptation after Garden-Path Sentences

Xiang Ding

Abstract

Reading While the man hunted the deer ran into the woods requires giving up the analysis in which the deer is the object of hunted. People who have just read such a sentence still produce more transitive structures, so the abandoned analysis primes later language. We ask whether language models keep using an analysis they have abandoned, and what in the model carries it. In 24 open models from 124M to 70B parameters, a garden-path sentence leaves two traces in the context. A residue of the abandoned analysis raises later object attachment, by about three quarters of the effect of a sentence in which the noun phrase really is an object, and it appears in sampled text, on held-out and human-normed items and for a second type of garden path. An adaptation toward the resolved structure scales with the sentence's disambiguation error and acts mainly on comprehension-like measures. Activation patching separates the two. Later text reads the residue from the role information in the noun phrase's states, which were computed under the object analysis before the disambiguation, and replacing these states removes almost all of the residue in the 32B and 70B models. The adaptation is read from the states that processed the disambiguation. Overridden statements show the same persistence (a corrected value keeps pulling later predictions in 8 of 9 models), and in most models the pull is carried by the positions after the statement. Finally, the human paradigm transfers only with controls for punctuation, because the models also write garden-path sentences themselves, which reverses the paradigm's raw statistic.

1 Introduction

Garden-path sentences make a reader build an analysis and then give it up. In While the man hunted the deer ran into the woods, the noun phrase the deer is first attached as the object of hunted, and the

While the man hunted the deer ran into the woods.

computed under

the object analysis

computed after the

disambiguation

residue of the

abandoned analysis

adaptation toward

the resolved structure

next sentence: While the nurse washed ...

object attachment in production: raised by the residue

surprise at a later garden path:

lowered by the adaptation

Figure 1: Two traces of a garden-path sentence in a causal language model. Later text reads a residue of the abandoned object analysis from the states of the deer, which were computed before the disambiguation ( §6§6). The main-clause states carry an adaptation toward the resolved structure. The two traces push later processing in opposite directions, and their balance differs between production-like and comprehension-like measures ( §5§5).

verb ran reveals that it is the subject of the main clause (Frazier and Rayner, 1982). In language models (LMs), which have become a standard test bed for such sentences, surprisal at the disambiguating word predicts that garden-path effects occur but underestimates their size (Futrell et al., 2019; van Schijndel and Linzen, 2021; Arehalli et al., 2022; Huang et al., 2024). Asked Did the man hunt the deer?, they often answer yes, like human readers who keep part of the initial interpretation (Christianson et al., 2001; Li et al., 2024; Amouyal et al., 2025). These studies examine the garden-path sentence itself, either the difficulty of its disambiguation or the accuracy of its final interpretation.

The abandoned analysis can also shape what comes after the sentence. van Gompel et al. (2006) had participants read a garden-path sentence and then complete a fragment such as While the nurse washed. Completions were more often transitive after the garden path than after a version disambiguated by a comma (33.6% against 29.1% in their first experiment), so the object analysis that had been ruled out still primed later production. For LMs this question has a specific architectural form. A causal transformer computes the representation of each token when the token is read, and later tokens retrieve these representations through attention. When ran arrives, the states of the deer have already been computed under the object analysis, and they stay in the context unchanged. The states computed after the disambiguation, in contrast, can encode the corrected analysis. Whether later text is shaped by the abandoned analysis therefore depends on which of these states it reads, and this cannot be decided from the architecture alone.

Studies of structural priming in LMs have so far not been able to address this question. LMs reuse the structure of a preceding sentence (Sinclair et al., 2022; Prasad et al., 2019; Michaelov et al., 2023; Pucci et al., 2026), and they do so more after less expected primes, an inverse-frequency effect that Zhou et al. (2025) take as evidence that in-context learning is error-driven (see also Jumelet et al., 2024). In human research the same effect separates two accounts of priming. Residual activation holds that a processed structure stays active and is reused because it is active (Pickering and Branigan, 1998). Error-driven learning holds that a prime adjusts expectations in proportion to its prediction error (Chang et al., 2006; Jaeger and Snider, 2013). With unambiguous primes, both accounts predict priming of the prime's structure, and only the scaling with prediction error tells them apart.

Garden-path primes add a second contrast. For the abandoned object analysis, residual activation predicts reuse that grows with how strongly the analysis was built. Error-driven learning predicts the opposite tendency, because the error occurs when the object analysis fails, and learning from it should favour the resolved structure in which the deer starts a new clause. Human data show only the net result. LMs let us measure the effect of a garden-path prime on later text, relate it to the strength of the abandoned analysis and to the disambiguation error, and locate in the context what carries each part.

We pair garden-path primes from five published item sets with target fragments and measure how a prime changes a production-like quantity, the preference for attaching the target's noun phrase as an object, and a comprehension-like quantity, the surprisal of the disambiguating word in a garden-path target. Across 24 models we compare primes matched for punctuation and verb, fix the predictions of each confirmatory experiment before collecting its data, and use activation patching to locate the effects inside the prime.

A garden-path prime raises later object attachment by about three quarters of the effect of a prime whose noun phrase really is an object, and most of this residue requires a noun phrase that could have been an object. The same prime produces an adaptation toward the resolved structure that grows with its disambiguation error and acts mainly on the comprehension-like measure, and patching shows that later text reads the two from different positions of the prime. To see how far the persistence extends, we also test statements that a later sentence corrects. The overridden value keeps influencing later predictions, but through a different route than the garden path.

Our contributions are as follows. (1) We show that LMs carry an abandoned syntactic analysis into later production, across 24 models, three item sets and two types of garden path, with controls that rule out punctuation, verb bias and local string overlap as its source. (2) We show that the same prime also produces an adaptation toward the resolved analysis, that the two effects scale with different properties of the prime (the strength of the abandoned analysis and the disambiguation error), and that their balance differs between production-like and comprehension-like measures. (3) We show by activation patching, probing and a role-direction intervention that later text reads the abandoned analysis from the role information in noun-phrase states computed before the disambiguation, even though the states after it encode the reanalysis. (4) We show that overridden statements also persist, in most models through later positions, and that the human paradigm’s statistic reverses in LMs unless punctuation is controlled.

References (24)