[Paper Review] Meta-DMoE: Adapting to Domain Shift by Meta-Distillation from Mixture-of-Experts
Meta-DMoE proposes a novel unsupervised test-time adaptation framework that uses a Mixture-of-Experts (MoE) teacher to distill domain-specialized knowledge from multiple source domains. By employing a meta-learned transformer-based aggregator to combine expert knowledge and a meta-trained student network for fast adaptation, the method achieves state-of-the-art performance on multiple benchmarks, outperforming prior approaches in handling domain shift with improved generalization and flexibility.
In this paper, we tackle the problem of domain shift. Most existing methods perform training on multiple source domains using a single model, and the same trained model is used on all unseen target domains. Such solutions are sub-optimal as each target domain exhibits its own specialty, which is not adapted. Furthermore, expecting single-model training to learn extensive knowledge from multiple source domains is counterintuitive. The model is more biased toward learning only domain-invariant features and may result in negative knowledge transfer. In this work, we propose a novel framework for unsupervised test-time adaptation, which is formulated as a knowledge distillation process to address domain shift. Specifically, we incorporate Mixture-of-Experts (MoE) as teachers, where each expert is separately trained on different source domains to maximize their specialty. Given a test-time target domain, a small set of unlabeled data is sampled to query the knowledge from MoE. As the source domains are correlated to the target domains, a transformer-based aggregator then combines the domain knowledge by examining the interconnection among them. The output is treated as a supervision signal to adapt a student prediction network toward the target domain. We further employ meta-learning to enforce the aggregator to distill positive knowledge and the student network to achieve fast adaptation. Extensive experiments demonstrate that the proposed method outperforms the state-of-the-art and validates the effectiveness of each proposed component. Our code is available at https://github.com/n3il666/Meta-DMoE.
Motivation & Objective
- To address domain shift in real-world deployment where test data distribution differs from training data.
- To overcome the limitations of single-model generalization in multi-source domain adaptation, which often leads to biased learning of domain-invariant features.
- To enable fast, effective adaptation at test time using only unlabeled target data, without requiring access to source domain data.
- To improve model generalization and robustness by leveraging domain-specialized experts and meta-learning for efficient knowledge distillation.
Proposed method
- The framework uses a Mixture-of-Experts (MoE) setup, where each expert is pre-trained on a distinct source domain to maximize domain-specific knowledge.
- At test time, a small set of unlabeled target samples is used to query features from the pre-trained MoE experts.
- A transformer-based aggregator examines interconnections among expert outputs and fuses domain-specific knowledge into a unified supervision signal.
- The student network is meta-trained to rapidly adapt to the target domain using the aggregated knowledge, with bi-level optimization ensuring fast adaptation from few samples.
- Knowledge distillation is applied to intermediate features (not just logits), enabling richer supervision and improved feature alignment.
- The training process simulates test-time out-of-distribution scenarios to align the training objective with real evaluation protocols.
Experimental results
Research questions
- RQ1Can a multi-expert teacher framework improve adaptation performance compared to single-model approaches in multi-source domain shift settings?
- RQ2How effectively can a meta-learned aggregator combine knowledge from multiple domain-specialized experts to guide fast adaptation?
- RQ3Does distilling intermediate features rather than only logits lead to better generalization in test-time adaptation?
- RQ4How does meta-learning improve the student network's ability to adapt quickly with few target samples?
- RQ5Can the framework maintain high performance under real-world constraints such as data privacy and computational efficiency?
Key findings
- Meta-DMoE achieves state-of-the-art performance on four benchmark datasets, with a test accuracy of 77.2% and macro-F1 of 34.0% when both the aggregator and student are meta-trained.
- The transformer-based aggregator outperforms hand-designed operators (e.g., max/average pooling) and MLP-based methods, achieving 77.2% accuracy and 34.0% macro-F1.
- Distilling intermediate features alone yields better generalization than distilling logits or both, with 77.2% accuracy and 34.0% macro-F1, compared to 72.1% and 26.4% for logits-only distillation.
- The meta-learning training scheme significantly improves adaptation performance, with the meta-trained student and aggregator combination achieving 77.2% accuracy, compared to 32.7% with random initialization.
- The method is robust under constrained settings: it does not require access to raw source data and allows for efficient inference by discarding MoE models post-adaptation.
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.