Abstract
Large Language Models (LLMs) frequently struggle with multi-hop queries, even when they possess the necessary individual facts. This paper investigates the internal "sequential reasoning pathway" that LLMs use to resolve these queries. By employing mechanistic interpretability tools like Patchscopes and a novel "back-patching" technique, the authors demonstrate that reasoning follows a three-stage pipeline: bridge entity resolution, information propagation, and target entity resolution. A primary cause of failure is "hopping too late"—the model resolves the first hop too late in the network, leaving insufficient layers to complete the second hop. Back-patching late-layer representations into earlier layers can recover up to 66% of incorrect answers, suggesting that architectural depth, rather than missing knowledge, is a critical bottleneck.
Introduction
Multi-hop reasoning is a cornerstone of complex intelligence, requiring the composition of multiple discrete facts. For example, answering "The spouse of the performer of Imagine is..." requires identifying the performer (John Lennon) and then his spouse (Yoko Ono). While LLMs show remarkable capabilities, they often fail at such compositional tasks. This research explores whether these failures stem from a lack of knowledge or from internal structural limitations in how information is processed across layers.
The Sequential Reasoning Pathway
The authors identify a consistent internal mechanism for multi-hop queries. The process is not a single holistic computation but a sequential pipeline that unfolds across the model's layers.
As illustrated in the figure above, the reasoning process follows three distinct stages:
- Bridge Entity Resolution: In early layers, the model identifies the "bridge entity" (e.g., John Lennon) at the position of the source entity (e.g., "Imagine").
- Information Propagation: In middle layers, this bridge information is moved to the final token position (e.g., "is").
- Target Entity Resolution: In late layers, the model uses the bridge entity to resolve the final target (e.g., Yoko Ono).
Methodology: Probing and Patching
To map this pathway, the researchers used several interpretability techniques:
- Patchscopes: Decoding hidden representations into natural language to track exactly when and where an entity is resolved.
- Attention Knockout: Selectively blocking information flow between tokens to identify critical propagation paths.
- Back-patching: A novel intervention where a hidden representation from a later layer is "patched" back into an earlier layer at the same position. This effectively gives the model more computational "depth" to finish its reasoning by reusing earlier layers.
Experimental Setup
The study utilized a new benchmark, the Multi-Hop Wikidata Dataset, containing over 82,020 two-hop queries. The data was specifically filtered to isolate "latent reasoning" failures—cases where the model knows the individual facts in isolation but fails the multi-hop query. Testing spanned several model families, including LLaMA 2 (7B, 13B), LLaMA 3 (8B, 70B), and Pythia (6.9B, 12B).
Results: Why LLMs Fail
The core finding is that failures often occur because the model starts its reasoning too late. This phenomenon is termed "Hopping Too Late."
In successful cases, the bridge entity is typically resolved within the first 20-30% of layers. In failed cases, as shown in the box plots, this resolution happens much later. By the time the bridge entity is identified and propagated to the final token, the model has "run out of layers" to perform the second hop.
Back-patching results provide strong evidence for this: by moving a late-stage representation (where the bridge is already known) to an earlier layer, the model can use the remaining layers to successfully find the target. This technique fixed 32% to 66% of previously incorrect cases across various models. Additionally, the study highlighted that MLP sublayers are primarily responsible for the "knowledge extraction" required in the final hop, while attention layers facilitate the propagation of the bridge entity.
Conclusion and Future Work
The "Hopping Too Late" phenomenon suggests that LLM failures on multi-hop queries are often structural rather than knowledge-based. The model's fixed depth limits its ability to sequence multiple reasoning steps if the initial steps are delayed. While back-patching is not yet a practical inference method due to the need for manual layer selection, it points toward promising future directions. These include architectural changes like recurrent processing or dynamic layer allocation, which would allow models to "take more time" on complex queries when needed.
Summary updated