Emergent Analogical Reasoning in Transformers
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Analogy is a central faculty of human intelligence, enabling abstract patterns discovered in one domain to be applied to another. Despite its central role in cognition, the mechanisms by which Transformers acquire and implement analogical reasoning remain poorly understood. In this work, inspired by the notion of functors in category theory, we formalize analogical reasoning as the inference of correspondences between entities across categories. Based on this formulation, we introduce synthetic tasks that evaluate the emergence of analogical reasoning under controlled settings. We find that the emergence of analogical reasoning is highly sensitive to data characteristics, optimization choices, and model scale. Through mechanistic analysis, we show that analogical reasoning in Transformers decomposes into two key components: (1) geometric alignment of relational structure in the embedding space, and (2) the application of a functor within the Transformer. These mechanisms enable models to transfer relational structure from one category to another, realizing analogy. Finally, we quantify these effects and find that the same trends are observed in pretrained LLMs. In doing so, we move analogy from an abstract cognitive notion to a concrete, mechanistically grounded phenomenon in modern neural networks.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 12 of its 73 references that are in the map. First posted on arXiv 2 Feb 2026.
Builds on
12 of 73 references.
Closest ancestors · 1
Same direction, newest first
Other references · 11
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2024OpenAI o1 System Cardcited by 1,220
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
- 2025On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Modelscited by 64
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 22
- 2025Decomposing Elements of Problem Solving: What "Math" Does RL Teach?cited by 10
- 2025Mechanism of Task-oriented Information Removal in In-context Learningcited by 2
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026The Geometric Inductive Bias of Grokking: Bypassing Phase Transitions via Architectural Topologycited by 4
- 2026Emergent Ordinal Geometry in Transformers Trained on Local Comparisonscited by 0
- 2026On the Diversity of Analogy Making in Large Language Modelscited by 0
- 2026A Pre-Specified Construction-Confirmation Test of Operation-Level Causal Transfer Across Finite Isomorphic Symbolic Domainscited by 0
- 2026When the Canonical Completion Is Wrong: Formalizing and Measuring the Jump in Large Language Modelscited by 0
- 2026When the Canonical Completion Is Wrong: Formalizing and Measuring the Jump in Large Language Models22 Aug 2026
- 2026A Pre-Specified Construction-Confirmation Test of Operation-Level Causal Transfer Across Finite Isomorphic Symbolic Domains16 Aug 2026
- 2026On the Diversity of Analogy Making in Large Language Models4 Aug 2026
- 2026Emergent Ordinal Geometry in Transformers Trained on Local Comparisons31 May 2026
- 2026The Geometric Inductive Bias of Grokking: Bypassing Phase Transitions via Architectural Topology5 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026Feature Resemblance: Towards a Theoretical Understanding of Analogical Reasoning in Transformers
- 2026Transformer See, Transformer Do: Copying as an Intermediate Step in Learning Analogical Reasoning
- 2023In-Context Analogical Reasoning with Pre-Trained Language Models
- 2025The Curious Case of Analogies: Investigating Analogical Reasoning in Large Language Models
- 2025Modelling Analogies and Analogical Reasoning: Connecting Cognitive Science Theory and NLP Research
- 2023ARN: Analogical Reasoning on Narratives
- 2022DeepGAR: Deep Graph Learning for Analogical Reasoning
- 2024LLMs as Models for Analogical Reasoning