Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Meta-DMoE: Adapting to Domain Shift by Meta-Distillation from Mixture-of-Experts

About

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.

Tao Zhong, Zhixiang Chi, Li Gu, Yang Wang, Yuanhao Yu, Jin Tang• 2022

Related benchmarks

TaskDatasetResultRank
Domain GeneralizationPACS
Accuracy (Art)86.1
221
Image ClassificationDomainNet
Accuracy (ClipArt)63.5
161
Domain GeneralizationOfficeHome (leave-one-domain-out)
Art Accuracy58.9
59
Image ClassificationOfficeHome DomainBed suite (test)
Accuracy62.2
45
Domain GeneralizationDomainNet DomainBed (test)
Clipart Accuracy51.5
37
Image ClassificationDomainBed
PACS Accuracy81
33
Domain GeneralizationPACS DomainBed (test)--
29
Domain GeneralizationVLCS DomainBed (test)
Average OOD Accuracy76
27
Domain GeneralizationTerraInc DomainBed
L100 Error47.1
25
Animal species (186 classes). Domains: 324 camera locations.iWildCam WILDS (test)
Macro F135.1
17
Showing 10 of 18 rows

Other info

Code

Follow for update