Buffer layers for Test-Time Adaptation

Hyeongyu Kim, Geonhui Han, Dosik Hwang
10/24/2025
cs.LGcs.CV

Official code: hyeongyu-kim/Buffer_TTA (7 stars, last commit 2026-03-23).

Abstract

In recent advancements in Test Time Adaptation (TTA), most existing methodologies focus on updating normalization layers to adapt to the test domain. However, the reliance on normalization-based adaptation presents key challenges. First, normalization layers such as Batch Normalization (BN) are highly sensitive to small batch sizes, leading to unstable and inaccurate statistics. Moreover, normalization-based adaptation is inherently constrained by the structure of the pre-trained model, as it relies on training-time statistics that may not generalize well to unseen domains. These issues limit the effectiveness of normalization-based TTA approaches, especially under significant domain shift. In this paper, we introduce a novel paradigm based on the concept of a Buffer layer, which addresses the fundamental limitations of normalization layer updates. Unlike existing methods that modify the core parameters of the model, our approach preserves the integrity of the pre-trained backbone, inherently mitigating the risk of catastrophic forgetting during online adaptation. Through comprehensive experimentation, we demonstrate that our approach not only outperforms traditional methods in mitigating domain shift and enhancing model robustness, but also exhibits strong resilience to forgetting. Furthermore, our Buffer layer is modular and can be seamlessly integrated into nearly all existing TTA frameworks, resulting in consistent performance improvements across various architectures. These findings validate the effectiveness and versatility of the proposed solution in real-world domain adaptation scenarios. The code is available at https://github.com/hyeongyu-kim/Buffer_TTA.

View on arXivView PDF

Code Implementations(1)

Buffer TTA

71C, C++Oct 13, 20257 months ago

Similar Papers

Cite this paper

@article{kim2025buffer,
  title  = {Buffer layers for Test-Time Adaptation},
  author = {Hyeongyu Kim and Geonhui Han and Dosik Hwang},
  year   = {2025},
  eprint = {2510.21271},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.21271v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.21271.svg)](https://codeofpaper.com/paper/2510.21271)

Discussion