Abstract
Large language models (LLMs) have demonstrated outstanding performance across various tasks, yet they still exhibit limitations such as hallucination, unfaithful reasoning, and toxic content. One potential approach to mitigate these issues is learning from human or external feedback (e.g. tools). In this paper, we introduce an intrinsic self-correct reasoning framework for LLMs that eliminates the need for human feedback, external tools, and handcraft prompts. The proposed framework, based on a multi-step reasoning paradigm Learning from Correctness (LeCo), improves reasoning performance without needing to learn from errors. This paradigm prioritizes learning from correct reasoning steps, and a unique method to measure confidence for each reasoning step based on generation logits. Experimental results across various multi-step reasoning tasks demonstrate the effectiveness of the framework in improving reasoning performance with reduced token consumption.
Introduction
While Large Language Models (LLMs) are impressive, they often "trip" during multi-step reasoning, leading to hallucinations or logical collapses. The standard fix has been self-correction: asking the model to "review its own answer and find errors." However, recent studies suggest LLMs aren't actually very good at spotting their own mistakes just by being prompted to do so. Existing self-correction methods usually require expensive human/external feedback, heavy prompt engineering, and high token costs.
The authors of this paper ask: What if we stop focusing on the errors and instead focus on the parts the model is sure it got right? This leads to the development of LECO (Learning from Correctness), a framework that improves LLM reasoning by identifying and "locking in" correct intermediate steps rather than trying to fix errors through complex prompting.
Methodology
The LECO framework operates in a multi-step reasoning paradigm that eliminates the need for text-based critiques. It functions in two primary stages:
- Initial Generation: The model generates a full reasoning path using a Chain-of-Thought (CoT) approach.
- Rethink Stage: Instead of a text-based critique, LECO calculates a Step Confidence Score for every reasoning step using three "prompt-free" metrics derived from the model's own generation logits:
- Average Token Score: The mean probability of all tokens in a step.
- Step Divergence Score: Uses Kullback-Leibler Divergence (KLD) to identify steps where the model might be guessing on crucial values.
- Inter-step Transition Score: Focuses on the first few "heading" tokens of a step, which the authors found to be a highly accurate predictor of subsequent logic.
As shown in Figure 1, LECO identifies the step with the lowest confidence as the "earliest potential error." It treats all steps before this point as "correctness," appends them to the original prompt, and asks the model to try again from that specific point. This narrows the search space and prevents the model from repeating known-good work.
Experimental Evaluation
The framework was evaluated across three reasoning categories: Arithmetic Reasoning (GSM8K, MATH, AQuA, SVAMP), Commonsense Reasoning (CSQA, StrategyQA), and Logical Reasoning (Date Understanding). Evaluations were conducted using GPT-3.5, GPT-4, and the open-source DeepSeekMath-7B.
Key Results
LECO consistently outperformed standard CoT and other self-correction methods like Recursive Criticism and Improvement (RCI).
As detailed in Figure 6, LECO+Complex improved GPT-4's average accuracy on the MATH dataset by 2.62% and GPT-3.5's by 1.88%. Notably, the method showed significant gains in specific subsets like Precalculus (+3.79% for GPT-4) and Count (+3.90% for GPT-3.5).
Beyond accuracy, LECO is highly efficient. It reduced token consumption by 80% compared to Self-Consistency (SC) and 20% compared to RCI. This efficiency stems from the "prompt-free" nature of the confidence scoring, which identifies nearly 65% of incorrect steps using only internal math rather than generating lengthy critiques.
Discussion and Conclusion
LECO demonstrates that a model's internal "gut feeling" (logits) is often a more reliable signal for correctness than its ability to write a self-critique. By feeding the model its own high-confidence steps as "ground truth," the search space for the correct answer becomes smaller and more manageable.
While improvements in commonsense reasoning were more modest—likely due to a reliance on external knowledge rather than internal logic—LECO proves highly effective for structured reasoning tasks. Future work may involve integrating LECO with advanced decoding algorithms like Tree-of-Thoughts to prune incorrect reasoning branches in real-time.
Summary updated