Test-time Adaptation in Non-stationary Environments via Adaptive Representation Alignment
Zhen-Yu Zhang, Zhiyu Xie, Huaxiu Yao, Masashi Sugiyama
Abstract
Adapting to distribution shifts is a critical challenge in modern machine learning, especially as data in many real-world applications accumulate continuously in the form of streams. We investigate the problem of sequentially adapting a model to non-stationary environments, where the data distribution is continuously shifting and only a small amount of unlabeled data are available each time . Continual test-time adaptation methods have shown promising results by using reliable pseudo-labels, but they still fall short in exploring representation alignment with the source domain in non-stationary environments. In this paper, we propose to leverage non-stationary representation learning to adaptively align the unlabeled data stream, with its changing distributions, to the source data representation using a sketch of the source data. To alleviate the data scarcity in non-stationary representation learning, we propose a novel adaptive representation alignment algorithm called Ada-ReAlign. This approach employs a group of base learners to explore different lengths of the unlabeled data stream, which are adaptively combined by a meta learner to handle unknown and continuously evolving data distributions. The proposed method comes with nice theoretical guarantees under convexity assumptions. Experiments on both benchmark datasets and a real-world application validate the effectiveness and adaptability of our proposed algorithm.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- On the Learnability of Test-Time Adaptation: A Recovery Complexity Perspective cites Test-Time Adaptation by Causal Trimming
- On the Learnability of Test-Time Adaptation: A Recovery Complexity Perspective cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- On the Learnability of Test-Time Adaptation: A Recovery Complexity Perspective cites Test-Time Training with Self-Supervision for Generalization under Distribution Shifts
- Test-Time Adaptation by Causal Trimming cites Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
- Test-Time Adaptation by Causal Trimming cites Improving robustness against common corruptions by covariate shift adaptation
- Test-Time Adaptation by Causal Trimming cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- Improving robustness against common corruptions by covariate shift adaptation cites AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
- Tent: Fully Test-Time Adaptation by Entropy Minimization cites Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
- Tent: Fully Test-Time Adaptation by Entropy Minimization cites AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
- Tent: Fully Test-Time Adaptation by Entropy Minimization cites Improving robustness against common corruptions by covariate shift adaptation
- Reliably detecting model failures in deployment without labels cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- SS-TPT: Stability and Suitability-Guided Test-Time Prompt Tuning for Adversarially Robust Vision-Language Models cites AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
- SS-TPT: Stability and Suitability-Guided Test-Time Prompt Tuning for Adversarially Robust Vision-Language Models cites Tent: Fully Test-Time Adaptation by Entropy Minimization
Cited by top-tier papers4
- Reliably detecting model failures in deployment without labelsViet Nguyen, Changjian Shui, Vijay Giri, Siddharth Arya et al.NeurIPS 2025 · 3 citations
- On the Learnability of Test-Time Adaptation: A Recovery Complexity PerspectiveZhi Zhou, Ming Yang, Shi-Yu Tian, Kun-Yang Yu et al.ICML 2026 · 2 citations
- Test-Time Adaptation by Causal TrimmingYingnan Liu, Rui Qiao, Mong-Li Lee, Wynne HsuNeurIPS 2025 · 2 citations
- SS-TPT: Stability and Suitability-Guided Test-Time Prompt Tuning for Adversarially Robust Vision-Language ModelsSunoh Kim, Daeho UmICML 2026
Builds on24
- Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
- Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain AdaptationJian Liang, Dapeng Hu, Jiashi FengICML 2020 · 1,624 citations
- AugMix: A Simple Data Processing Method to Improve Robustness and UncertaintyDan Hendrycks, Norman Mu, Ekin Dogus Cubuk, Barret Zoph et al.ICLR 2020 · 1,572 citations
- Test-Time Training with Self-Supervision for Generalization under Distribution ShiftsYu Sun, Xiaolong Wang, Zhuang Liu, John Miller et al.ICML 2020 · 1,220 citations
- Improving robustness against common corruptions by covariate shift adaptationSteffen Schneider, Evgenia Rusak, Luisa Eck, Oliver Bringmann et al.NeurIPS 2020 · 688 citations
Related papers
- Learning to Adapt to Evolving DomainsHong Liu, Mingsheng Long, Jianmin Wang, Yu WangNeurIPS 2020 · 63 citations
- Robust Test-Time Adaptation in Dynamic ScenariosLonghui Yuan, Binhui Xie, Shuang LiCVPR 2023
- NOTE: Robust Continual Test-time Adaptation Against Temporal CorrelationTaesik Gong, Jongheon Jeong, Taewon Kim, Yewon Kim et al.NeurIPS 2022 · 227 citations
- Continual Test-Time Domain AdaptationQin Wang, Olga Fink, Luc Van Gool, Dengxin DaiCVPR 2022 · 383 citations
- Continual-MAE: Adaptive Distribution Masked Autoencoders for Continual Test-Time AdaptationJiaming Liu, Ran Xu, Senqiao Yang, Renrui Zhang et al.CVPR 2024 · 15 citations
