Are Representations Built from the Ground Up? An Empirical Examination of Local Composition in Language Models
Not on the map. Why?
Abstract (arXiv)
Compositionality, the phenomenon where the meaning of a phrase can be derived from its constituent parts, is a hallmark of human language. At the same time, many phrases are non-compositional, carrying a meaning beyond that of each part in isolation. Representing both of these types of phrases is critical for language understanding, but it is an open question whether modern language models (LMs) learn to do so; in this work we examine this question. We first formulate a problem of predicting the LM-internal representations of longer phrases given those of their constituents. We find that the representation of a parent phrase can be predicted with some accuracy given an affine transformation of its children. While we would expect the predictive accuracy to correlate with human judgments of semantic compositionality, we find this is largely not the case, indicating that LMs may not accurately distinguish between compositional and non-compositional phrases. We perform a variety of analyses, shedding light on when different varieties of LMs do and do not generate compositional representations, and discuss implications for future modeling work.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 18 of its 49 references that are in the map. First posted on arXiv 7 Oct 2022.
Builds on
18 of 49 references.
References · 18
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
- 2019Compositionality decomposed: how do neural networks generalise?cited by 264
- 2020Information-Theoretic Probing with Minimum Description Lengthcited by 230
- 2019Visualizing and Measuring the Geometry of BERTcited by 215
- 2019Measuring Compositionality in Representation Learningcited by 84
- 2021The paradox of the compositionality of natural language: a neural machine translation case studycited by 58
- 2022Neurocompositional computing: From the Central Paradox of Cognition to a new generation of AI systemscited by 44
- 2020Assessing Phrasal Representation and Composition in Transformerscited by 41
6 more
- 2019Discovering the Compositional Structure of Vector Representations with Role Learning Networkscited by 33
- 2022Can Transformer be Too Compositional? Analysing Idiom Processing in Neural Machine Translationcited by 28
- 2018RNNs Implicitly Implement Tensor Product Representationscited by 25
- 2021Investigating Robustness of Dialog Models to Popular Figurative Language Constructscited by 19
- 2017Generalization without systematicity: On the compositional skills of sequence-to-sequence recurrent networkscited by 18
- 2021Compositional Processing Emerges in Neural Networks Solving Math Problemscited by 11
Built on by
Citing papers per year: 2023: 6; 2024: 2; 2025: 1.
9 papers.
- 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammarscited by 30
- 2023Construction Grammar Provides Unique Insight into Neural Language Modelscited by 13
- 2024Semantics of Multiword Expressions in Transformer-Based Models: A Surveycited by 9
- 2023Bridging Continuous and Discrete Spaces: Interpretable Sentence Representation Learning via Compositional Operationscited by 5
- 2023Divergences between Language Models and Human Brainscited by 3
- 2023Unified Representation for Non-compositional and Compositional Expressionscited by 2
- 2023Assessing Logical Reasoning Capabilities of Encoder-Only Transformer Modelscited by 2
- 2024Investigating Idiomaticity in Word Representationscited by 1
- 2025Set-Theoretic Compositionality of Sentence Embeddingscited by 0
- 2025Set-Theoretic Compositionality of Sentence Embeddings28 Feb 2025
- 2024Investigating Idiomaticity in Word Representations4 Nov 2024
- 2024Semantics of Multiword Expressions in Transformer-Based Models: A Survey27 Jan 2024
- 2023Assessing Logical Reasoning Capabilities of Encoder-Only Transformer Models18 Dec 2023
- 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammars3 Dec 2023
- 2023Divergences between Language Models and Human Brains15 Nov 2023
- 2023Unified Representation for Non-compositional and Compositional Expressions29 Oct 2023
- 2023Bridging Continuous and Discrete Spaces: Interpretable Sentence Representation Learning via Compositional Operations24 May 2023
- 2023Construction Grammar Provides Unique Insight into Neural Language Models4 Feb 2023