使大语言模型(LLM)与人类偏好对齐,对打造安全且实用的LLM至关重要。现有研究主要采用基于人类反馈的强化学习(RLHF)和直接偏好优化(DPO)来实现对齐,但这类方法存在一定缺陷:其一,训练时只能让模型对齐单一偏好(例如当偏好数据倾向于详细回复时,模型无法学习生成简洁回复);其二,对数据格式存在特定限制(比如DPO仅支持成对偏好数据)。\n为此,已有研究将可控生成引入对齐任务,让语言模型学习多种偏好,推理阶段可按需输出符合不同偏好的结果,同时可控生成在数据格式上也更具灵活性(例如支持逐点偏好数据)。具体而言,该方法在训练和推理阶段为不同偏好设置不同的控制令牌,使LLM能按需呈现不同行为。当前的可控生成方法要么使用特殊令牌、要么采用人工构建的提示词作为控制令牌,并将其与LLM一同优化。但由于控制令牌的参数量通常远小于LLM,这种优化策略可能无法有效优化控制令牌。\n针对这一问题,我们首先利用参数高效微调(如提示微调、低秩适配)优化控制令牌,再参照已有方法对模型进行微调以实现可控生成。我们提出的方法——alignMEnt with parameter-Efficient Tuning(MEET,基于参数高效微调的对齐方法)提升了控制令牌的质量,在两个公认数据集上,相比已有方法持续且显著地提升了可控生成的质量。
英文摘要:
Aligning large language models (LLMs) with human preferences is essential for safe and useful LLMs. Previous works mainly adopt reinforcement learning (RLHF) and direct preference optimization (DPO) with human feedback for alignment. Nevertheless, they have certain drawbacks. One such limitation is that they can only align models with one preference at the training time (e.g., they cannot learn to generate concise responses when the preference data prefers detailed responses), or have certain constraints for the data format (e.g., DPO only supports pairwise preference data). To this end, prior works incorporate controllable generations for alignment to make language models learn multiple preferences and provide outputs with different preferences during inference if asked. Controllable generation also offers more flexibility with regard to data format (e.g., it supports pointwise preference data). Specifically, it uses different control tokens for different preferences during training and inference, making LLMs behave differently when required. Current controllable generation methods either use a special token or hand-crafted prompts as control tokens, and optimize them together with LLMs. As control tokens are typically much lighter than LLMs, this optimization strategy may not effectively optimize control tokens. To this end, we first use parameter-efficient tuning (e.g., prompting tuning and low-rank adaptation) to optimize control tokens and then fine-tune models for controllable generations, similar to prior works. Our approach, alignMEnt with parameter-Efficient Tuning (MEET), improves the quality of control tokens, thus improving controllable generation quality consistently by an apparent margin on two well-recognized datasets compared with prior works.
Multilingual Pretraining and Instruction Tuning Improve Cross-Lingual Knowledge Alignment, But Only Shallowly
National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);Department of Linguistics and Translation, City University of Hong Kong(香港城市大学语言学及翻译学系)
DEFT: Distribution-guided Efficient Fine-Tuning for Human Alignment
Southern University of Science and Technology(南方科技大学);Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Science and Technology of China(中国科学技术大学);University of Copenhagen(哥本哈根大学)
College of Computer Science, Sichuan University(四川大学计算机学院);Beijing Academy of Artificial Intelligence(北京人工智能研究院);University of Leeds(利兹大学);The Alan Turing Institute(艾伦·图灵研究所)
The Art of (Mis)alignment: How Fine-Tuning Methods Effectively Misalign and Realign LLMs in Post-Training
University of Electronic Science and Technology of China(电子科技大学);Flexera;CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心);Nanyang Technological University(南洋理工大学)
AdvChain: Adversarial Chain-of-Thought Tuning for Robust Safety Alignment of Large Reasoning Models
The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));State University of New York at Buffalo(纽约州立大学布法罗分校);Huawei International, Singapore(新加坡华为国际)
Enhancing Large Language Model for Knowledge Graph Completion via Structure-Aware Alignment-Tuning
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Griffith University(格里菲斯大学)
Beyond Under-Alignment: Atomic Preference Enhanced Factuality Tuning for Large Language Models
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning
ShanghaiTech University(上海科技大学);Beijing University of Posts and Telecommunications(北京邮电大学);Meituan(美团);Alibaba Group(阿里巴巴集团);The Hong Kong University of Science and Technology(香港科技大学)