Abstract
In this work, we study how the performance of a given direction changes with its sampling ratio in Multilingual Neural Machine Translation (MNMT). By training over 200 multilingual models with various model sizes, data sizes, and language directions, we find it interesting that the performance of certain translation direction does not always improve with the increase of its weight in the multi-task optimization objective. Accordingly, scalarization method leads to a multitask trade-off front that deviates from the traditional Pareto front when there exists data imbalance in the training corpus, which poses a great challenge to improve the overall performance of all directions. Based on our observations, we propose the Double Power Law to predict the unique performance trade-off front in MNMT, which is robust across various languages, data adequacy, and the number of tasks. Finally, we formulate the sample ratio selection problem in MNMT as an optimization problem based on the Double Power Law. In our experiments, it achieves better performance than temperature searching and gradient manipulation methods with only 1/5 to 1/2 of the total training budget.
Introduction: The Collapse of the Pareto Front
Multilingual Neural Machine Translation (MNMT) is a powerful paradigm that allows a single model to handle dozens of language directions. However, the standard assumption in multi-task learning—that increasing the sampling ratio of a task will monotonically improve its performance—fails in the presence of data imbalance.
Researchers have identified a phenomenon termed the "collapse of the Pareto front." For low-resource languages, there is a point of diminishing returns where over-sampling small datasets causes the model to stop learning useful patterns and start memorizing noise. This overfitting leads to a U-shaped loss curve (or an inverted U-shape for performance metrics like BLEU), where performance eventually tanks despite higher sampling weights.
Methodology: The Double Power Law (DPL)
To navigate these complex trade-offs without expensive trial-and-error, the authors introduced the Double Power Law (DPL). This mathematical framework models the loss of a language direction as the sum of three distinct components:
- Capacity Occupation: A power law term representing the model capacity dedicated to the task.
- Intrinsic Over-fitting: A second power law term that accounts for the risk of overfitting when data is scarce but sampling is high.
- Bias Term: A constant representing the inherent difficulty of the specific language pair.
By training a small set of pilot models to calibrate these parameters, the DPL can predict the optimal sampling ratios for any combination of languages. This approach moves away from heuristic methods like temperature searching toward a principled, predictive optimization.
Key Insights and Results
- Efficiency Gains: DPL-optimized models achieved superior accuracy (+0.3 BLEU on average) while using only 20% to 50% of the training budget typically required for manual tuning or gradient manipulation methods.
- Model Size Sensitivity: Larger models are more prone to overfitting on small tasks. The DPL successfully captures how the overfitting term increases as model capacity grows.
- Generalization: The shape of the trade-off curve depends primarily on data scale and model size rather than specific language pairs, making the DPL a robust tool across diverse linguistic datasets.
Conclusion
The Double Power Law provides a theoretical and practical breakthrough for training balanced multilingual models. By mathematically predicting the point where learning turns into overfitting, researchers can achieve higher translation quality across all directions with significantly reduced computational overhead.
Summary updated