Juwon Kang1 | Nayeong Kimg2 | Jungseul Ok2 | Suha Kwak2 | ||||||||||||||||
1 GenGenAI | 2 POSTECH |
Test-time adaptation (TTA) has emerged as a promising approach to dealing with latent distribution shifts between training and testing data. However, most of existing TTA methods often struggle with small input batches, as they heavily rely on batch statistics that become less reliable as batch size decreases. In this paper, we introduce memory-based batch normalization (MemBN) to enhance the robustness of TTA across a wide range of batch sizes. MemBN leverages statistics memory queues within each batch normalization layer, accumulating the latest test batch statistics. Through dedicated memory management and aggregation algorithms, it enables to estimate reliable statistics that well represent the data distribution of the test domain in hand, leading to improved performance and robust test-time adaptation. Extensive experiments under a large variety of TTA scenarios demonstrate MemBN's superiority in terms of both accuracy and robustness.
This work was supported by Samsung Research Funding & Incubation Center of Samsung Electronics (SRFC-IT1801-52), Samsung Electronics Co., Ltd (IO201210-07948-01), the NRF grant (NRF-2021R1A2C3012728) and the IITP grants funded by Ministry of Science and ICT, Korea (No.RS-2021-II210739).