Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Syntax-Based Attention Masking for Neural Machine Translation

Domain:

natural language processing

Record type:

paper
Creator:
AssChiMcD
Publisher:
Und
Host:avatar
We present a simple method for extending transformers to source-side trees. We define a number of masks that limit self-attention based on relationships among tree nodes, and we allow each attention head to learn which mask or masks to use. On translation from English to various low-resource languages, and translation in both directions between English and German, our method always improves over simple linearization of the source-side parse tree and almost always improves over a sequence-to-sequence baseline, by up to +2.1% BLEU.

Visit

doi.orgunderline.io

Tasks

machine translation

Tags

Artificial IntelligenceComputer Science and EngineeringIntelligent SystemNatural Language ProcessingMachine Learning