ACT-MNMT Auto-Constriction Turning for Multilingual Neural Machine Translation

Shaojie Dai, Xin Liu, Ping Luo, Yue YuarXiv 2024 · DOI

Abstract

Multilingual Neural Machine Translation (MNMT) in Large Language Models (LLMs) often suffers from "off-target" issues, where models translate into the wrong language or produce hallucinations. This paper introduces ACT-MNMT, a novel supervised fine-tuning mechanism that prepends learned "trigger tokens" to target outputs. By anchoring the model's behavior on the target side, ACT-MNMT significantly improves translation quality and reduces language errors compared to standard prompting and fine-tuning.

Introduction: The Off-Target Challenge

While Large Language Models (LLMs) like BLOOM or mT0 are impressive translators, they frequently suffer from off-target issues, particularly in zero-shot settings. These failures typically manifest as:

  1. Misunderstand instructions (MI): Treating a translation prompt as a classification task.
  2. Off-target translation (OT): Translating into the wrong language entirely.
  3. Source copy (SC): Repeating the input sentence.
  4. Over/Under-generation (OUG): Producing translations of incorrect length.
Off-target rates for BLOOMZ-7B1 and mT0-xl across various language pairs.

Most existing research focuses on the input side—tweaking prompts or providing better examples. This paper argues that the problem lies in the model's internal confusion caused by the mixture of multilingual data during pre-training. To fix this, the authors propose constraining the target side.

Methods: Constriction Turning

The researchers propose two iterations of their approach to anchor the model's output:

  • TECT-MNMT (Task-Enhanced Constrained Turning): A "hard" approach where a manually designed descriptive prefix (e.g., translate from French to German:) is prepended to the ground truth translation during training.
  • ACT-MNMT (Auto-Constriction Turning): A "soft" approach that replaces manual text with special trigger tokens added to the model's vocabulary.

The Trigger Token Strategy

ACT-MNMT uses two types of triggers:

  • Common trigger tokens: Designed to capture shared task semantics across all translation directions.
  • Specific trigger tokens: Unique to the target language, helping the model "lock in" to the correct linguistic output.
The ACT-MNMT architecture showing how input prompts are mapped to trigger tokens and target translations.

During inference, the model first generates these triggers, which act as a latent representation of the task, before producing the actual translation. These triggers are then easily stripped away for the final output.

Key Insights and Results

Target-Side Anchoring

The most significant insight is that forcing the model to "declare" its intent on the output side (via triggers) is more effective at preventing language drift than just providing instructions on the input side. By separating triggers into "common" and "specific," the model learns that "translating" is a general skill, while "outputting German" is a specific constraint.

Performance and Robustness

The results on the WMT test sets were striking:

  • Quality Boost: ACT-MNMT achieved a sacreBLEU score of 25.87, significantly higher than the 0-shot baseline (16.06) and even outperforming standard full fine-tuning (mFTI) at 25.50.
  • Error Reduction: The Off-Target (OT) ratio plummeted from 32.80% (0-shot) to just 3.91%, while Source Copy (SC) errors were nearly eliminated (dropping from 12.52% to 0.19%).
  • Data Efficiency: ACT-MNMT shows remarkable scalability. Even with as few as 100 training sentences, it drastically reduces the off-target ratio compared to standard fine-tuning, which requires significantly more data to stabilize.

Conclusion and Future Work

ACT-MNMT demonstrates that how a model is tuned is often more important than its raw parameter count; the 3.7B parameter mT0-xl model using ACT-MNMT outperformed the much larger 13B parameter mT0-xxl model.

While effective, the current implementation requires fine-tuning the full weights of the model. Future work will investigate more parameter-efficient methods, such as LoRA or Adapters, to implement this constriction mechanism without updating the entire weight matrix. Additionally, the authors plan to extend these experiments to other auto-regressive architectures like GPT and Llama.

Summary updated

BibTeX
@misc{dai2024act,
  author = {Shaojie Dai and Xin Liu and Ping Luo and Yue Yu},
  title = {{ACT-MNMT Auto-Constriction Turning for Multilingual Neural Machine Translation}},
  year = {2024},
  eprint = {2403.06745},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.06745},
}
Figure