arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.16388cs.CLcs.LG
收藏

多参考偏好优化用于大型语言模型

Multi-Reference Preference Optimization for Large Language Models

Applied AI Institute, Deakin University(迪肯大学应用人工智能学院);ServiceNow Research(ServiceNow研究院)

Hung Le, Quan Tran, Dung Nguyen, Kien Do, Saloni Mittal, Kelechi Ogueji, Svetha Venkatesh

AI总结:

提出多参考偏好优化(MRPO),利用多个预训练模型作为参考,通过闭合形式损失增强LLM的偏好学习,提升泛化与下游任务性能。

摘要:

如何使大型语言模型(LLMs)与人类意图和价值观保持一致?一种典型的解决方案是收集模型输出上的人类偏好,并据此微调LLMs,同时确保更新不会偏离参考模型太远。最近的方法,如直接偏好优化(DPO),通过引入闭合形式的监督损失,消除了对不稳定且缓慢的强化学习优化的需求。然而,当前方法的一个显著局限是其仅针对单一参考模型设计,忽视了利用众多预训练LLMs的集体力量。为克服此局限,我们提出了一种新颖的闭合形式公式,用于使用多个参考模型进行直接偏好优化。由此产生的算法,即多参考偏好优化(MRPO),利用了来自不同参考模型的更广泛先验知识,与单参考DPO相比,显著增强了偏好学习能力。我们的实验表明,使用MRPO微调的LLMs在各种偏好数据上具有更好的泛化能力,无论数据稀缺还是丰富。此外,MRPO有效微调LLMs,在多个下游自然语言处理任务(如GSM8K和TruthfulQA)中展现出更优性能。

英文摘要:

How can Large Language Models (LLMs) be aligned with human intentions and values? A typical solution is to gather human preference on model outputs and finetune the LLMs accordingly while ensuring that updates do not deviate too far from a reference model. Recent approaches, such as direct preference optimization (DPO), have eliminated the need for unstable and sluggish reinforcement learning optimization by introducing close-formed supervised losses. However, a significant limitation of the current approach is its design for a single reference model only, neglecting to leverage the collective power of numerous pretrained LLMs. To overcome this limitation, we introduce a novel closed-form formulation for direct preference optimization using multiple reference models. The resulting algorithm, Multi-Reference Preference Optimization (MRPO), leverages broader prior knowledge from diverse reference models, substantially enhancing preference learning capabilities compared to the single-reference DPO. Our experiments demonstrate that LLMs finetuned with MRPO generalize better in various preference data, regardless of data scarcity or abundance. Furthermore, MRPO effectively finetunes LLMs to exhibit superior performance in several downstream natural language processing tasks such as GSM8K and TruthfulQA.

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

↑