SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.16486 · 2024

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

arXiv · PDF · Open in the Atlas

Code that ran

12 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 10 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2405.16486.json · badge: /api/ran/2405.16486.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
royzry98/moase-pytorch canonical (classifier label)
classifier basis: census
12 ran · 3 no recorded run
FunctionStatusWhere it lives
boolean_string Ran
ran, violated the contract we drafted
royzry98/moase-pytorch/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from PruneTruong/GOCor, is pointer only (licence: NOASSERTION) · get_code("b1f9cebf0d177140")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

collect_stats Ran
ran; our contract draft was wrong, not the code
royzry98/moase-pytorch/norm.py
pointer only (licence: NONE) · get_code("c5f915703f30ab89")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

configure_model Ran
ran; our contract draft was wrong, not the code
royzry98/moase-pytorch/norm.py
pointer only (licence: NONE) · get_code("8f537ee8d4a9b397")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

convert_tensor_to_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
royzry98/moase-pytorch/utils.py
pointer only (licence: NONE) · get_code("18b41dffa7b33f34")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_custom_dataset Ran
ran; our contract draft was wrong, not the code
royzry98/moase-pytorch/robustbench/loaders.py
pointer only (licence: NONE) · get_code("4aedf5bc9100546f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

param_augment Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
royzry98/moase-pytorch/cotta_vit_opd.py
pointer only (licence: NONE) · get_code("660527f45da7af3b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pil_loader Ran
ran, honoured the contract we drafted
royzry98/moase-pytorch/robustbench/loaders.py
pointer only (licence: NONE) · get_code("f321f54723433661")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pytorch_evaluate Ran
ran; our contract draft was wrong, not the code
royzry98/moase-pytorch/utils.py
pointer only (licence: NONE) · get_code("02d40fa8eb9d95d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

reverse_kl Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
royzry98/moase-pytorch/cotta_vit_opd.py
pointer only (licence: NONE) · get_code("6bc4cd7ae8f4b04d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

setup_source Ran
ran; our contract draft was wrong, not the code
royzry98/moase-pytorch/cifar100c_vit.py
pointer only (licence: NONE) · get_code("721e565ebd5fda4e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

softmax_entropy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
royzry98/moase-pytorch/cotta_vit.py
pointer only (licence: NONE) · get_code("e589e47d748af885")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

update_ema_variables Ran
ran; our contract draft was wrong, not the code
royzry98/moase-pytorch/cotta_vit.py
pointer only (licence: NONE); the stored copy get_code serves, from joe817/gcal, is pointer only (licence: NONE) · get_code("a77d556c0aea19c1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

accimage_loader Not yet run
unverified (harvested, no recorded run)
royzry98/moase-pytorch/robustbench/loaders.py
pointer only (licence: NONE); the stored copy get_code serves, from RobustBench/robustbench, is pointer only (licence: NOASSERTION) · get_code("404fb2b2daa1ae78")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_cifar10 Not yet run
unverified (harvested, no recorded run)
royzry98/moase-pytorch/robustbench/data.py
pointer only (licence: NONE) · get_code("2ef65c34f0fa8042")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_cifar100 Not yet run
unverified (harvested, no recorded run)
royzry98/moase-pytorch/robustbench/data.py
pointer only (licence: NONE) · get_code("52acd5b81cee97b1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, royzry98/moase-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 13 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 2 the same month, 10 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
pil_loader 66 other papers
49 dated earlier, 2 the same month, 13 later, 2 same year, order not determinable
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
and 63 more not named here
accimage_loader 39 other papers
27 dated earlier, 1 the same month, 9 later, 2 same year, order not determinable
1702.00758 (2017-02)
HashNet: Deep Learning to Hash by Continuation
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
1805.00907 (2018-05)
Glow: Graph Lowering Compiler Techniques for Neural Networks
and 36 more not named here
update_ema_variables 14 other papers
8 dated earlier, 6 later · 2 only as an assembly brick
2203.13591 (2022-03)
Continual Test-Time Domain Adaptation
2212.09713 (2022-12)
A Probabilistic Framework for Lifelong Test-Time Adaptation
2306.04344 (2023-06)
ViDA: Homeostatic Visual Domain Adapter for Continual Test Time Adaptation
and 11 more not named here
boolean_string 10 other papers
8 dated earlier, 1 later, 1 same year, order not determinable
1908.09355 (2019-08)
Patient Knowledge Distillation for BERT Model Compression
1912.05524 (2019-12)
GLU-Net: Global-Local Universal Network for Dense Flow and Correspondences
2006.11280 (2020-06)
Self-PU: Self Boosted and Calibrated Positive-Unlabeled Training
and 7 more not named here
softmax_entropy 8 other papers
5 dated earlier, 3 later · 2 only as an assembly brick
2303.13899 (2023-03)
Robust Test-Time Adaptation in Dynamic Scenarios
2306.04344 (2023-06)
ViDA: Homeostatic Visual Domain Adapter for Continual Test Time Adaptation
2309.14949 (2023-09)
Towards Real-World Test-Time Adaptation: Tri-Net Self-Training with Balanced Normalization
and 5 more not named here
setup_source 4 other papers
2 dated earlier, 2 later
2105.08714 (2021-05)
Fighting Gradients with Gradients: Dynamic Defenses against Adversarial Attacks
2306.04344 (2023-06)
ViDA: Homeostatic Visual Domain Adapter for Continual Test Time Adaptation
2406.10737 (2024-06)
DPCore: Dynamic Prompt Coreset for Continual Test-Time Adaptation
and 1 more not named here
collect_stats 3 other papers
3 dated earlier
2105.08714 (2021-05)
Fighting Gradients with Gradients: Dynamic Defenses against Adversarial Attacks
2311.14402 (2023-11)
TEA: Test-time Energy Adaptation
2404.06065 (2024-04)
Unified Entropy Optimization for Open-Set Test-Time Adaptation
configure_model 3 other papers
3 dated earlier
2105.08714 (2021-05)
Fighting Gradients with Gradients: Dynamic Defenses against Adversarial Attacks
2311.14402 (2023-11)
TEA: Test-time Energy Adaptation
2404.06065 (2024-04)
Unified Entropy Optimization for Open-Set Test-Time Adaptation
load_cifar10 2 other papers
1 dated earlier, 1 later
2307.03133 (2023-07)
Benchmarking Test-Time Adaptation against Distribution Shifts in Image Classification
2406.10737 (2024-06)
DPCore: Dynamic Prompt Coreset for Continual Test-Time Adaptation
load_cifar100 2 other papers
1 dated earlier, 1 later
2307.03133 (2023-07)
Benchmarking Test-Time Adaptation against Distribution Shifts in Image Classification
2406.10737 (2024-06)
DPCore: Dynamic Prompt Coreset for Continual Test-Time Adaptation
make_custom_dataset 1 other paper
1 dated earlier
2307.03133 (2023-07)
Benchmarking Test-Time Adaptation against Distribution Shifts in Image Classification
param_augment 1 other paper
1 later
2605.17743 (2026-05)
MoASE++: Mixture of Activation Sparsity Experts with Domain-Adaptive On-policy Distillation for Continual Test Time Adaptation
reverse_kl 1 other paper
1 later
2605.17743 (2026-05)
MoASE++: Mixture of Activation Sparsity Experts with Domain-Adaptive On-policy Distillation for Continual Test Time Adaptation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.16486")
get_code_for_paper("2405.16486")
have("2405.16486")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.16486.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.16486.svg)](https://syntology.ai/paper/2405.16486)

Connect an agent — have() is free.