mlsanityData to 13 Oct 2026

Contrastive Residual Energy Test-time Adaptation

arXiv 2505.19607 ↗First posted 26 May 2025cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Test-time adaptation (TTA) enhances model robustness by enabling adaptation to target distributions that differ from training distributions, improving real-world generalizability. However, most existing TTA approaches focus on adjusting the conditional distribution and therefore exhibit poor calibration, as they rely on uncertain predictions in the absence of labels. Energy-based TTA frameworks provide an alternative by modeling the marginal distribution of target data without depending on label predictions, but their reliance on costly sampling hinders scalability in real-world scenarios where decisions must be made without latency. In this work, we propose Contrastive Residual Energy Test-time Adaptation (CreTTA), a practical solution for reliable adaptation. We theoretically reformulate the marginal distribution adaptation as learning a residual energy function. This formulation leads to a contrastive objective where the intractable partition function mathematically cancels out, removing sampling and approximation error.Crucially, our analysis reveals that this design prevents overfitting through an adaptive gradient reweighting mechanism that leverages relative energy differences, avoiding the self-confirming bias of entropy minimization. Extensive experiments demonstrate that CreTTA achieves scalable and well-calibrated adaptation under real-world computational constraints.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 24 of its 38 references that are in the map. First posted on arXiv 26 May 2025.

Builds on

24 of 38 references.

References · 24

  1. 2022Training language models to follow instructions with human feedbackcited by 15,856
  2. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,986
  3. 2017On Calibration of Modern Neural Networkscited by 4,902
  4. 2016Wide Residual Networkscited by 3,063
  5. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,862
  6. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,371
  7. 2020Energy-based Out-of-distribution Detectioncited by 1,297
  8. 2017Deeper, Broader and Artier Domain Generalizationcited by 984
  9. 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 846
  10. 2020RobustBench: a standardized adversarial robustness benchmarkcited by 658
  11. 2022Continual Test-Time Domain Adaptationcited by 523
  12. 2022Efficient Test-Time Model Adaptation without Forgettingcited by 466
12 more
  1. 2020Improving robustness against common corruptions by covariate shift adaptationcited by 429
  2. 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 412
  3. 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 403
  4. 2021How to Train Your Energy-Based Modelscited by 271
  5. 2023Robust Test-Time Adaptation in Dynamic Scenarioscited by 185
  6. 2022NOTE: Robust Continual Test-time Adaptation Against Temporal Correlationcited by 150
  7. 2023On Pitfalls of Test-Time Adaptationcited by 64
  8. 2016Deep Directed Generative Models with Energy-Based Probability Estimationcited by 34
  9. 2023Test-Time Domain Adaptation by Learning Domain-Aware Batch Normalizationcited by 31
  10. 2021JEM++: Improved Techniques for Training JEMcited by 28
  11. 2023EGC: Image Generation and Classification via a Diffusion Energy-Based Modelcited by 16
  12. 2020Contrastive Divergence Learning is a Time Reversal Adversarial Gamecited by 7

Built on by

Not cited yet.