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

Tao Zhong, Zhixiang Chi, Li Gu, Yang Wang, Yuanhao Yu +1 more
10/8/2022
cs.LGcs.CV
moedistillation

Official code: n3il666/Meta-DMoE (43 stars, Python, MIT, last commit 2023-03-17).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

n3il666/Meta-DMoEOfficial100%
MIT
433PythonOct 5, 20223 years agoMIT

Similar Papers

Cite this paper

@article{zhong2022metadmoe,
  title  = {Meta-DMoE: Adapting to Domain Shift by Meta-Distillation from Mixture-of-Experts},
  author = {Tao Zhong and Zhixiang Chi and Li Gu and Yang Wang and Yuanhao Yu and Jin Tang},
  year   = {2022},
  eprint = {2210.03885},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.03885}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.03885.svg)](https://codeofpaper.com/paper/2210.03885)

Discussion