mlsanityData to 7 Oct 2026

Are Representations Built from the Ground Up? An Empirical Examination of Local Composition in Language Models

arXiv 2210.03575 ↗First posted 7 Oct 2022cs.CLcited by 9

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
  4. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  5. 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
  6. 2019Compositionality decomposed: how do neural networks generalise?cited by 264
  7. 2020Information-Theoretic Probing with Minimum Description Lengthcited by 230
  8. 2019Visualizing and Measuring the Geometry of BERTcited by 215
  9. 2019Measuring Compositionality in Representation Learningcited by 84
  10. 2021The paradox of the compositionality of natural language: a neural machine translation case studycited by 58
  11. 2022Neurocompositional computing: From the Central Paradox of Cognition to a new generation of AI systemscited by 44
  12. 2020Assessing Phrasal Representation and Composition in Transformerscited by 41
6 more
  1. 2019Discovering the Compositional Structure of Vector Representations with Role Learning Networkscited by 33
  2. 2022Can Transformer be Too Compositional? Analysing Idiom Processing in Neural Machine Translationcited by 28
  3. 2018RNNs Implicitly Implement Tensor Product Representationscited by 25
  4. 2021Investigating Robustness of Dialog Models to Popular Figurative Language Constructscited by 19
  5. 2017Generalization without systematicity: On the compositional skills of sequence-to-sequence recurrent networkscited by 18
  6. 2021Compositional Processing Emerges in Neural Networks Solving Math Problemscited by 11

Built on by

Cited by year

Citing papers per year: 2023: 6; 2024: 2; 2025: 1.

9 papers.