Papers › Dynamic Domains, Dynamic Solutions: DPCore for Continual Test-Time Adaptation

Dynamic Domains, Dynamic Solutions: DPCore for Continual Test-Time Adaptation

15 Jun 2024arXiv:2406.10737archive 2025-07-28

Yunbei Zhang, Akshay Mehra, Jihun Hamm

Continual Test-Time Adaptation (CTTA) seeks to adapt a source pre-trained model to continually changing, unlabeled target domains. Existing TTA methods are typically designed for environments where domain changes occur sequentially and can struggle in more dynamic scenarios, as illustrated in Figure \ref{fig:settings}. Inspired by the principles of online K-Means, we introduce a novel approach to CTTA through visual prompting. We propose a \emph{Dynamic Prompt Coreset} that not only preserves knowledge from previously visited domains but also accommodates learning from new potential domains. This is complemented by a distance-based \emph{Weight Updating Mechanism} that ensures the coreset remains current and relevant. Our approach employs a fixed model architecture alongside the coreset and an innovative updating system to effectively mitigate challenges such as catastrophic forgetting and error accumulation. Extensive testing on four widely-used benchmarks demonstrates that our method consistently outperforms state-of-the-art alternatives in both classification and segmentation CTTA tasks across the structured and dynamic CTTA settings, with 99% fewer trainable parameters.

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="2406.10737")

Code

Syntology Ran 8 of 11 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 5 ran with no contract checked.

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

zybeich/DPCore officialmentioned on GitHubpytorchMIT 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

11 samples harvested; 8 ran; 0 honoured the contract we drafted; 3 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.

3ran · our draft was wrong
5ran
3unverified

Licence: 0 of the 11 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 zybeich/DPCore. “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.

collect_params zybeich/DPCore/imagenet/dpcore.py official repository ran MIT (permissive) · cbef8046cedb6b50 · report
collect_params zybeich/DPCore/imagenet/tent.py official repository ran MIT (permissive) · 63832452f78dcb58 · report
create_cdc_sequence zybeich/DPCore/imagenet/utils_cdc.py official repository ran MIT (permissive) · bee09399f981525b · report
forward_and_adapt zybeich/DPCore/imagenet/tent.py official repository ran · our draft was wrong MIT (permissive) · dae52c9027c48afd · report
inject_trainable_vida zybeich/DPCore/imagenet/inject_vida.py official repository ran MIT (permissive) · 108a82af5a25b36a · report
setup_source zybeich/DPCore/imagenet/imagenetc.py official repository ran · our draft was wrong MIT (permissive) · 721e565ebd5fda4e · report
update_ema_variables zybeich/DPCore/imagenet/cotta.py official repository ran · our draft was wrong MIT (permissive) · a77d556c0aea19c1 · report
update_ema_variables zybeich/DPCore/imagenet/vida.py official repository ran MIT (permissive) · f11bbc6fc4cc3fe7 · report
load_cifar10 zybeich/DPCore/imagenet/robustbench/data.py official repository unverified MIT (permissive) · 2ef65c34f0fa8042 · report
load_cifar100 zybeich/DPCore/imagenet/robustbench/data.py official repository unverified MIT (permissive) · 52acd5b81cee97b1 · report
softmax_entropy zybeich/DPCore/imagenet/dpcore.py official repository unverified MIT (permissive) · 7b9d88d29b50aca6 · report

Tasks

Test-time AdaptationVisual Prompting

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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