[Paper Review] One Student Knows All Experts Know: From Sparse to Dense
This paper proposes knowledge integration, a novel framework to distill knowledge from a sparse Mixture-of-Experts (MoE) model into a dense student network (OneS), using two-stage training: knowledge gathering via SVD-KG or Top-KG, followed by knowledge distillation. OneS achieves 78.4% ImageNet top-1 accuracy with only 15M parameters, preserves 61.7% MoE benefits, and delivers 3.7× faster inference than MoE, outperforming baselines by up to 51.7% on NLP tasks.
Human education system trains one student by multiple experts. Mixture-of-experts (MoE) is a powerful sparse architecture including multiple experts. However, sparse MoE model is easy to overfit, hard to deploy, and not hardware-friendly for practitioners. In this work, inspired by the human education model, we propose a novel task, knowledge integration, to obtain a dense student model (OneS) as knowledgeable as one sparse MoE. We investigate this task by proposing a general training framework including knowledge gathering and knowledge distillation. Specifically, to gather key knowledge from different pre-trained experts, we first investigate four different possible knowledge gathering methods, \ie summation, averaging, Top-K Knowledge Gathering (Top-KG), and Singular Value Decomposition Knowledge Gathering (SVD-KG) proposed in this paper. We then refine the dense student model by knowledge distillation to offset the noise from gathering. On ImageNet, our OneS preserves $61.7\%$ benefits from MoE and achieves $78.4\%$ top-1 accuracy ImageNet with only $15$M parameters. On four natural language processing datasets, OneS obtains $88.2\%$ MoE benefits and outperforms the best baseline by $51.7\%$ using the same architecture and training data. In addition, compared with the MoE counterpart, OneS can achieve $3.7 imes$ inference speedup due to less computation and hardware-friendly architecture.
Motivation & Objective
- To address the practical limitations of sparse MoE models, such as overfitting, hard deployment, and poor hardware efficiency, by transferring their knowledge into a dense, deployable student model.
- To propose a new task—knowledge integration—where a single dense model learns from multiple pre-trained experts, mimicking the human education model of learning from multiple teachers.
- To develop a general training framework combining knowledge gathering and knowledge distillation to effectively initialize and refine a dense student model from a pre-trained MoE.
- To demonstrate that the resulting dense model (OneS) can match or exceed MoE performance while being significantly more efficient and easier to deploy.
Proposed method
- Knowledge gathering is performed using four methods: summation, averaging, Top-K Knowledge Gathering (Top-KG), and a novel Singular Value Decomposition Knowledge Gathering (SVD-KG) to extract and merge key knowledge from MoE experts.
- SVD-KG decomposes expert weights using SVD to retain the most important singular components, which are then used to initialize the feed-forward network (FFN) layers of the dense student model.
- Top-KG selects the top-k most active neurons or weight components across experts to initialize the student, focusing on high-impact knowledge.
- Knowledge distillation is applied using soft labels from the full MoE teacher model to refine the student, reducing noise from the knowledge gathering phase and improving generalization.
- The framework uses a two-stage training process: first initializing the student via knowledge gathering, then fine-tuning with knowledge distillation using soft labels and cross-entropy loss.
- The student model architecture is identical to standard dense models, ensuring hardware compatibility and efficient inference.
Experimental results
Research questions
- RQ1Can a dense student model be effectively initialized using knowledge from a pre-trained MoE, preserving its performance while improving deployability?
- RQ2Which knowledge gathering method—sum, average, Top-KG, or SVD-KG—yields the best performance for initializing a dense student from MoE experts?
- RQ3To what extent can knowledge distillation improve the student model’s performance after knowledge gathering, especially in reducing noise from the initialization process?
- RQ4How does the final dense student model compare to MoE in terms of accuracy, parameter efficiency, and inference speed?
- RQ5Does the knowledge-integrated dense model outperform existing distillation and sparse model baselines on both vision and NLP benchmarks?
Key findings
- On ImageNet, OneS achieves 78.4% top-1 accuracy with only 15 million parameters, preserving 61.7% of the MoE’s performance benefits.
- On four NLP benchmarks, OneS achieves 88.2% of the MoE’s performance benefits while using only 46% of the parameters and outperforming the best baseline by 51.7%.
- OneS achieves 3.7× faster inference than the MoE counterpart due to reduced computation and a hardware-friendly dense architecture.
- Ablation studies confirm that both knowledge gathering and knowledge distillation are essential: removing either leads to significant performance drops, with knowledge gathering contributing most to initial performance gain.
- With comparable training epochs, OneS outperforms baselines and continues improving with more training, while MoE-based models like WideNet plateau.
- On small datasets like SQuAD1.1 and SST-2, OneS even surpasses the MoE teacher, suggesting reduced overfitting due to the dense, generalizable student structure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.