@inproceedings{zhao-etal-2024-dependency,
title = "Dependency Transformer Grammars: Integrating Dependency Structures into Transformer Language Models",
author = "Zhao, Yida and
Lou, Chao and
Tu, Kewei",
editor = "Ku, Lun-Wei and
Martins, Andre and
Srikumar, Vivek",
booktitle = "Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
month = aug,
year = "2024",
address = "Bangkok, Thailand",
publisher = "Association for Computational Linguistics",
url = "https://preview.aclanthology.org/add-emnlp-2024-awards/2024.acl-long.84/",
doi = "10.18653/v1/2024.acl-long.84",
pages = "1543--1556",
abstract = "Syntactic Transformer language models aim to achieve better generalization through simultaneously modeling syntax trees and sentences. While prior work has been focusing on adding constituency-based structures to Transformers, we introduce Dependency Transformer Grammars (DTGs), a new class of Transformer language model with explicit dependency-based inductive bias. DTGs simulate dependency transition systems with constrained attention patterns by modifying attention masks, incorporate the stack information through relative positional encoding, and augment dependency arc representation with a combination of token embeddings and operation embeddings. When trained on a dataset of sentences annotated with dependency trees, DTGs achieve better generalization while maintaining comparable perplexity with Transformer language model baselines. DTGs also outperform recent constituency-based models, showing that dependency can better guide Transformer language models. Our code is released at https://github.com/zhaoyd1/Dep{\_}Transformer{\_}Grammars."
}
Markdown (Informal)
[Dependency Transformer Grammars: Integrating Dependency Structures into Transformer Language Models](https://preview.aclanthology.org/add-emnlp-2024-awards/2024.acl-long.84/) (Zhao et al., ACL 2024)
ACL