Aligning large language models (LLMs) to be helpful and harmless typically requires a mountain of high-quality, human-labeled data—a resource that is both expensive and difficult to scale. While many researchers have turned to "distilling" knowledge from top-tier proprietary models like GPT-4o, this approach often inherits the biases and "black-box" limitations of a single teacher.
A new paper, "Improving Model Alignment Through Collective Intelligence of Open-Source Models," proposes a compelling alternative: Mixture of Agents Alignment (MoAA). Instead of relying on one "super-model," MoAA leverages the combined strengths of multiple open-source models to generate superior synthetic data for alignment.
TL;DR
MoAA uses a structured "Mixture of Agents" architecture to generate high-quality synthetic data for both Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO). By letting multiple open-source models collaborate and critique each other, the authors achieved massive performance gains—nearly tripling the win rate of LLaMA-3.1-8B on Arena-Hard—while spending 17% less than they would using GPT-4o.
The Alignment Bottleneck
To make a base model follow instructions well, developers need SFT data (instruction-response pairs) and DPO data (preference pairs where one response is ranked better than another).
Currently, the industry standard is to use a single, powerful proprietary model to generate this data. However, this creates a dependency on closed-source providers and can lead to "model collapse" or narrow performance if the teacher model has specific biases. The authors set out to see if a "council" of diverse, open-source models could provide a more scalable, diverse, and effective training signal.
Methods: The MoAA Pipeline
The authors introduce a two-stage alignment pipeline that utilizes a Mixture of Agents (MoA) setup.
- MoAA-SFT (Stage 1): Several "proposer" models generate initial responses to a prompt. Then, an "aggregator" model synthesizes these responses into a single, high-quality final answer. This process is repeated across layers to refine the output, creating robust SFT data.
- MoAA-DPO (Stage 2): To create preference data, MoA acts as a Reward Model. Multiple responses are sampled from the SFT-tuned model, and the MoA council ranks them to create chosen/rejected pairs.
- Dynamic Criteria Filtering: Before generating or judging, the model analyzes a query to decide which evaluation criteria are most relevant (e.g., "Safety" for a sensitive query vs. "Accuracy" for a factual one). These specific criteria are fed into the proposer and aggregator prompts to ensure nuanced judgment.
Key Insights
- The "Council" is Smarter than the "King": The most striking finding is that data generated by a mixture of open-source models (like LLaMA-3-70B and Qwen2-72B) actually produced better alignment results than data generated by GPT-4o alone.
- Diversity is a Feature, Not a Bug: Naive mixtures (just picking the "best of 5" or combining all outputs) performed poorly. The structured proposer-aggregator architecture is what allows the models to organically combine and refine their collective knowledge.
- Self-Improvement Bootstrapping: A model fine-tuned on MoA-generated data can actually surpass the individual capabilities of the models that were in the MoA mix. This suggests a path toward open-source models "pulling themselves up by their bootstraps" without needing proprietary supervision.
Key Results
The quantitative jumps are significant, particularly for smaller models in the 8B-9B parameter range.
- LLaMA-3.1-8B-Instruct:
- Arena-Hard Win Rate: Jumped from 19.5% to 48.3%.
- AlpacaEval 2: Improved from 22.33% to 57.23%.
- Gemma-2-9B-it:
- AlpacaEval 2: Improved from 47.43% to 63.75%.
- Cost Efficiency: Generating the instruction tuning dataset via MoAA cost $365.95, compared to $429.45 for GPT-4o—a 17.3% saving for better performance.
- Reward Modeling: The MoA reward model achieved a 1.6-point lead over the best individual open-source model on RewardBench.
Limitations and Future Work
While highly effective, the MoAA approach has a few limitations. Generating multi-turn conversation data can sometimes lead to "discontinuity" where the flow feels slightly off. Additionally, there was a slight decrease in raw math and coding scores during the SFT phase, though much of this was recovered during DPO.
Future work will likely focus on automated architecture search to find the optimal "mix" of proposer and aggregator models, as well as incorporating domain-specific expert models (e.g., medical or legal LLMs) into the council.
Summary updated