Research map / Large language models / Language, safety and interpretability
Why Knowing Both Hops Is Not Enough: Understanding Two-Hop Generalization in Language Models
Zili Zhang, Yilin Wang, Heng Wang, Herun Wan, Minnan Luo
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| train with a looped (shared-parameter) architecture | GPT2-style transformer · Test-IO / Test-OO | accuracy: near chance -> 0.97 (IO), 0.84 (OO) | Improved |
| train upper layers on OOD atomic facts in representational form | standard-trained transformer · Test-IO and Test-OO | accuracy | Improved |
| train upper four layers with embedded atomic facts each epoch (ablation) | standard-trained transformer · Test-OI | accuracy: over 80% -> around 6% | Hurt |
| train upper four layers with embedded atomic facts each epoch (ablation) | standard-trained transformer · Test-IO / Test-OO | accuracy: Test-IO nearly 100%; Test-OO around 4% | Improved |
| decouple standard and embedding-based atomic-fact training (ablation) | embedded-fact training · Test-OI / Test-OO | accuracy: Test-OI around 6% -> 25%; Test-OO around 4% -> 15% | Improved |
| use looped training instead of standard training | bridge entity e2 · S_bridge cosine similarity | cosine similarity: -0.0028 -> 0.8132 | Improved |
| use looped training instead of standard training | relation r2 · S_end cosine similarity | cosine similarity: 0.4121 -> 0.3141 | Hurt |
| swap GPT-style for Llama-based backbone with looping | looped model · Test-OO (symbolic) | accuracy: 0.84 -> 0.54 | Hurt |
| use real Wikidata5M data instead of symbolic | looped model · Test-OO (GPT) | accuracy: 0.84 -> 0.66 | Hurt |
| increase bridge-patching ID alignment during training | standard transformer · Test-II | accuracy | Improved |
| mask attention in upper layers 6-8 for two-hop queries (ablation) | standard transformer · two-hop queries | accuracy: drops to nearly zero | Hurt |
| looped training vs standard training (compute) | training time · hours | hours: 263.05 h -> 86.80 h | Improved |
Closest papers by meaning
- Scaling Reasoning Hop Exposes Weaknesses: Demystifying and Improving Hop Generalization in Large Language Models (ICLR 2026 · similarity 0.90)
- How do Transformers Learn Implicit Reasoning? (NeurIPS 2025 · similarity 0.90)
- Grokking in the Wild: Data Augmentation for Real-World Multi-Hop Reasoning with Transformers (ICML 2025 · similarity 0.88)
- Finding the Minimal Parameter Budget for Implicit Reasoning: A Data Complexity Driven Scaling Law for Language Models (ICML 2026 · similarity 0.87)
- Quantifying Generalization Complexity for Large Language Models (ICLR 2025 · similarity 0.87)
- Supervised Knowledge Makes Large Language Models Better In-context Learners (ICLR 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
