Introduction
Large Multilingual Neural Machine Translation (MNMT) models, such as IndicTrans, have revolutionized translation by enabling high-quality performance across dozens of languages within a single architecture. However, these models often contain hundreds of millions or even billions of parameters, making them impractical for real-world deployment on edge devices or in production environments with strict latency and memory constraints.
While Knowledge Distillation (KD) is a well-established technique for model compression—where a large "teacher" model guides the training of a smaller "student" model—its application to massive multilingual models remains under-explored. This study addresses this gap by empirically investigating how to effectively distill a massive MNMT model into a compact student without sacrificing the cross-lingual capabilities that define MNMT performance.
Methodology
The researchers developed a systematic experimental pipeline to evaluate various distillation strategies and architectural configurations for Indic-to-English translation.
The core of the approach involves Sequence-Level Distillation (SLD), where the student model is trained on pseudo-labels generated by the teacher's beam-search outputs. Beyond standard SLD, the authors explored:
- Global-Language-wise Distillation (GLwD): A novel modification of selective distillation that maintains separate "hard sample" queues for each language. This ensures that low-resource languages are not overshadowed by high-resource ones during the selection of informative training samples.
- Architectural Optimization: The study compared "base" Transformer configurations against deeper, thinner models (e.g., 24 layers with smaller hidden dimensions) to determine the optimal allocation of parameters.
- Multi-stage Training: Models were first trained on the full distilled dataset and subsequently fine-tuned on a high-quality (HQ) subset.
- Adapters: Language-specific and family-specific adapters were tested to see if minimal parameter additions could recover performance lost during compression.
Data and Evaluation
The study utilized the Samanantar dataset, the largest public parallel corpora for 11 Indic languages, totaling 49.8 million sentence pairs. A High-Quality (HQ) subset of 10.3 million pairs was curated using LaBSE (Language-Agnostic BERT Sentence Embedding) cosine similarity scores to filter out noisy teacher outputs.
Key Insights and Results
The empirical sweep yielded several critical findings for MNMT compression:
- Model Depth is Paramount: When parameter counts are held constant, deeper models consistently outperform shallower, wider ones. A 24-layer "thin" model captured multilingual complexities more effectively than a standard 12-layer "base" model.
- HQ Fine-tuning is Essential: Distilled data inherently contains noise from teacher errors. Fine-tuning on the HQ subset provided consistent performance boosts, particularly for low-resource languages like Assamese and Odia.
- The Distillation Gap: The researchers successfully achieved a 5x compression of the 474M parameter IndicTrans model into a 95M parameter student. However, a significant performance gap remains. Even with advanced techniques, student models trailed the teacher by 3.1 to 3.5 BLEU points on average.
- Diminishing Returns of Complexity: Surprisingly, complex selective distillation methods like GLwD offered only marginal improvements over standard SLD. This suggests that for large-scale MNMT, the quality of the teacher's pseudo-labels is a more significant factor than the sample selection algorithm.
Conclusion and Future Work
This study provides a roadmap for compressing large MNMT models, identifying model depth and high-quality data fine-tuning as the most effective levers. Despite these gains, the "distillation gap" highlights the difficulty of preserving the full expressive power of massive models in compact forms.
Future research should explore combining distillation with post-training techniques like quantization and pruning. Additionally, investigating more expressive adapter architectures or alternative evaluation metrics beyond BLEU could provide a more nuanced understanding of translation quality in compressed multilingual systems.
Summary updated