mlsanityData to 14 Oct 2026

Syntax-guided Localized Self-attention by Constituency Syntactic Distance

arXiv 2210.11759 ↗First posted 21 Oct 2022cs.CLcited by 3

Not on the map. Why?

Abstract (arXiv)

Recent works have revealed that Transformers are implicitly learning the syntactic information in its lower layers from data, albeit is highly dependent on the quality and scale of the training data. However, learning syntactic information from data is not necessary if we can leverage an external syntactic parser, which provides better parsing quality with well-defined syntactic structures. This could potentially improve Transformer's performance and sample efficiency. In this work, we propose a syntax-guided localized self-attention for Transformer that allows directly incorporating grammar structures from an external constituency parser. It prohibits the attention mechanism to overweight the grammatically distant tokens over close ones. Experimental results show that our model could consistently improve translation performance on a variety of machine translation datasets, ranging from small to large dataset sizes, and with different source languages.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 12 of its 23 references that are in the map. First posted on arXiv 21 Oct 2022.

Builds on

12 of 23 references.

References · 12

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  4. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  5. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
  6. 2019Assessing BERT's Syntactic Abilitiescited by 192
  7. 2018Linguistically-Informed Self-Attention for Semantic Role Labelingcited by 71
  8. 2019SG-Net: Syntax-Guided Machine Reading Comprehensioncited by 52
  9. 2018Straight to the Tree: Constituency Parsing with Neural Syntactic Distancecited by 32
  10. 2020Improving BERT with Syntax-aware Local Attentioncited by 26
  11. 2019Enhancing Machine Translation with Dependency-Aware Self-Attentioncited by 24
  12. 2017Improved Neural Machine Translation with a Syntax-Aware Encoder and Decodercited by 16

Built on by

Cited by year

Citing papers per year: 2024: 3.

3 papers.