Layer-Order Inversion: Rethinking Latent Multi-Hop Reasoning in Large Language Models
cs.CL, cs.AI
Submitted: 2026-01-07
Updated: 2026-08-26
Comments: 16 pages, 18 figures, EMNLP 2026 Main
Code: https://github.com/laquabe/Layer-Order-Inversion
License: http://creativecommons.org/licenses/by/4.0/
The gist: Large language models (LLMs) perform well on multi-hop reasoning, yet how they internally compose multiple facts remains unclear.
Terminology
Abstract
Large language models (LLMs) perform well on multi-hop reasoning, yet how they internally compose multiple facts remains unclear. Recent work proposes hop-aligned circuit hypothesis, suggesting that bridge entities are computed sequentially across layers before later-hop answers. Through systematic analyses on real-world multi-hop queries, we show that this hop-aligned assumption does not generalize: later-hop answer entities can become decodable earlier than bridge entities, a phenomenon we call layer-order inversion, which strengthens with total hops. To explain this behavior, we propose a probabilistic recall-and-extract framework that models multi-hop reasoning as broad probabilistic recall in shallow MLP layers followed by selective extraction in deeper attention layers. This framework is empirically validated through systematic probing analyses, reinterpreting prior layer-wise decoding evidence, explaining chain-of-thought gains, and providing a mechanistic diagnosis of multi-hop failures despite correct single-hop knowledge. Code is available at https://github.com/laquabe/Layer-Order-Inversion.
Sources
- Eliciting Latent Predictions from Transformers with the Tuned Lens
- Reasoning Beyond Language: A Comprehensive Survey on Latent Chain-of-Thought Reasoning
- LLaMA: Open and Efficient Foundation Language Models
- LogitLens4LLMs: Extending Logit Lens Analysis to Modern Large Language Models
- A Survey on Latent Reasoning
- Enhancing Multi-hop Reasoning through Knowledge Erasure in Large Language Model Editing
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering