LexSym: Compositionality as Lexical Symmetry
Ekin Akyürek, Jacob Andreas
Abstract
In tasks like semantic parsing, instruction following, and question answering, standard deep networks fail to generalize compositionally from small datasets. Many existing approaches overcome this limitation with model architectures that enforce a compositional process of sentence interpretation. In this paper, we present a domain-general and model-agnostic formulation of compositionality as a constraint on symmetries of data distributions rather than models. Informally, we prove that whenever a task can be solved by a compositional model, there is a corresponding data augmentation scheme — a procedure for transforming examples into other well-formed examples — that imparts compositional inductive bias on any model trained to solve the same task. We describe a procedure called LexSym that discovers these transformations automatically, then applies them to training data for ordinary neural sequence models. Unlike existing compositional data augmentation procedures, LexSym can be deployed agnostically across text, structured data, and even images. It matches or surpasses state-of-the-art, task-specific models on COGS semantic parsing, SCAN and Alchemy instruction following, and CLEVR-CoGenT visual question answering datasets.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Data Distributional Properties As Inductive Bias for Systematic Generalization cites COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- Data Distributional Properties As Inductive Bias for Systematic Generalization cites Data Factors for Better Compositional Generalization
- COGS: A Compositional Generalization Challenge Based on Semantic Interpretation cites Permutation Equivariant Models for Compositional Generalization in Language
- Data Factors for Better Compositional Generalization cites COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- Data Factors for Better Compositional Generalization cites Permutation Equivariant Models for Compositional Generalization in Language
- Learning Algebraic Recombination for Compositional Generalization cites COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- Learning Algebraic Recombination for Compositional Generalization cites Permutation Equivariant Models for Compositional Generalization in Language
- Toward Compositional Behavior in Neural Models: A Survey of Current Views cites COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- Toward Compositional Behavior in Neural Models: A Survey of Current Views cites Permutation Equivariant Models for Compositional Generalization in Language
Cited by top-tier papers4
- Toward Compositional Behavior in Neural Models: A Survey of Current ViewsKate McCurdy, Paul Soulos, Paul Smolensky, Roland Fernandez et al.EMNLP 2024 · 12 citations
- Learning the Wrong Lessons: Syntactic-Domain Spurious Correlations in Language ModelsChantal Shaib, Vinith M. Suriyakumar, Byron C. Wallace, Marzyeh GhassemiNeurIPS 2025 · 8 citations
- Data Factors for Better Compositional GeneralizationXiang Zhou, Yichen Jiang, Mohit BansalEMNLP 2023 · 2 citations
- Data Distributional Properties As Inductive Bias for Systematic GeneralizationFelipe del Río, Alain Raymond-Saez, Daniel Florea, Rodrigo Toro Icarte et al.CVPR 2025
Builds on7
- Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray et al.ICML 2021 · 6,356 citations
- A Group-Theoretic Framework for Data AugmentationShuxiao Chen, Edgar Dobriban, Jane H. LeeNeurIPS 2020 · 254 citations
- COGS: A Compositional Generalization Challenge Based on Semantic InterpretationNajoung Kim, Tal LinzenEMNLP 2020 · 149 citations
- Permutation Equivariant Models for Compositional Generalization in LanguageJonathan Gordon, David Lopez-Paz, Marco Baroni, Diane BouchacourtICLR 2020 · 112 citations
- Learning Algebraic Recombination for Compositional GeneralizationChenyao Liu, Shengnan An, Zeqi Lin, Qian Liu et al.ACL Findings 2021 · 22 citations
Related papers
- Compositional Generalization via Semantic TaggingHao Zheng, Mirella LapataEMNLP Findings 2021 · 22 citations
- Good-Enough Compositional Data AugmentationJacob AndreasACL 2020 · 15 citations
- Learning to Substitute Spans towards Improving Compositional GeneralizationZhaoyi Li, Ying Wei, Defu LianACL 2023 · 3 citations
- Learning to Recombine and Resample Data For Compositional GeneralizationEkin Akyürek, Afra Feyza Akyürek, Jacob AndreasICLR 2021 · 36 citations
- Mutual Exclusivity Training and Primitive Augmentation to Induce CompositionalityYichen Jiang, Xiang Zhou, Mohit BansalEMNLP 2022 · 1 citation
