Breaking Down Multilingual Machine Translation

Ting-Rui Chiang, Yi-Pei Chen, Yi-Ting Yeh, Graham Neubig

Introduction

Multilingual machine translation (MMT) has emerged as a powerful paradigm, often outperforming separate bilingual models by training a single model on dozens of languages simultaneously. This is particularly beneficial for "low-resource" languages (LRLs) that lack extensive training data. However, a persistent mystery remained: why do many-to-one models (multiple languages to English) behave differently than one-to-many models (English to multiple languages)? This research seeks to "break down" the MT model to determine whether the benefits of multilinguality reside in the encoder or the decoder.

Methodology

To investigate the internal mechanics of MMT, the researchers employed two primary techniques:

  1. Component Decoupling (Load & Freeze): The team first trained large-scale multilingual models. They then initialized new bilingual models using either only the encoder or only the decoder from the multilingual version. By comparing these hybrid models to baseline bilingual models trained from scratch, they isolated the specific knowledge contribution of each component.
  2. Head Importance Estimation: Using a gradient-based method, they identified which attention heads within the Transformer architecture were most critical for specific language pairs. By calculating the Spearman correlation between these importance scores, they could determine if different languages were effectively "sharing" the same parameters.

Key Results

The study utilized the TED Talks Dataset, focusing on four low-resource languages (Azerbaijani, Belarusian, Galician, and Slovak) and four high-resource languages (Arabic, German, Hebrew, and Italian).

BLEU scores for many-to-one translation under various component initialization strategies.

The results revealed a stark contrast between language types and components. For LRLs, both the encoder and decoder contain valuable information learned from other languages. However, for HRLs, the benefit is almost entirely concentrated in the encoder. In many-to-one (X-En) settings, if a model already has sufficient English data (HRL), adding other source languages provides the decoder with no new information—it merely adds noise.

Data-Driven Relatedness and Insights

A major finding of the paper is that the encoder is a "team player," universally benefiting from multilingual training regardless of resource level. In contrast, the decoder is highly selective. In many-to-one settings, the decoder treats the encoder's output in a language-agnostic way, whereas in one-to-many settings, the encoder's representation becomes highly dependent on the specific target language.

Language clustering based on internal model attention patterns.

Furthermore, the authors discovered that grouping languages based on the model's internal attention head correlations—rather than traditional linguistic families—is a more effective strategy for fine-tuning. This "model-driven" clustering led to significant performance gains:

  • HRL Gains: Fine-tuning on specific high-resource bilingual data improved BLEU scores by 2.99 to 4.63 points over previous benchmarks.
  • LRL Gains: Fine-tuning on "related" clusters (identified via attention similarity) boosted performance by 1.66 to 4.44 BLEU points compared to state-of-the-art results from Aharoni et al. (2019).

Limitations and Future Work

While these findings provide a clearer picture of MMT, the authors note that the results are specific to the Transformer architecture and the TED Talks domain. Additionally, the "Many-to-Many" mystery remains; sharing parameters effectively between "All-to-English" and "English-to-All" tasks within a single model without significantly increasing capacity is a challenge for future research.

Summary updated

BibTeX
@inproceedings{chiang2022breaking,
  author = {Ting-Rui Chiang and Yi-Pei Chen and Yi-Ting Yeh and Graham Neubig},
  title = {{Breaking Down Multilingual Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.findings-acl.218},
}
Figure