arXiv:2610.27566cs.CLOct 2026

Manuscript Offprint

arXiv:2610.27566

Learned Readout Tokens for Extracting Large Language Model Confidence

Nima Seifi, Martin Ester

Abstract

Large language models (LLMs) are increasingly used within everyday applications where their responses have significant downstream impacts. For responsible deployment of such systems, we desire insight into how much we can trust their individual outputs. A popular approach for estimating LLM confidence is to train probes on the hidden states of the LLM's tokens to predict the correctness of the model's output. These probes typically read hidden states from tokens that are already in the model's vocabulary. In this work, we introduce a new approach to confidence probes that learn a new readout token and utilize its hidden states to train the probe. We show that our learned readout approach SCRATCHPROBE outperforms its existing-token counterpart on a variety of datasets and LLMs. We also extend our method to a multi-token approach which we show provides further performance improvements. Finally, since the learned readout changes only the position a probe reads from, any existing probe can adopt it. Applied to a state-of-the-art probe, it improves AUROC on every backbone, in domain and out of domain.

Introduction

As large language models (LLMs) are increasingly utilized in high-stakes applications, the real-world consequences of their outputs are becoming more significant (Magesh et al. 2025; Morgan Stanley 2024; Jabarian and Henkel 2025; Qiu et al. 2025). We seek a calibrated confidence score: one that approximates the probability of whether a generated answer is correct. A well-calibrated model enables systems to automate decisions when the model is confident, and defer to a higher authority (human or stronger model) when uncertainty is high. This becomes especially important in high-stakes applications where the cost of an error is high.

In traditional machine learning, the confidence of a prediction is the softmax of the model's logit. LLMs inherit this convention, but an LLM is trained to predict the next token. Its logits therefore score how likely a token string is, not how likely the answer is correct. As a result, logit-derived confidence is often poorly calibrated (Jiang et al. 2021; Lin, Hilton, and Evans 2022a; Plaut, Khanh, and Trinh 2025; Lovering et al. 2025; Tian et al. 2023). This motivates investigating alternative signals for confidence estimation. Hidden states carry more information than the output distribution, so prior works train a probe on hidden states of existing tokens (Azaria and Mitchell 2023; Burns et al. 2023; Orgad et al. 2025). However, the same next-token objective shaped these hidden states, so they encode what helps predict the next token, not what predicts answer correctness. To address this, we introduce a dedicated token whose hidden state is optimized to surface information about answer correctness to the probe.

In this work, we introduce SCRATCHPROBE, a confidence-probing approach that jointly trains the embedding of a dedicated <CONF> readout token and a probe to predict answer correctness. In a causal language model, every token attends to all tokens that precede it. A readout token appended after the generated answer therefore has access to the complete question and the complete answer, so we place the <CONF> token at this position (Figure 1). The same property means a single readout token is not the only option: tokens inserted before the readout can also see the full context. We therefore extend SCRATCHPROBE by inserting multiple trainable scratch tokens before the final <CONF> readout. Prior dedicated-token methods such as Self-REF and GrACE update the backbone weights to produce the confidence token (Chuang et al. 2025; Zhang, Liu, and Patras 2026), and such fine-tuning degrades performance outside the training domain (Biderman et al. 2024). We therefore freeze the LLM parameters and optimize only the added token embedding(s) and the probe.

References (42)