An Empirical Study of Leveraging Knowledge Distillation for Compressing Multilingual Neural Machine Translation Models

Varun Gumma, Raj Dabre, Pratyush Kumar
4/19/2023
cs.CLcs.AI

No official code found. Best implementation: VarunGumma/fairseq (25 stars, MIT, PyTorch, last commit 2025-08-31).

Abstract

Knowledge distillation (KD) is a well-known method for compressing neural models. However, works focusing on distilling knowledge from large multilingual neural machine translation (MNMT) models into smaller ones are practically nonexistent, despite the popularity and superiority of MNMT. This paper bridges this gap by presenting an empirical investigation of knowledge distillation for compressing MNMT models. We take Indic to English translation as a case study and demonstrate that commonly used language-agnostic and language-aware KD approaches yield models that are 4-5x smaller but also suffer from performance drops of up to 3.5 BLEU. To mitigate this, we then experiment with design considerations such as shallower versus deeper models, heavy parameter sharing, multi-stage training, and adapters. We observe that deeper compact models tend to be as good as shallower non-compact ones, and that fine-tuning a distilled model on a High-Quality subset slightly boosts translation quality. Overall, we conclude that compressing MNMT models via KD is challenging, indicating immense scope for further research.

View on arXivView PDF

Code Implementations(1)

VarunGumma/fairseqCommunity100%
PyTorchMIT

Facebook AI Research Sequence-to-Sequence Toolkit written in Python.

256C++, LuaSep 29, 20221 years agoMIT
artificial-intelligencemachine-translationpythonpytorchtransformer

Similar Papers

Cite this paper

@article{gumma2023empirical,
  title  = {An Empirical Study of Leveraging Knowledge Distillation for Compressing Multilingual Neural Machine Translation Models},
  author = {Varun Gumma and Raj Dabre and Pratyush Kumar},
  year   = {2023},
  eprint = {2304.09388},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.09388v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.09388.svg)](https://codeofpaper.com/paper/2304.09388)

Discussion