Rethinking Entropy in Test-Time Adaptation: The Missing Piece from Energy Duality

Mincheol Park, Heeji Won, Won Woo Ro, Suhyun Kim
1/1/2025

No confident code implementation found for this paper.

Abstract

Test-time adaptation (TTA) aims to preserve model performance under distribution shifts. Yet, most existing methods rely on entropy minimization for confident predictions.

Show full abstract

This paper re-examines the sufficiency of entropy minimization by analyzing its dual relationship with energy. We view energy as a proxy for likelihood, where lower energy indicates higher observability under the learned distribution. We uncover that entropy and energy are tightly associated, controlled by the model’s confidence or ambiguity, and show that simultaneous reduction of both is essential. Importantly, we reveal that entropy minimization alone neither ensures energy reduction nor supports reliable likelihood estimation, and it requires explicit discriminative guidance to reach zero entropy. To combat these problems, we propose a twofold solution. First, we introduce a likelihood-based objective grounded in energy-based models, which reshape the energy landscape to favor test samples. For stable and scalable training, we adopt sliced score matching—a sampling-free, Hessian-insensitive approximation of Fisher divergence. Second, we enhance entropy minimization with a cross-entropy that treats the predicted class as a target to promote discriminability. By counterbalancing entropy and energy through the solution of multi-objective optimization, our unified TTA, ReTTA, outperforms existing entropy-or energy-based approaches across diverse distribution shifts.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{park2025rethinking,
  title  = {Rethinking Entropy in Test-Time Adaptation: The Missing Piece from Energy Duality},
  author = {Mincheol Park and Heeji Won and Won Woo Ro and Suhyun Kim},
  year   = {2025},
  doi    = {10.52202/085713-1570},
  url    = {https://doi.org/10.52202/085713-1570},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/b5d0d8c76fb697330132d2275bb5924410f7970e.svg)](https://codeofpaper.com/paper/b5d0d8c76fb697330132d2275bb5924410f7970e)

Discussion