SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.06613 · 2026

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

Hanyang Wang, Mingxuan Zhu

arXiv · PDF · Open in the Atlas

Code that ran

14 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 11 failures of our instrument; 2 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2604.06613.json · badge: /api/ran/2604.06613.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
EdWangLoDaSc/know2say canonical (classifier label)
classifier basis: census
14 ran · 2 no recorded run
FunctionStatusWhere it lives
analyze_model Ran
ran; our contract draft was wrong, not the code
EdWangLoDaSc/know2say/src/analysis.py
pointer only (licence: NONE) · get_code("6ba494a05c7fd2d2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_metrics Ran
ran; our contract draft was wrong, not the code
EdWangLoDaSc/know2say/src/dashboard.py
pointer only (licence: NONE) · get_code("ca864081606c7b8a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_efa_suffix Ran
ran; our contract draft was wrong, not the code
EdWangLoDaSc/know2say/src/experiment.py
pointer only (licence: NONE) · get_code("5dfb16867f05250c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_fracs Ran
ran, honoured the contract we drafted
EdWangLoDaSc/know2say/src/generate_figures_aime.py
pointer only (licence: NONE) · get_code("e3298cae3447744b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_psc_curve Ran
ran, honoured the contract we drafted
EdWangLoDaSc/know2say/src/generate_figures_aime.py
pointer only (licence: NONE) · get_code("e95ede383b0cdd9b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load Ran
ran; our contract draft was wrong, not the code
EdWangLoDaSc/know2say/src/generate_commitment_map.py
pointer only (licence: NONE) · get_code("b883e3d876e4cdab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load Ran
ran; our contract draft was wrong, not the code
EdWangLoDaSc/know2say/src/generate_entropy.py
pointer only (licence: NONE) · get_code("4b3b7e1d763c2bbe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_config Ran
ran; our contract draft was wrong, not the code
EdWangLoDaSc/know2say/src/dashboard.py
pointer only (licence: NONE) · get_code("317569ffeafb14ae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_cot_lengths Ran
ran; our contract draft was wrong, not the code
EdWangLoDaSc/know2say/src/baseline_experiment.py
pointer only (licence: NONE) · get_code("a0c9d69c2ebd9f7b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_results Ran
ran; our contract draft was wrong, not the code
EdWangLoDaSc/know2say/src/analysis.py
pointer only (licence: NONE) · get_code("b99089c0600bcb0a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

psc_budget_for_cot Ran
ran, honoured the contract we drafted
EdWangLoDaSc/know2say/src/baseline_experiment.py
pointer only (licence: NONE) · get_code("519ea6d75b891cc4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

regrade_efa_answers Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
EdWangLoDaSc/know2say/src/analysis.py
pointer only (licence: NONE) · get_code("96955cbe5096df19")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

simulate_efa_oracle Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
EdWangLoDaSc/know2say/src/baee.py
pointer only (licence: NONE) · get_code("17a0842b667d877d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

simulate_psc_triggered Ran
ran; our contract draft was wrong, not the code
EdWangLoDaSc/know2say/src/baee.py
pointer only (licence: NONE) · get_code("c739fd61f656f205")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_report Not yet run
unverified (harvested, no recorded run)
EdWangLoDaSc/know2say/src/efa_suffix_ablation.py
pointer only (licence: NONE) · get_code("f3b1a0ce5851885a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load Not yet run
unverified (harvested, no recorded run)
EdWangLoDaSc/know2say/src/generate_figures.py
pointer only (licence: NONE) · get_code("d90559aac674ab91")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, EdWangLoDaSc/know2say when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 16 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 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 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 70-78% of serial generation while 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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2604.06613")
get_code_for_paper("2604.06613")
have("2604.06613")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2604.06613.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2604.06613.svg)](https://syntology.ai/paper/2604.06613)

Connect an agent — have() is free.