Making Transformers Solve Compositional Tasks
Not on the map. Why?
Abstract (arXiv)
Several studies have reported the inability of Transformer models to generalize compositionally, a key type of generalization in many NLP tasks such as semantic parsing. In this paper we explore the design space of Transformer models showing that the inductive biases given to the model by several design decisions significantly impact compositional generalization. Through this exploration, we identified Transformer configurations that generalize compositionally significantly better than previously reported in the literature in a diverse set of compositional tasks, and that achieve state-of-the-art results in a semantic parsing compositional generalization benchmark (COGS), and a string edit operation composition benchmark (PCFG).
Key facts. Cited by 72 papers in the map (data through 7 Oct 2026). Builds on 24 of its 34 references that are in the map. First posted on arXiv 9 Aug 2021.
Builds on
24 of 34 references.
References · 24
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2020Shortcut Learning in Deep Neural Networkscited by 1,928
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
12 more
- 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
- 2019Compositionality decomposed: how do neural networks generalise?cited by 264
- 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
- 2019Good-Enough Compositional Data Augmentationcited by 158
- 2019Adaptive Attention Span in Transformerscited by 148
- 2019HIBERT: Document Level Pre-training of Hierarchical Bidirectional Transformers for Document Summarizationcited by 120
- 2020Compositional Generalization in Semantic Parsing: Pre-training vs. Specialized Architecturescited by 95
- 2019Compositional generalization in a deep seq2seq model by separating syntax and semanticscited by 56
- 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited by 55
- 2020Compositional Generalization by Learning Analytical Expressionscited by 53
- 2018Memorize or generalize? Searching for a compositional RNN in a haystackcited by 41
- 2021Improving Compositional Generalization in Classification Tasks via Structure Annotationscited by 12
Built on by
Citing papers per year: 2021: 7; 2022: 15; 2023: 16; 2024: 17; 2025: 12; 2026: 5.
72 papers.
Sort:
By area:
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
- 2023Teaching Arithmetic to Small Transformerscited by 121
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
- 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 114
- 2022Fusing finetuned models for better pretrainingcited by 110
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2024MoEUT: Mixture-of-Experts Universal Transformerscited by 55
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
- 2021Improving Compositional Generalization with Latent Structure and Data Augmentationcited by 46
- 2021Systematic Generalization with Edge Transformerscited by 38
- 2023The Impact of Depth on Compositional Generalization in Transformer Language Modelscited by 37
38 more
- 2021The Grammar-Learning Trajectories of Neural Language Modelscited by 36
- 2024How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpadcited by 35
- 2022Uncontrolled Lexical Exposure Leads to Overestimation of Compositional Generalization in Pretrained Modelscited by 26
- 2023Neural-Logic Human-Object Interaction Detectioncited by 25
- 2022Structural generalization is hard for sequence-to-sequence modelscited by 24
- 2023ReCOGS: How Incidental Details of a Logical Form Overshadow an Evaluation of Semantic Interpretationcited by 24
- 2024A Philosophical Introduction to Language Models -- Part I: Continuity With Classic Debatescited by 22
- 2023Compositional Capabilities of Autoregressive Transformers: A Study on Synthetic, Interpretable Taskscited by 21
- 2022Revisiting the Compositional Generalization Abilities of Neural Sequence Modelscited by 20
- 2022Systematic Generalization and Emergent Structures in Transformers Trained on Structured Taskscited by 19
- 2022The Curious Case of Absolute Position Embeddingscited by 17
- 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesiscited by 17
- 2024A Survey on Compositional Learning of AI Models: Theoretical and Experimental Practicescited by 15
- 2023Sequential Query Encoding For Complex Query Answering on Knowledge Graphscited by 13
- 2022LogicInference: A New Dataset for Teaching Logical Inference to seq2seq Modelscited by 12
- 2022Neural-Symbolic Recursive Machine for Systematic Generalizationcited by 12
- 2025Strassen Attention, Split VC Dimension and Compositionality in Transformerscited by 12
- 2024AlgoFormer: An Efficient Transformer Framework with Algorithmic Structurescited by 11
- 2024Benchmarking GPT-4 on Algorithmic Problems: A Systematic Evaluation of Prompting Strategiescited by 9
- 2023Learning to Substitute Spans towards Improving Compositional Generalizationcited by 8
- 2025The Role of Sparsity for Length Generalization in Transformerscited by 8
- 2025NePTune: A Neuro-Pythonic Framework for Tunable Compositional Reasoning on Vision-Languagecited by 8
- 2021LAGr: Labeling Aligned Graphs for Improving Systematic Generalization in Semantic Parsingcited by 7
- 2024ALTA: Compiler-Based Analysis of Transformerscited by 7
- 2021Iterative Decoding for Compositional Generalization in Transformerscited by 6
- 2022Compositional Generalisation with Structured Reordering and Fertility Layerscited by 6
- 2025Beyond Statistical Learning: Exact Learning Is Essential for General Intelligencecited by 6
- 2024Towards Understanding the Relationship between In-context Learning and Compositional Generalizationcited by 5
- 2024What makes Models Compositional? A Theoretical View: With Supplementcited by 5
- 2024Philosophy of Cognitive Science in the Age of Deep Learningcited by 5
- 2024Quantifying artificial intelligence through algorithmic generalizationcited by 5
- 2023MAQA: A Multimodal QA Benchmark for Negationcited by 4
- 2023Probabilistic Transformer: A Probabilistic Dependency Model for Contextual Word Representationcited by 4
- 2025Decomposing Complex Visual Comprehension into Atomic Visual Skills for Vision Language Modelscited by 4
- 2024On the generalization capacity of neural networks during generic multimodal reasoningcited by 3
- 2024SPOR: A Comprehensive and Practical Evaluation Method for Compositional Generalization in Data-to-Text Generationcited by 3
- 2025Long-Short Alignment for Effective Long-Context Modeling in LLMscited by 3
- 2025To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Modelscited by 3
50 most cited of 72 All 72 (JSON)
- 2026MoRE: Mixture of Reused Experts16 Sep 2026
- 2026The Deterministic Horizon: When Extended Reasoning Fails and Tool Delegation Becomes Necessary29 May 2026
- 2026To See the Unseen: on the Generalization Ability of Transformers in Symbolic Reasoning23 Apr 2026
- 2026Generalization in LLM Problem Solving: The Case of the Shortest Path16 Apr 2026
- 2026Towards Compositional Generalization in LLMs for Smart Contract Security: A Case Study on Reentrancy Vulnerabilities11 Jan 2026
- 2025Understanding the Staged Dynamics of Transformers in Learning Latent Structure24 Nov 2025
- 2025To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Models16 Oct 2025
- 2025NePTune: A Neuro-Pythonic Framework for Tunable Compositional Reasoning on Vision-Language30 Sep 2025
- 2025Is In-Context Learning Learning?12 Sep 2025
- 2025Beyond Statistical Learning: Exact Learning Is Essential for General Intelligence30 Jun 2025
- 2025Long-Short Alignment for Effective Long-Context Modeling in LLMs13 Jun 2025
- 2025Decomposing Complex Visual Comprehension into Atomic Visual Skills for Vision Language Models26 May 2025
38 more
- 2025Exploring Compositional Generalization (in COGS/ReCOGS_pos) by Transformers using Restricted Access Sequence Processing (RASP)21 Apr 2025
- 2025Learning to Substitute Components for Compositional Generalization28 Feb 2025
- 2025Data Distributional Properties As Inductive Bias for Systematic Generalization27 Feb 2025
- 2025The Role of Sparsity for Length Generalization in Transformers24 Feb 2025
- 2025Strassen Attention, Split VC Dimension and Compositionality in Transformers31 Jan 2025
- 2024Quantifying artificial intelligence through algorithmic generalization8 Nov 2024
- 2024ALTA: Compiler-Based Analysis of Transformers23 Oct 2024
- 2024Block-Operations: Using Modular Routing to Improve Compositional Generalization1 Aug 2024
- 2024Aligning Programming Language and Natural Language: Exploring Design Choices in Multi-Modal Transformer-Based Embedding for Bug Localization25 Jun 2024
- 2024A Survey on Compositional Learning of AI Models: Theoretical and Experimental Practices13 Jun 2024
- 2024Learning interpretable positional encodings in transformers depends on initialization12 Jun 2024
- 2024How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpad10 Jun 2024
- 2024MoEUT: Mixture-of-Experts Universal Transformers25 May 2024
- 2024SPOR: A Comprehensive and Practical Evaluation Method for Compositional Generalization in Data-to-Text Generation17 May 2024
- 2024Philosophy of Cognitive Science in the Age of Deep Learning7 May 2024
- 2024What makes Models Compositional? A Theoretical View: With Supplement2 May 2024
- 2024Towards Understanding the Relationship between In-context Learning and Compositional Generalization18 Mar 2024
- 2024A Neural Rewriting System to Solve Algorithmic Problems27 Feb 2024
- 2024Benchmarking GPT-4 on Algorithmic Problems: A Systematic Evaluation of Prompting Strategies27 Feb 2024
- 2024AlgoFormer: An Efficient Transformer Framework with Algorithmic Structures21 Feb 2024
- 2024On the generalization capacity of neural networks during generic multimodal reasoning26 Jan 2024
- 2024A Philosophical Introduction to Language Models -- Part I: Continuity With Classic Debates8 Jan 2024
- 2023Compositional Generalization in Spoken Language Understanding25 Dec 2023
- 2023Probabilistic Transformer: A Probabilistic Dependency Model for Contextual Word Representation26 Nov 2023
- 2023Compositional Capabilities of Autoregressive Transformers: A Study on Synthetic, Interpretable Tasks21 Nov 2023
- 2023Neural-Logic Human-Object Interaction Detection16 Nov 2023
- 2023MetaReVision: Meta-Learning with Retrieval for Visually Grounded Compositional Concept Acquisition2 Nov 2023
- 2023The Impact of Depth on Compositional Generalization in Transformer Language Models30 Oct 2023
- 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis26 Jul 2023
- 2023Teaching Arithmetic to Small Transformers7 Jul 2023
- 2023Learning to Substitute Spans towards Improving Compositional Generalization5 Jun 2023
- 2023The Impact of Positional Encoding on Length Generalization in Transformers31 May 2023
- 2023Randomized Positional Encodings Boost Length Generalization of Transformers26 May 2023
- 2023Explainable Verbal Reasoner Plus (EVR+): A Natural Language Reasoning Framework that Supports Diverse Compositional Reasoning28 Apr 2023
- 2023ReCOGS: How Incidental Details of a Logical Form Overshadow an Evaluation of Semantic Interpretation24 Mar 2023
- 2023Sequential Query Encoding For Complex Query Answering on Knowledge Graphs25 Feb 2023
- 2023Empirical Investigation of Neural Symbolic Reasoning Strategies16 Feb 2023
- 2023MAQA: A Multimodal QA Benchmark for Negation9 Jan 2023
50 newest of 72 All 72 (JSON)
- 2025NePTune: A Neuro-Pythonic Framework for Tunable Compositional Reasoning on Vision-Languagecited by 8
- 2025Beyond Statistical Learning: Exact Learning Is Essential for General Intelligencecited by 6
- 2025Decomposing Complex Visual Comprehension into Atomic Visual Skills for Vision Language Modelscited by 4
- 2024On the generalization capacity of neural networks during generic multimodal reasoningcited by 3
- 2023Empirical Investigation of Neural Symbolic Reasoning Strategiescited by 1
- 2023Explainable Verbal Reasoner Plus (EVR+): A Natural Language Reasoning Framework that Supports Diverse Compositional Reasoningcited by 1
- 2026The Deterministic Horizon: When Extended Reasoning Fails and Tool Delegation Becomes Necessarycited by 1
- 2026To See the Unseen: on the Generalization Ability of Transformers in Symbolic Reasoningcited by 0
- 2026The Deterministic Horizon: When Extended Reasoning Fails and Tool Delegation Becomes Necessary29 May 2026
- 2026To See the Unseen: on the Generalization Ability of Transformers in Symbolic Reasoning23 Apr 2026
- 2025NePTune: A Neuro-Pythonic Framework for Tunable Compositional Reasoning on Vision-Language30 Sep 2025
- 2025Beyond Statistical Learning: Exact Learning Is Essential for General Intelligence30 Jun 2025
- 2025Decomposing Complex Visual Comprehension into Atomic Visual Skills for Vision Language Models26 May 2025
- 2024On the generalization capacity of neural networks during generic multimodal reasoning26 Jan 2024
- 2023Explainable Verbal Reasoner Plus (EVR+): A Natural Language Reasoning Framework that Supports Diverse Compositional Reasoning28 Apr 2023
- 2023Empirical Investigation of Neural Symbolic Reasoning Strategies16 Feb 2023
- 2024MoEUT: Mixture-of-Experts Universal Transformerscited by 55
- 2026MoRE: Mixture of Reused Expertscited by 1
- 2026MoRE: Mixture of Reused Experts16 Sep 2026
- 2024MoEUT: Mixture-of-Experts Universal Transformers25 May 2024
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
- 2023Teaching Arithmetic to Small Transformerscited by 121
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
- 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 114
- 2022Fusing finetuned models for better pretrainingcited by 110
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
- 2021Improving Compositional Generalization with Latent Structure and Data Augmentationcited by 46
- 2021Systematic Generalization with Edge Transformerscited by 38
- 2023The Impact of Depth on Compositional Generalization in Transformer Language Modelscited by 37
- 2021The Grammar-Learning Trajectories of Neural Language Modelscited by 36
12 most cited of 62 All 62 (JSON)
- 2026Generalization in LLM Problem Solving: The Case of the Shortest Path16 Apr 2026
- 2026Towards Compositional Generalization in LLMs for Smart Contract Security: A Case Study on Reentrancy Vulnerabilities11 Jan 2026
- 2025Understanding the Staged Dynamics of Transformers in Learning Latent Structure24 Nov 2025
- 2025To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Models16 Oct 2025
- 2025Is In-Context Learning Learning?12 Sep 2025
- 2025Long-Short Alignment for Effective Long-Context Modeling in LLMs13 Jun 2025
- 2025Exploring Compositional Generalization (in COGS/ReCOGS_pos) by Transformers using Restricted Access Sequence Processing (RASP)21 Apr 2025
- 2025Learning to Substitute Components for Compositional Generalization28 Feb 2025
- 2025Data Distributional Properties As Inductive Bias for Systematic Generalization27 Feb 2025
- 2025The Role of Sparsity for Length Generalization in Transformers24 Feb 2025
- 2025Strassen Attention, Split VC Dimension and Compositionality in Transformers31 Jan 2025
- 2024Quantifying artificial intelligence through algorithmic generalization8 Nov 2024
12 newest of 62 All 62 (JSON)