面向LLM偏好对齐的零阶范式

·

研究论文 · 2026/09/17

直接偏好对齐方法因计算和内存效率而被广泛用于使大型语言模型(LLM)与人类偏好对齐。然而,似然位移促使人们寻找从具有小似然边际的偏好对中提取信息的替代方法。本文提出并分析了基于比较的偏好优化(ComPO),这是一种基于比较预言机的零阶对齐方法。ComPO从这些偏好对中提取方向信息,而不直接在其上优化可微的偏好损失。我们在平滑性、梯度稀疏性以及预言机与潜在目标兼容性的条件下,为其基本离线方案建立了收敛保证。我们进一步引入了在线ComPO,它保留离线比较机制,并使用未标记的策略生成进行相对于参考策略的反向KL控制。遵循偏好微调的覆盖视角,我们在局部覆盖和分布内成对奖励准确性的条件下,为基本约束方案建立了性能保证。在Mistral、Llama、Gemma-2、Qwen3和Gemma-3模型上的实验表明,该方法优于现有的直接对齐方法,包括长度控制的胜率,并且成对级别的诊断提供了与缓解似然位移一致的证据。

该论文提出了一种新的零阶偏好对齐范式,解决了似然位移问题,并在多个主流模型上验证了其有效性,为LLM对齐提供了理论和实践上的新思路。

Direct preference alignment methods are widely used to align large language models (LLMs) with human preferences because of their computational and memory efficiency. However, likelihood displacement motivates alternative ways to extract information from preference pairs with small likelihood margins. In this paper, we propose and analyze Comparison-based Preference Optimization (ComPO), a zeroth-order alignment method based on comparison oracles. ComPO extracts directional information from these pairs without directly optimizing a differentiable preference loss on them. We establish a convergence guarantee for its basic offline scheme under smoothness, gradient sparsity, and compatibility between the oracle and a latent objective. We further introduce online ComPO, which retains the offline comparison mechanism and uses unlabeled policy generations for reverse-KL control relative to a reference policy. Following the coverage perspective of preference fine-tuning, we establish a performance guarantee for a basic constrained scheme under local coverage and in-distribution pairwise reward accuracy. Experiments on Mistral, Llama, Gemma-2, Qwen3, and Gemma-3 models demonstrate improvements over existing direct alignment methods, including length-controlled win rates, with pair-level diagnostics providing evidence consistent with mitigating likelihood displacement.

阅读原文

参与讨论