Lifting the Curse of Capacity Gap in Distilling Language Models
Chen Zhang, Yang Yang, Jiahao Liu, Jingang Wang, Yunsen Xian, Benyou, Wang, Dawei Song

TL;DR
This paper introduces MiniMoE, a mixture of minimal experts, to enlarge student model capacity in knowledge distillation, effectively mitigating the capacity gap issue without significant inference cost, and achieves state-of-the-art results.
Contribution
Proposes MiniMoE, a novel approach that enlarges student capacity in distillation using sparse experts, lifting the capacity gap curse without increasing inference compute.
Findings
MiniMoE significantly reduces the capacity gap in distillation.
MiniMoE achieves state-of-the-art performance at small FLOPs.
MiniMoE maintains ~95% of teacher GLUE score with 50x compression.
Abstract
Pretrained language models (LMs) have shown compelling performance on various downstream tasks, but unfortunately they require a tremendous amount of inference compute. Knowledge distillation finds a path to compress LMs to small ones with a teacher-student paradigm. However, when the capacity gap between the teacher and the student is large, a curse of capacity gap appears, invoking a deficiency in distilling LMs. While a few studies have been carried out to fill the gap, the curse is not yet well tackled. In this paper, we aim at lifting the curse of capacity gap via enlarging the capacity of the student without notably increasing the inference compute. Largely motivated by sparse activation regime of mixture of experts (MoE), we propose a mixture of minimal experts (MiniMoE), which imposes extra parameters to the student but introduces almost no additional inference compute.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗GeneZC/bert-base-minimoe-6L-384Hmodel· 2 dl2 dl
- 🤗GeneZC/bert-base-minimoe-4L-384Hmodel· 1 dl1 dl
- 🤗GeneZC/bert-base-minimoe-3L-384Hmodel· 2 dl· ♡ 12 dl♡ 1
- 🤗GeneZC/bert-large-minimoe-6L-384Hmodel· 1 dl1 dl
- 🤗GeneZC/bert-large-minimoe-4L-384Hmodel· 1 dl1 dl
- 🤗GeneZC/bert-large-minimoe-3L-384Hmodel· 1 dl· ♡ 11 dl♡ 1
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Multimodal Machine Learning Applications
MethodsKnowledge Distillation
