TL;DR
This paper introduces "Multilingual Finetuning with Translation Instructions" (mFTI) to unlock the latent translation capabilities of large language models (LLMs). By directly training LLMs on translation tasks framed as instructions, they demonstrate significantly improved performance over in-context learning, even for language pairs the model has never explicitly seen.
What Problem Does This Paper Address?
Large Language Models (LLMs) like GPT-4 exhibit impressive multilingual translation abilities, even without being specifically trained on parallel translation data. However, the exact mechanisms behind this emergent capability and how to best elicit it remain unclear. Existing research often relies on "in-context learning" (ICL), where a few examples are provided to guide the LLM. This paper questions whether ICL fully captures an LLM's translation potential, especially for smaller models, and proposes a more direct approach: finetuning LLMs with explicit translation instructions.
Methods
The core method is Multilingual Finetuning with Translation Instructions (mFTI). This involves:
- Instruction Template: Framing translation tasks as instructions like "Translation: [Source Language]: [Source Text] [Target Language]: [Target Text]".
- Finetuning: Training a multilingual LLM (XGLM-7.5B) on a dataset constructed from these instruction templates. The model is optimized using a standard next-token prediction objective.
- Analysis of Generalization: Investigating how mFTI performs on unseen language pairs by manipulating the training data (e.g., withholding certain languages or directions).
- Error Analysis: Identifying and analyzing specific translation errors (source copy, off-target, over/under translation, oscillatory hallucination) to understand how mFTI improves performance.
- Pivot Language Alignment: Exploring how mFTI leverages pivot languages (like English) to improve direct language alignment, especially when direct parallel data is scarce.
Datasets
- Finetuning Datasets: Primarily sourced from WikiMatrix and supplemented by the MultiCCAligned corpus. These provide parallel sentences across a wide range of language pairs.
- Evaluation Dataset: FLORES-101, a benchmark dataset containing manual translations for 1012 sentences across 101 languages.
Key Insights and Ideas
- LLMs are Underselling Themselves with ICL: mFTI significantly outperforms 8-shot ICL, suggesting that LLMs possess much greater translation potential than previously demonstrated through ICL alone.
- Beyond English-Centricity: While pretraining data amount and similarity to English influence performance, mFTI shows that direct instruction tuning can unlock capabilities even for languages less represented or less similar to English.
- Generalization is Key: mFTI enables LLMs to generalize translation abilities to unseen language pairs, demonstrating a deeper understanding of the translation instruction itself rather than just memorizing specific pairs.
- Direct Alignment is Enhanced: mFTI appears to foster more direct language alignment, reducing the reliance on pivot languages for translation, especially for unseen pairs.
- Quality Over Quantity (to an extent): While more data generally helps, the quality of the finetuning corpus (measured by LASER similarity) also plays a role in performance.
Key Results
- mFTI vs. ICL: mFTI achieved an average of 3 BLEU points higher than 8-shot ICL across all language pairs, with some pairs showing gains of up to 8 BLEU.
- Performance on Unseen Pairs: mFTI demonstrated significant improvements even for language pairs not seen during finetuning, highlighting its generalization capabilities.
- Comparison to Supervised Models: While mFTI significantly improved upon ICL, it still lagged behind large-scale supervised models like NLLB-3B, indicating that LLMs are not yet a complete replacement for specialized MT systems.
- Error Reduction: mFTI effectively reduced "source copy" and "over/under translation" errors. It also showed progress in reducing "off-target" errors, though not to the level of fully supervised models.
- Scaling Effects: Translation performance scaled predictably with model size and the number of training examples, following a log-linear trend.
Limitations and Future Work
- Still Lags Behind State-of-the-Art Supervised Models: For high-resource language pairs, mFTI on XGLM-7.5B did not surpass models like NLLB-3B.
- Persistent Errors: "Off-target" and "oscillatory hallucination" errors remain challenging, especially for unseen language pairs.
- Future Work: The authors suggest focusing on acquiring more language knowledge during pretraining and designing better regularization techniques to address the remaining translation issues. They also propose exploring joint training with monolingual generation instructions to further mitigate OT and OH problems.
Summary updated