Lune

EMNLP Findings2022

Syntax-guided Localized Self-attention by Constituency Syntactic Distance

Shengyuan Hou, Jushi Kai, Haotian Xue, Bingyu Zhu, Bo Yuan, Longtao Huang, Xinbing Wang, Zhouhan Lin

摘要

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 welldefined 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.

问 Lune

尽管问,回答会引用原文。

Lune 会读完全文和相关的 Paper,每个回答都附上所依据的原文段落。

可以从这些问题问起

Lune 的依据

全文 · 引用它的 1 篇顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

引用它的顶会 Paper1

  1. Causal Graphical Models for Vision-Language Compositional UnderstandingFiorenzo Parascandolo, Nicholas Moratelli, Enver Sangineto, Lorenzo Baraldi 等ICLR 2025

它引用的 Paper3

  1. SG-Net: Syntax-Guided Machine Reading ComprehensionZhuosheng Zhang, Yuwei Wu, Junru Zhou, Sufeng Duan 等AAAI 2020 · 192 次引用
  2. Improving BERT with Syntax-aware Local AttentionZhongli Li, Qingyu Zhou, Chao Li, Ke Xu 等ACL Findings 2021 · 33 次引用
  3. Improving Neural Machine Translation with Soft Template PredictionJian Yang, Shuming Ma, Dongdong Zhang, Zhoujun Li 等ACL 2020 · 29 次引用

相关 Paper

  1. Leveraging Grammar Induction for Language Understanding and GenerationJushi Kai, Shengyuan Hou, Yusheng Huang, Zhouhan LinEMNLP Findings 2024 · 1 次引用
  2. Syntax-guided Contrastive Learning for Pre-trained Language ModelShuai Zhang, Lijie Wang, Xinyan Xiao, Hua WuACL Findings 2022 · 11 次引用
  3. Investigating Non-local Features for Neural Constituency ParsingLeyang Cui, Sen Yang, Yue ZhangACL 2022
  4. GiLT: Augmenting Transformer Language Models with Dependency GraphsTianyu Huang, Yida Zhao, Chuyan Zhou, Kewei TuACL 2026
  5. Grammar-Constrained Neural Semantic Parsing with LR ParsersArtur Baranowski, Nico HochgeschwenderACL Findings 2021 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖