Non-myopic Generation of Language Models for Reasoning and Planning

Chang Ma, Haiteng Zhao, Junlei Zhang, Junxian He, Lingpeng Kong
2/12/2026

No official code found. Best implementation: chang-github-00/LLM-Predictive-Decoding (16 stars, last commit 2025-07-09).

Abstract

Large Language Models have demonstrated remarkable abilities in reasoning and planning by breaking down complex problems into sequential steps. Despite their success in various domains like mathematical problem-solving and coding, LLMs face challenges in ensuring reliable and optimal planning due to their inherent myopic nature of autoregressive decoding. This paper revisits LLM reasoning from an optimal-control perspective, proposing a novel method, Predictive-Decoding, that leverages Model Predictive Control to enhance planning accuracy. By re-weighting LLM distributions based on foresight trajectories, Predictive-Decoding aims to mitigate early errors and promote non-myopic planning. Our experiments show significant improvements in a wide range of tasks for math, coding, and agents. Furthermore, Predictive-Decoding demonstrates computational efficiency, outperforming search baselines with reduced computational resources. This study provides insights into optimizing LLM planning capabilities.

View on arXivView PDF

Code Implementations(1)

165C, CSSOct 23, 20241 years ago

Similar Papers

Cite this paper

@article{ma2026nonmyopic,
  title  = {Non-myopic Generation of Language Models for Reasoning and Planning},
  author = {Chang Ma and Haiteng Zhao and Junlei Zhang and Junxian He and Lingpeng Kong},
  year   = {2026},
  eprint = {2410.17195},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.17195},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.17195.svg)](https://codeofpaper.com/paper/2410.17195)

Discussion