mlsanityData to 14 Oct 2026

Bearing Syntactic Fruit with Stack-Augmented Neural Networks

arXiv 2511.03547 ↗First posted 5 Nov 2025cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

When children learn language, they make syntactic generalizations based on hierarchical rules. A recent line of work has inquired as to whether common neural network architectures share this inductive bias for hierarchical syntax, finding that they do so only under special conditions: when augmented with ground-truth parse tree structures, when pre-trained on massive corpora, or when trained long past convergence. In this paper, we demonstrate, for the first time, neural network architectures that generalize in human-like fashion when trained only on surface forms: stack-augmented neural networks. We test three base architectures (transformer, simple RNN, LSTM) augmented with two styles of stack, one of which leverages nondeterminism. We find that transformers with nondeterministic stacks generalize best on multiple tasks designed to measure hierarchical inductive bias. This suggests that stack-augmented neural networks may be more accurate models of human syntax acquisition than standard architectures, serving as useful objects of psycholinguistic study. Our code is publicly available.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 21 of its 41 references that are in the map. First posted on arXiv 5 Nov 2025.

Builds on

21 of 41 references.

References · 21

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2016Layer Normalizationcited by 5,669
  4. 2016Using the Output Embedding to Improve Language Modelscited by 272
  5. 2018Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networkscited by 101
  6. 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76
  7. 2020Does syntax need to grow on trees? Sources of hierarchical inductive bias in sequence-to-sequence networkscited by 72
  8. 2023Grokking of Hierarchical Structure in Vanilla Transformerscited by 53
  9. 2018Revisiting the poverty of the stimulus: hierarchical generalization without a hierarchical bias in recurrent neural networkscited by 33
  10. 2022Coloring the Blank Slate: Pre-training Imparts a Hierarchical Inductive Bias to Sequence-to-sequence Modelscited by 28
  11. 2024Learning Syntax Without Planting Trees: Understanding Hierarchical Generalization in Transformerscited by 24
  12. 2024Training Neural Networks as Recognizers of Formal Languagescited by 24
9 more
  1. 2023How to Plant Trees in Language Models: Data and Architectural Effects on the Emergence of Syntactic Inductive Biasescited by 23
  2. 2023How poor is the stimulus? Evaluating hierarchical generalization in neural networks trained on child-directed speechcited by 22
  3. 2023In-context Learning Generalizes, But Not Always Robustly: The Case of Syntaxcited by 22
  4. 2021Transformers Generalize Linearlycited by 19
  5. 2023Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patternscited by 17
  6. 2021Learning Hierarchical Structures with Differentiable Nondeterministic Stackscited by 16
  7. 2020Learning Context-Free Languages with Nondeterministic Stack RNNscited by 15
  8. 2022The Surprising Computational Power of Nondeterministic Stack RNNscited by 6
  9. 2024Tree Transformers are an Ineffective Model of Syntactic Constituencycited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.