mlsanityData to 7 Oct 2026

Learning Hierarchical Structures with Differentiable Nondeterministic Stacks

arXiv 2109.01982 ↗First posted 5 Sep 2021cs.CLcited by 16

Not on the map. Why?

Abstract (arXiv)

Learning hierarchical structures in sequential data -- from simple algorithmic patterns to natural language -- in a reliable, generalizable way remains a challenging problem for neural language models. Past work has shown that recurrent neural networks (RNNs) struggle to generalize on held-out algorithmic or syntactic patterns without supervision or some inductive bias. To remedy this, many papers have explored augmenting RNNs with various differentiable stacks, by analogy with finite automata and pushdown automata (PDAs). In this paper, we improve the performance of our recently proposed Nondeterministic Stack RNN (NS-RNN), which uses a differentiable data structure that simulates a nondeterministic PDA, with two important changes. First, the model now assigns unnormalized positive weights instead of probabilities to stack actions, and we provide an analysis of why this improves training. Second, the model can directly observe the state of the underlying PDA. Our model achieves lower cross-entropy than all previous stack RNNs on five context-free language modeling tasks (within 0.05 nats of the information-theoretic lower bound), including a task on which the NS-RNN previously failed to outperform a deterministic stack RNN baseline. Finally, we propose a restricted version of the NS-RNN that incrementally processes infinitely long sequences, and we present language modeling results on the Penn Treebank.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 20 of its 33 references that are in the map. First posted on arXiv 5 Sep 2021.

Builds on

20 of 33 references.

References · 20

  1. 2017Regularizing and Optimizing LSTM Language Modelscited by 205
  2. 2020A Systematic Assessment of Syntactic Generalization in Neural Language Modelscited by 163
  3. 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 128
  4. 2016Recurrent Neural Network Grammarscited by 109
  5. 2018Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networkscited by 101
  6. 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76
  7. 2019Compound Probabilistic Context-Free Grammars for Grammar Inductioncited by 76
  8. 2020Does syntax need to grow on trees? Sources of hierarchical inductive bias in sequence-to-sequence networkscited by 72
  9. 2015Learning to Transduce with Unbounded Memorycited by 54
  10. 2016A Fast Unified Model for Parsing and Sentence Understandingcited by 34
  11. 2019Memory-Augmented Recurrent Neural Networks Can Learn Generalized Dyck Languagescited by 31
  12. 2019Quantity doesn't buy quality syntax with neural language modelscited by 25
8 more
  1. 2015Tree-structured composition in neural networks without tree-structured architecturescited by 23
  2. 2016Recurrent Dropout without Memory Losscited by 22
  3. 2019Ordered Memorycited by 20
  4. 2020Learning Context-Free Languages with Nondeterministic Stack RNNscited by 15
  5. 2018Context-Free Transductions with Neural Stackscited by 14
  6. 2017The Neural Network Pushdown Automaton: Model, Stack and Learning Simulationscited by 10
  7. 2019Hierarchical Representation in Neural Language Models: Suppression and Recovery of Expectationscited by 8
  8. 2019Finding Syntactic Representations in Neural Stackscited by 4

Built on by

Cited by year

Citing papers per year: 2022: 3; 2023: 6; 2024: 3; 2025: 4.

16 papers.

Sort:

By area: