Research map / Large language models / Language, safety and interpretability
Integrating Vectorized Lexical Constraints for Neural Machine Translation
Shuo Wang, Zhixing Tan, Yang Liu
Tsinghua University · Quan Cheng Laboratory · International Innovation Center of Tsinghua University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| integrate vectorized constraints as extra keys/values in attention (plus output plug-in) with VDBA | Transformer-base · lexically constrained test, average | BLEU: VDBA 37.7 -> 39.6 | Improved |
| integrate constraints into attention only (no output plug-in) (ablation) | Transformer, beam search · Zh-En validation | CSR (%): vanilla 25.5 -> 91.5 | Improved |
| add the output-layer plug-in on top of attention integration (ablation) | Transformer, beam search · Zh-En validation | BLEU / CSR: BLEU 34.3 -> 34.5; CSR 91.5 -> 94.2 | Improved |
| use output plug-in alone without attention integration (ablation) | Transformer, beam search · Zh-En validation | CSR (%): attention+output 94.2 -> output only 61.9 | Hurt |
| add the output plug-in to attention integration under VDBA (ablation) | Transformer, VDBA · Zh-En validation | BLEU: 34.4 -> 34.7 | Improved |
| decode with beam search instead of VDBA | Ours · lexically constrained test, average | CSR (%): 99.6 -> 94.4 (BLEU 39.6 -> 39.6) | Hurt |
| use data replacement of source constraints (Replace) instead of constraint integration | Replace · code-switched test | CSR (%): Replace 44.8 vs Ours 99.4 (Zh-En) | Hurt |
| use integrated constraints without VDBA on code-switched translation (ablation) | Ours · code-switched test, Zh-En | BLEU: 33.1 -> 33.5 | Improved |
| add vectorized constraint integration | vanilla Transformer · Zh-En validation ECE (beam search) | inference ECE: 8.03 -> 7.19 | Improved |
| add vectorized constraint integration | vanilla Transformer with VDBA · Zh-En validation ECE | inference ECE: 10.73 -> 7.72 | Improved |
| use constraint integration rather than memorising seen constraints | Ours (beam search) · test constraints overlap | CSR (%): only 35.6% of test constraints seen in training; CSR 94.4 | Improved |
| use our model with VDBA for batched inference | VDBA · inference speed, batch 128 | speed-up: 2.1x -> 2.3x | Improved |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- Lexically Constrained Neural Machine Translation with Explicit Alignment Guidance (AAAI 2021 · similarity 0.92)
- Disambiguated Lexically Constrained Neural Machine Translation (ACL 2023 · similarity 0.91)
- A Template-based Method for Constrained Neural Machine Translation (EMNLP 2022 · similarity 0.91)
- Neural Machine Translation Decoding with Terminology Constraints (NAACL 2018 · similarity 0.91)
- Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translation (NAACL 2018 · similarity 0.90)
- Neighbors Are Not Strangers: Improving Non-Autoregressive Translation under Low-Frequency Lexical Constraints (NAACL 2022 · similarity 0.90)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.