通过开源大语言模型的集体智能改进模型对齐
Improving Model Alignment Through Collective Intelligence of Open-Source LLMS
AI总结:
本文提出智能体混合对齐(MoAA)方法,利用多个开源大语言模型的集体智能生成高质量对齐数据,同时增强监督微调和偏好优化,显著提升模型在 Arena-Hard 和 AlpacaEval2 上的胜率,并实现不依赖外部强监督的自我改进。
摘要:
构建有用且无害的大语言模型(LLMs)需要基于人类指令和反馈的有效模型对齐方法,而这依赖于高质量的人工标注数据。构建此类数据集通常成本高昂且难以扩展,并可能面临多样性和泛化能力方面的潜在限制。为应对这些挑战,我们提出了智能体混合对齐(Mixture of Agents Alignment,MoAA),该方法利用多种语言模型的集体优势,为模型对齐提供高质量数据。通过采用 MoAA,我们同时增强了监督微调和偏好优化,与仅使用单一模型生成对齐数据(例如仅使用 GPT-4o)相比,性能得到了提升。评估结果表明,我们的方法能够将 LLaMA-3.1-8B-Instruct 在 Arena-Hard 上的胜率从 19.5 提高到 48.3,在 AlpacaEval2 上从 22.33 提高到 57.23,凸显了通过这种新的可扩展且多样化的合成数据方案进行模型对齐的一个有前景的方向。此外,我们证明了 MoAA 能够实现自我改进流程,在该流程中,基于 MoA 生成数据进行微调的模型超越了其自身的初始能力,这为我们的方法能够在不依赖更强外部监督的情况下推动开源大语言模型的前沿提供了证据。数据和代码将予以发布。
英文摘要:
Building helpful and harmless large language models (LLMs) requires effective model alignment approach based on human instructions and feedback, which necessitates high-quality human-labeled data. Constructing such datasets is often expensive and hard to scale, and may face potential limitations on diversity and generalization. To address these challenges, we introduce Mixture of Agents Alignment (MoAA), that leverages the collective strengths of various language models to provide high-quality data for model alignment. By employing MoAA, we enhance both supervised fine-tuning and preference optimization, leading to improved performance compared to using a single model alone to generate alignment data (e.g. using GPT-4o alone). Evaluation results show that our approach can improve win rate of LLaMA-3.1-8B-Instruct from 19.5 to 48.3 on Arena-Hard and from 22.33 to 57.23 on AlpacaEval2, highlighting a promising direction for model alignment through this new scalable and diverse synthetic data recipe. Furthermore, we demonstrate that MoAA enables a self-improvement pipeline, where models finetuned on MoA-generated data surpass their own initial capabilities, providing evidence that our approach can push the frontier of open-source LLMs without reliance on stronger external supervision. Data and code will be released.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。