Abstract
Multilingual models often face a performance trade-off between high-resource and low-resource languages due to significant data imbalance. Standard static sampling methods frequently lead to either overfitting on small datasets or under-optimization on large ones. This paper investigates the optimization dynamics of multi-task learning and proposes a two-stage training strategy: pre-training on high-resource tasks followed by joint fine-tuning on a mixture of all tasks. Our empirical results in neural machine translation (NMT) and language modeling demonstrate that this "order-matters" approach pushes the Pareto front, achieving superior performance across all tasks compared to traditional static weighting.
The Challenge of Data Imbalance
In Multi-Task Learning (MTL), particularly within multilingual translation and language modeling, the "data imbalance" problem is a primary hurdle. High-resource tasks (e.g., English-to-French) often possess millions of training examples, while low-resource tasks (e.g., English-to-Hindi) may only have a few thousand.
The standard solution is static sampling (or scalarization), where the model encounters tasks based on fixed probabilities. However, this creates a fundamental catch-22:
- Overfitting: If low-resource tasks are sampled frequently to ensure they are learned, the model quickly memorizes the small dataset.
- Under-optimization: If they are sampled infrequently to avoid overfitting, the model never converges because the high-resource tasks require millions of steps to reach peak performance.
Researchers typically view this as a Pareto front—a boundary where improving performance in one language inevitably degrades it in another. This paper challenges that assumption by demonstrating that the order of training can shift this entire boundary forward.
Methods: Pre-training Joint Fine-tuning
The authors propose a simple yet effective two-stage training scheme designed to break the static sampling trade-off:
Phase 1: Pre-training
The model is trained exclusively on high-resource tasks. This allows the architecture to learn complex linguistic features and converge on the "heavy lifting" data without the immediate risk of overfitting smaller, low-resource datasets.
The Transition
A critical finding of the study is the necessity of resetting the learning rate schedule and optimizer state before moving to the next phase. Without this reset, the model's optimization momentum is often too low to effectively learn the newly introduced low-resource tasks.
Phase 2: Joint Fine-tuning
The model is trained on a mixture of both high-resource and low-resource tasks. Unlike standard transfer learning—where one might pre-train on Task A and fine-tune only on Task B—this phase retains the high-resource data. This prevents catastrophic forgetting of the original task while allowing low-resource tasks to benefit from a "warm" initialization.
Experimental Setup
The researchers validated their method across two major domains:
- Neural Machine Translation (NMT): Using WMT datasets, they paired high-resource languages (English to Chinese/French) with low-resource ones (English to Romanian/Hindi).
- Multilingual Language Modeling: Using the mC4 dataset, they scaled the method to a massive mT5-XXL model (13 billion parameters), training on a lopsided mixture of English (high-resource) and Hindi, Gujarati, Gaelic, and Swahili (low-resource).
Key Insights and Analysis
Pushing the Pareto Front
The most significant finding is that this method is not merely a different trade-off; it is a superior optimization path. It achieves lower loss on low-resource tasks than static sampling ever could, regardless of the sampling weights used in the static baseline.
Initialization and Data Efficiency
The performance boost stems from two mechanisms. First, pre-training provides a superior starting point (positive transfer). Second, because the joint fine-tuning phase is shorter than a full training run, the model can utilize a much higher sampling rate for low-resource tasks. This allows for rapid learning without providing enough time for the model to overfit.
Cross-Linguistic Transfer
Surprisingly, linguistic similarity is not a prerequisite for success. Pre-training on French helped Hindi translation almost as much as it helped Romanian. This suggests the model develops general language-processing capabilities that transfer effectively across different language families.
Key Results
- NMT Performance: In English-to-Romanian/French experiments, the proposed method achieved "non-dominated" performance points, meaning they were strictly better than any configuration achievable via standard static sampling.
- Scaling to 13B Parameters: On the multilingual mT5 model, the method improved performance in 4 out of 5 languages (including the high-resource English) compared to the best-tuned static sampling baseline.
- Token Efficiency: The model achieved better low-resource performance while seeing significantly fewer total tokens of the low-resource language, proving it is more data-efficient than traditional methods.
Limitations and Future Work
While the method is highly effective, the authors identify several areas for further exploration. Currently, the "switch point" between pre-training and fine-tuning is determined heuristically; a more principled timing mechanism could optimize the process further. Additionally, the study focused on pre-training on a single high-resource task; expanding this to a broader mix of high-resource data or exploring parameter-efficient fine-tuning (e.g., freezing specific layers) could further mitigate overfitting and enhance transfer.
Summary updated