Causal Transformers Perform Below Chance on Recursive Nested Constructions, Unlike Humans
Not on the map. Why?
Abstract (arXiv)
Recursive processing is considered a hallmark of human linguistic abilities. A recent study evaluated recursive processing in recurrent neural language models (RNN-LMs) and showed that such models perform below chance level on embedded dependencies within nested constructions -- a prototypical example of recursion in natural language. Here, we study if state-of-the-art Transformer LMs do any better. We test four different Transformer LMs on two different types of nested constructions, which differ in whether the embedded (inner) dependency is short or long range. We find that Transformers achieve near-perfect performance on short-range embedded dependencies, significantly better than previous results reported for RNN-LMs and humans. However, on long-range embedded dependencies, Transformers' performance sharply drops below chance level. Remarkably, the addition of only three words to the embedded dependency caused Transformers to fall from near-perfect to below-chance performance. Taken together, our results reveal Transformers' shortcoming when it comes to recursive, structure-based, processing.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 19 of its 36 references that are in the map. First posted on arXiv 14 Oct 2021.
Builds on
19 of 36 references.
References · 19
- 2017Attention Is All You Needcited by 59,932
- 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 553
- 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 350
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 276
- 2018Targeted Syntactic Evaluation of Language Modelscited by 239
- 2018Colorless green recurrent networks dream hierarchicallycited by 210
- 2019Assessing BERT's Syntactic Abilitiescited by 191
- 2021Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Littlecited by 176
- 2020A Systematic Assessment of Syntactic Generalization in Neural Language Modelscited by 163
- 2018Under the Hood: Using Diagnostic Classifiers to Investigate and Improve how Language Models Track Agreement Informationcited by 97
- 2019The emergence of number and syntax units in LSTM language modelscited by 92
- 2020RNNs can generate bounded hierarchical languages with optimal memorycited by 59
7 more
- 2020Mechanisms for Handling Nested Dependencies in Neural-Network Language Models and Humanscited by 42
- 2019Memory-Augmented Recurrent Neural Networks Can Learn Generalized Dyck Languagescited by 31
- 2021Language Models Use Monotonicity to Assess NPI Licensingcited by 30
- 2019Analysing Neural Language Models: Contextual Decomposition Reveals Default Reasoning in Number and Gender Assignmentcited by 20
- 2021Transformers Generalize Linearlycited by 19
- 2021Can RNNs learn Recursive Nested Subject-Verb Agreements?cited by 9
- 2021Attention vs non-attention for a Shapley-based explanation methodcited by 3
Built on by
Citing papers per year: 2022: 4; 2023: 3; 2024: 1.
8 papers.
- 2022Using cognitive psychology to understand GPT-3cited by 389
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2022Can language models handle recursively nested grammatical structures? A case study on comparing models and humanscited by 41
- 2023Language acquisition: do children and language models follow similar learning stages?cited by 40
- 2023Dissociating language and thought in large language modelscited by 27
- 2022Probing for Incremental Parse States in Autoregressive Language Modelscited by 24
- 2024Can Transformers Do Enumerative Geometry?cited by 8
- 2023Beam Tree Recursive Cellscited by 6
- 2024Can Transformers Do Enumerative Geometry?27 Aug 2024
- 2023Language acquisition: do children and language models follow similar learning stages?6 Jun 2023
- 2023Beam Tree Recursive Cells31 May 2023
- 2023Dissociating language and thought in large language models16 Jan 2023
- 2022Probing for Incremental Parse States in Autoregressive Language Models17 Nov 2022
- 2022Can language models handle recursively nested grammatical structures? A case study on comparing models and humans27 Oct 2022
- 2022State-of-the-art generalisation research in NLP: A taxonomy and review6 Oct 2022
- 2022Using cognitive psychology to understand GPT-321 Jun 2022