Extract and Attend: Improving Entity Translation in Neural Machine Translation

Zixin Zeng, Rui Wang, Yichong Leng, Junliang Guo, Xu Tan +2 more
6/4/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

While Neural Machine Translation(NMT) has achieved great progress in recent years, it still suffers from inaccurate translation of entities (e.g., person/organization name, location), due to the lack of entity training instances. When we humans encounter an unknown entity during translation, we usually first look up in a dictionary and then organize the entity translation together with the translations of other parts to form a smooth target sentence.

Show full abstract

Inspired by this translation process, we propose an Extract-and-Attend approach to enhance entity translation in NMT, where the translation candidates of source entities are first extracted from a dictionary and then attended to by the NMT model to generate the target sentence. Specifically, the translation candidates are extracted by first detecting the entities in a source sentence and then translating the entities through looking up in a dictionary. Then, the extracted candidates are added as a prefix of the decoder input to be attended to by the decoder when generating the target sentence through self-attention. Experiments conducted on En-Zh and En-Ru demonstrate that the proposed method is effective on improving both the translation accuracy of entities and the overall translation quality, with up to 35% reduction on entity error rate and 0.85 gain on BLEU and 13.8 gain on COMET.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zeng2023extract,
  title  = {Extract and Attend: Improving Entity Translation in Neural Machine Translation},
  author = {Zixin Zeng and Rui Wang and Yichong Leng and Junliang Guo and Xu Tan and Tao Qin and Tie-yan Liu},
  year   = {2023},
  eprint = {2306.02242},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.02242v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.02242.svg)](https://codeofpaper.com/paper/2306.02242)

Discussion