Elamur Research

Think Just Enough: Sequence-Level Entropy as a Confidence Signal for LLM Reasoning

Paper · 2025 · Aman Sharma and Paras Chopra

Summary

Reasoning LLMs often keep generating long chains of thought after they have already reached the right answer, which raises inference cost and latency. The authors propose a training-free, model-agnostic way to decide when a model has reasoned enough. For each completion, they convert the top-20 token logprobs into a normalized distribution, compute its Shannon entropy, and average it over all generated tokens. If this mean entropy after the first reasoning step is at or below a model-specific threshold, the answer is returned. Otherwise, the model continues through up to four sequential refinement steps.

The threshold is calibrated from a handful of labeled examples. The default rule is the mean entropy of correct answers, and three alternatives are derived from information theory and Bayesian decision theory. Tests cover GPT-OSS 120B, GPT-OSS 20B and Qwen3-30B-A3B-Instruct-2507 on AIME'24, AIME'25 and GPQA Diamond. Across these, the method cuts tokens by roughly 25–50% with no statistically significant accuracy loss.

The authors argue that this kind of entropy-based self-confidence emerges from modern reasoning post-training. They report it is missing in models such as Llama 3.3 70B. This makes the method a cheap lever for adaptive test-time compute.

Key points

  • Confidence signal and thresholds: The signal is sequence-level mean Shannon entropy (in bits) over top-k = 20 logprobs, computed separately for each completion. The four threshold rules are Entropy Mean, Information-Theoretic Optimal, Bayesian Optimal and Scale-Invariant Universal.
  • Experimental setup:
    • Benchmarks: AIME'24 (30 problems), AIME'25 (30) and GPQA Diamond (198).
    • Decoding: temperature 0.7, with 4 sequential steps of up to 8,192 tokens each (32,768 tokens maximum).
    • Hardware: GPT-OSS models ran locally in FP4, and Qwen3 was accessed through an API.
  • Qwen3 30B results: On AIME'24, step-1 accuracy was 70%, while questions below the threshold reached 100% accuracy (Cohen's d = 1.95). On AIME'25, the corresponding figures were 60% and 100% (d = 1.82).
  • Savings: Reported token savings range from about 27% to 51% depending on the model and dataset. For GPT-OSS 120B, the appendix shows a large separation between the entropy of correct and incorrect answers (d ≈ 0.82).
  • Deployment and budget:
    • Calibration needs 5–10 examples for Entropy Mean, 15–20 for Information-Theoretic Optimal, and 25 or more for the Bayesian and Universal methods.
    • A token-budget scheme shifts compute saved on low-entropy questions to uncertain ones while keeping the total budget fixed.
    • The authors say code will be released upon publication.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Fields, topics and concepts

Cite

Cite as Aman Sharma and Paras Chopra. 2025. Think Just Enough: Sequence-Level Entropy as a Confidence Signal for LLM Reasoning. arXiv:2510.08146.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2510.08146 · arXiv 2510.08146

@misc{sharma2025think,
  title = {{Think Just Enough: Sequence-Level Entropy as a Confidence Signal for LLM Reasoning}},
  author = {Aman Sharma and Paras Chopra},
  year = {2025},
  doi = {10.48550/arxiv.2510.08146},
  eprint = {2510.08146},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2510.08146}
}

References

10 references, 5 of them with a card of ours. Each entry links to our card when we hold the work, else to OpenAlex and Google Scholar searches for it.

  1. Saurav Kadavath, Tom Conerly, Amanda Askell, Tom Henighan, Dawn Drain, Ethan Perez, Nicholas Schiefer, Zac Hatfield-Dodds, Nova DasSarma, Eli Tran-Johnson, et al. Language models (mostly) know what they know. arXiv preprint arXiv:2207.05221, 2022. OpenAlex ↗ · Scholar ↗
  2. Lorenz Kuhn, Yarin Gal, and Sebastian Farquhar. Semantic uncertainty: Linguistic invariances for uncertainty estimation in natural language generation. International Conference on Learning Representations, 2023.
  3. Y. Laaouach. Halt-cot: Model-agnostic early stopping for chain-of-thought reasoning via answer entropy. ICML 2025 MusIML Workshop, 2025. OpenAlex ↗ · Scholar ↗
  4. Yifei Liu, Feiwen Zhu, Jianfeng Gao, and Bill Dolan. Answer convergence as a signal for early stopping in reasoning. arXiv preprint arXiv:2506.02536, 2025.
  5. Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35: 27730–27744, 2022.
  6. Tal Schuster, Adam Fisch, Jai Gupta, Mostafa Dehghani, Dara Bahri, Vinh Q Tran, Yi Tay, and Donald Metzler. Confident adaptive language modeling. Advances in Neural Information Processing Systems, 2022. OpenAlex ↗ · Scholar ↗
  7. Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. Self-consistency improves chain of thought reasoning in language models. International Conference on Learning Representations, 2023.
  8. Ji Xin, Raphael Tang, Jaejun Lee, Yaoliang Yu, and Jimmy Lin. Deebert: Dynamic early exiting for accelerating bert inference. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 2246–2251, 2020.
  9. Feiwen Zhu, Jianfeng Gao, and Kai Wei Chang. Adadec: Uncertainty-guided adaptive decoding for llm-based code generation. arXiv preprint arXiv:2506.08980, 2025a. — arXiv:2506.08980 OpenAlex ↗ · Scholar ↗
  10. Hao Zhu, Lingfeng Zhang, Qian Chen, Wen Wang, and Han Xu. Uncertainty-guided chain-of-thought for code generation with llms. Proceedings of the AAAI Conference on Artificial Intelligence, 2025b. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/sharma-2025-think-just-enough-sequence-level/