Taming the Thinker: Conditional Entropy Shaping for Adaptive LLM Reasoning

Shuyu Wei, Jian Sun, Delai Qiu, Yining Wang, Shengping Liu +4 more
5/19/2026
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Entropy-based deep reasoning has emerged as a promising direction for improving the reasoning capabilities of Large Language Models (LLMs), but existing methods often either increase response length indiscriminately or shorten responses at the cost of accuracy. To better balance this trade-off, we introduce Conditional Entropy Shaping (CES), a framework that dynamically controls token-level response entropy, enabling LLMs to produce concise solutions on simple problems while encouraging deeper exploration on hard ones. Built on DAPO, CES uses token-level entropy as an uncertainty signal and applies a conditional bidirectional policy: it penalizes high-entropy "forking point" tokens on correct reasoning paths to improve conciseness, and rewards them on incorrect paths to encourage exploration and error correction. We implement CES on DeepSeek-R1-Distill-7B and evaluate it on 12 mathematical benchmarks. CES consistently improves average accuracy while reducing response length relative to DAPO, and supplementary experiments show similar trends on a smaller 1.5B backbone and on out-of-domain benchmarks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — 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{wei2026taming,
  title  = {Taming the Thinker: Conditional Entropy Shaping for Adaptive LLM Reasoning},
  author = {Shuyu Wei and Jian Sun and Delai Qiu and Yining Wang and Shengping Liu and Jiaen Liang and Ying Fu and Wei Huang and Jitao Sang},
  year   = {2026},
  eprint = {2605.19358},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.19358v1}
}

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/2605.19358.svg)](https://codeofpaper.com/paper/2605.19358)

Discussion