Improving the Transformer Translation Model with Document-Level Context

Jiacheng Zhang, Huanbo Luan, Maosong Sun, FeiFei Zhai, Jingfang Xu +2 more
10/8/2018
274 citations
cs.CL
transformer-attention

Official code: THUNLP-MT/THUMT (707 stars, Python, BSD-3-Clause, last commit 2022-04-26). 1 more implementation below.

Abstract

Although the Transformer translation model (Vaswani et al., 2017) has achieved state-of-the-art performance in a variety of translation tasks, how to use document-level context to deal with discourse phenomena problematic for Transformer still remains a challenge. In this work, we extend the Transformer model with a new context encoder to represent document-level context, which is then incorporated into the original encoder and decoder.

Show full abstract

As large-scale document-level parallel corpora are usually not available, we introduce a two-step training method to take full advantage of abundant sentence-level parallel corpora and limited document-level parallel corpora. Experiments on the NIST Chinese-English datasets and the IWSLT French-English datasets show that our approach improves over Transformer significantly.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
THUNLP-MT/THUMTOfficial707PythonBSD-3-Clause2022-04-26
THUNLP-MT/Document-TransformerOfficial169PythonBSD-3-Clause2020-07-07
THUNLP-MT/THUMTOfficial100%
BSD-3-Clause

An open-source neural machine translation toolkit developed by Tsinghua Natural Language Processing Group

707196PythonJun 20, 20174 years agoBSD-3-Clause
deep-learningmachine-translationneural-machine-translation
BSD-3-Clause

Improving the Transformer translation model with document-level context

16921PythonMar 13, 20186 years agoBSD-3-Clause
document-level-translationneural-machine-translation

Similar Papers

Cite this paper

@article{zhang2018improving,
  title  = {Improving the Transformer Translation Model with Document-Level Context},
  author = {Jiacheng Zhang and Huanbo Luan and Maosong Sun and FeiFei Zhai and Jingfang Xu and Min Zhang and Yang Liu},
  year   = {2018},
  eprint = {1810.03581},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.03581}
}

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/1810.03581.svg)](https://codeofpaper.com/paper/1810.03581)

Discussion