Abstract
Large Language Model (LLM) agents are increasingly capable of solving multi-step problems using Chain-of-Thought (CoT) reasoning. However, they frequently suffer from error propagation, where a single logical slip early in a sequence leads to an incorrect final outcome. While process supervision—evaluating every intermediate step—can mitigate this, it typically relies on prohibitively expensive human-labeled data. We introduce AgentPro, a framework that automates process supervision by using Monte Carlo Tree Search (MCTS) to label intermediate reasoning steps. By training a Process Reward Model (PRM) on these automated labels, AgentPro enables agents to identify and reject erroneous reasoning paths. Our experiments across four diverse benchmarks, including HotpotQA and ALFWorld, demonstrate that AgentPro significantly outperforms existing outcome-based supervision methods.
Introduction
The primary bottleneck for current LLM agents is error propagation. In a multi-step reasoning process, a minor error in an early step often goes undetected because standard frameworks only provide feedback on the final answer (Outcome Supervision). Consequently, the agent continues down a doomed path. Process supervision offers a solution by providing feedback at every step, but its application has been limited to narrow domains like mathematics due to the high cost of manual annotation.
Methodology: Automated Process Supervision
AgentPro addresses the labeling bottleneck through a three-phase automated pipeline:
1. Automated Process Annotation via MCTS
To generate labels without human intervention, AgentPro treats reasoning as a search problem. For any given intermediate step, the system uses Monte Carlo Tree Search (MCTS) to simulate multiple potential future paths. A step is labeled "correct" (+) if at least one simulated path reaches the correct final answer. If no path leads to success, the step is labeled "incorrect" (-). This approach defines a "good" step by its potential to reach a solution rather than its surface-level text.
2. Process Reward Model (PRM) Training
The automated labels are used to train a specialized Process Reward Model (PRM). This model learns to predict the probability that a specific reasoning step is logically sound and helpful toward the final goal. Unlike previous PRMs focused on math, AgentPro's PRM is designed for natural language rationales and interactive decision-making.
3. PRM-Guided Rejection Sampling
During the final training phase, the agent generates multiple candidate trajectories for a task. The PRM scores each step, and the agent is fine-tuned only on the highest-quality trajectories. This teaches the agent to replicate successful reasoning chains while developing an "instinct" to reject erroneous paths in real-time.
Evaluation and Results
AgentPro was evaluated on four benchmarks: FEVER (fact verification), HotpotQA (multi-hop QA), ALFWorld (embodied AI), and WebShop (web navigation).
Key results include:
- HotpotQA: Achieved a 6.32% increase in accuracy over state-of-the-art baselines like ReAct and Reflexion.
- WebShop: Reached a 52.67% success rate, significantly outperforming Reflexion's 40.67%.
- Model Agnosticism: The framework proved effective across different architectures, including Llama-3.1-8B and Qwen-14B.
- Efficiency: Ablation studies indicated that even a small number of MCTS simulations (m=3) were sufficient to generate high-quality "silver" labels.
Discussion and Conclusion
AgentPro demonstrates that automated process supervision is a scalable and effective way to enhance LLM agents beyond the domain of mathematics. By using MCTS as a scalable labeler, the framework allows agents to detect errors in real-time before they propagate.
While the computational overhead of MCTS simulations is higher than simple prompting, it remains far more cost-effective than human labeling. Future work will explore parameter-efficient fine-tuning (PEFT) and more sophisticated search strategies to further reduce resource requirements while maintaining high performance.
Summary updated