Manuscript Offprint

arXiv:2610.21286

The Density of Thought: Predicting and Steering Reasoning in Large Language Models

Tanush Kalhan, Anupam Chattopadhyay, Sriram Ranga, Amritendu Mukherjee

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The Uniform Information Density hypothesis holds that effective communication distributes information evenly across an utterance. We investigate whether variation in information density across chain-of-thought (CoT) reasoning steps predicts answer correctness and can serve as a controllable inference-time target. We prompt frozen pretrained models to solve problems via CoT and measure the density of each reasoning step with two independent metrics: LP variance (how unevenly information is distributed across steps, computed as the variance in mean per-token negative log-likelihood) and the Caveman compression ratio. We then test whether density correlates with, and can be steered to improve, answer correctness. Experiments across six model scales, two training paradigms, and 60 GSM8K problems yield four main findings. First, lower LP variance predicts correctness in supervised fine-tuned (SFT) models, but this relationship weakens with scale and reverses in reinforcement-learning (RL) distilled models. Training paradigm therefore appears more influential than model size in determining density behaviour. Second, synthetic experiments reveal an intrinsic complexity preference: models trained on uniformly distributed data learn complexity-favouring distributions 2.0–2.6 times more accurately than simplicity-favouring ones. Third, direct inference-time density steering reduces accuracy from 60.0% to 8.3%, indicating that natural density patterns are functionally important to reasoning. Fourth, pre-generation nudging combining hint injection with contrastive KV-cache steering improves accuracy by 13.3 percentage points, consistent across both metrics. Finally, we introduce Entropy-Gated Density Routing (EGDR), a self-supervised method using token-level Shannon entropy to gate proportional KV-cache adjustments during generation, improving accuracy by 10.0 percentage points without any external guidance. Code is available at https://github.com/tanushhh21/density_of_thought.

1 Introduction, Motivation, and Contributions

Context and problem statement. Chain-of-thought (CoT) prompting (15) has become the dominant strategy for eliciting multi-step reasoning from large language models (LLMs), improving performance on arithmetic, symbolic, and commonsense tasks by decomposing complex problems into explicit intermediate steps. Despite this empirical success, we lack a principled understanding of why a given reasoning trace succeeds or fails. Two traces produced for the same problem can be nearly identical in length, vocabulary, and surface style, yet arrive at opposite answers. This suggests that correctness is not determined solely by what a model writes, but by how it organises the flow of information across its reasoning steps. The central problem we address is therefore the following: is there a measurable, structural property of a CoT trace that reveals whether the underlying reasoning is sound, and if so, can that property be controlled at inference time to make reasoning more reliable?

Information density in reasoning. We propose that the relevant property is information density: the degree to which each reasoning step contributes new, hard-to-predict content rather than predictable filler. Reasoning steps are not informationally uniform. A step that performs a genuine computation, such as evaluating an arithmetic expression or applying a rule, is difficult for the model to predict and therefore carries high information content. A step that merely restates the problem or provides connective phrasing is easy to predict and carries little. Because CoT reasoning unfolds autoregressively, the density of each step is shaped by, and in turn shapes, the internal state the model carries forward through generation. This coupling makes density a natural candidate for a correctness signal: the way information is distributed across steps may reflect whether the model is genuinely reasoning or merely producing plausible-looking text.

Motivation from Uniform Information Density. This intuition has a well-established theoretical grounding in psy-

*Corresponding Author: Tanush.Kalhan.ug24@plaksha.edu.in cholinguistics. The Uniform Information Density (UID) hypothesis (7) holds that efficient communicators distribute information as evenly as possible across an utterance, avoiding both dense spikes that overload the listener and sparse stretches that waste communicative capacity. UID has been validated across languages and discourse contexts (12, 1), and it offers a concrete, testable prediction when transferred to machine reasoning: if reasoning behaves like communication, then correct traces should exhibit smoother, more uniform information density than incorrect ones. We take this prediction as our starting point and ask whether it holds for LLM reasoning, how it interacts with a model's scale and training, and whether it can be turned from a passive descriptor into an active lever for improving accuracy.

Findings and framing. Our answer is nuanced. Information density does signal reasoning quality, but the direction of the signal is not universal: it depends on the paradigm under which a model was trained rather than on its size. More importantly, we find that density is not a superficial stylistic feature that can be freely rewritten. It is functionally load-bearing, encoding the model's accumulated computational context within the key-value (KV) cache, so that overriding it mid-generation destroys reasoning coherence rather than improving it. This distinction, between density as a signal of reasoning quality and density as a tool for influencing it, organises the paper. It also yields a design principle for inference-time control: effective intervention must work with a model's natural density organisation rather than against it.

Contributions. Mirroring the structure of our findings, this paper makes the following contributions:

• Density as a regime-dependent signal. We present the first systematic study of information density as a correctness signal in CoT reasoning across six model scales and two training paradigms, establishing that lower LP variance predicts correctness under supervised fine-tuning but reverses under reinforcement-learning distillation, so training paradigm is more influential than model size.

• An intrinsic complexity preference. Through controlled synthetic experiments following Ranga et al. (11), we show that LLMs possess an intrinsic structural bias toward syntactically complex, high-density text, a 2.0–2.6×2.0–2.6\times KL asymmetry consistent across all model sizes, confirming that this bias is a property of the learning process rather than of training data.

• Density is functionally load-bearing. We demonstrate that naïve density steering fails catastrophically ( −51.7pp-51.7pp) and derive a precise design principle, preserve step-level generation integrity, that explains the failure and guides all subsequent methods.

• Density as an effective tool. We introduce a principled nudging pipeline (NuRL-style hint injection with contrastive KV cache steering) that improves accuracy by +13.3pp on GSM8K, with density footprints confirmed by two independent measurements, and EGDR, a self-supervised method that uses per-token Shannon entropy to gate proportional KV cache correction during generation, improving accuracy by +10.0pp without any external input (p=0.019).

References (13)