mlsanityData to 14 Oct 2026

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

arXiv 2509.04977 ↗First posted 5 Sep 2025cs.LGcited by 3

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  3. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  4. 2016Layer Normalizationcited by 5,669
  5. 2023Let's Verify Step by Stepcited by 3,789
  6. 2022A ConvNet for the 2020scited by 3,579
  7. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
  8. 2017Non-local Neural Networkscited by 2,293
  9. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
  10. 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,838
  11. 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,591
  12. 2018Group Normalizationcited by 1,524
38 more
  1. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  2. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
  3. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
  4. 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
  5. 2021VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learningcited by 1,057
  6. 2017StarGAN: Unified Generative Adversarial Networks for Multi-Domain Image-to-Image Translationcited by 1,039
  7. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
  8. 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 848
  9. 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 763
  10. 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 719
  11. 2017Maximum Classifier Discrepancy for Unsupervised Domain Adaptationcited by 683
  12. 2022Continual Test-Time Domain Adaptationcited by 525
  13. 2022Efficient Test-Time Model Adaptation without Forgettingcited by 469
  14. 2020Improving robustness against common corruptions by covariate shift adaptationcited by 431
  15. 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 415
  16. 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 407
  17. 2021Understanding Dimensional Collapse in Contrastive Self-supervised Learningcited by 378
  18. 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 377
  19. 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
  20. 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
  21. 2018Generalizing Across Domains via Cross-Gradient Trainingcited by 268
  22. 2022Contrastive Test-Time Adaptationcited by 261
  23. 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 260
  24. 2019Fast AutoAugmentcited by 243
  25. 2020Evaluating Prediction-Time Batch Normalization for Robustness under Covariate Shiftcited by 236
  26. 2020Universal Source-Free Domain Adaptationcited by 220
  27. 2022Test-Time Training with Masked Autoencoderscited by 212
  28. 2022Improving Out-of-Distribution Robustness via Selective Augmentationcited by 202
  29. 2018Do CIFAR-10 Classifiers Generalize to CIFAR-10?cited by 200
  30. 2018Multi-Adversarial Domain Adaptationcited by 196
  31. 2023Robust Test-Time Adaptation in Dynamic Scenarioscited by 189
  32. 2020Source Data-absent Unsupervised Domain Adaptation through Hypothesis Transfer and Labeling Transfercited by 173
  33. 2021On Feature Decorrelation in Self-Supervised Learningcited by 160
  34. 2021Neural Collapse Under MSE Loss: Proximity to and Dynamics on the Central Pathcited by 158
  35. 2017Learning Discrete Representations via Information Maximizing Self-Augmented Trainingcited by 149
  36. 2024MathScale: Scaling Instruction Tuning for Mathematical Reasoningcited by 144
  37. 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
  38. 2021Source-free Domain Adaptation via Avatar Prototype Generation and Adaptationcited by 111

50 most cited of 82 All 82 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024COME: Test-time adaption by Conservatively Minimizing Entropy
  2. 2024Resilient Practical Test-Time Adaptation: Soft Batch Normalization Alignment and Entropy-driven Memory Bank
  3. 2026Rethinking the Teacher-Student Framework for Test-Time Adaptation
  4. 2025Ranked Entropy Minimization for Continual Test-Time Adaptation
  5. 2023Feature Alignment and Uniformity for Test Time Adaptation
  6. 2024Everything to the Synthetic: Diffusion-driven Test-time Adaptation via Synthetic-Domain Alignment
  7. 2026Rethinking Entropy Minimization in Test-Time Adaptation for Autoregressive Models
  8. 2025MoETTA: Test-Time Adaptation Under Mixed Distribution Shifts with MoE-LayerNorm