mlsanityData to 14 Oct 2026

Composition, Attention, or Both?

arXiv 2210.12958 ↗First posted 24 Oct 2022cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

In this paper, we propose a novel architecture called Composition Attention Grammars (CAGs) that recursively compose subtrees into a single vector representation with a composition function, and selectively attend to previous structural information with a self-attention mechanism. We investigate whether these components -- the composition function and the self-attention mechanism -- can both induce human-like syntactic generalization. Specifically, we train language models (LMs) with and without these two components with the model sizes carefully controlled, and evaluate their syntactic generalization performance against six test circuits on the SyntaxGym benchmark. The results demonstrated that the composition function and the self-attention mechanism both play an important role to make LMs more human-like, and closer inspection of linguistic phenomenon implied that the composition function allowed syntactic features, but not semantic features, to percolate into subtree representations.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 24 of its 39 references that are in the map. First posted on arXiv 24 Oct 2022.

Builds on

24 of 39 references.

References · 24

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  4. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  5. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  6. 2020Efficient Transformers: A Surveycited by 790
  7. 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 564
  8. 2018Constituency Parsing with a Self-Attentive Encodercited by 199
  9. 2020A Systematic Assessment of Syntactic Generalization in Neural Language Modelscited by 165
  10. 2020On the Predictive Power of Neural Language Models for Human Real-Time Comprehension Behaviorcited by 119
  11. 2020How Can We Accelerate Progress Towards Human-like Linguistic Generalization?cited by 114
  12. 2016Recurrent Neural Network Grammarscited by 109
12 more
  1. 2019The emergence of number and syntax units in LSTM language modelscited by 94
  2. 2021Lower Perplexity is Not Always Human-Likecited by 52
  3. 2015Transition-Based Dependency Parsing with Stack Long Short-Term Memorycited by 45
  4. 2018Finding Syntax in Human Encephalography with Beam Searchcited by 41
  5. 2022Transformer Grammars: Augmenting Transformer Language Models with Syntactic Inductive Biases at Scalecited by 41
  6. 2017Effective Inference for Generative Neural Parsingcited by 25
  7. 2021Structural Guidance for Transformer Language Modelscited by 25
  8. 2019Structural Supervision Improves Learning of Non-Local Grammatical Dependenciescited by 24
  9. 2020Probabilistic Predictions of People Perusing: Evaluating Metrics of Language Model Performance for Psycholinguistic Modelingcited by 22
  10. 2016What Do Recurrent Neural Network Grammars Learn About Syntax?cited by 15
  11. 2021Effective Batching for Recurrent Neural Network Grammarscited by 12
  12. 2021Modeling Human Sentence Processing with Left-Corner Recurrent Neural Network Grammarscited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.