GiLT: Augmenting Transformer Language Models with Dependency Graphs
Tianyu Huang, Yida Zhao, Chuyan Zhou, Kewei Tu
摘要
Augmenting Transformers with linguistic structures effectively enhances the syntactic generalization performance of language models. Previous work in this direction focuses on syntactic tree structures of languages, in particular constituency tree structures. We propose Graph-Infused Layers Transformer Language Model (GiLT) which leverages dependency graphs for augmenting Transformer language models. Unlike most previous work, GiLT does not insert extra structural tokens in language modeling; instead, it injects structural information into language modeling by modulating attention weights in the Transformer with features extracted from the dependency graph that is incrementally constructed along with token prediction. In our experiments, GiLT with semantic dependency graphs achieves better syntactic generalization while maintaining competitive perplexity in comparison with Transformer language model baselines. In addition, GiLT can be finetuned from a pretrained language model to achieve improved downstream task performance. Our code is released at https://github.com/cookie-pie-oops/GiLT-LM .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scale 引用了 Pushdown Layers: Encoding Recursive Structure in Transformer Language Models
- Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scale 引用了 A Systematic Assessment of Syntactic Generalization in Neural Language Models
- Pushdown Layers: Encoding Recursive Structure in Transformer Language Models 引用了 A Systematic Assessment of Syntactic Generalization in Neural Language Models
- Pushdown Layers: Encoding Recursive Structure in Transformer Language Models 引用了 Guiding Attention for Self-Supervised Learning with Transformers
- Effective Batching for Recurrent Neural Network Grammars 引用了 A Systematic Assessment of Syntactic Generalization in Neural Language Models
它引用的 Paper8
- A Systematic Assessment of Syntactic Generalization in Neural Language ModelsJennifer Hu, Jon Gauthier, Peng Qian, Ethan Wilcox 等ACL 2020 · 124 次引用
- Effective Batching for Recurrent Neural Network GrammarsHiroshi Noji, Yohei OsekiACL Findings 2021 · 18 次引用
- Guiding Attention for Self-Supervised Learning with TransformersAmeet Deshpande, Karthik NarasimhanEMNLP Findings 2020 · 13 次引用
- Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at ScaleXiang Hu, Pengyu Ji, Qingyang Zhu, Wei Wu 等ACL 2024 · 1 次引用
- Pushdown Layers: Encoding Recursive Structure in Transformer Language ModelsShikhar Murty, Pratyusha Sharma, Jacob Andreas, Christopher D. ManningEMNLP 2023
相关 Paper
- Retrofitting Structure-aware Transformer Language Model for End TasksHao Fei, Yafeng Ren, Donghong JiEMNLP 2020 · 56 次引用
- Dependency-based Mixture Language ModelsZhixian Yang, Xiaojun WanACL 2022 · 3 次引用
- Dependency Transformer Grammars: Integrating Dependency Structures into Transformer Language ModelsYida Zhao, Chao Lou, Kewei TuACL 2024
- Syntax-guided Contrastive Learning for Pre-trained Language ModelShuai Zhang, Lijie Wang, Xinyan Xiao, Hua WuACL Findings 2022 · 11 次引用
- Enhancing Generalization in Natural Language Inference by SyntaxQi He, Han Wang, Yue ZhangEMNLP Findings 2020 · 13 次引用
