Lune

ICML2024顶会

A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity

Andrew Lee, Xiaoyan Bai, Itamar Pres, Martin Wattenberg, Jonathan K. Kummerfeld, Rada Mihalcea

摘要

While alignment algorithms are now commonly used to tune pre-trained language models towards a user's preferences, we lack explanations for the underlying mechanisms in which models become ``aligned'', thus making it difficult to explain phenomena like jailbreaks. In this work we study a popular algorithm, direct preference optimization (DPO), and the mechanisms by which it reduces toxicity. Namely, we first study how toxicity is represented and elicited in a pre-trained language model, GPT2-medium. We then apply DPO with a carefully crafted pairwise dataset to reduce toxicity. We examine how the resulting model averts toxic outputs, and find that capabilities learned from pre-training are not removed, but rather bypassed. We use this insight to demonstrate a simple method to un-align the model, reverting it back to its toxic behavior.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 76 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Persona Features Control Emergent Misalignment 引用了 Training language models to follow instructions with human feedback
  • Persona Features Control Emergent Misalignment 引用了 Refusal in Language Models Is Mediated by a Single Direction
  • Locating and Editing Factual Associations in GPT 引用了 Language Models are Few-Shot Learners
  • Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications 引用了 Locating and Editing Factual Associations in GPT
  • Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications 引用了 Language Models are Few-Shot Learners
  • Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications 引用了 Training language models to follow instructions with human feedback
  • Preference Fine-Tuning of LLMs Should Leverage Suboptimal, On-Policy Data 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Preference Fine-Tuning of LLMs Should Leverage Suboptimal, On-Policy Data 引用了 Language Models are Few-Shot Learners
  • Preference Fine-Tuning of LLMs Should Leverage Suboptimal, On-Policy Data 引用了 Training language models to follow instructions with human feedback
  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Language Models are Few-Shot Learners
  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Training language models to follow instructions with human feedback
  • Representation Noising: A Defence Mechanism Against Harmful Finetuning 引用了 Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications
  • Representation Noising: A Defence Mechanism Against Harmful Finetuning 引用了 Refusal in Language Models Is Mediated by a Single Direction
  • Training language models to follow instructions with human feedback 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Training language models to follow instructions with human feedback 引用了 Language Models are Few-Shot Learners
  • Refusal in Language Models Is Mediated by a Single Direction 引用了 Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications
  • Refusal in Language Models Is Mediated by a Single Direction 引用了 Training language models to follow instructions with human feedback
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper76

  1. Refusal in Language Models Is Mediated by a Single DirectionAndy Arditi, Oscar Obeso, Aaquib Syed, Daniel Paleka 等NeurIPS 2024 · 1,166 次引用
  2. Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank ModificationsBoyi Wei, Kaixuan Huang, Yangsibo Huang, Tinghao Xie 等ICML 2024 · 215 次引用
  3. Preference Fine-Tuning of LLMs Should Leverage Suboptimal, On-Policy DataFahim Tajwar, Anikait Singh, Archit Sharma, Rafael Rafailov 等ICML 2024 · 189 次引用
  4. Representation Noising: A Defence Mechanism Against Harmful FinetuningDomenic Rosati, Jan Wehner, Kai Williams, Lukasz Bartoszcze 等NeurIPS 2024 · 107 次引用
  5. Persona Features Control Emergent MisalignmentMiles Wang, Tom Dupré la Tour, Olivia Watkins, Aleksandar Makelov 等ICLR 2026 · 81 次引用

它引用的 Paper22

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
  3. Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
  4. Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 次引用
  5. Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung 等ICLR 2020 · 1,166 次引用

相关 Paper

  1. How Does DPO Reduce Toxicity? A Mechanistic Neuron-Level AnalysisYushi Yang, Filip Sondej, Harry Mayne, Andrew Lee 等EMNLP 2025 · 3 次引用
  2. Direct Preference Optimization with an OffsetAfra Amini, Tim Vieira, Ryan CotterellACL Findings 2024 · 13 次引用
  3. Improving LLM Safety Alignment with Dual-Objective OptimizationXuandong Zhao, Will Cai, Tianneng Shi, David Huang 等ICML 2025
  4. Model Editing as a Robust and Denoised variant of DPO: A Case Study on ToxicityRheeya Uppaal, Apratim Dey, Yiting He, Yiqiao Zhong 等ICLR 2025
  5. Alignment-Weighted DPO: A principled reasoning approach to improve safety alignmentMengxuan Hu, Vivek V. Datla, Anoop Kumar, Zihan Guan 等ICLR 2026 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖