TL;DR
To scale up LLM performance at test-time, researchers often sample multiple responses and use an external reward model to pick the best one—a process that is computationally expensive. This paper introduces Entropy Centroids, a physics-inspired intrinsic reward that tracks when a model is uncertain during its generation process. By selecting responses where uncertainty occurs early (exploration) and resolves into confidence later (exploitation), this method consistently outperforms existing intrinsic baselines without any external model overhead.
What Problem Does This Paper Address?
An increasingly popular way to boost large language model (LLM) performance is "test-time scaling"—sampling $N$ different candidate answers for a single prompt and selecting the best one (as seen in systems like Gemini Deep Think or Grok 4 Heavy).
However, deciding which candidate is the best usually requires an external verifier or a Process Reward Model (PRM). Training these verifiers is incredibly expensive, requires massive human annotation, and introduces significant computational overhead during inference.
As an alternative, researchers have tried using the model's own internal signals, like token-level confidence or entropy (uncertainty). Unfortunately, token-level signals are notoriously noisy; an LLM might look highly confident while outputting a simple arithmetic step, even if the overall reasoning chain is completely off track. Naive aggregations (like averaging token entropy across the whole response) wash away the vital temporal structure of how the model arrived at its answer.
Methods
The authors propose a two-step framework to turn noisy token-level entropy into a stable, structured reward signal:
- High Entropy Phase (HEP): Instead of looking at isolated tokens, the authors group consecutive high-entropy tokens into a coarser unit called a High Entropy Phase. A HEP begins when token entropy crosses a high threshold ($\theta_{high}$) and ends only when a window of $k$ consecutive tokens falls below a low threshold ($\theta_{low}$). This effectively filters out single-token noise.
- Entropy Centroid ($C$): Borrowing from the concept of "center of mass" in physics, the authors calculate the center of uncertainty along the generation trajectory. For each HEP, its "mass" ($m_n$) is the number of tokens it contains, and its "position" ($p_n$) is its midpoint index. The Entropy Centroid is the weighted average position of all HEPs, normalized by the total sequence length ($L$):
$$C = \frac{\sum_{n=1}^N m_n \cdot p_n}{L \cdot \sum_{n=1}^N m_n}$$
During test-time scaling, the Lowest Centroid method filters out anomalous trajectories (like repetitive loops) and selects the candidate response with the lowest centroid score.
Datasets
The method was evaluated across four distinct domains using well-established benchmarks:
- Mathematics: AIME 2025 and Minerva Math (competition-level problems).
- Code Generation: BigCodeBench and LiveCodeBench (complex programming and self-repair tasks).
- Logical Reasoning: Synlogic (algorithmic logic puzzles like Sudoku and mazes).
- Agentic Tasks: $\tau^2$-Bench (multi-turn customer service simulations requiring tool use and planning).
Key Insights and Ideas
- Early Uncertainty is Productive Exploration: The core philosophical insight is that high entropy isn't always bad. In correct trajectories, high entropy tends to cluster early in the response, representing healthy "exploration" of different reasoning paths. In contrast, incorrect trajectories show high uncertainty near the end, signaling unresolved confusion.
- Binary Mass Approximation Cleans the Signal: Rather than using raw, continuous entropy values in the centroid formula, treating every token inside a HEP as having a mass of 1 and tokens outside as 0 acts as an excellent denoising mechanism. As shown in Figure 3, this group-level abstraction significantly outperforms raw entropy calculations.
Key Results
- Consistent Performance Boosts: Across 30 different model-dataset combinations (with models ranging from 14B to 480B parameters), the Lowest Centroid method achieved an average absolute accuracy improvement of 5.3% over the standard Pass@1 baseline.
- Outperforming Intrinsic Baselines: It consistently beat other self-evaluation methods like Self-Certainty (which measures average KL divergence) and Tail Confidence, particularly on complex agentic and coding tasks where window-based confidence metrics often degrade below the baseline.
- Persistent Scaling: Unlike other intrinsic metrics that saturate early, the Lowest Centroid method shows steady, monotonic performance gains as the number of sampled responses ($N$) scales up from 2 to 64.
Limitations and Future Work
- White-Box Requirement: The method relies entirely on having access to token-level log probabilities (logits) during generation. This makes it challenging to deploy out-of-the-box with closed-source, black-box LLM APIs that do not expose comprehensive token-level logprobs.
- Hyperparameter Robustness: While the authors proved that the framework is highly robust to variations in thresholds ($\theta_{high}, \theta_{low}, k$), these parameters were kept static across all models. Tuning them per model family might yield further gains.
- Future Directions: The authors suggest that the Entropy Centroid could be extended beyond a test-time selection metric to serve as an intrinsic reward signal during reinforcement learning (RL) training, guiding models to inherently adopt an "explore-then-exploit" reasoning structure.
Summary updated