Lune

ICML2024Top-tier venue

The Entropy Enigma: Success and Failure of Entropy Minimization

Ori Press, Ravid Shwartz-Ziv, Yann LeCun, Matthias Bethge

Abstract

Entropy minimization (EM) is frequently used to increase the accuracy of classification models when they're faced with new data at test time. EM is a self-supervised learning method that optimizes classifiers to assign even higher probabilities to their top predicted classes. In this paper, we analyze why EM works when adapting a model for a few steps and why it eventually fails after adapting for many steps. We show that, at first, EM causes the model to embed test images close to training images, thereby increasing model accuracy. After many steps of optimization, EM makes the model embed test images far away from the embeddings of training images, which results in a degradation of accuracy. Building upon our insights, we present a method for solving a practical problem: estimating a model's accuracy on a given arbitrary dataset without having access to its labels. Our method estimates accuracy by looking at how the embeddings of input images change as the model is optimized to minimize entropy. Experiments on 23 challenging datasets show that our method sets the SoTA with a mean absolute error of 5.75%5.75\%, an improvement of 29.62%29.62\% over the previous SoTA on this task. Our code is available at https://github.com/oripress/EntropyEnigma

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

13 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Right Question is Already Half the Answer: Fully Unsupervised LLM Reasoning Incentivization cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Lifelong Test-Time Adaptation via Online Learning in Tracked Low-Dimensional Subspace cites AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
  • Lifelong Test-Time Adaptation via Online Learning in Tracked Low-Dimensional Subspace cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Monitoring Risks in Test-Time Adaptation cites Protected Test-Time Adaptation via Online Entropy Matching: A Betting Approach
  • Monitoring Risks in Test-Time Adaptation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Monitoring Risks in Test-Time Adaptation cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • The Unreasonable Effectiveness of Entropy Minimization in LLM Reasoning cites Right Question is Already Half the Answer: Fully Unsupervised LLM Reasoning Incentivization
  • The Unreasonable Effectiveness of Entropy Minimization in LLM Reasoning cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Protected Test-Time Adaptation via Online Entropy Matching: A Betting Approach cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Protected Test-Time Adaptation via Online Entropy Matching: A Betting Approach cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Protected Test-Time Adaptation via Online Entropy Matching: A Betting Approach cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Protected Test-Time Adaptation via Online Entropy Matching: A Betting Approach cites Test-Time Training with Self-Supervision for Generalization under Distribution Shifts
  • The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization cites AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
  • Tent: Fully Test-Time Adaptation by Entropy Minimization cites AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. The Unreasonable Effectiveness of Entropy Minimization in LLM ReasoningShivam Agarwal, Zimin Zhang, Lifan Yuan, Jiawei Han et al.NeurIPS 2025 · 185 citations
  2. Right Question is Already Half the Answer: Fully Unsupervised LLM Reasoning IncentivizationQingyang Zhang, Haitao Wu, Changqing Zhang, Peilin Zhao et al.NeurIPS 2025 · 134 citations
  3. Protected Test-Time Adaptation via Online Entropy Matching: A Betting ApproachYarin Bar, Shalev Shaer, Yaniv RomanoNeurIPS 2024 · 27 citations
  4. Monitoring Risks in Test-Time AdaptationMona Schirmer, Metod Jazbec, Christian Andersson Naesseth, Eric T. NalisnickNeurIPS 2025 · 10 citations
  5. Lifelong Test-Time Adaptation via Online Learning in Tracked Low-Dimensional SubspaceDexin Duan, Rui Xu, Peilin Liu, Fei WenNeurIPS 2025 · 7 citations

Builds on24

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations
  3. Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
  4. AugMix: A Simple Data Processing Method to Improve Robustness and UncertaintyDan Hendrycks, Norman Mu, Ekin Dogus Cubuk, Barret Zoph et al.ICLR 2020 · 1,572 citations
  5. Test-Time Training with Self-Supervision for Generalization under Distribution ShiftsYu Sun, Xiaolong Wang, Zhuang Liu, John Miller et al.ICML 2020 · 1,220 citations

Related papers

  1. Detecting Errors and Estimating Accuracy on Unlabeled Data with Self-training EnsemblesJiefeng Chen, Frederick Liu, Besim Avci, Xi Wu et al.NeurIPS 2021 · 79 citations
  2. Bayesian Adaptation for Covariate ShiftAurick Zhou, Sergey LevineNeurIPS 2021 · 40 citations
  3. COME: Test-time Adaption by Conservatively Minimizing EntropyQingyang Zhang, Yatao Bian, Xinke Kong, Peilin Zhao et al.ICLR 2025
  4. DAAP: Privacy-Preserving Model Accuracy Estimation on Unlabeled Datasets Through Distribution-Aware Adversarial PerturbationGuodong Cao, Zhibo Wang, Yunhe Feng, Xiaowei DongUSENIX Security 2024
  5. Are Labels Always Necessary for Classifier Accuracy Evaluation?Weijian Deng, Liang ZhengCVPR 2021
Dusk over the sea between two cliffs drawn in fine vertical lines