Reinforce LLM Reasoning through Multi-Agent Reflection
Yurun Yuan, Tengyang Xie
TL;DR
The work tackles the challenge of improving LLM reasoning by enabling dynamic, multi-turn verification and refinement through a cooperative multi-agent framework. It introduces DPSDP, a direct policy search method that casts the refinement process as an MDp and trains an actor-critic LLM system with a generative critic using direct preference learning. Theoretical guarantees establish performance bounds, while extensive experiments across Ministral, Llama-3.1, and Qwen2.5 on MATH 500, GSM8K, and Olympiad/MMLU-Pro Math demonstrate notable gains in both first-turn and multi-turn accuracy, including strong out-of-distribution generalization. Ablation studies highlight the importance of multi-agent collaboration, Markovian state design, and restart data collection. Overall, DPSDP presents a scalable and effective approach to robust, test-time reasoning in LLMs with broad practical implications for complex problem-solving tasks.
Abstract
Leveraging more test-time computation has proven to be an effective way to boost the reasoning capabilities of large language models (LLMs). Among various methods, the verify-and-improve paradigm stands out for enabling dynamic solution exploration and feedback incorporation. However, existing approaches often suffer from restricted feedback spaces and lack of coordinated training of different parties, leading to suboptimal performance. To address this, we model this multi-turn refinement process as a Markov Decision Process and introduce DPSDP (Direct Policy Search by Dynamic Programming), a reinforcement learning algorithm that trains an actor-critic LLM system to iteratively refine answers via direct preference learning on self-generated data. Theoretically, DPSDP can match the performance of any policy within the training distribution. Empirically, we instantiate DPSDP with various base models and show improvements on both in- and out-of-distribution benchmarks. For example, on benchmark MATH 500, majority voting over five refinement steps increases first-turn accuracy from 58.2% to 63.2% with Ministral-based models. An ablation study further confirms the benefits of multi-agent collaboration and out-of-distribution generalization.
