Tricks for Training Sparse Translation Models

Dheeru Dua, Shruti Bhosale, Vedanuj Goswami, James Cross, Mike Lewis, Angela Fan

Abstract

Sparse Mixture-of-Experts (MoE) models offer massive capacity for multilingual machine translation but often struggle with "expert ossification," where parameters specialize prematurely on dominant languages. This paper introduces two effective strategies—temperature heating and dense pre-training—to maintain model flexibility during early training. These methods improve translation quality for low-resource languages and more than double training convergence speed.

The Challenge: Expert Ossification in Multilingual Models

In Multilingual Machine Translation (MMT), a single model is tasked with handling dozens of languages. This creates a "capacity bottleneck" where high-resource languages (like English or French) dominate the model’s parameters, leaving low-resource languages (like Romanian or Latvian) to suffer from interference.

Sparse architectures, such as Mixture-of-Experts (MoE), address this by adding billions of parameters while only activating a small fraction (the "experts") for any given token, keeping computational costs low. However, these models are prone to Expert Ossification. The routing mechanism—the "traffic cop" that assigns tokens to experts—often converges much faster than the experts' internal weights. If the router specializes an expert for a high-resource language too early, that expert becomes unavailable for low-resource tasks, leading to poor cross-lingual transfer and inefficient parameter usage.

Strategic Training: Heating and Pre-training

To combat ossification, the authors propose two "tricks" that keep the model fluid during the critical early stages of training:

  1. Temperature Heating: Standard training uses a fixed temperature to balance data sampling. The authors propose starting with a low temperature to focus on high-resource data, establishing a solid representational foundation. As training progresses, the temperature is "heated" (increased), gradually introducing low-resource data. This forces the gating mechanism to remain adaptable, routing new tasks to experts that have already learned general, useful features.
Expert distribution for English to Romanian without (top) and with (bottom) temperature heating. Heating prevents premature specialization, leading to a more diverse use of experts.
  1. Dense Pre-training: Rather than starting with a sparse model, the authors first train a standard dense model where all parameters are shared. Once the model has learned a generalized representation of translation, it is "sparsified" by adding experts and a gating module. This "Generalist-to-Specialist" approach ensures that experts begin training from a high-quality baseline rather than random initialization.

Performance and Efficiency Gains

The researchers evaluated these methods on the WMT-15 and ML-50 benchmarks. The results demonstrate that focusing on high-resource foundations actually benefits low-resource languages by providing a stable feature space for cross-lingual transfer.

Key results include:

  • Quality Improvement: On the ML-50 benchmark, low-resource languages saw an average improvement of 1.1 BLEU points.
  • Accelerated Convergence: The most significant impact was on training efficiency. Combining dense pre-training with temperature heating allowed models to reach target performance levels in less than half the time of standard sparse baselines (over 2x speedup).
Training convergence for different conduction coefficients (k). Proper heating schedules significantly reduce the number of updates required to reach target performance.

Conclusion

While the study focused on the BASELayers architecture and requires hyperparameter tuning for the heating schedule ($k$), it provides a clear playbook for scaling sparse models. By delaying specialization through heating and pre-training, developers can build high-capacity multilingual systems that are both more accurate and significantly faster to train.

Summary updated

BibTeX
@inproceedings{dua2022tricks,
  author = {Dheeru Dua and Shruti Bhosale and Vedanuj Goswami and James Cross and Mike Lewis and Angela Fan},
  title = {{Tricks for Training Sparse Translation Models}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.naacl-main.244},
}
Figure