arXiv:2510.08256cs.LGcs.AI2025-10被引 1

用混合专家模型提升语言模型对多样偏好的对齐能力

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

  • 引入隐变量和变分推断,让模型自动分配专家处理不同偏好
  • 在多偏好数据集上,比传统DPO更适应不同用户需求,效果更稳定
  • 适合需要个性化、多任务对齐的大型语言模型场景

直接偏好优化(DPO)作为对齐大语言模型与用户偏好的有效方法,近年来受到关注。然而现有DPO依赖单一模型,难以在多任务或偏好分布异构场景下表达多样化偏好。本文提出Mix- and MoE-DPO,结合软混合模型与混合专家(MoE)架构,采用随机变分推断方法,通过潜变量建模专家分配,并优化变分证据下界(ELBO),实现从偏好数据中稳定高效学习专业化专家策略。该框架具备三大优势:(i)通过混合结构实现通用函数逼近;(ii)各专家针对不同偏好模式定制奖励与策略;(iii)基于输入的软门控机制实现上下文感知的个性化策略。支持共享基础模型加专家头或完全独立专家模型,灵活权衡参数效率与专属性。在多种模型规模与多偏好数据集上验证,结果表明该方法在偏好对齐方面更具表现力与可扩展性。

原文摘要 · Abstract (English)

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.

偏好对齐混合专家变分推断大模型优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。