Language Models Keep Abandoned Analyses: Residue and Adaptation after Garden-Path Sentences
Organizations: Nagoya University
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.
Figures & tables
| Prime | Example |
| gp | While the man hunted the deer ran into the woods. |
| cue | While the man hunted, the deer ran into the woods. |
| tb | While the man hunted the deer it ran into the woods. |
| nb / nc | While the man slept(,) the deer ran into the woods. |
| nom | While the man hunted they ran into the woods. |
| pass | While the man was hunted the deer ran into the woods. |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Experiment | Pre-specified prediction | Outcome |
| Held-out families | (i) object expectation predicts the residue on (ii) error predicts it with the sign found in discovery (iii) sign of the net residue | (i) 7/17 (not confirmed) (ii) 11/17, same sign in 16/17 (sign test ) (iii) 5/9 |
| Within-family error | more surprising disambiguation lowers the residue in the models with a discovery error effect | confirmed in 3/3, and null in the 2 models predicted null |
| NP/S | the two forces generalize to NP/S garden paths | not confirmed (1/5 and 0/4) |
| MV/RR | error and commitment relations in main-verb/reduced-relative garden paths | (i) error 6/9 (ii) commitment 0/8 |
| Case ( nom ) | (i) object expectation predicts the residue without punctuation (ii) error relation negative (iii) comma part of the predictor vanishes | (i) 22/22 (ii) 20/22 (iii) not confirmed (reinterpreted as part of object expectation) |
| Measures | (i) residue on positive (ii) error relation stronger on than on | (i) 16/16 (ii) 14/16 |
| Model | , NP | , MC | , NP | , MC | |
| Pythia-1.4B | 0.46 (0.33, 0.59) | 0.65 (0.56, 0.73) | 0.85 (0.76, 0.92) | 0.26 ( 0.30, 0.22) | 0.22 (0.11, 0.34) |
| Pythia-2.8B | 0.49 (0.34, 0.65) | 0.50 (0.41, 0.59) | 0.74 (0.64, 0.83) | 0.35 ( 0.42, 0.29) | 0.40 (0.25, 0.55) |
| Llama-3.2-3B | 0.82 (0.62, 1.03) | 0.39 (0.30, 0.48) | 0.83 (0.72, 0.95) | 0.51 ( 0.60, 0.42) | 1.12 (0.92, 1.33) |
| Mistral-7B | 0.86 (0.64, 1.09) | 0.40 (0.28, 0.49) | 0.89 (0.74, 1.10) | 0.55 ( 0.66, 0.46) | 0.93 (0.74, 1.11) |
| Qwen2.5-7B | 0.90 (0.66, 1.16) | 0.14 ( 0.05, 0.27) | 1.34 (1.12, 1.71) | 0.84 ( 0.99, 0.71) | 1.13 (0.93, 1.33) |
| Llama-3.1-8B-Inst. | 1.09 (0.87, 1.36) | 0.28 (0.17, 0.38) | 1.03 (0.91, 1.17) | 0.83 ( 0.96, 0.71) | 1.33 (1.11, 1.55) |