paper-with-me

홈 › Papers

Adapt in the Wild: Test-Time Entropy Minimization with Sharpness and Feature Regularization

2025-09-05 · Shuaicheng Niu, Guohao Chen, Deyu Chen, Yifan Zhang, Jiaxiang Wu, Zhiquan Wen, Yaofo Chen, Peilin Zhao, Chunyan Miao, Mingkui Tan arxiv

Test-time adaptation (TTA) may fail to improve or even harm the model performance when test data have: 1) mixed distribution shifts, 2) small batch sizes, 3) online imbalanced label distribution shifts. This is often a key obstacle preventing existing TTA methods from being deployed in the real world. In this paper, we investigate the unstable reasons and find that the batch norm layer is a crucial factor hindering TTA stability. Conversely, TTA can perform more stably with batch-agnostic norm layers, i.e., group or layer norm. However, we observe that TTA with group and layer norms does not always succeed and still suffers many failure cases, i.e., the model collapses into trivial solutions by assigning the same class label for all samples. By digging into this, we find that, during the collapse process: 1) the model gradients often undergo an initial explosion followed by rapid degradation, suggesting that certain noisy test samples with large gradients may disrupt adaptation; and 2) the model representations tend to exhibit high correlations and classification bias. To address this, we first propose a sharpness-aware and reliable entropy minimization method, called SAR, for stabilizing TTA from two aspects: 1) remove partial noisy samples with large gradients, 2) encourage model weights to go to a flat minimum so that the model is robust to the remaining noisy samples. Based on SAR, we further introduce SAR^2 to prevent representation collapse with two regularizers: 1) a redundancy regularizer to reduce inter-dimensional correlations among centroid-invariant features; and 2) an inequity regularizer to maximize the prediction entropy of a prototype centroid, thereby penalizing biased representations toward any specific class. Promising results demonstrate that our methods perform more stably over prior methods and are computationally efficient under the above wild test scenarios.

📄 PDF Abstract BibTeX arXiv:2509.04977

Code (0)

등록된 구현이 없습니다.

Tasks

Test-time Adaptation

Similar Papers 제목 키워드 기반

Ranked Entropy Minimization for Continual Test-Time Adaptation

2025-05-22 · Jisu Han, Jaemin Na, Wonjun Hwang

Test-time adaptation aims to adapt to realistic environments in an online manner by learning during test time. Entropy minimization has emerged as a principal strategy for test-time adaptation due to its efficiency and a…

Test-time Adaptation

LookSharp: Attention Entropy Minimization for Test-Time Adaptation

2025-11-24 · Yash Mali, Evan Shelhamer arxiv

Test-time adaptation (TTA) updates models during inference to reduce error on distribution shifts. While entropy minimization over the output distribution has proven effective as a TTA loss, we study using the intermedia…

Test-time Adaptation

Attention Bootstrapping for Multi-Modal Test-Time Adaptation

2025-03-04 · Yusheng Zhao, Junyu Luo, Xiao Luo, Jinsheng Huang 외

Test-time adaptation aims to adapt a well-trained model to potential distribution shifts at test time using only unlabeled test data, without access to the original training data. While previous efforts mainly focus on a…

Test-time Adaptation

REALM: Robust Entropy Adaptive Loss Minimization for Improved Single-Sample Test-Time Adaptation

2023-09-07 · Skyler Seto, Barry-John Theobald, Federico Danieli, Navdeep Jaitly 외

Fully-test-time adaptation (F-TTA) can mitigate performance loss due to distribution shifts between train and test data (1) without access to the training data, and (2) without knowledge of the model training procedure. …

Test-time Adaptation

Tent: Fully Test-time Adaptation by Entropy Minimization

2020-06-18 · ICLR 2021 1 · Dequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno Olshausen 외

A model must adapt itself to generalize to new and different data during testing. In this setting of fully test-time adaptation the model has only the test data and its own parameters. We propose to adapt by test entropy…

Domain AdaptationGeneral Classificationimage-classificationImage Classification+3