← Latest papers
💬 NLP

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

This paper identifies a "detection–extraction gap" in modern reasoning models where the correct answer becomes recoverable from the internal state long before it is explicitly generated, and proposes a Black-box Adaptive Early Exit method that leverages this asymmetry to significantly reduce generation costs while improving accuracy.

Original authors: Hanyang Wang, Mingxuan Zhu

Published 2026-04-09
📖 5 min read🧠 Deep dive

Original authors: Hanyang Wang, Mingxuan Zhu

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Idea: The Model Knows the Answer, But Can't Say It Yet

Imagine you are taking a difficult math test. You are working through the problem step-by-step on a piece of scratch paper. Suddenly, at step 3 out of 10, you realize, "Oh! I know the answer is 42." Your brain has solved it.

But, because you are following strict instructions to "show your work," you keep writing. You write steps 4, 5, 6, 7, 8, 9, and 10. In fact, you keep writing for so long that by the time you finish, you accidentally change your mind, get confused, or write down the wrong number (43) because you overthought it.

This is exactly what modern AI reasoning models do.

The paper discovers that AI models often figure out the correct answer very early in their thinking process (sometimes after just 10% of the text they generate). However, they keep "thinking" (generating text) for a long time afterward, often messing up the answer or wasting a huge amount of computing power.

The Core Problem: The "Detection–Extraction Gap"

The researchers found a strange gap between what the AI knows and what it can say.

  • Detection (Knowing): If you let the AI just keep talking freely, it will eventually say the right answer. Even if you stop it early, the "seed" of the correct answer is already there.
  • Extraction (Saying): If you interrupt the AI early and force it to stop and give you the final answer right now (e.g., by typing "Therefore, the answer is..."), it often fails. It might give you a wrong number, a partial calculation, or nonsense.

The Analogy:
Think of the AI as a chef cooking a complex stew.

  • Detection: If you let the chef keep stirring, they will eventually taste the stew and say, "It's ready!"
  • Extraction: If you run into the kitchen at the 10-minute mark and yell, "STOP! Tell me the recipe!" the chef might panic. They haven't finished seasoning yet. They might shout out "Salt!" or "Flour!" (intermediate steps) instead of the final dish name. They know the dish is almost done, but they can't articulate the final result yet because the "forcing" interrupted their flow.

The paper calls this the Detection–Extraction Gap. The AI "knows" the answer is in its head, but the act of forcing it to stop and speak ruins its ability to retrieve that answer correctly.

The Solution: BAEE (The "Smart Pause")

The researchers didn't just find a problem; they built a fix called BAEE (Black-box Adaptive Early Exit).

Instead of forcing the AI to stop and give a final answer (which causes the "panic" described above), BAEE does something clever:

  1. It stops the AI early.
  2. Instead of asking "What is the answer?", it asks the AI to keep thinking a few more times in parallel (like asking the chef to taste the stew three more times quickly).
  3. It looks at those few extra thoughts. If they all agree on the answer, it stops the main process and declares, "We have the answer!"

The Result:

  • Speed: They cut the time the AI spends thinking by 70–78%. It's like finishing a 10-hour movie by watching the first 2 hours and then fast-forwarding to the end because you figured out the plot.
  • Accuracy: Surprisingly, the AI got better at answering. Why? Because it stopped before it started overthinking and making mistakes. It prevented the AI from "digging a hole" in its own logic.

Why This Matters

  1. It's a Structural Flaw, Not a Bug: This isn't just a mistake in one specific AI. It happens across different models (like Qwen and GPT) and different tasks (Math, Science, Coding). It seems to be a fundamental quirk of how these models are built: they encode the answer in their "brain" long before their "mouth" is ready to say it.
  2. Coding is the Worst Offender: The gap was biggest in coding tasks. The AI figures out the logic for a program very quickly, but then spends 85% of its time writing the boring details (brackets, formatting, comments). If you stop it early, you save massive amounts of time and actually get better code because the AI didn't have time to introduce bugs while overthinking.
  3. Black-Box Friendly: You don't need to open up the AI's internal code to fix this. You can do it just by talking to the AI (using its public API), which means this trick works on closed-source models like the ones from OpenAI or Google.

Summary in One Sentence

AI models often solve problems way faster than they admit; by letting them "think out loud" briefly to confirm the answer before forcing a final conclusion, we can make them faster, cheaper, and more accurate by stopping them before they overthink and mess up.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →