Supervised Optimism Correction: Be Confident When LLMs Are Sure

Junjie Zhang, Rushuai Yang, Shunyu Liu, Ting-En Lin, Fei Huang, Yi Chen, Yongbin Li, Dacheng Tao

Introduction

Standard Supervised Fine-Tuning (SFT) has become the de facto method for aligning Large Language Models (LLMs) with expert reasoning. By training models to imitate step-by-step solutions, researchers have unlocked significant capabilities in mathematical and logical domains. However, a persistent gap remains between training and inference: while models are trained to predict the next token locally, they are often deployed using global search algorithms like beam search to find the most probable reasoning path.

This paper identifies a critical failure mode in this paradigm called over-optimism. When a model encounters a reasoning state outside its expert training distribution, it often assigns an inflated probability to incorrect paths. This research introduces Supervised Optimism Correction (SOC), a lightweight auxiliary loss that regularizes the model's implicit value function, ensuring it remains confident only when it is truly on a path to a correct solution.

The Problem: The SFT-Search Disconnect

The authors argue that the primary limitation of standard SFT is its local nature. Because SFT datasets typically consist only of "correct" expert trajectories, the model never learns to recognize or penalize incorrect reasoning steps. This leads to two distinct issues during inference:

  1. Local vs. Global Mismatch: SFT optimizes for the next token, whereas beam search attempts to maximize the probability of the entire sequence.
  2. Over-Optimism: In the absence of negative examples, the model becomes "optimistic" about states it hasn't seen. During beam search, the model may veer into a hallucination or logical error and, because it lacks the mechanism to "downvote" that path, it continues to assign it high scores. This "search trap" causes the algorithm to confidently pursue dead ends.

Methodology: Supervised Optimism Correction (SOC)

To bridge the gap between SFT and global search, the researchers draw a formal mathematical link between LLM logits and Reinforcement Learning (RL).

Logits as Implicit Q-Functions

The paper provides a theoretical proof that LLM logits are equivalent to an implicit Q-function (a measure of expected future utility) within a token-level Markov Decision Process. This insight reveals that every LLM already contains a hidden value-estimator.

The SOC Loss Function

Rather than training a separate reward model or verifier—which adds significant computational overhead—the authors introduce the SOC loss ($L_V$). This auxiliary loss is added directly to the SFT objective. It regularizes the state-value function by encouraging the model to boost the "value" of expert-demonstrated trajectories while smoothing the transitions between adjacent reasoning steps.

Mathematically, SOC enforces a contraction of value differences. In tasks with sparse rewards (like mathematics, where correctness is only determined at the final step), this smoothing helps the model recognize when an intermediate step is genuinely leading toward a solution versus a confident error. This allows the model to "autonomously prune" low-quality paths during the search process.

Experimental Results

The authors evaluated SOC using the Qwen model family (1.5B, 3B, and 7B parameters) across several rigorous benchmarks, including GSM8K, MATH-500, and GaoKao2023En.

Performance Gains

The results demonstrate that SOC significantly enhances the effectiveness of beam search. The most notable improvements were observed in the 7B parameter model:

  • GSM8K: Accuracy increased by +33.2% (from 54.7% to 87.9%).
  • MATH-500: Accuracy improved by +19.0%.
  • GAOKAO-EN: Accuracy improved by +22.8%.

Efficiency and Robustness

Beyond raw accuracy, SOC improves search efficiency. Models trained with SOC achieved higher performance with smaller beam widths than standard SFT models achieved with much larger, more computationally expensive searches. The method proved robust across different training datasets (DATA-\u03b1 and DATA-\u03b2), suggesting that over-optimism is a fundamental characteristic of standard SFT that SOC successfully mitigates.

Conclusion and Future Work

Supervised Optimism Correction offers a computationally efficient way to bake error recognition directly into an LLM's base policy. By aligning the model's internal confidence with its actual probability of success, SOC transforms beam search from a process prone to hallucinations into a highly effective reasoning tool.

While this work focuses on mathematical reasoning, the implications for other logical domains are significant. Future research will explore the application of SOC to Visual Language Models (VLMs) and its potential to enhance more complex search algorithms like Monte Carlo Tree Search (MCTS).

Summary updated

BibTeX
@inproceedings{zhang2025supervised,
  author = {Junjie Zhang and Rushuai Yang and Shunyu Liu and Ting-En Lin and Fei Huang and Yi Chen and Yongbin Li and Dacheng Tao},
  title = {{Supervised Optimism Correction: Be Confident When LLMs Are Sure}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure