Lune

ACL2026Top-tier venue

GiLT: Augmenting Transformer Language Models with Dependency Graphs

Tianyu Huang, Yida Zhao, Chuyan Zhou, Kewei Tu

Abstract

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 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scale cites Pushdown Layers: Encoding Recursive Structure in Transformer Language Models
  • Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scale cites A Systematic Assessment of Syntactic Generalization in Neural Language Models
  • Pushdown Layers: Encoding Recursive Structure in Transformer Language Models cites A Systematic Assessment of Syntactic Generalization in Neural Language Models
  • Pushdown Layers: Encoding Recursive Structure in Transformer Language Models cites Guiding Attention for Self-Supervised Learning with Transformers
  • Effective Batching for Recurrent Neural Network Grammars cites A Systematic Assessment of Syntactic Generalization in Neural Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on8

  1. A Systematic Assessment of Syntactic Generalization in Neural Language ModelsJennifer Hu, Jon Gauthier, Peng Qian, Ethan Wilcox et al.ACL 2020 · 124 citations
  2. Effective Batching for Recurrent Neural Network GrammarsHiroshi Noji, Yohei OsekiACL Findings 2021 · 18 citations
  3. Guiding Attention for Self-Supervised Learning with TransformersAmeet Deshpande, Karthik NarasimhanEMNLP Findings 2020 · 13 citations
  4. Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at ScaleXiang Hu, Pengyu Ji, Qingyang Zhu, Wei Wu et al.ACL 2024 · 1 citation
  5. Pushdown Layers: Encoding Recursive Structure in Transformer Language ModelsShikhar Murty, Pratyusha Sharma, Jacob Andreas, Christopher D. ManningEMNLP 2023

Related papers

  1. Retrofitting Structure-aware Transformer Language Model for End TasksHao Fei, Yafeng Ren, Donghong JiEMNLP 2020 · 56 citations
  2. Dependency-based Mixture Language ModelsZhixian Yang, Xiaojun WanACL 2022 · 3 citations
  3. Dependency Transformer Grammars: Integrating Dependency Structures into Transformer Language ModelsYida Zhao, Chao Lou, Kewei TuACL 2024
  4. Syntax-guided Contrastive Learning for Pre-trained Language ModelShuai Zhang, Lijie Wang, Xinyan Xiao, Hua WuACL Findings 2022 · 11 citations
  5. Enhancing Generalization in Natural Language Inference by SyntaxQi He, Han Wang, Yue ZhangEMNLP Findings 2020 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines