English

Decomposing the Neurons: Activation Sparsity via Mixture of Experts for Continual Test Time Adaptation

Computer Vision and Pattern Recognition 2024-05-28 v1 Artificial Intelligence

Abstract

Continual Test-Time Adaptation (CTTA), which aims to adapt the pre-trained model to ever-evolving target domains, emerges as an important task for vision models. As current vision models appear to be heavily biased towards texture, continuously adapting the model from one domain distribution to another can result in serious catastrophic forgetting. Drawing inspiration from the human visual system's adeptness at processing both shape and texture according to the famous Trichromatic Theory, we explore the integration of a Mixture-of-Activation-Sparsity-Experts (MoASE) as an adapter for the CTTA task. Given the distinct reaction of neurons with low/high activation to domain-specific/agnostic features, MoASE decomposes the neural activation into high-activation and low-activation components with a non-differentiable Spatial Differentiate Dropout (SDD). Based on the decomposition, we devise a multi-gate structure comprising a Domain-Aware Gate (DAG) that utilizes domain information to adaptive combine experts that process the post-SDD sparse activations of different strengths, and the Activation Sparsity Gate (ASG) that adaptively assigned feature selection threshold of the SDD for different experts for more precise feature decomposition. Finally, we introduce a Homeostatic-Proximal (HP) loss to bypass the error accumulation problem when continuously adapting the model. Extensive experiments on four prominent benchmarks substantiate that our methodology achieves state-of-the-art performance in both classification and segmentation CTTA tasks. Our code is now available at https://github.com/RoyZry98/MoASE-Pytorch.

Keywords

Cite

@article{arxiv.2405.16486,
  title  = {Decomposing the Neurons: Activation Sparsity via Mixture of Experts for Continual Test Time Adaptation},
  author = {Rongyu Zhang and Aosong Cheng and Yulin Luo and Gaole Dai and Huanrui Yang and Jiaming Liu and Ran Xu and Li Du and Yuan Du and Yanbing Jiang and Shanghang Zhang},
  journal= {arXiv preprint arXiv:2405.16486},
  year   = {2024}
}