Mars-PO: Multi-Agent Reasoning System Preference Optimization

Xiaoxuan Lou, Chaojie Wang, Bo AnarXiv 2024 · DOI

Introduction

Large Language Models (LLMs) have demonstrated remarkable conversational capabilities but frequently struggle with complex, multi-step mathematical reasoning. These models are susceptible to logical inconsistencies and hallucinations, particularly when faced with high-level competition problems. While Direct Preference Optimization (DPO) is a standard technique for aligning models with human preferences, its application to mathematical reasoning is often limited. Standard DPO typically relies on a single model's own "good" and "bad" attempts. If the model's performance has already reached a high baseline, its self-generated positive samples may not offer significant improvement over its negative ones, leading to performance plateaus or degradation.

Methods: The Mars-PO Framework

To overcome the limitations of single-agent training, we introduce Mars-PO (Multi-Agent Reasoning System Preference Optimization). This framework shifts from a solo training regime to a collaborative "committee" approach, leveraging the diverse strengths of multiple state-of-the-art models.

The framework operates in three distinct, iterative stages:

  1. Response Sample Generation: A pool of diverse "agents" (e.g., Qwen, Meta, DeepSeek) generates multiple solutions for a given set of mathematical prompts.
  2. Preference Pair Construction: Instead of an agent learning solely from its own outputs, a high-capacity Reward Model identifies the single best solution from the entire multi-agent pool. This "Hybrid Positive Sample" represents a "super-positive" target. It is then paired with the specific agent's own incorrect attempts (Negative Samples) to create high-quality training pairs.
  3. Hybrid Preference Optimization: Agents are trained using a modified DPO loss that incorporates a Negative Log-Likelihood (NLL) loss term. This NLL term acts as a regularizer, preventing the model from overfitting to specific preference pairs or losing foundational knowledge.

Experimental Setup

The researchers evaluated Mars-PO on two primary benchmarks:

  • GSM8K: Grade school math word problems.
  • MATH: Challenging high-school competition-level problems.

The agent pool consisted of Qwen2.5-Math-7B, DeepSeek-Math-7B, and Llama3.1-8B. The Qwen2.5-Math-RM-72B model served as the central reward model for scoring and selecting positive samples.

Key Results and Discussion

The experimental results demonstrate that Mars-PO consistently outperforms standard DPO and Supervised Fine-Tuning (SFT) across different model architectures.

Significant performance gains were observed:

  • Llama 3.1-8B-Instruct: Achieved the most substantial improvement, rising from 50.38% to 57.82% on the MATH benchmark—a 7.4% absolute increase.
  • DeepSeek-Math-7B-RL: Improved from 51.76% to 54.06% on MATH.
  • Qwen2.5-Math-7B: Despite a very high initial baseline of 83.36%, it reached 83.73% through iterative refinement.

Key Insights

  • Cross-Model Learning: By using a hybrid positive set, models can learn from the strengths of their peers. For instance, a model weak in one mathematical domain can adopt the superior reasoning paths generated by another agent.
  • Targeted Error Correction: Pairing a "gold standard" positive with an agent's own specific failure is more effective than using generic negative samples. This forces the model to specifically unlearn its own logical pitfalls.
  • Iterative Gains: Unlike vanilla DPO, which often leads to performance drops in math tasks due to overfitting, Mars-PO showed a steady upward trajectory over three iterations.

Limitations and Future Work

While effective, Mars-PO involves higher computational overhead due to the multi-agent generation and the use of a large-scale reward model. The system's performance is also intrinsically tied to the quality of the Reward Model; any bias or error in the reward model could propagate through the training loop. Future research may explore expanding the agent pool or developing more sophisticated methods for synthesizing reasoning paths from multiple successful solutions.

Summary updated

BibTeX
@misc{lou2024mars,
  author = {Xiaoxuan Lou and Chaojie Wang and Bo An},
  title = {{Mars-PO: Multi-Agent Reasoning System Preference Optimization}},
  year = {2024},
  eprint = {2411.19039},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.19039},
}
Figure