Lexically Constrained Neural Machine Translation with Explicit Alignment Guidance
Guanhua Chen, Yun Chen, Victor O. K. Li
Abstract
Lexically constrained neural machine translation (NMT), which leverages pre-specified translation to constrain NMT, has practical significance in interactive translation and NMT domain adaptation. Previous works either modify the decoding algorithm or train the model on augmented datasets. These methods suffer from either high computational overheads or low copying success rates. In this paper, we investigate ATT-INPUT and ATT-OUTPUT, two alignment-based constrained decoding methods. These two methods revise the target tokens during decoding based on word alignments derived from encoder-decoder attention weights. Our study shows that ATT-INPUT translates better while ATT-OUTPUT is more computationally efficient. Capitalizing on both strengths, we further propose EAM-OUTPUT by introducing an explicit alignment module (EAM) to a pretrained Transformer. It decodes similarly as ATT-OUTPUT, except using alignments derived from the EAM. We leverage the word alignments induced from ATT-INPUT as labels and train the EAM while keeping the parameters of the Transformer frozen. Experiments on WMT16 De-En and WMT16 Ro-En show the effectiveness of our approaches on constrained NMT. In particular, the proposed EAM-OUTPUT method consistently outperforms previous approaches in translation quality, with light computational overheads over unconstrained baseline.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers12
- BiTIIMT: A Bilingual Text-infilling Method for Interactive Machine TranslationYanling Xiao, Lemao Liu, Guoping Huang, Qu Cui et al.ACL 2022 · 21 citations
- Generative Retrieval as Multi-Vector Dense RetrievalShiguang Wu, Wenda Wei, Mengqi Zhang, Zhumin Chen et al.SIGIR 2024 · 14 citations
- A Template-based Method for Constrained Neural Machine TranslationShuo Wang, Peng Li, Zhixing Tan, Zhaopeng Tu et al.EMNLP 2022 · 14 citations
- Building User-oriented Personalized Machine Translator based on User-Generated Textual ContentPeng Zhang, Zhengqing Guan, Baoxi Liu, Sharon Xianghua Ding et al.CSCW 2022 · 6 citations
- An Extensible Plug-and-Play Method for Multi-Aspect Controllable Text GenerationXuancheng Huang, Zijun Liu, Peng Li, Tao Li et al.ACL 2023 · 4 citations
Builds on2
Related papers
- Integrating Vectorized Lexical Constraints for Neural Machine TranslationShuo Wang, Zhixing Tan, Yang LiuACL 2022 · 12 citations
- Understanding and Improving Sequence-to-Sequence Pretraining for Neural Machine TranslationWenxuan Wang, Wenxiang Jiao, Yongchang Hao, Xing Wang et al.ACL 2022 · 32 citations
- Frequency-Aware Contrastive Learning for Neural Machine TranslationTong Zhang, Wei Ye, Baosong Yang, Long Zhang et al.AAAI 2022 · 35 citations
- End-to-End Lexically Constrained Machine Translation for Morphologically Rich LanguagesJosef Jon, João Paulo Aires, Dusan Varis, Ondrej BojarACL 2021
- SemFace: Pre-training Encoder and Decoder with a Semantic Interface for Neural Machine TranslationShuo Ren, Long Zhou, Shujie Liu, Furu Wei et al.ACL 2021
