Lune

EMNLP2023顶会

Pushdown Layers: Encoding Recursive Structure in Transformer Language Models

Shikhar Murty, Pratyusha Sharma, Jacob Andreas, Christopher D. Manning

摘要

Recursion is a prominent feature of human language, and fundamentally challenging for self-attention due to the lack of an explicit recursive-state tracking mechanism. Consequently, Transformer language models poorly capture long-tail recursive structure and exhibit sample-inefficient syntactic generalization. This work introduces Pushdown Layers, a new self-attention layer that models recursive state via a stack tape that tracks estimated depths of every token in an incremental parse of the observed prefix. Transformer LMs with Pushdown Layers are syntactic language models that autoregressively and synchronously update this stack tape as they predict new tokens, in turn using the stack tape to softly modulate attention over tokens—for instance, learning to “skip” over closed constituents. When trained on a corpus of strings annotated with silver constituency parses, Transformers equipped with Pushdown Layers achieve dramatically better and 3-5x more sample-efficient syntactic generalization, while maintaining similar perplexities. Pushdown Layers are a drop-in replacement for standard self-attention. We illustrate this by finetuning GPT2-medium with Pushdown Layers on an automatically parsed WikiText-103, leading to improvements on several GLUE text classification tasks.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scale 引用了 Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns
  • Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scale 引用了 A Systematic Assessment of Syntactic Generalization in Neural Language Models
  • Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns 引用了 Learning Hierarchical Structures with Differentiable Nondeterministic Stacks
  • Do LLMs learn a true syntactic universal? 引用了 Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns
  • Mission: Impossible Language Models 引用了 A Systematic Assessment of Syntactic Generalization in Neural Language Models
  • Mission: Impossible Language Models 引用了 Neural Networks and the Chomsky Hierarchy
  • Neural Networks and the Chomsky Hierarchy 引用了 Learning Hierarchical Structures with Differentiable Nondeterministic Stacks
  • Learning Hierarchical Structures with Differentiable Nondeterministic Stacks 引用了 A Systematic Assessment of Syntactic Generalization in Neural Language Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Stack Attention: Improving the Ability of Transformers to Model Hierarchical PatternsBrian DuSell, David ChiangICLR 2024 · 15 次引用
  2. Mission: Impossible Language ModelsJulie Kallini, Isabel Papadimitriou, Richard Futrell, Kyle Mahowald 等ACL 2024 · 15 次引用
  3. Thoughtbubbles: an Unsupervised Method for Parallel Thinking in Latent SpaceHoujun Liu, Shikhar Murty, Christopher Manning, Róbert CsordásICML 2026 · 3 次引用
  4. Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at ScaleXiang Hu, Pengyu Ji, Qingyang Zhu, Wei Wu 等ACL 2024 · 1 次引用
  5. Do LLMs learn a true syntactic universal?John T. Hale, Milos StanojevicEMNLP 2024 · 1 次引用

它引用的 Paper10

  1. A Systematic Assessment of Syntactic Generalization in Neural Language ModelsJennifer Hu, Jon Gauthier, Peng Qian, Ethan Wilcox 等ACL 2020 · 124 次引用
  2. Neural Networks and the Chomsky HierarchyGrégoire Delétang, Anian Ruoss, Jordi Grau-Moya, Tim Genewein 等ICLR 2023 · 45 次引用
  3. Learning Hierarchical Structures with Differentiable Nondeterministic StacksBrian DuSell, David ChiangICLR 2022 · 19 次引用
  4. Characterizing intrinsic compositionality in transformers with Tree ProjectionsShikhar Murty, Pratyusha Sharma, Jacob Andreas, Christopher D. ManningICLR 2023 · 13 次引用
  5. Guiding Attention for Self-Supervised Learning with TransformersAmeet Deshpande, Karthik NarasimhanEMNLP Findings 2020 · 13 次引用

相关 Paper

  1. Recursive Transformer: Boosting Reasoning Ability with State StackKechi Zhang, Ge Li, Jia Li, Huangzhao Zhang 等NeurIPS 2025 · 1 次引用
  2. Can the Transformer Learn Nested Recursion with Symbol Masking?Jean-Philippe Bernardy, Adam Ek, Vladislav MaraevACL Findings 2021 · 2 次引用
  3. GiLT: Augmenting Transformer Language Models with Dependency GraphsTianyu Huang, Yida Zhao, Chuyan Zhou, Kewei TuACL 2026
  4. On Efficiently Representing Regular Languages as RNNsAnej Svete, Robin Chan, Ryan CotterellACL Findings 2024 · 1 次引用
  5. Staircase Attention for Recurrent Processing of SequencesDa Ju, Stephen Roller, Sainbayar Sukhbaatar, Jason WestonNeurIPS 2022 · 20 次引用
黄昏的海面,两侧是细线勾勒的悬崖