LYNX: Learning Dynamic Exits for Confidence-Controlled Reasoning

Ömer Faruk Akgül, Yusuf Hakan Kalayci, Rajgopal Kannan, Willie Neiswanger, Viktor PrasannaNeurIPS 2026

TL;DR

Modern reasoning models love to hear themselves think—sometimes generating thousands of extra tokens to second-guess a right answer into a wrong one. This paper reveals that these models actually encode an internal, domain-general "readiness" signal in their hidden states right when they pause to say words like "wait" or "hmm." By attaching a tiny, statistically calibrated probe to read this signal on the fly, the authors' framework (LYNX) slashes token generation by 30–70% while matching or even improving accuracy—all without retraining the base model or tuning thresholds per task.

What Problem Does This Paper Address?

If you have ever stayed up too late second-guessing an exam answer you originally got right, you already understand the plight of Large Reasoning Models (like OpenAI’s o1 or DeepSeek-R1). Generating long, explicit chains of thought (CoT) gives these models breakthrough problem-solving abilities, but more thinking isn’t always better. Left unchecked, models frequently suffer from counterproductive overthinking: they burn compute verifying things they already know, get stuck in repetitive loops that blow past context limits, or actively talk themselves out of a correct intermediate conclusion.

Existing "early-exit" solutions try to curb this by setting manual cutoffs on token uncertainty (entropy) or calling in external "verifier" models to check the work. However, heuristic thresholds are brittle across different tasks and decoding temperatures, and auxiliary verifiers add heavy computational overhead. Until now, we lacked a lightweight, principled way to let a model look inward and stop thinking the moment it actually knows the answer—governed by a reliability level the user can explicitly dial in.

Methods

Enter LYNX, an online early-exit framework that operates in two stages without modifying the base LLM or needing external supervision.

Figure 1: LYNX pipeline: (Offline) We collect forced-exit labels at naturally occurring cue tokens from math problems, train a lightweight probe on hidden states at these cues, and calibrate conformal thresholds using a held-out set. (Online) During generation, whenever a cue appears, the probe scores its hidden state and a conformalized threshold decides whether to exit early or continue reasoning.
  1. Listening at Natural Decision Points: Instead of checking every single token, LYNX only evaluates the model when it emits natural self-reflective cues—specifically "hmm", "wait", and "alternatively".
  2. Self-Supervised "Forced Exits" (Offline): To train the readiness detector without human annotators or judge LLMs, the authors take a math dataset, let the model generate full reasoning traces, and play a game of what-if at every cue token. They truncate the trace at the cue, append an answer trigger (like </think> Final Answer:), and force the model to answer immediately. If that forced answer matches the ground truth, that cue gets a 1 (ready); otherwise, 0 (not ready).
  3. Lightweight Probing: At each cue, LYNX extracts and concatenates hidden states from two middle layers and the final layer of the LLM, feeding them into a tiny two-layer MLP probe trained to predict the probability of a safe exit.
  4. Conformal Calibration (The "Confidence Dial"): Raw neural probabilities can be poorly calibrated. What’s novel here is wrapping the probe’s scores in split conformal prediction—a statistical technique that uses a held-out calibration set to guarantee error bounds. At test time, a practitioner picks a confidence level $c$ (say, $0.95$). LYNX constructs a prediction set for {0, 1} and only exits early if the set collapses strictly to {1}, meaning an erroneous exit has been statistically ruled out at confidence $c$.

Datasets

  • Training & Calibration: Hendrycks MATH (spanning all seven mathematical categories). Crucially, each model's LYNX probe is trained and calibrated only once on this corpus at temperature $T = 0.6$, then frozen and deployed everywhere else unchanged.
  • Evaluation Benchmarks:
  • Math: GSM8K, MATH-500, and high-difficulty competition sets AMC 2023 and AIME 2024.
  • Commonsense Reasoning: CommonsenseQA.
  • Code Generation: HumanEval and MBPP.
  • No new benchmarks were introduced by the authors.

Key Insights and Ideas

  • "Readiness" is a universal internal state, not a math trick: A probe trained purely on math problems at $T=0.6$ transfers zero-shot to greedy decoding ($T=0.0$), multiple-choice commonsense QA, and Python code generation. The probe isn't memorizing math heuristics; it is reading a fundamental representation of reasoning sufficiency.
  • Words like "wait" are just surface markers for high entropy: Why do cue tokens work so well? Measuring across 1.89 million tokens, the authors found that cue tokens have a median next-token entropy 38 times higher than regular tokens (1.30 vs. 0.03). They mark forks in the reasoning road. In fact, replacing word cues with a raw entropy threshold works nearly as well—meaning LYNX can adapt to models that don't say "hmm" out loud.
  • Formatting breaks are terrible stopping points: An ablation using paragraph breaks as exit triggers caused GSM8K accuracy to plummet from 76.0% to 30.6%, proving that structural pauses do not align with cognitive completion.

Key Results

Evaluated across three models spanning two families and an order of magnitude in scale (DeepSeek-R1-Distill-Qwen-1.5B, Llama-3.1-Nemotron-Nano-8B, and QwQ-32B), LYNX consistently dominates or matches state-of-the-art baselines (DEER and Think-or-Not).

Figure 2: Accuracy–efficiency Pareto frontiers for LYNX compared to DEER and Think-or-Not (ToN). Each panel plots speed-up (baseline tokens divided by method tokens) on the x-axis and change in accuracy vs. baseline (percentage points) on the y-axis. Across all settings, LYNX forms competitive or superior frontiers, with DEER slightly ahead only on QwQ-32B GSM8K.
  • Less talking, higher accuracy: Stopping overthinking actively prevents models from ruining good answers. On DeepSeek-1.5B ($T=0.0$, $c=0.80$), LYNX cuts tokens by 60.2% on MATH-500 while boosting accuracy by +2.2 percentage points (70.2% vs. 68.0%), and saves 66.2% of tokens on GSM8K (+0.8pp accuracy).
  • Striking gains in code generation: Using the math-trained probe zero-shot on HumanEval ($c=0.90$), accuracy jumps from 54.0% to 65.0% while cutting tokens by 46.8%. On MBPP ($c=0.80$), accuracy rises from 45.0% to 51.0% with a 76.3% token reduction—suggesting coding models overthink even worse than math models.
  • Knowing when not to exit: On brutal competition math (AIME 2024, AMC 2023), LYNX recognizes that early exits are dangerous, naturally remaining conservative to preserve accuracy where aggressive baselines falter.
  • Negligible overhead: Extracting states and running the MLP adds ~100 ms per problem (<0.25% of generation time), so token savings translate directly into wall-clock speedups.

Limitations and Future Work

  • Domain shift breaks formal guarantees: Conformal prediction's strict mathematical error bounds rely on exchangeability (test data looking like calibration data). Reusing a math-calibrated threshold on GSM8K or coding tasks violates this formal assumption. While accuracy empirically holds up (or improves!), applications needing strict statistical guarantees under heavy domain shift must recalibrate the thresholds using a small held-out set from the target domain (no probe retraining needed).
  • Conservative asymmetry: LYNX prioritizes safety (avoiding bad exits) over efficiency, occasionally refusing a safe exit and leaving a few extra token savings on the table.
  • Future directions: Explicit future work sections are not included in the main text, though the authors' successful prototype of entropy-triggered LYNX points directly toward deploying confidence-controlled exits on reasoning models that do not emit explicit self-reflective cue words.

Summary updated

Abstract

Large reasoning models achieve strong performance by generating long chains of thought, yet extended reasoning is often counterproductive: models frequently continue past the point of sufficiency, wasting compute and sometimes degrading correctness by revising a correct solution into an incorrect one. We show that reasoning models encode a domain-general \emph{readiness} signal in their hidden states, concentrated at natural high-uncertainty points such as "wait" and "hmm", that predicts whether stopping at a given moment would yield the correct answer. Building on this finding, we propose LYNX, an online early-exit framework that reads out this signal during generation and wraps it in split conformal calibration, giving practitioners a single confidence dial with calibrated control over erroneous exits rather than per-task heuristic thresholds. The readout requires no external verifier, auxiliary model, or additional human annotation: stop/continue labels are obtained by forcing the base model to answer at candidate stopping points and comparing to the task answer. A single LYNX head trained and calibrated once on a generic mathematical corpus transfers unchanged across benchmarks, decoding temperatures, and non-mathematical domains including commonsense reasoning and code generation, suggesting that readiness reflects model-internal representations rather than task-specific heuristics. Across three model families spanning 1.5B--32B parameters, LYNX matches or improves baseline accuracy while reducing generated tokens by 30--70\%, with competitive or superior accuracy--efficiency Pareto frontiers relative to prior early-exit methods.
BibTeX
@inproceedings{akgul2026lynx,
  author = {Ömer Faruk Akgül and Yusuf Hakan Kalayci and Rajgopal Kannan and Willie Neiswanger and Viktor Prasanna},
  title = {{LYNX: Learning Dynamic Exits for Confidence-Controlled Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=rSKYIHN4OX},
}
Figure