Knowing When to Quit: A Principled Framework for Dynamic Abstention in LLM Reasoning

Hen Davidov, Nachshon Cohen, Oren Kalinsky, Yaron Fairstein, Guy Kushilevitz, Ram Yazdi, Patrick Rebeschini

Introduction: The Verbosity Tax of Chain-of-Thought

Chain-of-Thought (CoT) prompting has undeniably revolutionized the reasoning capabilities of Large Language Models (LLMs). However, this leap in performance comes with a significant "verbosity tax." Models frequently generate hundreds of tokens only to arrive at an incorrect conclusion. Compounding the issue, empirical data reveals that incorrect reasoning traces are often longer than correct ones, resulting in a dual penalty: wasted computational resources and delivered errors.

Existing abstention strategies—designed to let a model "opt out" of answering—typically fall into two flawed categories. Input processing decides whether to skip a question based solely on the prompt, which is often too conservative. Output processing evaluates the answer after generation is complete, which is too late to save compute.

To bridge this gap, recent research introduces a principled reinforcement learning framework for dynamic mid-generation abstention. By providing the mathematical foundation for early termination, this framework allows an LLM to halt generation the exact moment a reasoning path becomes unpromising.

The Framework: Formulating the "Quit" Decision

The authors formalize text generation as a Markov Decision Process (MDP) and introduce a specialized abstention action ($\perp$).

  • The Reward Structure: The system relies on an "abstention reward" ($r_\perp$). If the model completes a correct answer, it receives a reward of 1; if incorrect, it receives 0. If the model chooses to abstain mid-generation, it receives $r_\perp$ (a fractional value between 0 and 1).
  • Dynamic Value-Thresholding: The optimal strategy for the model is to continuously evaluate its value function—the estimated probability that the current reasoning path will ultimately yield a correct answer. The decision rule is simple but mathematically rigorous: the model should abort generation if this value function falls below the abstention reward ($r_\perp$).

Implementation: The "Tattletale" Probe

Calculating the value function at every token step might sound computationally expensive, but the authors propose a highly efficient solution. Rather than retraining the entire LLM, they train a tiny, two-layer Multilayer Perceptron (MLP) "probe" consisting of just 10,000 parameters.

This probe is trained on the LLM's internal hidden states to predict the probability of final correctness at every single token position.

Key Insights

1. The Option Value of Waiting

The paper mathematically proves why dynamic, token-by-token checking is superior to checking at a fixed point (e.g., always evaluating at the 20th token). By monitoring every token, the model leverages the "option value of waiting." It can hold out for critical "thinking tokens" (such as "Wait," or "Therefore"), where the internal state suddenly clarifies whether the current path is a breakthrough or a dead end.

2. Hidden States Over Self-Assessment

The tiny MLP probe significantly outperformed standard "Self-Assessment" techniques (where the model is explicitly prompted to evaluate its own competence). This indicates that an LLM's internal representations "know" it is failing long before the model can articulate that failure in generated text.

3. Cross-Dataset Generalization

Remarkably, a probe trained on grade-school math (GSM8K) generalized effectively to competition-level math (OlympiadBench) without any retraining. This suggests the probe does not merely memorize specific problem structures, but rather learns to detect general signals of "reasoning health."

Empirical Results

The framework was rigorously evaluated across mathematical reasoning (GSM8K, OlympiadBench) and toxicity avoidance (RealToxicityPrompts), consistently dominating input-only, fixed-position, and self-evaluation baselines.

  • Massive Selective Accuracy Boost: On the highly challenging OlympiadBench dataset, a Phi-3 model improved from a base accuracy of 16% to a 64% selective accuracy (accuracy on the questions it chose to finish) at a 90% abstention rate.
  • Computational Efficiency: Because abstention typically triggers in the first half of generation, the method saves 92–95% of the tokens that would have otherwise been wasted on incorrect answers at high abstention rates.
  • Theoretical Dominance: The authors provide mathematical proofs, backed by empirical validation, that their dynamic rule strictly dominates non-abstaining policies under general conditions.

Limitations and Future Directions

While highly effective, the framework has a few notable limitations that pave the way for future research:

  • Fixed Fallback Utility: The current model assumes $r_\perp$ is a constant. In real-world applications, the cost of abstaining varies by context (e.g., a medical query warrants a different threshold than a casual request). Future iterations should explore state-dependent abstention rewards.
  • Binary Rewards: The underlying theory currently assumes binary (right/wrong) outcomes. Extending this framework to accommodate continuous rewards—such as partial credit for nearly correct code—is a logical next step.
  • The Information Bottleneck: The probe's success relies entirely on the LLM's hidden states containing the signal for correctness. If a model is fundamentally "clueless" about its own error, the probe will be equally blind.

Ultimately, this framework represents a significant step toward more efficient, self-aware LLMs that know exactly when to stop talking and start over.

Summary updated

BibTeX
@inproceedings{davidov2026knowing,
  author = {Hen Davidov and Nachshon Cohen and Oren Kalinsky and Yaron Fairstein and Guy Kushilevitz and Ram Yazdi and Patrick Rebeschini},
  title = {{Knowing When to Quit: A Principled Framework for Dynamic Abstention in LLM Reasoning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=R4fBnrKf3h},
}
Figure