arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.03187cs.CL
收藏

加权奖励偏好优化用于隐式模型融合

Weighted-Reward Preference Optimization for Implicit Model Fusion

School of Computer Science and Engineering, Sun Yat-sen University(中山大学计算机科学与工程学院)

Ziyi Yang, Fanqi Wan, Longguang Zhong, Tianyuan Shi, Xiaojun Quan

AI总结:

提出加权奖励偏好优化(WRPO)隐式融合方法,通过偏好优化转移能力,避免词汇对齐和矩阵融合,在多个基准上优于现有方法。

摘要:

虽然融合具有不同架构和规模的异构开源LLM可以潜在地整合不同模型的优势,但现有的融合方法面临重大挑战,如词汇对齐和合并分布矩阵。这些过程不仅复杂,而且容易引入噪声和错误。在本文中,我们提出了一种隐式融合方法,加权奖励偏好优化(WRPO),它利用源LLM和目标LLM之间的偏好优化来有效地转移它们的能力。WRPO无需词汇对齐和矩阵融合,并且可以高效地扩展以适应各种LLM。为了解决源LLM和目标LLM之间的分布偏差,WRPO引入了一种渐进适应策略,逐渐将偏好示例的依赖从目标LLM转移到源LLM。在MT-Bench、AlpacaEval-2和Arena-Hard基准上的大量实验表明,WRPO始终优于现有的知识融合方法和各种微调基线。当应用于LLaMA3-8B-Instruct作为目标模型时,WRPO在AlpacaEval-2上对GPT-4-Preview-1106实现了55.9%的长度控制胜率,在Arena-Hard上对GPT-4-0314实现了46.2%的胜率。我们的代码可在https://github.com/SLIT-AI/WRPO获取。

英文摘要:

While fusing heterogeneous open-source LLMs with varying architectures and sizes can potentially integrate the strengths of different models, existing fusion methods face significant challenges, such as vocabulary alignment and merging distribution matrices. These procedures are not only complex but also prone to introducing noise and errors. In this paper, we propose an implicit fusion method, Weighted-Reward Preference Optimization (WRPO), which leverages preference optimization between the source LLMs and the target LLM to transfer their capabilities effectively. WRPO eliminates the need for vocabulary alignment and matrix fusion and can be efficiently scaled to accommodate various LLMs. To address distributional deviations between the source and target LLMs, WRPO introduces a progressive adaptation strategy that gradually shifts reliance on preferred examples from the target LLM to the source LLMs. Extensive experiments on the MT-Bench, AlpacaEval-2, and Arena-Hard benchmarks demonstrate that WRPO consistently outperforms existing knowledge fusion methods and various fine-tuning baselines. When applied to LLaMA3-8B-Instruct as the target model, WRPO achieves a length-controlled win rate of 55.9% against GPT-4-Preview-1106 on AlpacaEval-2 and a win rate of 46.2% against GPT-4-0314 on Arena-Hard. Our code is available at https://github.com/SLIT-AI/WRPO.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑