Adapt in the Wild: Test-Time Entropy Minimization with Sharpness and Feature Regularization
Not on the map. Why?
Abstract (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.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 82 of its 98 references that are in the map. First posted on arXiv 5 Sep 2025.
Builds on
82 of 98 references.
References · 82
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2016Layer Normalizationcited by 5,669
- 2023Let's Verify Step by Stepcited by 3,789
- 2022A ConvNet for the 2020scited by 3,579
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2017Non-local Neural Networkscited by 2,293
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,838
- 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,591
- 2018Group Normalizationcited by 1,524
38 more
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
- 2021VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learningcited by 1,057
- 2017StarGAN: Unified Generative Adversarial Networks for Multi-Domain Image-to-Image Translationcited by 1,039
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
- 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 848
- 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 763
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 719
- 2017Maximum Classifier Discrepancy for Unsupervised Domain Adaptationcited by 683
- 2022Continual Test-Time Domain Adaptationcited by 525
- 2022Efficient Test-Time Model Adaptation without Forgettingcited by 469
- 2020Improving robustness against common corruptions by covariate shift adaptationcited by 431
- 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 415
- 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 407
- 2021Understanding Dimensional Collapse in Contrastive Self-supervised Learningcited by 378
- 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 377
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2018Generalizing Across Domains via Cross-Gradient Trainingcited by 268
- 2022Contrastive Test-Time Adaptationcited by 261
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 260
- 2019Fast AutoAugmentcited by 243
- 2020Evaluating Prediction-Time Batch Normalization for Robustness under Covariate Shiftcited by 236
- 2020Universal Source-Free Domain Adaptationcited by 220
- 2022Test-Time Training with Masked Autoencoderscited by 212
- 2022Improving Out-of-Distribution Robustness via Selective Augmentationcited by 202
- 2018Do CIFAR-10 Classifiers Generalize to CIFAR-10?cited by 200
- 2018Multi-Adversarial Domain Adaptationcited by 196
- 2023Robust Test-Time Adaptation in Dynamic Scenarioscited by 189
- 2020Source Data-absent Unsupervised Domain Adaptation through Hypothesis Transfer and Labeling Transfercited by 173
- 2021On Feature Decorrelation in Self-Supervised Learningcited by 160
- 2021Neural Collapse Under MSE Loss: Proximity to and Dynamics on the Central Pathcited by 158
- 2017Learning Discrete Representations via Information Maximizing Self-Augmented Trainingcited by 149
- 2024MathScale: Scaling Instruction Tuning for Mathematical Reasoningcited by 144
- 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
- 2021Source-free Domain Adaptation via Avatar Prototype Generation and Adaptationcited by 111
50 most cited of 82 All 82 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2024COME: Test-time adaption by Conservatively Minimizing Entropy
- 2024Resilient Practical Test-Time Adaptation: Soft Batch Normalization Alignment and Entropy-driven Memory Bank
- 2026Rethinking the Teacher-Student Framework for Test-Time Adaptation
- 2025Ranked Entropy Minimization for Continual Test-Time Adaptation
- 2023Feature Alignment and Uniformity for Test Time Adaptation
- 2024Everything to the Synthetic: Diffusion-driven Test-time Adaptation via Synthetic-Domain Alignment
- 2026Rethinking Entropy Minimization in Test-Time Adaptation for Autoregressive Models
- 2025MoETTA: Test-Time Adaptation Under Mixed Distribution Shifts with MoE-LayerNorm