Compositional Generalization for Primitive Substitutions
Not on the map. Why?
Abstract (arXiv)
Compositional generalization is a basic mechanism in human language learning, but current neural networks lack such ability. In this paper, we conduct fundamental research for encoding compositionality in neural networks. Conventional methods use a single representation for the input sentence, making it hard to apply prior knowledge of compositionality. In contrast, our approach leverages such knowledge with two representations, one generating attention maps, and the other mapping attended input words to output symbols. We reduce the entropy in each representation to improve generalization. Our experiments demonstrate significant improvements over the conventional methods in five NLP tasks including instruction learning and machine translation. In the SCAN domain, it boosts accuracies from 14.0% to 98.8% in Jump task, and from 92.0% to 99.7% in TurnLeft task. It also beats human performance on a few-shot learning task. We hope the proposed approach can help ease future research towards human-level compositional language learning.
Key facts. Cited by 48 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Oct 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 15; 2022: 15; 2023: 10; 2024: 6; 2025: 1; 2026: 1.
48 papers.
Sort:
By area:
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2022Compositional Semantic Parsing with Large Language Modelscited by 95
- 2021Meta-Learning to Compositionally Generalizecited by 62
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited 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
- 2021On Compositional Generalization of Neural Machine Translationcited by 34
- 2021Learning Algebraic Recombination for Compositional Generalizationcited by 31
- 2021Sequence-to-Sequence Learning with Latent Neural Grammarscited by 30
36 more
- 2023Sparse Universal Transformercited by 28
- 2021Finding needles in a haystack: Sampling Structurally-diverse Training Sets from Synthetic Data for Compositional Generalizationcited by 27
- 2022On the Compositional Generalization Gap of In-Context Learningcited by 24
- 2022Revisiting the Compositional Generalization Abilities of Neural Sequence Modelscited by 20
- 2024Position: Understanding LLMs Requires More Than Statistical Generalizationcited by 20
- 2021Prototype-Guided Memory Replay for Continual Learningcited by 19
- 2021Inducing Transformer's Compositional Generalization Ability via Auxiliary Sequence Prediction Taskscited by 19
- 2023Variational Cross-Graph Reasoning and Adaptive Structured Semantics Learning for Compositional Temporal Groundingcited by 19
- 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesiscited by 17
- 2021Can Transformers Jump Around Right in Natural Language? Assessing Performance Transfer from SCANcited by 14
- 2021Compositional Attention: Disentangling Search and Retrievalcited by 12
- 2022Neural-Symbolic Recursive Machine for Systematic Generalizationcited by 12
- 2022When Can Transformers Ground and Compose: Insights from Compositional Generalization Benchmarkscited by 11
- 2022Induced Natural Language Rationales and Interleaved Markup Tokens Enable Extrapolation in Large Language Modelscited by 10
- 2022Mutual Exclusivity Training and Primitive Augmentation to Induce Compositionalitycited by 8
- 2023Learning to Substitute Spans towards Improving Compositional Generalizationcited by 8
- 2023MAGNIFICo: Evaluating the In-Context Learning Ability of Large Language Models to Generalize to Novel Interpretationscited by 7
- 2024From Frege to chatGPT: Compositionality in language, cognition, and deep neural networkscited by 7
- 2021Learning to Generalize Compositionally by Transferring Across Semantic Parsing Taskscited by 6
- 2022Compositional Generalization and Decomposition in Neural Program Synthesiscited by 6
- 2023Data Factors for Better Compositional Generalizationcited by 5
- 2024Towards Understanding the Relationship between In-context Learning and Compositional Generalizationcited by 5
- 2024What makes Models Compositional? A Theoretical View: With Supplementcited by 5
- 2023Learning to Compose Representations of Different Encoder Layers towards Improving Compositional Generalizationcited by 3
- 2022Categorizing Semantic Representations for Neural Machine Translationcited by 2
- 2023Layer-wise Representation Fusion for Compositional Generalizationcited by 2
- 2023Harnessing Dataset Cartography for Improved Compositional Generalization in Transformerscited by 2
- 2023Out-of-Distribution Generalization in Text Classification: Past, Present, and Futurecited by 1
- 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddingscited by 1
- 2024Exploring Compositional Generalization of Multimodal LLMs for Medical Imagingcited by 1
- 2025Learning to Substitute Components for Compositional Generalizationcited by 1
- 2021Concepts, Properties and an Approach for Compositional Generalizationcited by 0
- 2022Efficiently Disentangle Causal Representationscited by 0
- 2022Is the Computation of Abstract Sameness Relations Human-Like in Neural Language Models?cited by 0
- 2022A Short Survey of Systematic Generalizationcited by 0
- 2026Towards Compositional Generalization in LLMs for Smart Contract Security: A Case Study on Reentrancy Vulnerabilitiescited by 0
- 2026Towards Compositional Generalization in LLMs for Smart Contract Security: A Case Study on Reentrancy Vulnerabilities11 Jan 2026
- 2025Learning to Substitute Components for Compositional Generalization28 Feb 2025
- 2024Exploring Compositional Generalization of Multimodal LLMs for Medical Imaging28 Dec 2024
- 2024From Frege to chatGPT: Compositionality in language, cognition, and deep neural networks24 May 2024
- 2024Position: Understanding LLMs Requires More Than Statistical Generalization3 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
- 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddings9 Feb 2024
- 2023Data Factors for Better Compositional Generalization8 Nov 2023
- 2023Harnessing Dataset Cartography for Improved Compositional Generalization in Transformers18 Oct 2023
- 2023MAGNIFICo: Evaluating the In-Context Learning Ability of Large Language Models to Generalize to Novel Interpretations18 Oct 2023
- 2023Sparse Universal Transformer11 Oct 2023
36 more
- 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis26 Jul 2023
- 2023Layer-wise Representation Fusion for Compositional Generalization20 Jul 2023
- 2023Learning to Substitute Spans towards Improving Compositional Generalization5 Jun 2023
- 2023Out-of-Distribution Generalization in Text Classification: Past, Present, and Future23 May 2023
- 2023Learning to Compose Representations of Different Encoder Layers towards Improving Compositional Generalization20 May 2023
- 2023Variational Cross-Graph Reasoning and Adaptive Structured Semantics Learning for Compositional Temporal Grounding22 Jan 2023
- 2022Mutual Exclusivity Training and Primitive Augmentation to Induce Compositionality28 Nov 2022
- 2022A Short Survey of Systematic Generalization22 Nov 2022
- 2022On the Compositional Generalization Gap of In-Context Learning15 Nov 2022
- 2022When Can Transformers Ground and Compose: Insights from Compositional Generalization Benchmarks23 Oct 2022
- 2022Categorizing Semantic Representations for Neural Machine Translation13 Oct 2022
- 2022State-of-the-art generalisation research in NLP: A taxonomy and review6 Oct 2022
- 2022Neural-Symbolic Recursive Machine for Systematic Generalization4 Oct 2022
- 2022Compositional Semantic Parsing with Large Language Models29 Sep 2022
- 2022Induced Natural Language Rationales and Interleaved Markup Tokens Enable Extrapolation in Large Language Models24 Aug 2022
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsing24 May 2022
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Models21 May 2022
- 2022Is the Computation of Abstract Sameness Relations Human-Like in Neural Language Models?12 May 2022
- 2022Compositional Generalization and Decomposition in Neural Program Synthesis7 Apr 2022
- 2022Revisiting the Compositional Generalization Abilities of Neural Sequence Models14 Mar 2022
- 2022Efficiently Disentangle Causal Representations6 Jan 2022
- 2021Improving Compositional Generalization with Latent Structure and Data Augmentation14 Dec 2021
- 2021Learning to Generalize Compositionally by Transferring Across Semantic Parsing Tasks9 Nov 2021
- 2021Compositional Attention: Disentangling Search and Retrieval18 Oct 2021
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalization14 Oct 2021
- 2021Inducing Transformer's Compositional Generalization Ability via Auxiliary Sequence Prediction Tasks30 Sep 2021
- 2021Finding needles in a haystack: Sampling Structurally-diverse Training Sets from Synthetic Data for Compositional Generalization6 Sep 2021
- 2021Sequence-to-Sequence Learning with Latent Neural Grammars2 Sep 2021
- 2021Prototype-Guided Memory Replay for Continual Learning28 Aug 2021
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers26 Aug 2021
- 2021Learning Algebraic Recombination for Compositional Generalization14 Jul 2021
- 2021Can Transformers Jump Around Right in Natural Language? Assessing Performance Transfer from SCAN3 Jul 2021
- 2021Meta-Learning to Compositionally Generalize8 Jun 2021
- 2021On Compositional Generalization of Neural Machine Translation31 May 2021
- 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representations15 Apr 2021
- 2021Concepts, Properties and an Approach for Compositional Generalization8 Feb 2021
- 2023Sparse Universal Transformercited by 28
- 2023Sparse Universal Transformer11 Oct 2023
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2022Compositional Semantic Parsing with Large Language Modelscited by 95
- 2021Meta-Learning to Compositionally Generalizecited by 62
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited 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
- 2021On Compositional Generalization of Neural Machine Translationcited by 34
- 2021Learning Algebraic Recombination for Compositional Generalizationcited by 31
- 2021Sequence-to-Sequence Learning with Latent Neural Grammarscited by 30
- 2021Finding needles in a haystack: Sampling Structurally-diverse Training Sets from Synthetic Data for Compositional Generalizationcited by 27
12 most cited of 45 All 45 (JSON)
- 2026Towards Compositional Generalization in LLMs for Smart Contract Security: A Case Study on Reentrancy Vulnerabilities11 Jan 2026
- 2025Learning to Substitute Components for Compositional Generalization28 Feb 2025
- 2024From Frege to chatGPT: Compositionality in language, cognition, and deep neural networks24 May 2024
- 2024Position: Understanding LLMs Requires More Than Statistical Generalization3 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
- 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddings9 Feb 2024
- 2023Data Factors for Better Compositional Generalization8 Nov 2023
- 2023Harnessing Dataset Cartography for Improved Compositional Generalization in Transformers18 Oct 2023
- 2023MAGNIFICo: Evaluating the In-Context Learning Ability of Large Language Models to Generalize to Novel Interpretations18 Oct 2023
- 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis26 Jul 2023
- 2023Layer-wise Representation Fusion for Compositional Generalization20 Jul 2023
12 newest of 45 All 45 (JSON)