scimeatlas

Research map / Large language models / Language, safety and interpretability

Integrating Vectorized Lexical Constraints for Neural Machine Translation

Shuo Wang, Zhixing Tan, Yang Liu

ACL 2022Large language models › Language, safety and interpretabilityapproach: Controlled text generationopen problems in this approach20 citations (OpenAlex)

Tsinghua University · Quan Cheng Laboratory · International Innovation Center of Tsinghua University

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
9improved
3hurt

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 changedWhereMeasuredEffect
integrate vectorized constraints as extra keys/values in attention (plus output plug-in) with VDBATransformer-base · lexically constrained test, averageBLEU: VDBA 37.7 -> 39.6Improved
integrate constraints into attention only (no output plug-in) (ablation)Transformer, beam search · Zh-En validationCSR (%): vanilla 25.5 -> 91.5Improved
add the output-layer plug-in on top of attention integration (ablation)Transformer, beam search · Zh-En validationBLEU / CSR: BLEU 34.3 -> 34.5; CSR 91.5 -> 94.2Improved
use output plug-in alone without attention integration (ablation)Transformer, beam search · Zh-En validationCSR (%): attention+output 94.2 -> output only 61.9Hurt
add the output plug-in to attention integration under VDBA (ablation)Transformer, VDBA · Zh-En validationBLEU: 34.4 -> 34.7Improved
decode with beam search instead of VDBAOurs · lexically constrained test, averageCSR (%): 99.6 -> 94.4 (BLEU 39.6 -> 39.6)Hurt
use data replacement of source constraints (Replace) instead of constraint integrationReplace · code-switched testCSR (%): 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-EnBLEU: 33.1 -> 33.5Improved
add vectorized constraint integrationvanilla Transformer · Zh-En validation ECE (beam search)inference ECE: 8.03 -> 7.19Improved
add vectorized constraint integrationvanilla Transformer with VDBA · Zh-En validation ECEinference ECE: 10.73 -> 7.72Improved
use constraint integration rather than memorising seen constraintsOurs (beam search) · test constraints overlapCSR (%): only 35.6% of test constraints seen in training; CSR 94.4Improved
use our model with VDBA for batched inferenceVDBA · inference speed, batch 128speed-up: 2.1x -> 2.3xImproved

Open problems in controlled text generation

How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy