Introduction
As Large Language Models (LLMs) continue to scale, the availability of high-quality, human-curated data is becoming a significant bottleneck. To circumvent this "data wall," researchers have increasingly turned to self-improvement techniques, where models generate their own synthetic training data. However, traditional self-improvement methods—such as the Self-Taught Reasoner (STaR) approach—often suffer from a performance plateau. When a single model trains on its own outputs, it tends to create an echo chamber: reasoning chains collapse into narrow patterns, diversity diminishes, and the model becomes overconfident in its own errors.
This paper introduces Multiagent Finetuning, a novel framework that treats self-improvement as a social, collaborative process rather than a solitary one. By simulating a society of specialized agents that engage in multi-round debates, the framework preserves reasoning diversity and achieves sustained performance gains across multiple iterations.
The Multiagent Finetuning Framework
The core innovation of this work is the transition from a single-agent training loop to a multiagent society. The process is structured into three primary components: the agent roles, the debate mechanism, and specialized finetuning objectives.
1. The Agent Society
The framework begins with a group of identical base models, which are assigned specific roles:
- Generation Agents: Responsible for providing initial answers and reasoning paths for a given problem.
- Critic Agents: Responsible for reviewing the initial answers, summarizing feedback from other agents, and refining their own reasoning over multiple rounds.
2. Multiagent Debate
To generate high-quality synthetic data, these agents engage in a structured debate. Generation agents propose initial solutions. Critic agents then analyze these solutions, identifying potential flaws and incorporating insights from their peers. This iterative refinement continues for several rounds until a final answer is determined via a majority vote (consensus).
3. Specialized Finetuning Objectives
Once the debate concludes, the agents are finetuned using distinct strategies designed to reinforce specific skills:
- Generation Specialization: Generation agents are finetuned on their initial responses only if those responses eventually aligned with the final correct consensus. This encourages the models to find diverse and successful starting points for reasoning.
- Critic Specialization (Error Correction): Critic agents are trained on the entire reasoning trajectory. Crucially, they are trained on "correction" data—instances where the initial answer was incorrect, but the agent successfully reasoned its way to the correct answer by the final round. This teaches the model the meta-skill of self-correction.
Experimental Evaluation
The researchers evaluated the framework on several rigorous reasoning benchmarks, including GSM8K (grade school math), MATH (competition-level mathematics), and MMLU (general multitask understanding). The method was tested across various model families, including Phi-3, Mistral, LLaMA-3, and GPT-3.5.
Key Results
Multiagent Finetuning consistently outperformed standard baselines like STaR and single-agent finetuning:
- Sustained Growth: While single-agent methods typically plateau after one or two rounds, Multiagent Finetuning showed consistent improvements through five rounds of iteration.
- Performance Jumps:
- Mistral (7B): Accuracy on the MATH dataset increased from 16.6% to 28.2% over five rounds.
- Phi-3 (4B): Accuracy on MATH improved from 45.6% to 66.0%.
- LLaMA-3 (8B): On GSM8K, the model improved from 75.0% to 88.6% in a single iteration.
Insights: The Role of Diversity
The primary driver of these results is the preservation of reasoning diversity. In single-agent training, diversity (measured by embedding dissimilarity and KL-divergence) typically plummets as the model converges on a few patterns. In the multiagent setup, the interaction between specialized agents keeps reasoning paths diverse and robust.
Furthermore, the framework demonstrated impressive zero-shot generalization. Agents trained specifically on the MATH dataset showed significant performance boosts on unrelated tasks like Arithmetic and GSM8K, suggesting that the multiagent process develops general reasoning "muscles" rather than task-specific memorization.
Limitations and Future Directions
Despite its success, Multiagent Finetuning introduces significant computational overhead. Training and running inference on a "society" of $N$ agents requires substantial GPU resources and increases inference latency due to the multi-round debate process.
Future research will focus on reducing this cost through weight-sharing between agents and investigating methods to distill the collective wisdom of the multiagent society back into a single, efficient model. Additionally, the authors plan to explore the integration of human feedback (RLHF) into the multiagent loop to further align the models' reasoning with human logic.
Summary updated