对齐大型语言模型(LLM)以处理主观性和细微的偏好层级,需要充分的灵活性与控制力,而这可能是一个资源密集且耗时的过程。现有的训练时对齐方法在需要变更时要求完整重新训练,推理时方法则通常需要在每个推理步骤访问奖励模型。为克服这些局限,我们提出一种推理时模型对齐方法,用于学习偏好维度的编码表示,称为 Alignment Vectors(AV,对齐向量)。这些表示通过用对齐后模型减去基础模型来计算,如同模型编辑中的做法,从而能够借助简单的线性运算在推理过程中动态调整模型行为。尽管偏好维度可以跨越不同粒度层级,本文聚焦于医疗、法律和金融三个专业领域中的三种渐进响应层级,以展示其实际潜力。这种新的对齐范式在推理期间引入可调节的偏好旋钮,允许用户定制 LLM 输出,同时与提示工程方法相比将推理成本降低一半。此外,我们发现 AV 可在同一模型的不同微调阶段之间迁移,证明了其灵活性。AV 还促进多域、多样化的偏好对齐,使该过程比重新训练方法快 12 倍。
英文摘要:
Aligning Large Language Models (LLM) to address subjectivity and nuanced preference levels requires adequate flexibility and control, which can be a resource-intensive and time-consuming procedure. Existing training-time alignment methods require full re-training when a change is needed and inference-time ones typically require access to the reward model at each inference step. To address these limitations, we introduce inference-time model alignment method that learns encoded representations of preference dimensions, called \textit{Alignment Vectors} (AV). These representations are computed by subtraction of the base model from the aligned model as in model editing enabling dynamically adjusting the model behavior during inference through simple linear operations. Even though the preference dimensions can span various granularity levels, here we focus on three gradual response levels across three specialized domains: medical, legal, and financial, exemplifying its practical potential. This new alignment paradigm introduces adjustable preference knobs during inference, allowing users to tailor their LLM outputs while reducing the inference cost by half compared to the prompt engineering approach. Additionally, we find that AVs are transferable across different fine-tuning stages of the same model, demonstrating their flexibility. AVs also facilitate multidomain, diverse preference alignment, making the process 12x faster than the retraining approach.
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(腾讯人工智能实验室)
PMoL: Parameter Efficient MoE for Preference Mixing of LLM Alignment
Harbin Institute of Technology(哈尔滨工业大学);Beijing Normal University - Hong Kong Baptist University United International College(北京师范大学-香港浸会大学联合国际学院);Qilu University of Technology(齐鲁工业大学)
A Survey on Personalized and Pluralistic Preference Alignment in Large Language Models
University of California, San Diego(加利福尼亚大学圣地亚哥分校);University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Adobe Research(奥多比研究院);The Ohio State University(俄亥俄州立大学);Allen Institute for AI(艾伦人工智能研究所)
Preference Orchestrator: Prompt-Aware Multi-Objective Alignment for Large Language Models
School of Computer Science and Engineering(计算机科学与工程学院);Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications(新一代人工智能技术及其交叉应用关键实验室);Ministry of Education(教育部)
Beyond Bradley-Terry Models: A General Preference Model for Language Model Alignment
IIIS, Tsinghua University, Beijing, China(清华大学信息科学技术学院,北京,中国);Shanghai Qi Zhi Institute, Shanghai, China(上海启智研究院,上海,中国);Department of Computer Science, University of California, Los Angeles, California, USA(计算机科学系,加州大学洛杉矶分校,美国,加州)
Multi-Objective Exploration and Preference Optimization via Mutual Information
School of Computer, Beihang University(北京航空航天大学计算机学院);Xingchen AGI Lab, China Telecom Artificial Intelligence Technology (Beijing) Co., Ltd(星辰AGI实验室,中国电信人工智能技术(北京)有限公司)
Panacea: Pareto Alignment via Preference Adaptation for LLMs
Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);BIGAI(北京智源人工智能研究院);Department of Computer Science, City University of Hong Kong(香港城市大学计算机科学系);Yuanpei College, Peking University(北京大学元培学院)
Is Preference Alignment Always the Best Option to Enhance LLM-Based Translation? An Empirical Analysis
Artefact Research Center(Artefact 研究中心);Unbabel;Equall;MICS, CentraleSupélec, Université Paris-Saclay(巴黎-萨克雷大学中央理工-高等电力学院数学与计算机科学实验室);Instituto de Telecomunicações(电信研究所);Instituto Superior Técnico & Universidade de Lisboa(里斯本大学高等技术学院)
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系);Tencent Inc.(腾讯公司)
HEAL: A Hypothesis-Based Preference-Aware Analysis Framework
School of Computer Science and Engineering, Northeastern University(计算机科学与工程学院,东北大学);NiuTrans Research(NiuTrans研究院);CAS Key Laboratory of Behavioral Science, Institute of Psychology, CAS(行为科学重点实验室,心理学研究所)