Adaptive and Balanced Re-initialization for Long-timescale Continual Test-time Domain Adaptation

Yanshuo Wang, Jinguang Tong, Jun Lan, Weiqiang Wang, Huijia Zhu, Haoxing Chen, Xuesong Li, Jie HongarXiv 2026

TL;DR

Continual test-time domain adaptation (CTTA) methods often suffer from error accumulation and catastrophic performance collapse when run over long periods. This paper introduces Adaptive-and-Balanced Re-initialization (ABR), a method that monitors "label flips" to dynamically trigger a balanced weight reset. This approach prevents long-term performance degradation without requiring external validation data.

What Problem Does This Paper Address?

When machine learning models are deployed in the real world, they encounter non-stationary, continually changing environments—such as a autonomous vehicle navigating transitions from day to night, rain, snow, and fog. Continual Test-Time Domain Adaptation (CTTA) aims to adapt a pre-trained source model on the fly using streaming unlabelled test data.

Long-timescale CTTA scenario where a model must adapt across a long sequence of changing domains.

However, existing CTTA methods rely heavily on techniques like entropy minimization or pseudo-labeling. Over long timescales, these techniques amplify small confirmation errors, causing the model to overfit to recent noise and eventually suffer from catastrophic performance collapse. While periodically resetting the model back to its original source state can mitigate this, knowing exactly when to reset without access to a ground-truth validation set remains a major challenge.

Methods

The authors propose Adaptive-and-Balanced Re-initialization (ABR), a plug-and-play policy driven by two main components:

  1. Adaptive Trigger: The system tracks "label flip"—the difference in class predictions for the same images between the current adapted model and the model from the previous timestep. By smoothing this metric with an Exponential Moving Average (EMA), ABR detects when the label flip rate begins to soar rapidly. A reset is triggered when the slope from the historical minimum label flip point exceeds a dynamically scaled threshold ($\beta$).
  2. Balanced Re-initialization: Instead of a hard reset that completely wipes the model's memory, ABR uses a "shrink-restore" strategy. It blends the current adapted weights ($\theta_{t-1}$) with the original source weights ($\theta_{source}$) using a dynamic coefficient ($\lambda_t$) calculated directly from the label flip magnitude. If the flip is massive, it restores more source knowledge; if it is small, it retains more adapted knowledge.
The framework of the proposed Adaptive-and-Balanced Re-initialization (ABR) approach.

Datasets

The authors evaluated ABR across three large-scale, long-timescale CTTA benchmarks:

  • CIN-C: A long-sequence variant of ImageNet-C featuring severe image corruptions.
  • CIN-3DCC: A benchmark focusing on 3D common corruptions.
  • CCC (Continual Changing Corruptions): Evaluated across CCC-Easy, CCC-Medium, and CCC-Hard settings to test adaptation under varying transition speeds and seeds.

Key Insights and Ideas

  • Label Flip as a Health Signal: The core "aha moment" of the paper is that a sudden spike in label flips serves as an explicit, unsupervised warning sign of impending performance loss.
  • Random Resets Hurt: Arbitrarily resetting the model at fixed intervals (e.g., every 10k steps) does not guarantee stability and can actively degrade performance if done at the wrong time. Timing is everything.
Fig. 3. Model long-term performance under different reset timings. Using RPL [13], we trigger the reset using four ran- domly chosen timings (the blue line). We also use the no-reset policy for comparison (the orange line). The dotted green line represents the reset time point. We can see from the figure that these four reset timings do not yield better performance, indi- cating that suitable re-initialization times are needed.
  • The "Shrink-Restore" Balance: Wiping a model clean discards valuable domain-specific knowledge learned during adaptation. A soft, adaptive blend preserves the best of both worlds: robust features from the source domain and specialized features from the target domain.

Key Results

  • State-of-the-Art Performance: ABR achieved a mean accuracy of 40.2% across all benchmarks, outperforming the best baseline method (RDumb) by 2.3% overall.
  • Robustness to Collapse: On highly challenging datasets like CCC-Hard—where traditional methods like CPL completely collapsed to a near-zero accuracy of 0.14%—ABR maintained a robust 12.7% accuracy.
  • No Validation Data Required: Unlike RDumb, which requires a separate validation set to tune fixed reset intervals, ABR operates fully online, unsupervised, and adaptively.

Limitations and Future Work

While ABR demonstrates strong performance, the paper notes a few areas for improvement:

  • Hyperparameter Dependency: The threshold parameter $\beta$ was set to a fixed value ($2e-6$) across all experiments. The authors do not deeply explore how to automatically optimize or scale this threshold for entirely unseen model architectures beyond ResNet-50.
  • Integration Scope: Although the authors state that ABR can be integrated into most existing CTTA methods, the evaluation in this paper was primarily built on top of the EATA framework. Further validation across structurally diverse CTTA baselines remains future work.

Summary updated

BibTeX
@misc{wang2026adaptive,
  author = {Yanshuo Wang and Jinguang Tong and Jun Lan and Weiqiang Wang and Huijia Zhu and Haoxing Chen and Xuesong Li and Jie Hong},
  title = {{Adaptive and Balanced Re-initialization for Long-timescale Continual Test-time Domain Adaptation}},
  year = {2026},
  eprint = {2602.06328},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.06328},
}
Figure