The Paradox of the Compositionality of Natural Language: A Neural Machine Translation Case Study
Verna Dankers, Elia Bruni, Dieuwke Hupkes
Abstract
Obtaining human-like performance in NLP is often argued to require compositional generalisation. Whether neural networks exhibit this ability is usually studied by training models on highly compositional synthetic data. However, compositionality in natural language is much more complex than the rigid, arithmeticlike version such data adheres to, and artificial compositionality tests thus do not allow us to determine how neural models deal with more realistic forms of compositionality. In this work, we re-instantiate three compositionality tests from the literature and reformulate them for neural machine translation (NMT). Our results highlight that: i) unfavourably, models trained on more data are more compositional; ii) models are sometimes less compositional than expected, but sometimes more, exemplifying that different levels of compositionality are required, and models are not always able to modulate between them correctly; iii) some of the non-compositional behaviours are mistakes, whereas others reflect the natural variation in data. Apart from an empirical study, our work is a call to action: we should rethink the evaluation of compositionality in neural networks and develop benchmarks using real data to evaluate compositionality on natural language, where composing meaning is not as straightforward as doing the math. 1
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.
23 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
- Discovering modular solutions that generalize compositionally cites COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- Discovering modular solutions that generalize compositionally cites Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- COGS: A Compositional Generalization Challenge Based on Semantic Interpretation cites Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both? cites COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both? cites Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMs cites LSTMS Compose - and Learn - Bottom-Up
- Break It Down: Evidence for Structural Compositionality in Neural Networks cites COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
Cited by top-tier papers23
- Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMsAngelica Chen, Ravid Shwartz-Ziv, Kyunghyun Cho, Matthew L. Leavitt et al.ICLR 2024 · 119 citations
- Break It Down: Evidence for Structural Compositionality in Neural NetworksMichael A. Lepori, Thomas Serre, Ellie PavlickNeurIPS 2023 · 66 citations
- Translate Meanings, Not Just Words: IdiomKB's Role in Optimizing Idiomatic Translation with Language ModelsShuang Li, Jiangjie Chen, Siyu Yuan, Xinyi Wu et al.AAAI 2024 · 44 citations
- Discovering modular solutions that generalize compositionallySimon Schug, Seijin Kobayashi, Yassir Akram, Maciej Wolczyk et al.ICLR 2024 · 24 citations
- Linking Emergent and Natural Languages via Corpus TransferShunyu Yao, Mo Yu, Yang Zhang, Karthik R. Narasimhan et al.ICLR 2022 · 20 citations
Builds on6
- Measuring Compositional Generalization: A Comprehensive Method on Realistic DataDaniel Keysers, Nathanael Schärli, Nathan Scales, Hylke Buisman et al.ICLR 2020 · 401 citations
- COGS: A Compositional Generalization Challenge Based on Semantic InterpretationNajoung Kim, Tal LinzenEMNLP 2020 · 149 citations
- LSTMS Compose - and Learn - Bottom-UpNaomi Saphra, Adam LopezEMNLP Findings 2020 · 10 citations
- Sometimes We Want Ungrammatical TranslationsPrasanna Parthasarathi, Koustuv Sinha, Joelle Pineau, Adina WilliamsEMNLP Findings 2021 · 9 citations
- Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?Peter Shaw, Ming-Wei Chang, Panupong Pasupat, Kristina ToutanovaACL 2021
Related papers
- On Compositional Generalization of Neural Machine TranslationYafu Li, Yongjing Yin, Yulong Chen, Yue ZhangACL 2021
- Real-World Compositional Generalization with Disentangled Sequence-to-Sequence LearningHao Zheng, Mirella LapataACL Findings 2023 · 3 citations
- Evaluating Structural Generalization in Neural Machine TranslationRyoma Kumon, Daiki Matsuoka, Hitomi YanakaACL Findings 2024 · 2 citations
- Compositionality with Variation Reliably Emerges in Neural NetworksHenry Conklin, Kenny SmithICLR 2023
- Quantifying Compositionality of Classic and State-of-the-Art EmbeddingsZhijin Guo, Chenhao Xue, Zhaozhen Xu, Hongbo Bo et al.EMNLP Findings 2025
