TL;DR
This paper demonstrates that entropy minimization—forcing a large language model (LLM) to concentrate its probability mass on its most confident outputs—can substantially improve its reasoning capabilities in math, physics, and coding without using a single labeled example. By applying this simple objective through unsupervised finetuning, reinforcement learning, or inference-time logit adjustment, the authors show that pretrained models possess latent reasoning powers that can be unlocked entirely label-free.
What Problem Does This Paper Address?
Adapting pretrained LLMs for complex downstream tasks typically requires heavy supervision, either through Supervised Finetuning (SFT) on high-quality labeled data or Reinforcement Learning (RL) with human/automated feedback (e.g., GRPO, RLOO). However, gathering labeled data or building robust reward verifiers for complex domains like scientific coding or advanced mathematics is incredibly difficult and expensive.
The authors investigate a compelling alternative: Can we elicit strong reasoning capabilities from pretrained LLMs without any labeled data or external supervision? They exploit a fundamental intuition: modern LLMs undergo massive pretraining and annealing, meaning they are already quite capable. If a model is reasonably capable, it is more likely to be correct when it is confident. Entropy minimization (EM) acts as a mechanism to eliminate hesitation, forcing the model to commit to its most confident internal reasoning paths.
Methods
The authors systematically explore entropy minimization across three distinct stages of the LLM lifecycle:
- EM-FT (Direct Entropy Minimization through Token-Level Finetuning): This method mirrors standard SFT but operates on unlabeled outputs sampled directly from the model. It directly minimizes token-level entropy across the generated trajectories.
- EM-RL (Entropy Minimization with Negative Entropy Rewards): The model is trained using reinforcement learning policy gradients, where the only reward signal is the negative entropy of the generation. The authors explore both trajectory-level rewards (EM-RL-sequence) and token-level rewards (EM-RL-token).
- EM-INF (Inference-time Logit Optimization): A completely parameter-free approach. During decoding, the model's output logits are optimized via gradient descent at each step to minimize token-level entropy, bounded by a threshold ($\delta$) to prevent collapsing into pure greedy decoding. It requires no model parameter updates or training data.
The exact mathematical formulations and gradients for these approaches are detailed in the paper's overview:
Datasets
- Training Data: The unsupervised training methods (EM-FT and EM-RL) utilized 35K unlabeled prompts sampled from NuminaMath and 25K prompts from the Eurus-2 coding split.
- Evaluation Benchmarks:
- Math: MATH-500, AMC, AIME 2024, Minerva Math, and OlympiadBench.
- Coding: LeetCode, LiveCodeBench-v2, and SciCode (a challenging scientific coding benchmark).
- Science: UGPhysics (specifically the Semiconductor Physics subset).
- Alignment/Values: IndVal (Individualistic Value Reasoning), used to probe the limitations of the approach.
Key Insights and Ideas
- Pretraining Priors are Underutilized: Pretrained models often already "know" how to solve complex problems, but their token distributions remain diffuse (uncertain). Minimizing entropy effectively "sharpens" the model's focus, capitalizing on latent knowledge.
- Labels Aren't Mandatory for RL Success: Unsupervised RL using pure negative entropy can match or exceed the performance of models trained on 60K ground-truth labeled examples. This challenges the assumption that RL for reasoning strictly requires external verifiers (like code executors or math parsers).
- Inference Optimization Beats Heavy Sampling: Instead of generating multiple diverse paths and using majority voting (Self-Consistency), optimizing the logits of a single path at inference time (EM-INF) yields superior results at a fraction of the computational cost.
Key Results
- Competitive with Labeled Baselines: On Qwen-7B, unsupervised EM-RL achieved comparable or superior performance to strong RL baselines like GRPO and RLOO that were trained on 60K labeled examples, notably outperforming them on LeetCode, Minerva, and AMC.
- Outperforming Frontier Models on SciCode: At inference time, EM-INF enabled Qwen-2.5-32B-Instruct to achieve a 10.7% success rate on the main problems of the SciCode benchmark, outperforming proprietary giants like GPT-4o (9.2%), Claude 3 Opus (4.7%), and Gemini 1.5 Pro (7.7%).
- High Computational Efficiency: EM-INF achieved better accuracy on the AMC benchmark while being 3x more efficient than traditional inference-time scaling methods like self-consistency.
Limitations and Future Work
- Dependence on Base Model Capability: Entropy minimization hinges on the assumption that the model's confidence correlates with correctness. When tested on Llama-3.1-8B-Instruct—which had weaker initial math reasoning behaviors—EM was less effective and occasionally degraded performance.
- Failure on Alignment Tasks: On the IndVal (value reasoning) dataset, EM provided no improvement. This is because alignment tasks require navigating pluralistic human values where pretraining confidence biases do not inherently map to the correct target behavior.
- Future Directions: The authors suggest that future post-training and inference-time scaling algorithms should include standalone entropy minimization as a standard baseline to clearly separate true algorithmic innovation from the intrinsic capabilities already present in the base model.
Summary updated