m2mKD: Module-to-Module Knowledge Distillation for Modular Transformers
Ka Man Lo, Yiming Liang, Wenyu Du, Yuantao Fan, Zili Wang, Wenhao, Huang, Lei Ma, Jie Fu

TL;DR
This paper introduces m2mKD, a novel knowledge distillation method that transfers knowledge between modules of modular neural networks, improving their accuracy and robustness across various architectures and datasets.
Contribution
The paper proposes module-to-module knowledge distillation (m2mKD), tailored for modular models, enabling effective knowledge transfer from monolithic models to modular architectures.
Findings
Improves Tiny-ImageNet accuracy by up to 5.6%.
Enhances OOD robustness on Tiny-ImageNet-R by up to 4.2%.
Achieves 3.5% higher accuracy on ImageNet-1k with V-MoE-Base.
Abstract
Modular neural architectures are gaining attention for their powerful generalization and efficient adaptation to new domains. However, training these models poses challenges due to optimization difficulties arising from intrinsic sparse connectivity. Leveraging knowledge from monolithic models through techniques like knowledge distillation can facilitate training and enable integration of diverse knowledge. Nevertheless, conventional knowledge distillation approaches are not tailored to modular models and struggle with unique architectures and enormous parameter counts. Motivated by these challenges, we propose module-to-module knowledge distillation (m2mKD) for transferring knowledge between modules. m2mKD combines teacher modules of a pretrained monolithic model and student modules of a modular model with a shared meta model respectively to encourage the student module to mimic the…
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
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural Networks and Applications
MethodsKnowledge Distillation
