We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.CL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Computation and Language

Title: Improving BERT with Syntax-aware Local Attention

Abstract: Pre-trained Transformer-based neural language models, such as BERT, have achieved remarkable results on varieties of NLP tasks. Recent works have shown that attention-based models can benefit from more focused attention over local regions. Most of them restrict the attention scope within a linear span, or confine to certain tasks such as machine translation and question answering. In this paper, we propose a syntax-aware local attention, where the attention scopes are restrained based on the distances in the syntactic structure. The proposed syntax-aware local attention can be integrated with pretrained language models, such as BERT, to render the model to focus on syntactically relevant words. We conduct experiments on various single-sentence benchmarks, including sentence classification and sequence labeling tasks. Experimental results show consistent gains over BERT on all benchmark datasets. The extensive studies verify that our model achieves better performance owing to more focused attention over syntactically relevant words.
Comments: In ACL Findings 2021
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2012.15150 [cs.CL]
  (or arXiv:2012.15150v2 [cs.CL] for this version)

Submission history

From: Qingyu Zhou [view email]
[v1] Wed, 30 Dec 2020 13:29:58 GMT (2144kb,D)
[v2] Mon, 24 May 2021 12:59:51 GMT (2047kb,D)

Link back to: arXiv, form interface, contact.