arXiv:2610.36709cs.CLOct 2026

Manuscript Offprint

arXiv:2610.36709

Is Token Confidence Just Chain Length? A Signal-Processing Audit of Reasoning Traces

Pragna Mallappa

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

Pragna Mallappa

Keshav Memorial Institute of Technology

mallappa.pragna2197@gmail.com

Abstract—Reasoning language models answer math problems by writing long chains of thought, and sampling many chains per problem and taking a majority vote raises accuracy at a large cost in generated text. A popular way to cut that cost scores each chain by the model's confidence in each token it writes, where a token is a word or part of a word. The method averages this confidence over a sliding window of 2048 tokens and keeps or stops chains based on the lowest average. We treat the confidence, recorded token by token, as a signal in the sense of audio or radio, and examine the method with standard signal-processing tools such as spectral analysis and statistical tests for detecting a sudden change. We sampled 16 chains for each of 500 problems from two math benchmarks with a small open reasoning model. The windowed-minimum score turns out to measure mostly how long a chain is. Ranking chains by length alone does as well as or better than the confidence score, and once length is accounted for the score carries no information about correctness. Signal processing explains why: the minimum of a longer stretch of a slowly drifting signal is lower by chance alone, and the confidence signal drifts slowly enough that this effect dominates. The spectrum does hold a small signal that length does not explain, since incorrect chains carry more rapid token-to-token fluctuation, but it is too weak to improve the vote. For stopping chains early, neither the sliding average nor a classical change detector beats the simpler choice of sampling fewer chains.

I. INTRODUCTION

Large language models now solve many math problems by first writing out a long chain of reasoning, called a chain of thought, and only then stating an answer [1], [2]. Because the model samples each token at random from its predicted distribution, two chains for the same problem can reach different answers. Their failures are not spread evenly either: on grade-school word problems, a model can be nearly perfect at step-by-step arithmetic yet fail systematically on problems that require counting under restrictions [3]. A simple and strong way to exploit this is to sample several chains and return the most common answer, a method known as self-consistency or majority voting [4]. Its cost is that each extra chain adds thousands of generated tokens. This has motivated methods that try to tell good chains from bad ones, so that bad chains can be left out of the vote or stopped before they finish [5], [6].

One family of such methods uses nothing but the model's own confidence [7], [8]. At every step the model assigns a probability to each possible next token. When this probability is concentrated on one candidate the model is sure about what comes next, and when it is spread over several candidates it is not. The shape of this distribution says more than its top candidate alone, and how it changes under different sampling temperatures has been used to judge generated text without any reference answer [9]. DeepConf [8] turns this into one number per token, called the token confidence. It scores a chain by averaging token confidence over a sliding window of 2048 tokens and keeping the lowest average. The score is used in two ways. Offline, low-scoring chains are dropped before the vote. Online, a chain is stopped as soon as its windowed confidence falls below a threshold that is set from a few warmup chains.

This paper looks at the same computation through the lens of signal processing. The token confidences of one chain form a sequence indexed by position, which is a discrete-time signal in the same sense as a sampled audio waveform. Averaging over a sliding window is a moving-average filter, often called a boxcar filter because all of its weights are equal. It is a low-pass filter, meaning that it keeps slow changes in the signal and suppresses fast ones. Keeping the lowest filtered value, or stopping when the filtered value crosses a threshold, is a detector. Seen this way, a boxcar of length 2048 is a single point in a large space of filters and detectors, and nothing about the confidence signal was measured to arrive at it. Signal processing offers standard tools for measuring such a signal and for designing filters and detectors that match what is measured.

We carry out this measurement on 8000 chains from a small open reasoning model on two math benchmarks, and the answer is mostly negative. The confidence signal has a power spectrum close to 1/f, which means that most of its variance sits in slow drifts. A long moving average keeps those drifts, so the minimum of the filtered signal keeps falling as a chain gets longer, even within a single chain. As a result DeepConf's score is largely a measure of chain length, and length is known to predict correctness on its own [10]. Ranking chains by length matches or beats every confidence score we test, and once length is removed the lowest group confidence is at chance on both benchmarks. This fits a broader pattern in the evaluation of language models, where an apparent difference turns out to come from how something is measured, as when gaps between models on leaderboards come mostly from how answers are scored [11].

Our contributions are the following. We recast confidence-based chain selection as filtering followed by detection, which makes its design choices explicit and testable (Section II). We measure the spectrum of the confidence signal and find a small effect that length does not explain: incorrect chains carry relatively more power at the fastest fluctuations, and correct chains more at periods of about 18 tokens (Section IV). We show, with surrogate signals that keep or destroy the spectrum, that the length dependence of the lowest group confidence follows from the spectrum and the minimum operation (Section V). Finally, we cast early stopping as change detection and find that neither the boxcar threshold nor a CUSUM detector beats sampling fewer chains at equal cost (Section VI).