When can transformers reason with abstract symbols?
Not on the map. Why?
Abstract (arXiv)
We investigate the capabilities of transformer models on relational reasoning tasks. In these tasks, models are trained on a set of strings encoding abstract relations, and are then tested out-of-distribution on data that contains symbols that did not appear in the training dataset. We prove that for any relational reasoning task in a large family of tasks, transformers learn the abstract relations and generalize to the test set when trained by gradient descent on sufficiently large quantities of training data. This is in contrast to classical fully-connected networks, which we prove fail to learn to reason. Our results inspire modifications of the transformer architecture that add only two trainable parameters per head, and that we empirically demonstrate improve data efficiency for learning to reason.
Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 34 of its 55 references that are in the map. First posted on arXiv 15 Oct 2023.
Builds on
34 of 55 references.
References · 34
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2018On Lazy Training in Differentiable Programmingcited by 671
- 2018A Mean Field View of the Landscape of Two-Layers Neural Networkscited by 463
- 2018On the Global Convergence of Gradient Descent for Over-parameterized Models using Optimal Transportcited by 422
- 2023Scaling Relationship on Learning Mathematical Reasoning with Large Language Modelscited by 417
- 2017A simple neural network module for relational reasoningcited by 345
22 more
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
- 2022Emergent Analogical Reasoning in Large Language Modelscited by 239
- 2023Inverse Scaling: When Bigger Isn't Bettercited by 205
- 2019Mean-field theory of two-layers neural networks: dimension-free bounds and kernel limitcited by 187
- 2023Generalization on the Unseen, Logic Reasoning and Degree Curriculumcited by 73
- 2017Recurrent Relational Networkscited by 71
- 2018Relational recurrent neural networkscited by 65
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2023Mimetic Initialization of Self-Attention Layerscited by 52
- 2023Do Transformers Parse while Predicting the Masked Word?cited by 48
- 2020Emergent Symbols through Binding in External Memorycited by 47
- 2019Mean Field Analysis of Deep Neural Networkscited by 42
- 2020Learning Representations that Support Extrapolationcited by 36
- 2019An Explicitly Relational Neural Network Architecturecited by 35
- 2020Why Are Convolutional Nets More Sample-Efficient than Fully-Connected Nets?cited by 32
- 2021Pointer Value Retrieval: A new benchmark for understanding the limits of neural network generalizationcited by 29
- 2016Distribution-Specific Hardness of Learning Neural Networkscited by 27
- 2022On Neural Architecture Inductive Biases for Relational Taskscited by 26
- 2023The Relational Bottleneck as an Inductive Bias for Efficient Abstractioncited by 26
- 2022On the non-universality of deep learning: quantifying the cost of symmetrycited by 17
- 2022An initial alignment between neural network and target is needed for gradient descent to learncited by 12
Built on by
Citing papers per year: 2023: 1; 2024: 7; 2025: 11; 2026: 4.
23 papers.
Sort:
By area:
- 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
- 2023Vamos: Versatile Action Models for Video Understandingcited by 40
- 2025FACTR: Force-Attending Curriculum Training for Contact-Rich Policy Learningcited by 31
- 2024Out-of-distribution generalization via composition: a lens through induction heads in Transformerscited by 28
- 2024What Can Transformer Learn with Varying Depth? Case Studies on Sequence Learning Taskscited by 19
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanismcited by 15
- 2024MLPs Learn In-Context on Regression and Classification Taskscited by 12
- 2025Lost in Cultural Translation: Do LLMs Struggle with Math Across Cultural Contexts?cited by 9
- 2024Transformer Normalisation Layers and the Independence of Semantic Subspacescited by 6
- 2024Interpret Your Decision: Logical Reasoning Regularization for Generalization in Visual Classificationcited by 5
- 2025Reason from Future: Reverse Thought Chain Enhances LLM Reasoningcited by 5
- 2025Learning to Add, Multiply, and Execute Algorithmic Instructions Exactly with Neural Networkscited by 4
11 more
- 2025Benchmarking Abstract and Reasoning Abilities Through A Theoretical Perspectivecited by 4
- 2025AbstRaL: Augmenting LLMs' Reasoning by Reinforcing Abstract Thinkingcited by 4
- 2025TiCT: A Synthetically Pre-Trained Foundation Model for Time Series Classificationcited by 3
- 2025Learning richness modulates equality reasoning in neural networkscited by 2
- 2025Secret mixtures of experts inside your LLMcited by 2
- 2024Three Pathways to Neurosymbolic Reinforcement Learning with Interpretable Model and Policy Networkscited by 1
- 2025Optimization Problem Solving Can Transition to Evolutionary Agentic Workflowscited by 0
- 2026To See the Unseen: on the Generalization Ability of Transformers in Symbolic Reasoningcited by 0
- 2026A mathematical theory of balancing relational generalization and memorizationcited by 0
- 2026Syntax vs. Semantics: How Transformers Learn Deep Dependenciescited by 0
- 2026Logical subspace in LLMscited by 0
- 2026Logical subspace in LLMs26 Sep 2026
- 2026Syntax vs. Semantics: How Transformers Learn Deep Dependencies26 Jun 2026
- 2026A mathematical theory of balancing relational generalization and memorization21 May 2026
- 2026To See the Unseen: on the Generalization Ability of Transformers in Symbolic Reasoning23 Apr 2026
- 2025Secret mixtures of experts inside your LLM20 Dec 2025
- 2025TiCT: A Synthetically Pre-Trained Foundation Model for Time Series Classification24 Nov 2025
- 2025AbstRaL: Augmenting LLMs' Reasoning by Reinforcing Abstract Thinking9 Jun 2025
- 2025Reason from Future: Reverse Thought Chain Enhances LLM Reasoning4 Jun 2025
- 2025Benchmarking Abstract and Reasoning Abilities Through A Theoretical Perspective28 May 2025
- 2025Optimization Problem Solving Can Transition to Evolutionary Agentic Workflows7 May 2025
- 2025Lost in Cultural Translation: Do LLMs Struggle with Math Across Cultural Contexts?23 Mar 2025
- 2025Learning richness modulates equality reasoning in neural networks12 Mar 2025
11 more
- 2025FACTR: Force-Attending Curriculum Training for Contact-Rich Policy Learning24 Feb 2025
- 2025Learning to Add, Multiply, and Execute Algorithmic Instructions Exactly with Neural Networks24 Feb 2025
- 2025Training Dynamics of In-Context Learning in Linear Attention27 Jan 2025
- 2024Interpret Your Decision: Logical Reasoning Regularization for Generalization in Visual Classification6 Oct 2024
- 2024Out-of-distribution generalization via composition: a lens through induction heads in Transformers18 Aug 2024
- 2024Transformer Normalisation Layers and the Independence of Semantic Subspaces25 Jun 2024
- 2024MLPs Learn In-Context on Regression and Classification Tasks24 May 2024
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanism24 May 2024
- 2024What Can Transformer Learn with Varying Depth? Case Studies on Sequence Learning Tasks2 Apr 2024
- 2024Three Pathways to Neurosymbolic Reinforcement Learning with Interpretable Model and Policy Networks7 Feb 2024
- 2023Vamos: Versatile Action Models for Video Understanding22 Nov 2023
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanismcited by 15
- 2025Lost in Cultural Translation: Do LLMs Struggle with Math Across Cultural Contexts?cited by 9
- 2024Interpret Your Decision: Logical Reasoning Regularization for Generalization in Visual Classificationcited by 5
- 2025Reason from Future: Reverse Thought Chain Enhances LLM Reasoningcited by 5
- 2025Benchmarking Abstract and Reasoning Abilities Through A Theoretical Perspectivecited by 4
- 2025AbstRaL: Augmenting LLMs' Reasoning by Reinforcing Abstract Thinkingcited by 4
- 2026To See the Unseen: on the Generalization Ability of Transformers in Symbolic Reasoningcited by 0
- 2026To See the Unseen: on the Generalization Ability of Transformers in Symbolic Reasoning23 Apr 2026
- 2025AbstRaL: Augmenting LLMs' Reasoning by Reinforcing Abstract Thinking9 Jun 2025
- 2025Reason from Future: Reverse Thought Chain Enhances LLM Reasoning4 Jun 2025
- 2025Benchmarking Abstract and Reasoning Abilities Through A Theoretical Perspective28 May 2025
- 2025Lost in Cultural Translation: Do LLMs Struggle with Math Across Cultural Contexts?23 Mar 2025
- 2024Interpret Your Decision: Logical Reasoning Regularization for Generalization in Visual Classification6 Oct 2024
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanism24 May 2024
- 2025Secret mixtures of experts inside your LLMcited by 2
- 2025Secret mixtures of experts inside your LLM20 Dec 2025
- 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
- 2023Vamos: Versatile Action Models for Video Understandingcited by 40
- 2025FACTR: Force-Attending Curriculum Training for Contact-Rich Policy Learningcited by 31
- 2024Out-of-distribution generalization via composition: a lens through induction heads in Transformerscited by 28
- 2024What Can Transformer Learn with Varying Depth? Case Studies on Sequence Learning Taskscited by 19
- 2024MLPs Learn In-Context on Regression and Classification Taskscited by 12
- 2024Transformer Normalisation Layers and the Independence of Semantic Subspacescited by 6
- 2025Learning to Add, Multiply, and Execute Algorithmic Instructions Exactly with Neural Networkscited by 4
- 2025TiCT: A Synthetically Pre-Trained Foundation Model for Time Series Classificationcited by 3
- 2025Learning richness modulates equality reasoning in neural networkscited by 2
- 2024Three Pathways to Neurosymbolic Reinforcement Learning with Interpretable Model and Policy Networkscited by 1
- 2026A mathematical theory of balancing relational generalization and memorizationcited by 0
12 most cited of 14 All 14 (JSON)
- 2026Logical subspace in LLMs26 Sep 2026
- 2026Syntax vs. Semantics: How Transformers Learn Deep Dependencies26 Jun 2026
- 2026A mathematical theory of balancing relational generalization and memorization21 May 2026
- 2025TiCT: A Synthetically Pre-Trained Foundation Model for Time Series Classification24 Nov 2025
- 2025Learning richness modulates equality reasoning in neural networks12 Mar 2025
- 2025FACTR: Force-Attending Curriculum Training for Contact-Rich Policy Learning24 Feb 2025
- 2025Learning to Add, Multiply, and Execute Algorithmic Instructions Exactly with Neural Networks24 Feb 2025
- 2025Training Dynamics of In-Context Learning in Linear Attention27 Jan 2025
- 2024Out-of-distribution generalization via composition: a lens through induction heads in Transformers18 Aug 2024
- 2024Transformer Normalisation Layers and the Independence of Semantic Subspaces25 Jun 2024
- 2024MLPs Learn In-Context on Regression and Classification Tasks24 May 2024
- 2024What Can Transformer Learn with Varying Depth? Case Studies on Sequence Learning Tasks2 Apr 2024
12 newest of 14 All 14 (JSON)