Introduction
Mixture-of-Experts (MoE) architectures, utilized in state-of-the-art models like Mixtral and DeepSeek, offer massive parameter scaling with sub-linear increases in computational cost. However, their substantial memory footprint remains a barrier for deployment in resource-constrained environments. While Knowledge Distillation (KD) is a standard approach to compress large "teacher" models into smaller "student" models, traditional KD techniques struggle with MoE teachers. This paper identifies a critical flaw: standard KD ignores "inactive" experts, leaving significant knowledge untapped. To address this, the authors propose Knowledge Augmentation (KA) and Student-Aware Router (SAR) to ensure that every expert contributes to the student's learning.
The MoE Distillation Gap
In an MoE model, a router selects a subset of experts (top-$k$) to process each token. Standard KD only utilizes the output of these activated experts. However, the authors discovered that the cumulative gate probability assigned to these active experts is often less than 50%. This implies that more than half of the router's "importance" weighting is assigned to experts that are ultimately discarded during standard inference.
These "inactive" experts contain valuable, diverse information that can benefit a smaller, dense student model, even if they are redundant for the teacher's own final output.
Methodology: Tapping into Collective Wisdom
The researchers propose two primary strategies to capture this hidden knowledge:
- Knowledge Augmentation (KA): Instead of relying solely on the teacher's top-$k$ selection, KA samples $N-1$ experts multiple times for the same input. By introducing this sampling diversity, the teacher generates a broader distribution of internal knowledge, forcing the student to learn from various expert combinations.
- Student-Aware Router (SAR): This method fine-tunes the teacher's router using feedback from the student before distillation begins. By optimizing the router to minimize the divergence between teacher and student outputs, the teacher learns to aggregate its experts in a way that is specifically "student-friendly."
- The "ALL" Baseline: The authors also compared these to a baseline where all experts are activated simultaneously. While this outperformed standard KD, it was less effective than the targeted KA and SAR approaches.
Analysis: Why More Experts Help the Student
A key insight of this work is that teacher performance does not always correlate with student success. When increasing the number of activated experts, the teacher's own performance (measured by ROUGE-L) may plateau or even decline due to noise or redundancy. However, the student model almost universally benefits from the increased diversity of information.
As shown in the figure above, the student's performance continues to climb as more experts are involved in the distillation process, even when the teacher's performance has peaked. This confirms that the student benefits from the "diversity" of the knowledge, regardless of whether that knowledge is strictly necessary for the teacher's own inference accuracy.
Key Results and Conclusion
Evaluated across five instruction-following benchmarks (Dolly, SelfInst, Vicuna, S-NI, and UnNI), the proposed methods consistently outperformed standard KD and Generalized Knowledge Distillation (GKD). For instance, using a Llama-MoE-3.5B teacher, the SAR method achieved an average ROUGE-L of 25.91, significantly higher than GKD (25.07) and standard KD (20.92).
Beyond metrics, qualitative analysis showed that students trained with KA or SAR were significantly better at following complex instructions and avoiding repetitive or nonsensical outputs. By recognizing that "every expert matters," this research provides a more effective pathway for distilling the power of massive MoE models into efficient, deployable dense models.
Summary updated