Abstract
Multilingual Neural Machine Translation (MNMT) enables resource efficiency and knowledge transfer between languages but faces significant challenges due to data imbalance. Traditional heuristic-based sampling methods, such as temperature-based up-sampling, often fail to account for linguistic similarities or the dynamic needs of the model during training. We introduce MultiDDS (Multi-objective Differentiable Data Selection), an algorithm that treats data weighting as a bi-level optimization problem. MultiDDS automatically learns a sampling strategy by aligning training gradients with a multilingual development set. Our results demonstrate that MultiDDS consistently outperforms standard heuristics, effectively discovering language synergies and improving performance for low-resource languages without degrading high-resource counterparts.
Introduction
The goal of MNMT is to build a single model capable of translating between numerous language pairs. This approach is particularly beneficial for low-resource languages (LRLs), which can benefit from "knowledge transfer" from related high-resource languages (HRLs). However, training on raw, imbalanced data typically leads to HRL dominance. While heuristics like temperature-based sampling ($\tau$) are commonly used to up-sample LRLs, they are difficult to tune, ignore linguistic nuances, and can lead to interference or capacity bottlenecks.
MultiDDS: Differentiable Data Selection
The authors propose MultiDDS to replace manual heuristics with a learned "data scorer." This approach frames data selection as a bi-level optimization task where a scorer learns to prioritize data that most benefits the overall multilingual objective.
The Optimization Loop
The process follows a cyclical update mechanism:
- Scoring: A scorer with parameters $\psi$ maintains a probability distribution $P_D(i; \psi_t)$ over $n$ languages.
- Training: The NMT model $\theta$ is trained on batches sampled according to this distribution.
- Reward Calculation: The algorithm evaluates how a training step on a specific language $i$ affects performance on a multilingual development set. The reward is based on the cosine similarity between the training gradient $\nabla_\theta J(D^i_{\text{train}}; \theta_t)$ and the development gradient $\nabla_\theta J_{\text{dev}}(\theta'_{t+1}, D_{\text{dev}})$.
- Policy Update: The scorer is updated via reinforcement learning (REINFORCE) to favor languages that yield the most useful gradients.
To address noise in multilingual rewards, the authors introduced MultiDDS-S (Stable), which averages alignment rewards across individual language development sets before aggregation, leading to more stable convergence.
Experimental Setup
The method was evaluated on a 58-languages-to-English dataset. Two primary test groups were established:
- Related Group: 4 LRLs (Azerbaijani, Belarusian, Galician, Slovak) paired with 4 related HRLs (Turkish, Russian, Portuguese, Czech).
- Diverse Group: 8 languages chosen for linguistic variety (e.g., Hindi, French, Korean, Greek).
Experiments covered both Many-to-One (M2O) and One-to-Many (O2M) translation directions.
Dynamic Sampling and Synergy Discovery
A key advantage of MultiDDS is its ability to discover synergies between languages automatically. By monitoring gradient alignment, the model identifies when training on one language (e.g., Turkish) benefits another (e.g., Azerbaijani).
As shown in Figure 6, the sampling probabilities are not static. MultiDDS shifts focus between languages throughout the training process, a level of granularity that fixed heuristics cannot achieve. This scalability makes it suitable for massively multilingual models where sentence-level weighting would be computationally prohibitive.
Key Results
MultiDDS-S consistently outperformed heuristic baselines (Uniform, Proportional, and Temperature-based) in average BLEU scores. Notable findings include:
- LRL Gains: In O2M settings, MultiDDS-S provided significant performance boosts for the majority of languages without hurting HRL performance.
- Efficiency: The computational overhead is minimal, adding only about 5% to the total training time.
- Controllability: The model's priorities can be shifted (e.g., from egalitarian to specialized) simply by modifying the development set objective.
Conclusion and Future Work
MultiDDS provides a robust, automated alternative to manual data-sampling heuristics in MNMT. While demonstrated on translation, the framework is model-agnostic and could potentially benefit other multilingual tasks. Future research will explore its application to even larger language sets (100+) and more complex optimization objectives.
Summary updated