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

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

About

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.

Rongyu Zhang, Aosong Cheng, Yulin Luo, Gaole Dai, Huanrui Yang, Jiaming Liu, Ran Xu, Li Du, Yuan Du, Yanbing Jiang, Shanghang Zhang• 2024

Related benchmarks

TaskDatasetResultRank
Semantic segmentationCityscapes to ACDC (test)
mIoU62.2
38
Optic Disc and Optic Cup SegmentationOD/OC (Domain D)
DSC63.27
10
Optic Disc and Optic Cup SegmentationOD/OC (Domain B)
DSC78.46
10
Optic Disc and Optic Cup SegmentationOD/OC Domain C
DSC72.24
10
Optic Disc and Optic Cup SegmentationOD/OC Domain A
DSC74.45
10
Optic Disc and Optic Cup SegmentationOD/OC Domain E
DSC67.32
10
Showing 6 of 6 rows

Other info

Follow for update