Integrating Vectorized Lexical Constraints for Neural Machine Translation
Shuo Wang, Zhixing Tan, Yang Liu

TL;DR
This paper introduces a novel method for lexically constrained neural machine translation by directly integrating vectorized constraints into the attention modules, leading to improved translation quality across multiple language pairs.
Contribution
It proposes a new approach to incorporate lexical constraints into NMT models through vectorization and attention integration, bypassing the need for synthetic data or decoding modifications.
Findings
Outperforms baseline methods on four language pairs
Consistently improves translation quality
Demonstrates the effectiveness of vectorized constraint integration
Abstract
Lexically constrained neural machine translation (NMT), which controls the generation of NMT models with pre-specified constraints, is important in many practical scenarios. Due to the representation gap between discrete constraints and continuous vectors in NMT models, most existing works choose to construct synthetic data or modify the decoding algorithm to impose lexical constraints, treating the NMT model as a black box. In this work, we propose to open this black box by directly integrating the constraints into NMT models. Specifically, we vectorize source and target constraints into continuous keys and values, which can be utilized by the attention modules of NMT models. The proposed integration method is based on the assumption that the correspondence between keys and values in attention modules is naturally suitable for modeling constraint pairs. Experimental results show that…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Multimodal Machine Learning Applications
