Dependency Transformer Grammars: Integrating Dependency Structures into Transformer Language Models
Yida Zhao, Chao Lou, Kewei Tu
摘要
Syntactic Transformer language models aim to 001 achieve better generalization through simulta-002 neously modeling syntax trees and sentences. 003 While prior work has been focusing on adding 004 constituency-based structures to Transformers, 005 we introduce Dependency Transformer Gram-006 mars (DTGs), a new class of Transformer lan-007 guage model with explicit dependency-based 008 inductive bias. DTGs simulate dependency 009 transition systems with constrained attention 010 patterns by modifying attention masks, incor-011 porate the stack information through relative 012 positional encoding, and augment dependency 013 arc representation with a combination of to-014 ken embeddings and operation embeddings. 015 When trained on a dataset of sentences anno-016 tated with dependency trees, DTGs achieve 017 better generalization while maintaining com-018 parable perplexity with Transformer language 019 model baselines. DTGs also outperform re-020 cent constituency-based models, showing that 021 dependency can better guide Transformer lan-022 guage models. Our code will be publicly avail-023 able upon acceptance. 024 1 Introduction 025 Transformer language models have shown strong 026 performance on language modeling tasks and a 027 broad spectrum of downstream tasks (Radford 028
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Unsupervised Dependency Graph Network 引用了 StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modeling
- A Systematic Study of Compositional Syntactic Transformer Language Models 引用了 Unsupervised Dependency Graph Network
- A Systematic Study of Compositional Syntactic Transformer Language Models 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- A Systematic Study of Compositional Syntactic Transformer Language Models 引用了 StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modeling
- A Systematic Study of Compositional Syntactic Transformer Language Models 引用了 Learning Hierarchical Structures with Differentiable Nondeterministic Stacks
引用它的顶会 Paper3
- A Systematic Study of Compositional Syntactic Transformer Language ModelsYida Zhao, Hao Xve, Xiang Hu, Kewei TuACL 2025 · 1 次引用
- Gated Tree Cross-Attention for Checkpoint-Compatible Syntax Injection in Decoder-Only LLMsXinyu Gao, Shaonan Wang, Nai DingACL 2026
- MirrorShield: Towards Dynamic Adaptive Defense Against Jailbreaks via Entropy-Guided Mirror CraftingRui Pu, Chaozhuo Li, Rui Ha, Litian Zhang 等AAAI 2026
它引用的 Paper5
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- Learning Hierarchical Structures with Differentiable Nondeterministic StacksBrian DuSell, David ChiangICLR 2022 · 19 次引用
- Unsupervised Dependency Graph NetworkYikang Shen, Shawn Tan, Alessandro Sordoni, Peng Li 等ACL 2022 · 8 次引用
- StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language ModelingYikang Shen, Yi Tay, Che Zheng, Dara Bahri 等ACL 2021
- AMR Parsing with Causal Hierarchical Attention and PointersChao Lou, Kewei TuEMNLP 2023
相关 Paper
- GiLT: Augmenting Transformer Language Models with Dependency GraphsTianyu Huang, Yida Zhao, Chuyan Zhou, Kewei TuACL 2026
- Dependency-based Mixture Language ModelsZhixian Yang, Xiaojun WanACL 2022 · 3 次引用
- Leveraging Grammar Induction for Language Understanding and GenerationJushi Kai, Shengyuan Hou, Yusheng Huang, Zhouhan LinEMNLP Findings 2024 · 1 次引用
- Syntax-guided Localized Self-attention by Constituency Syntactic DistanceShengyuan Hou, Jushi Kai, Haotian Xue, Bingyu Zhu 等EMNLP Findings 2022 · 2 次引用
- On the Ability and Limitations of Transformers to Recognize Formal LanguagesSatwik Bhattamishra, Kabir Ahuja, Navin GoyalEMNLP 2020 · 7 次引用
