Unleashing the True Potential of LLMs: A Feedback-Triggered Self-Correction with Long-Term Multipath Decoding

Jipeng Li, Zeyu Gao, Yubin Qi, Hande Dong, Weijian Chen, Qiang LinarXiv 2025 · DOI

Abstract

Large Language Models (LLMs) often struggle with complex reasoning tasks, leading to hallucinations or logical errors. While self-correction is a common remedy, it frequently suffers from "prompt-induced solution drift," where models inadvertently degrade correct answers. This paper introduces Feedback-Triggered Regeneration (FTR) combined with Long-Term Multipath (LTM) decoding. By replacing unreliable self-critique with external binary signals and employing a dynamic tree-search strategy, the proposed framework achieves 10–20% performance gains in mathematical and coding benchmarks.

Introduction

The current paradigm for improving LLM performance on reasoning tasks often involves iterative self-correction. In this process, a model is prompted to review its own output and rectify errors. However, this approach faces two significant challenges:

  1. The Blind Leading the Blind (C1): LLMs struggle to accurately evaluate their own reasoning. Without external validation, they often "correct" valid solutions into incorrect ones—a phenomenon known as solution drift.
  2. Myopic Reasoning (C2): Standard autoregressive decoding optimizes for local token probabilities rather than global logical consistency. This "shallow" approach limits the model's capacity for deep, multi-step reasoning.

Methodology: FTR and LTM Decoding

To address these limitations, we propose a two-pronged framework that decouples error detection from error correction.

Feedback-Triggered Regeneration (FTR)

Unlike traditional self-correction that relies on complex natural language critiques, FTR utilizes a simple binary signal (e.g., a "thumbs down" from a user or a failed test case) to trigger a complete regeneration. This approach avoids biasing the model with potentially confusing or incorrect self-generated feedback. When a mistake is flagged, the system re-runs the original prompt using a more robust decoding strategy.

Comparison of Prompt-based Self-Correction and Feedback-Triggered Regeneration architectures.

Long-Term Multipath (LTM) Decoding

To overcome the limitations of single-path decoding, we introduce LTM decoding, a dynamic tree-search strategy:

  • Multipath Exploration: The model explores multiple reasoning trajectories in parallel.
  • Dynamic Pruning: Instead of a fixed beam width, LTM uses Perplexity (PPL) to dynamically adjust the number of active paths. High uncertainty leads to more branching, while high confidence narrows the search.
  • Global Evaluation: The system evaluates entire sequences, allowing it to bypass local optima that might trap standard greedy or beam search methods.

Experimental Evaluation

The framework was tested on three challenging benchmarks: GSM8K (math), MultiArith (arithmetic), and HumanEval (coding). We evaluated the system across the Llama-2, Llama-3, and Qwen-2.5 model families.

Key Results

The combination of FTR and LTM consistently outperformed state-of-the-art methods like "Critic" and "If-or-Else" (IoE) prompts. Under Protocol 1 (using ground-truth labels to trigger correction), FTR yielded improvements of 10% to 20%. Under Protocol 2 (using GPT-4o as a proxy for human feedback), the framework maintained a significant performance advantage, proving its robustness to imperfect signals.

Analysis of solution drift across different methods, highlighting the high rate of Correct-to-Incorrect transitions in traditional self-correction.

Discussion and Insights

A critical finding of this work is the "Correct -> Incorrect" trap. As shown in our analysis, traditional self-correction methods frequently cause the model to abandon correct answers. By using external feedback as a simple indicator rather than a detailed prompt, FTR effectively eliminates this instability. Furthermore, by reserving the computationally intensive LTM decoding for the regeneration phase, the system maintains efficiency for straightforward queries while applying maximum reasoning power only when necessary.

Conclusion and Future Work

Feedback-Triggered Regeneration with Long-Term Multipath decoding represents a significant step toward more reliable LLM reasoning. By leveraging external signals and dynamic search, we mitigate the risks of self-critique and local optima. Future research will focus on reducing inference latency and applying semantic pruning to enhance the diversity of the LTM search tree in open-ended generation tasks.

Summary updated

BibTeX
@misc{li2025unleashing,
  author = {Jipeng Li and Zeyu Gao and Yubin Qi and Hande Dong and Weijian Chen and Qiang Lin},
  title = {{Unleashing the True Potential of LLMs: A Feedback-Triggered Self-Correction with Long-Term Multipath Decoding}},
  year = {2025},
  eprint = {2509.07676},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.07676},
}
Figure