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

Mix- 和 MoE-DPO:一种面向直接偏好优化的变分推断方法

Mix- and MoE-DPO: A Variational Inference Approach to Direct Preference Optimization

Department of Applied Mathematics and Statistics(应用数学与统计学系);Stony Brook University(石溪大学);Institute for Advanced Computational Science(先进计算科学研究所);Center of Excellence in Wireless and Information Technology (CEWIT)(无线与信息技术卓越中心);AI Innovation Institute(人工智能创新研究院);Bloomberg(彭博);Toronto, ON M5J 2S1(多伦多,ON M5J 2S1);San Francisco, CA 94105(旧金山,CA 94105);Bloomberg New York, NY 10022(纽约,NY 10022)

Jason Bohne, Pawel Polak, David Rosenberg, Brian Bloniarz, Gary Kazantsev

AI总结:

本文提出Mix-和MoE-DPO框架,通过软混合模型和混合专家架构结合变分推断,扩展直接偏好优化,实现多任务下LLM对齐的泛化、专门化和上下文自适应。

摘要:

直接偏好优化(DPO)近来作为一种简单有效的替代方案,用于从人类反馈中进行强化学习(RLHF),以将大型语言模型(LLMs)与用户偏好对齐。然而,现有的DPO公式依赖于单一的 monolithic 模型,这限制了其在多任务设置中的表达能力及其对异构或多样偏好分布的适应性。在本工作中,我们提出了 Mix- 和 MoE-DPO,一个通过软混合模型和混合专家(MoE)架构扩展DPO的框架,采用随机变分推断方法。我们的方法引入了一个关于专家分配的潜在变量模型,并优化变分证据下界(ELBO),从而能够从偏好数据中稳定且高效地学习专门化的专家策略。Mix- 和 MoE-DPO 相比标准 DPO 提供了三个关键优势:(i)通过混合实现通用函数逼近的泛化能力;(ii)通过针对不同偏好模式定制的专家组件实现奖励和策略专门化;(iii)通过输入依赖的软门控实现上下文对齐,从而支持用户特定的混合策略。我们的框架既支持共享基础架构与专家特定策略头,也支持完全独立的专家模型,允许在参数效率和专门化之间进行灵活权衡。我们在多种模型规模和多个偏好数据集上验证了我们的方法,表明 Mix- 和 MoE-DPO 为基于偏好的 LLM 对齐提供了一种强大且可扩展的方法。

英文摘要:

Direct Preference Optimization (DPO) has recently emerged as a simple and effective alternative to reinforcement learning from human feedback (RLHF) for aligning large language models (LLMs) with user preferences. However, existing DPO formulations rely on a single monolithic model, which limits their expressivity in multi-task settings and their adaptability to heterogeneous or diverse preference distributions. In this work, we propose Mix- and MoE-DPO, a framework that extends DPO with both soft mixture models and mixture-of-experts (MoE) architectures, using a stochastic variational inference approach. Our method introduces a latent-variable model over expert assignments and optimizes a variational evidence lower bound (ELBO), enabling stable and efficient learning of specialized expert policies from preference data. Mix- and MoE-DPO provides three key advantages over standard DPO: (i) generalization via universal function approximation through mixtures; (ii) reward and policy specialization through expert components tailored to distinct preference modes; and (iii) contextual alignment through input-dependent soft gating that enables user-specific mixture policies. Our framework supports both shared base architectures with expert-specific policy heads and fully independent expert models, allowing flexible trade-offs between parameter efficiency and specialization. We validate our approach on a variety of model sizes and multi-preference datasets, demonstrating that Mix- and MoE-DPO offers a powerful and scalable method for preference-based LLM alignment.

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

↑