当前的大语言模型(LLM)对齐技术在样本层面使用成对人类偏好,因此并不意味着在分布层面实现了对齐。本文提出了一种名为“通过最优传输对齐”(Alignment via Optimal Transport,AOT)的新方法,用于大语言模型的分布性偏好对齐。AOT 在非成对偏好数据上对齐大语言模型,其方式是使正样本的奖励分布在负样本的分布上具有一阶随机占优性。我们引入了这种一阶随机占优的凸松弛,并将其转化为一个具有光滑凸代价的最优传输问题。由于所得到的最优传输问题具有一维特性且代价是凸的,因此可以通过对经验测度进行排序得到闭式解。我们使用该 AOT 目标对大语言模型进行微调,通过惩罚正样本奖励分布对负样本奖励分布的随机占优违反来实现对齐。我们通过考虑最优传输问题的对偶形式分析了 AOT 的样本复杂度,并证明其以参数化速率收敛。在实验上,我们在多种对齐数据集和大语言模型上表明,在使用 Open LLM Benchmarks 和 AlpacaEval 进行评估时,AOT 在 7B 模型家族中产生了最先进的模型。
英文摘要:
Current LLM alignment techniques use pairwise human preferences at a sample level, and as such, they do not imply an alignment on the distributional level. We propose in this paper Alignment via Optimal Transport (AOT), a novel method for distributional preference alignment of LLMs. AOT aligns LLMs on unpaired preference data by making the reward distribution of the positive samples stochastically dominant in the first order on the distribution of negative samples. We introduce a convex relaxation of this first-order stochastic dominance and cast it as an optimal transport problem with a smooth and convex cost. Thanks to the one-dimensional nature of the resulting optimal transport problem and the convexity of the cost, it has a closed-form solution via sorting on empirical measures. We fine-tune LLMs with this AOT objective, which enables alignment by penalizing the violation of the stochastic dominance of the reward distribution of the positive samples on the reward distribution of the negative samples. We analyze the sample complexity of AOT by considering the dual of the OT problem and show that it converges at the parametric rate. Empirically, we show on a diverse set of alignment datasets and LLMs that AOT leads to state-of-the-art models in the 7B family of models when evaluated with Open LLM Benchmarks and AlpacaEval.
Distributional Vision-Language Alignment by Cauchy-Schwarz Divergence
University of Amsterdam(阿姆斯特丹大学);The Netherlands Cancer Institute(荷兰癌症研究所);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学);The Arctic University of Norway(挪威北极大学);Singapore Management University(新加坡管理大学)
Preference Alignment on Diffusion Model: A Comprehensive Survey for Image Generation and Editing
University of Liverpool(利物浦大学);Institute of Software Chinese Academy of Sciences(中国科学院软件研究所);University of Edinburgh(爱丁堡大学);University of Bristol(布里斯托大学);University of Exeter(埃克塞特大学)
Regularized Conditional Diffusion Model for Multi-Task Preference Alignment
Harbin Institute of Technology(哈尔滨工业大学);Institute of Artificial Intelligence (TeleAI), China Telecom(中国电信人工智能研究院(TeleAI));Hong Kong University of Science and Technology(香港科技大学)
Data Selection for LLM Alignment Using Fine-Grained Preferences
National Key Laboratory for Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室);School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);Algorithm Tech, Taobao & Tmall Group of Alibaba(阿里巴巴集团算法技术部);School of Intelligence Science and Technology, Nanjing University(南京大学智能科学与技术学院)
SPO: Multi-Dimensional Preference Sequential Alignment With Implicit Reward Modeling
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Baichuan Inc.(百川智能)
Direct Distributional Optimization for Provable Alignment of Diffusion Models
University of Tokyo(东京大学);RIKEN(理化学研究所);UC Berkeley(加州大学伯克利分校);Agency for Science, Technology and Research (A⋆STAR)(新加坡科技研究局);Nanyang Technological University(南洋理工大学)
Differentially Private Preference Data Synthesis for Large Language Model Alignment
Department of Computer Science, University of Virginia, Charlottesville, Virginia, USA(弗吉尼亚大学计算机科学系);Department of Electrical and Computer Engineering, University of Virginia, Charlottesville, Virginia, USA(弗吉尼亚大学电气与计算机工程系)
PEARL: Zero-shot Cross-task Preference Alignment and Robust Reward Learning for Robotic Manipulation
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);King’s College London(伦敦国王学院);Beijing Institute for General AI(北京通用人工智能研究院);Shanghai Jiao Tong University(上海交通大学)
Harvard University(哈佛大学);University of California Berkeley(加州大学伯克利分校);Massachusetts Institute of Technology(麻省理工学院);Ikigai Labs(Ikigai实验室);University of California San Diego(加州大学圣地亚哥分校)
Cal-DPO: Calibrated Direct Preference Optimization for Language Model Alignment
Artificial Intelligence Research Laboratory, Pennsylvania State University(宾夕法尼亚州立大学人工智能研究实验室);University of Chinese Academy of Sciences(中国科学院大学);Tencent AI Lab(腾讯人工智能实验室)