Introduction
In psycholinguistics, "garden path" (GP) sentences—such as "After the woman drank the water was all gone"—create temporary syntactic ambiguities that lead human readers toward an initial incorrect interpretation. Humans typically experience a processing delay at the point of disambiguation, followed by a mental "reanalysis" or repair of the sentence structure. While Large Language Models (LLMs) demonstrate sophisticated syntactic capabilities, the internal mechanisms they employ to navigate these linguistic traps remain poorly understood. This study investigates whether LLMs process these ambiguities serially or in parallel, and whether they perform human-like structural repairs.
Methodology
The researchers analyzed Pythia-70m and Gemma-2-2b using a multi-stage mechanistic interpretability pipeline. Central to this approach was the use of Sparse Autoencoders (SAEs) to decompose high-dimensional transformer activations into discrete, human-interpretable features.
The pipeline involved three primary steps:
- Locating Influential Features: Using Attribution Patching with Integrated Gradients (AtP-IG), the authors identified features causally responsible for the model's preference for specific sentence completions (e.g., preferring a comma vs. "was").
- Feature Annotation: Features were manually labeled by observing their activations across diverse text corpora. For instance, features were identified as "subject noun detectors" or "object noun detectors" based on their firing patterns.
- Causal Verification: The researchers performed interventions, such as up-weighting or ablating specific features, to confirm their functional role in the model's decision-making process.
Results
The investigation yielded several key insights into the internal grammar of transformers:
Parallel Processing
Unlike serial models of human processing, LLMs appear to activate features for multiple interpretations simultaneously. Even when a model strongly prefers a garden-path reading, features corresponding to the correct alternative structure remain active, suggesting a built-in parallelism.
Heuristic and Syntactic Circuits
The "circuits" driving these decisions are hierarchical. Lower layers often rely on shallow heuristics (e.g., simple word detectors), while higher layers develop sophisticated syntactic representations, such as detectors for the subject of a sentential complement.
The Absence of Structural Repair
A significant finding was the "no-repair" phenomenon. When humans realize they have misread a GP sentence, they reanalyze the structure. However, LLMs do not seem to reuse their incremental syntactic features to answer follow-up comprehension questions. There was nearly zero overlap (0% to 0.2% IoU) between the features used during incremental processing and those used for final question-answering. This suggests that LLM "understanding" is fragmented rather than a unified, persistent structural model.
Conclusion
This work demonstrates that LLMs navigate syntactic ambiguity through a parallel activation of interpretable features. However, the lack of feature overlap between processing and comprehension suggests that these models do not "repair" their internal representations in a human-like way. Future research into automated feature labeling will be essential for scaling these mechanistic insights to broader linguistic structures and larger models.
Summary updated