Proceedings

On-Device Realistic Test-Time Adaptation via Bias-Resistant Statistical Alignment

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 899-907.

https://doi.org/10.24963/ijcai.2026/101

Abstract

Test-Time Adaptation (TTA) aims to adapt pretrained models to unseen test data, which is crucial for resource-constrained edge devices that must handle distribution shifts on the fly without human supervision. However, conventional TTA methods often fail in realistic scenarios characterized by continuous shifts and severe class imbalances while incurring prohibitive memory overheads. To enable continuous adaptation to test data on edge devices under a realistic TTA setting, we propose a Bias-Resistant Online Statistical Alignment (BOSA) method. BOSA facilitates unbiased adaptation via a discrepancy-aware statistical alignment mechanism integrated with a class-balanced memory bank. To ensure memory efficiency, we further design a saliency-guided activation sparsification and gradient reconstruction scheme, which drastically reduces memory overhead without sacrificing gradient integrity. Extensive evaluations demonstrate that BOSA achieves superior accuracy with a compact memory consumption compared to state-of-the-art methods under realistic TTA settings.

  1. Method Mot. Snow Fog Shot Def. Contr. Zoom Bright. Frost Elast. Glas. Gaus. Pixel JPEG Imp. Avg. Acc (%)↑ Cache (MB)↓ CIFAR10-C Source 63.94 74.82 74.32 34.17 52.21 52.28 58.98 90.42 57.92 72.89 44.82 27.86 40.75 68.06 26.69 56.01 0.00 BN 47.69 49.38 49.48 44.35 48.47 49.84 49.53 53.42 48.62 42.91 35.36 42.52 46.47 41.06 35.37 45.63 0.00 TENT 47.19 47.08 47.30 42.33 43.54 42.43 41.85 42.24 35.22 28.20 21.62 22.85 23.18 21.11 18.93 35.00 591.40 CoTTA 45.25 47.24 44.09 43.80 41.67 40.10 44.61 47.66 44.47 40.55 35.78 41.64 42.71 41.49 36.27 42.49 2480.73 PALM 47.68 49.16 48.94 45.53 47.77 46.13 49.42 51.51 46.61 40.73 34.12 38.44 36.69 33.74 27.53 42.93 1240.20 RoTTA 83.44 80.24 83.16 68.35 74.59 81.34 83.44 91.53 79.97 72.92 64.91 72.95 72.44 73.15 59.65 76.14 591.40 TRIBE 83.39 78.94 86.22 75.27 82.09 86.14 83.28 91.50 83.52 78.04 64.35 74.96 77.06 73.76 62.68 78.74 1182.79 EcoTTA 54.60 53.94 56.82 45.77 56.95 53.63 57.18 59.08 47.80 44.89 32.45 34.44 42.52 37.51 24.38 46.80 402.65 SURGEON(BN) 47.55 48.28 48.42 44.71 46.97 45.82 47.79 49.50 44.17 40.22 33.34 37.95 37.87 34.96 30.58 42.54 180.13 BOSA 84.25 81.74 85.82 70.81 82.88 86.65 87.28 91.60 81.30 76.28 64.87 74.91 78.65 75.34 63.36 79.05 169.00 CIFAR100-C Source 69.56 59.32 49.81 31.26 69.24 44.87 71.37 70.37 53.58 63.51 46.33 25.67 24.64 58.75 61.39 53.31 0.00 BN 63.68 57.24 52.00 52.19 63.19 60.25 64.91 65.64 58.11 58.42 52.15 51.15 58.15 50.99 50.90 57.27 0.00 TENT 64.30 55.83 48.27 33.72 31.58 18.21 15.63 10.65 6.82 5.03 4.18 4.04 4.06 3.73 3.12 20.61 914.36 CoTTA 63.23 57.38 52.17 54.85 61.88 58.30 64.97 64.39 58.70 58.69 55.00 54.81 61.83 55.69 53.82 58.38 3625.98 PALM 64.97 61.69 58.10 58.92 64.42 62.91 67.14 67.58 61.70 61.03 56.32 56.44 63.48 55.33 54.61 60.98 1812.73 RoTTA 65.68 57.68 54.01 50.34 63.76 59.65 64.53 72.50 60.78 62.61 57.05 57.45 62.12 58.84 58.11 60.34 914.36 TRIBE 71.33 65.19 61.40 58.67 68.05 69.89 72.86 73.29 67.45 64.48 58.71 57.02 64.59 58.79 59.58 64.75 1828.72 EcoTTA 63.53 55.57 53.13 51.07 62.93 61.25 66.30 67.85 58.05 58.60 44.89 49.59 57.89 54.78 54.14 57.30 654.31 SURGEON (BN) 64.95 59.51 56.38 54.00 59.30 57.44 58.50 60.51 53.14 51.75 45.98 42.89 47.20 37.54 33.73 52.19 211.96 BOSA 71.14 64.61 59.94 57.37 70.61 69.35 75.07 75.10 66.46 67.52 57.94 56.69 64.39 62.89 61.99 65.40 259.45 ImageNet-C Source 14.85 16.55 24.12 2.91 18.32 5.48 22.07 58.77 22.93 17.52 10.27 2.19 20.69 31.50 1.83 18.00 0.00 BN 26.36 33.93 47.19 15.51 14.95 17.34 38.04 63.96 31.40 43.56 15.15 14.69 47.71 39.23 14.95 30.93 0.00 TENT 35.63 40.27 48.80 22.53 18.30 11.28 17.62 23.09 6.36 4.57 1.20 1.02 1.61 1.10 0.60 15.60 2845.18 PALM 25.13 36.68 49.79 16.86 14.91 15.43 39.79 67.49 32.16 48.62 15.96 14.91 50.60 40.50 16.22 32.34 5574.75 RoTTA 25.14 29.98 44.74 14.45 14.63 21.39 39.00 65.69 35.35 47.17 23.84 14.57 51.30 47.59 21.63 33.10 2845.18 TRIBE 28.15 36.82 52.13 21.27 17.34 18.52 42.92 67.41 35.65 50.68 25.91 19.90 52.42 47.56 21.31 35.86 5690.36 EcoTTA 31.40 41.52 52.09 20.42 25.05 27.16 39.29 56.40 31.53 40.15 20.44 9.61 28.52 22.28 2.07 29.86 1335.89 SURGEON (BN) 38.18 43.48 52.59 27.09 25.15 26.79 37.00 50.09 30.37 39.94 23.93 22.87 34.43 31.82 22.53 33.75 1073.94 BOSA 27.15 34.23 48.29 21.60 19.65 23.93 42.39 66.43 35.12 49.29 28.64 22.38 52.84 49.35 27.23 36.57 807.
  2. [Adachi et al., 2025] Kazuki Adachi, Shin'ya Yamaguchi, Atsutoshi Kumagai, and Tomoki Hamagami. Test-time adaptation for regression by subspace alignment. 2025.
  3. [Boudiaf et al., 2022] Malik Boudiaf, Romain Mueller, Is- mail Ben Ayed, and Luca Bertinetto. Parameter-free online test-time adaptation. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 8334-8343, 2022.
  4. [Brahma and Rai, 2023] Dhanajit Brahma and Piyush Rai. A probabilistic framework for lifelong test-time adaptation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3582-3591, 2023.
  5. [Cai et al., 2020] Han Cai, Chuang Gan, Ligeng Zhu, and Song Han. Tinytl: Reduce memory, not parameters for efficient on-device learning. Advances in Neural Informa- tion Processing Systems, 33:11285-11297, 2020.
  6. [Chi et al., 2025] Zhixiang Chi, Li Gu, Huan Liu, Ziqiang Wang, Yanan Wu, Yang Wang, and Konstantinos N Pla- taniotis. Learning to adapt frozen clip for few-shot test- time domain adaptation. arXiv preprint arXiv:2506.17307, 2025.
  7. [Croce et al., 2020] Francesco Croce, Maksym An- driushchenko, Vikash Sehwag, Edoardo Debenedetti, Nicolas Flammarion, Mung Chiang, Prateek Mittal, and Matthias Hein. Robustbench: a standardized adversarial robustness benchmark. arXiv preprint arXiv:2010.09670, 2020.
  8. [Deng et al., 2025] Qi Deng, Shuaicheng Niu, Ronghao Zhang, Yaofo Chen, Runhao Zeng, Jian Chen, and Xiping Hu. Learning to generate gradients for test-time adaptation via test-time training layers. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 16235-16243, 2025.
  9. [Gong et al., 2022] Taesik Gong, Jongheon Jeong, Taewon Kim, Yewon Kim, Jinwoo Shin, and Sung-Ju Lee. Note: Robust continual test-time adaptation against temporal correlation. Advances in Neural Information Processing Systems, 35:27253-27266, 2022.
  10. [Hakim et al., 2023] Gustavo A. Vargas Hakim, David Os- owiechi, Mehrdad Noori, Milad Cheraghalikhani, Ali Bahri, Ismail Ben Ayed, and Christian Desrosiers. Clust3: Information invariant test-time training. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 6136-6145, October 2023.
  11. [Han et al., 2025] Jisu Han, Jihee Park, Dongyoon Han, and Wonjun Hwang. When test-time adaptation meets self- supervised models. arXiv preprint arXiv:2506.23529, 2025.
  12. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recog- nition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770-778, 2016.
  13. [Hendrycks and Dietterich, 2019] Dan Hendrycks and Thomas Dietterich. Benchmarking neural network ro- bustness to common corruptions and perturbations. arXiv preprint arXiv:1903.12261, 2019.
  14. [Hong et al., 2023] Junyuan Hong, Lingjuan Lyu, Jiayu Zhou, and Michael Spranger. Mecta: Memory-economic continual test-time model adaptation. In 2023 Interna- tional Conference on Learning Representations, 2023.
  15. [Hu et al., 2025a] Youbing Hu, Yun Cheng, Zimu Zhou, Anqi Lu, Zhiqiang Cao, and Zhijun Li. Foctta: Low- memory continual test-time adaptation with focus. arXiv preprint arXiv:2502.20677, 2025.
  16. [Hu et al., 2025b] Zixuan Hu, Yichun Hu, Xiaotong Li, Shixiang Tang, and Ling-Yu Duan. Beyond entropy: Re- gion confidence proxy for wild test-time adaptation. arXiv preprint arXiv:2505.20704, 2025.
  17. [Jang and Chung, 2025] Minguk Jang and Hye Won Chung. Label distribution shift-aware prediction refinement for test-time adaptation. Transactions on Machine Learning Research, 2025:1-43, 2025.
  18. [Jia et al., 2024] Hong Jia, Young Kwon, Alessio Orsino, Ting Dang, Domenico Talia, and Cecilia Mascolo. Tinytta: Efficient test-time adaptation via early-exit ensembles on edge devices. Advances in Neural Information Processing Systems, 37:43274-43299, 2024.
  19. [Lee et al., 2024] Jonghyun Lee, Dahuin Jung, Saehyung Lee, Junsung Park, Juhyeon Shin, Uiwon Hwang, and Sungroh Yoon. Entropy is not enough for test-time adap- tation: From the perspective of disentangled factors. arXiv preprint arXiv:2403.07366, 2024.
  20. [Li et al., 2025] Ziyue Li, Yang Li, and Tianyi Zhou. Skip a layer or loop it? test-time depth adaptation of pretrained llms. arXiv preprint arXiv:2507.07996, 2025.
  21. [Liu et al., 2025] Yating Liu, Xin Zheng, Yi Li, and Yanqing Guo. Test-time adaptation on recommender system with data-centric graph transformation. In International Joint Conference on Artificial Intelligence (IJCAI), 2025. IJCAI
  22. [Ma et al., 2025] Ke Ma, Jiaqi Tang, Bin Guo, Fan Dang, Sicong Liu, Zhui Zhu, Lei Wu, Cheng Fang, Ying-Cong Chen, Zhiwen Yu, et al. Surgeon: Memory-adaptive fully test-time adaptation via dynamic activation sparsity. In Proceedings of the Computer Vision and Pattern Recog- nition Conference, pages 30514-30523, 2025.
  23. [Ma, 2024] Jing Ma. Improved self-training for test-time adaptation. In Proceedings of the IEEE/CVF Confer- ence on Computer Vision and Pattern Recognition, pages 23701-23710, 2024.
  24. [Maharana et al., 2025] Sarthak Kumar Maharana, Baoming Zhang, and Yunhui Guo. Palm: Pushing adaptive learn- ing rate mechanisms for continual test-time adaptation. In Proceedings of the AAAI Conference on Artificial Intelli- gence, volume 39, pages 19378-19386, 2025.
  25. [Niu et al., 2023] Shuaicheng Niu, Jiaxiang Wu, Yifan Zhang, Zhiquan Wen, Yaofo Chen, Peilin Zhao, and Mingkui Tan. Towards stable test-time adaptation in dynamic wild world. arXiv preprint arXiv:2302.12400, 2023.
  26. [Niu et al., 2024] Shuaicheng Niu, Chunyan Miao, Guohao Chen, Pengcheng Wu, and Peilin Zhao. Test-time model adaptation with only forward passes. arXiv preprint arXiv:2404.01650, 2024.
  27. [Niu et al., 2025] Shuaicheng Niu, Guohao Chen, Deyu Chen, Yifan Zhang, Jiaxiang Wu, Zhiquan Wen, Yaofo Chen, Peilin Zhao, Chunyan Miao, and Mingkui Tan. Adapt in the wild: Test-time entropy minimization with sharpness and feature regularization. arXiv preprint arXiv:2509.04977, 2025.
  28. [Sahoo et al., 2024] Sabyasachi Sahoo, Mostafa Elaraby, Jonas Ngnawe, Yann Pequignot, Frédéric Precioso, and Christian Gagné. Layerwise early stopping for test time adaptation. 2024.
  29. [Shin and Kim, 2024] Jin Shin and Hyun Kim. L-tta: Lightweight test-time adaptation using a versatile stem layer. Advances in Neural Information Processing Sys- tems, 37:39325-39349, 2024.
  30. [Song et al., 2023] Junha Song, Jungsoo Lee, In So Kweon, and Sungha Choi. Ecotta: Memory-efficient continual test- time adaptation via self-distilled regularization. In Pro- ceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 11920-11929, 2023.
  31. [Su et al., 2022] Yongyi Su, Xun Xu, and Kui Jia. Revis- iting realistic test-time training: Sequential inference and adaptation by anchored clustering. Advances in Neural In- formation Processing Systems, 35:17543-17555, 2022.
  32. [Su et al., 2024a] Yongyi Su, Xun Xu, and Kui Jia. To- wards real-world test-time adaptation: Tri-net self-training with balanced normalization. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 15126-15135, 2024.
  33. [Su et al., 2024b] Zixian Su, Jingwei Guo, Kai Yao, Xi Yang, Qiufeng Wang, and Kaizhu Huang. Unraveling batch normalization for realistic test-time adaptation. In Proceedings of the AAAI Conference on Artificial Intelli- gence, volume 38, pages 15136-15144, 2024.
  34. [Sun et al., 2023] Mingjie Sun, Zhuang Liu, Anna Bair, and J Zico Kolter. A simple and effective pruning approach for large language models. arXiv preprint arXiv:2306.11695, 2023.
  35. [Tan et al., 2025] Mingkui Tan, Guohao Chen, Jiaxiang Wu, Yifan Zhang, Yaofo Chen, Peilin Zhao, and Shuaicheng Niu. Uncertainty-calibrated test-time model adaptation without forgetting. IEEE Transactions on Pattern Anal- ysis and Machine Intelligence, 2025.
  36. [Tsai et al., 2024] Yun-Yun Tsai, Fu-Chen Chen, Albert Y. C. Chen, Junfeng Yang, Che-Chun Su, Min Sun, and Cheng-Hao Kuo. Gda: Generalized diffusion for robust test-time adaptation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 23242-23251, June 2024.
  37. [Wang et al., 2020] Dequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno Olshausen, and Trevor Darrell. Tent: Fully test-time adaptation by entropy minimization. arXiv preprint arXiv:2006.10726, 2020.
  38. [Wang et al., 2022] Qin Wang, Olga Fink, Luc Van Gool, and Dengxin Dai. Continual test-time domain adaptation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7201-7211, 2022.
  39. [Wang et al., 2023] Shuai Wang, Daoan Zhang, Zipei Yan, Jianguo Zhang, and Rui Li. Feature alignment and uni- formity for test time adaptation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 20050-20060, 2023.
  40. [Wang et al., 2024] Ziqiang Wang, Zhixiang Chi, Yanan Wu, Li Gu, Zhi Liu, Konstantinos Plataniotis, and Yang Wang. Distribution alignment for fully test-time adaptation with dynamic online data streams. In European Conference on Computer Vision, pages 332-349. Springer, 2024.
  41. [Wang et al., 2025] Zhijing Wang, Ji Guo, Xu Sun, Yi Luo, and Aiguo Chen. Double-boundary awareness of shared categories for source-free universal domain adaptation. Neurocomputing, page 131473, 2025.
  42. [Xie et al., 2017] Saining Xie, Ross Girshick, Piotr Dollár, Zhuowen Tu, and Kaiming He. Aggregated residual trans- formations for deep neural networks. In Proceedings of the IEEE conference on computer vision and pattern recogni- tion, pages 1492-1500, 2017.
  43. [Yang et al., 2024] Xu Yang, Moqi Li, Jie Yin, Kun Wei, and Cheng Deng. Navigating continual test-time adaptation with symbiosis knowledge. In Proceedings of the Thirty- Third International Joint Conference on Artificial Intelli- gence, pages 5326-5334, 2024. IJCAI
  44. [Yuan et al., 2023] Longhui Yuan, Binhui Xie, and Shuang Li. Robust test-time adaptation in dynamic scenar- ios. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 15922- 15932, 2023.
  45. [Zagoruyko and Komodakis, 2016] Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint arXiv:1605.07146, 2016.
  46. [Zhao et al., 2025] Shiji Zhao, Shao-Yuan Li, Chuanxing Geng, Sheng-Jun Huang, and Songcan Chen. Dm-posa: enhancing open-world test-time adaptation with dual- mode matching and prompt-based open set adaptation. In Proceedings of the Thirty-Fourth International Joint Con- ference on Artificial Intelligence, pages 7101-7109, 2025.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards