Abstract
Large Language Models (LLMs) often struggle with tasks requiring deep reasoning and specialized domain knowledge. While techniques like Chain-of-Thought (CoT) and Retrieval-Augmented Generation (RAG) offer improvements, they are prone to error propagation and irrelevant retrieval. This paper introduces CR-Planner, a framework that treats problem-solving as a planning task. By utilizing fine-tuned "critic" models trained through Monte Carlo Tree Search (MCTS), CR-Planner learns to navigate reasoning paths and retrieval actions strategically. Experimental results across competitive programming, mathematics, and domain-specific retrieval benchmarks show that CR-Planner significantly outperforms existing prompting and RAG baselines.
Introduction: The Limits of CoT and RAG
Despite the impressive capabilities of frontier LLMs, they frequently encounter two major "fail states" in complex scenarios:
- Reasoning Cascades: In a standard CoT sequence, a single logical error early on can poison all subsequent steps, leading to an incorrect final answer.
- Retrieval Errors: RAG performance is highly dependent on query quality. Irrelevant or noisy retrieved documents can ground the model's reasoning in falsehoods.
These issues stem from a lack of a "global" view; models often cannot evaluate their own intermediate steps or decide when to pause reasoning to seek external data. CR-Planner addresses this by introducing a proactive planning mechanism.
Methodology: CR-Planner
CR-Planner models the problem-solving process as a Markov Decision Process (MDP) solved through iterative planning. The framework consists of two primary components:
Sub-Goal Selection
At each step, a Sub-goal Critic (a fine-tuned Llama-3-8B model) evaluates the current state—including previous thoughts and actions—and assigns rewards to three potential sub-goals:
- REASON: Generate a logical reasoning step.
- GENQUERY: Formulate a search query.
- RETRIEVE: Fetch documents based on a query.
Execution Selection
Once a sub-goal is selected, the generator (e.g., GPT-4o) produces multiple candidate outputs. An Execution Critic then scores these candidates (e.g., specific rationales, queries, or retrieved documents). The highest-scoring candidate is appended to the solution trajectory, and the process repeats.
Training via Monte Carlo Tree Search (MCTS)
A key challenge in training these critics is the lack of intermediate step annotations. The authors address this using Monte Carlo Tree Search (MCTS) to automatically collect training data. By simulating numerous solution paths and identifying those that lead to correct answers, they generate a dataset of high-quality trajectories used to fine-tune the 8B-parameter critic models.
Evaluation and Results
The framework was rigorously tested on three challenging benchmarks:
- USACO (Competitive Programming): CR-Planner achieved a 17.59% success rate, nearly doubling the performance of standard prompting (10.10%) and significantly exceeding CoT (12.38%). It was particularly effective on high-difficulty "Platinum" problems.
- TheoremQA-Maths: The system improved accuracy by 13.59% over baselines, reaching a final score of 53.40%.
- Domain Retrieval (StackBio & StackEcon): CR-Planner enhanced retrieval quality (nDCG@10) by 8-10% by effectively filtering irrelevant documents.
Key Insights
- Small Critics, Big Impact: Fine-tuning a smaller model (Llama-3-8B) as a specialized critic is more effective than relying on the zero-shot intuition of a larger general-purpose model.
- Proactive Planning vs. Reactive Reflection: Unlike methods that attempt to fix errors after a full solution is generated, CR-Planner's step-wise planning prevents errors from cascading.
- Complementarity: CR-Planner is orthogonal to other self-correction methods like Reflexion; combining them yields the best overall performance.
Conclusion and Future Work
CR-Planner demonstrates that explicit planning and critiquing can significantly elicit better reasoning from LLMs. While the current implementation increases inference latency due to multi-candidate sampling, it provides a robust path forward for solving knowledge-intensive and logically complex tasks. Future research will focus on improving planning efficiency and the generalizability of critic models across broader domains.
Summary updated