The Detection--Extraction Gap: Models Know the Answer Before They Can Say It

Hanyang Wang, Mingxuan Zhu
4/8/2026
cs.CLcs.AIcs.IT

Official code: EdWangLoDaSc/know2say (3 stars, last commit 2026-04-25).

Abstract

Modern reasoning models continue generating long after the answer is already determined. Across five model configurations, two families, and three benchmarks, we find that \textbf{52--88\% of chain-of-thought tokens are produced after the answer is recoverable} from a partial prefix. This post-commitment generation reveals a structural phenomenon: the \textbf{detection--extraction gap}. Free continuations from early prefixes recover the correct answer even at 10\% of the trace, while forced extraction fails on 42\% of these cases. The answer is recoverable from the model state, yet prompt-conditioned decoding fails to extract it. We formalize this mismatch via a total-variation bound between free and forced continuation distributions, yielding quantitative estimates of suffix-induced shift. Exploiting this asymmetry, we propose Black-box Adaptive Early Exit (\BAEE{}), which uses free continuations for both detection and extraction, truncating \textbf{70--78\% of serial generation} while \textbf{improving accuracy by 1--5\,pp} across all models. For thinking-mode models, early exit prevents post-commitment overwriting, yielding gains of up to 5.8\,pp; a cost-optimized variant achieves 68--73\% reduction at a median of 9 API calls. Code is available at https://github.com/EdWangLoDaSc/know2say.

View on arXivView PDF

Code Implementations(1)

Know2Say: Models know the answer before they can say it. A black-box framework for exposing the detection–extraction gap and enabling adaptive early exit in reasoning LLMs.

30PythonApr 6, 20265 months ago

Similar Papers

Cite this paper

@article{wang2026detectionextraction,
  title  = {The Detection--Extraction Gap: Models Know the Answer Before They Can Say It},
  author = {Hanyang Wang and Mingxuan Zhu},
  year   = {2026},
  eprint = {2604.06613},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.06613v1}
}

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

Discussion