Registering Source Tokens to Target Language Spaces in Multilingual Neural Machine Translation

Zhi Qu, Yiran Wang, Jiannan Mao, Chenchen Ding, Hideki Tanaka +2 more
1/6/2025
cs.CL

Official code: zhiqu22/mitre (12 stars, MIT, last commit 2025-06-30).

Abstract

The multilingual neural machine translation (MNMT) aims for arbitrary translations across multiple languages. Although MNMT-specific models trained on parallel data offer low costs in training and deployment, their performance consistently lags behind that of large language models (LLMs). In this work, we introduce registering, a novel method that enables a small MNMT-specific model to compete with LLMs. Specifically, we insert a set of artificial tokens specifying the target language, called registers, into the input sequence between the source and target tokens. By modifying the attention mask, the target token generation only pays attention to the activation of registers, representing the source tokens in the target language space. Experiments on EC-40, a large-scale benchmark, show that our method advances the state-of-the-art of MNMT. We further pre-train two models, namely MITRE (multilingual translation with registers), by 9.3 billion sentence pairs across 24 languages collected from public corpora. One of them, MITRE-913M, outperforms NLLB-3.3B, achieves comparable performance with commercial LLMs, and shows strong adaptability in fine-tuning. Finally, we open-source our models to facilitate further research and development in MNMT: https://github.com/zhiqu22/mitre.

View on arXivView PDF

Code Implementations(1)

zhiqu22/mitreOfficial100%
MIT
120Shell, PythonJan 6, 20251 years agoMIT

Similar Papers

Cite this paper

@article{qu2025registering,
  title  = {Registering Source Tokens to Target Language Spaces in Multilingual Neural Machine Translation},
  author = {Zhi Qu and Yiran Wang and Jiannan Mao and Chenchen Ding and Hideki Tanaka and Masao Utiyama and Taro Watanabe},
  year   = {2025},
  eprint = {2501.02979},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.02979v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.02979.svg)](https://codeofpaper.com/paper/2501.02979)

Discussion