Papers › Decomposing the Neurons: Activation Sparsity via Mixture of Experts for Continual Test...

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

26 May 2024arXiv:2405.16486archive 2025-07-28

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

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.16486")

Code

Syntology Ran 11 of 15 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 2 ran · our draft was wrong; 7 ran with no contract checked.

By repository: official repository: 15 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

royzry98/moase-pytorch officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 11 ran; 1 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
2ran · our draft was wrong
7ran
4unverified

Licence: 15 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from royzry98/moase-pytorch. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

boolean_string royzry98/moase-pytorch/utils.py official repository ran · violated contract no licence file found · pointer only · b1f9cebf0d177140 · report
collect_stats royzry98/moase-pytorch/norm.py official repository ran no licence file found · pointer only · c5f915703f30ab89 · report
configure_model royzry98/moase-pytorch/norm.py official repository ran no licence file found · pointer only · 8f537ee8d4a9b397 · report
convert_tensor_to_image royzry98/moase-pytorch/utils.py official repository ran no licence file found · pointer only · 18b41dffa7b33f34 · report
make_custom_dataset royzry98/moase-pytorch/robustbench/loaders.py official repository ran no licence file found · pointer only · 4aedf5bc9100546f · report
param_augment royzry98/moase-pytorch/cotta_vit_opd.py official repository ran no licence file found · pointer only · 660527f45da7af3b · report
pil_loader royzry98/moase-pytorch/robustbench/loaders.py official repository ran · honoured contract no licence file found · pointer only · f321f54723433661 · report
pytorch_evaluate royzry98/moase-pytorch/utils.py official repository ran no licence file found · pointer only · 02d40fa8eb9d95d7 · report
reverse_kl royzry98/moase-pytorch/cotta_vit_opd.py official repository ran fingerprinted no licence file found · pointer only · 6bc4cd7ae8f4b04d · report
setup_source royzry98/moase-pytorch/cifar100c_vit.py official repository ran · our draft was wrong no licence file found · pointer only · 721e565ebd5fda4e · report
update_ema_variables royzry98/moase-pytorch/cotta_vit.py official repository ran · our draft was wrong no licence file found · pointer only · a77d556c0aea19c1 · report
accimage_loader royzry98/moase-pytorch/robustbench/loaders.py official repository unverified no licence file found · pointer only · 404fb2b2daa1ae78 · report
load_cifar10 royzry98/moase-pytorch/robustbench/data.py official repository unverified no licence file found · pointer only · 2ef65c34f0fa8042 · report
load_cifar100 royzry98/moase-pytorch/robustbench/data.py official repository unverified no licence file found · pointer only · 52acd5b81cee97b1 · report
softmax_entropy royzry98/moase-pytorch/cotta_vit.py official repository unverified no licence file found · pointer only · e589e47d748af885 · report

Tasks

Mixture-of-ExpertsTest-time Adaptationfeature selection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdapterDropoutFeature Selection

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections