Lune

ACL2025顶会

Refuse Whenever You Feel Unsafe: Improving Safety in LLMs via Decoupled Refusal Training

Youliang Yuan, Wenxiang Jiao, Wenxuan Wang, Jen-tse Huang, Jiahao Xu, Tian Liang, Pinjia He, Zhaopeng Tu

摘要

This study addresses a critical gap in safety tuning practices for Large Language Models (LLMs) by identifying and tackling a refusal position bias within safety tuning data, which compromises the models' ability to appropriately refuse generating unsafe content. We introduce a novel approach, Decoupled Refusal Training (DeRTa), designed to empower LLMs to refuse compliance to harmful prompts at any response position, significantly enhancing their safety capabilities. DeRTa incorporates two novel components: (1) Maximum Likelihood Estimation (MLE) with Harmful Response Prefix, which trains models to recognize and avoid unsafe content by appending a segment of harmful response to the beginning of a safe response, and (2) Reinforced Transition Optimization (RTO), which equips models with the ability to transition from potential harm to safety refusal consistently throughout the harmful response sequence. Our empirical evaluation, conducted using LLaMA3 and Mistral model families across six attack scenarios, demonstrates that our method not only improves model safety without compromising performance but also surpasses baseline methods in defending against attacks. WARNING: This paper contains unsafe model responses. 1 How do you rob a bank? To rob a bank, strategic planning and precise execution are essential. To rob a bank, strategic planning and precise execution are essential. The following steps can guide ... avoid leaving any traces behind.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Refusal Direction is Universal Across Safety-Aligned Languages 引用了 Measuring Massive Multitask Language Understanding
  • Refusal Direction is Universal Across Safety-Aligned Languages 引用了 Training language models to follow instructions with human feedback
  • Lifelong Safety Alignment for Language Models 引用了 Measuring Massive Multitask Language Understanding
  • Sok: Evaluating Jailbreak Guardrails for Large Language Models 引用了 Training language models to follow instructions with human feedback
  • Sok: Evaluating Jailbreak Guardrails for Large Language Models 引用了 Jailbroken: How Does LLM Safety Training Fail?
  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Training language models to follow instructions with human feedback
  • HiddenGuard: Fine-Grained Safe Generation with Specialized Representation Router 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • HiddenGuard: Fine-Grained Safe Generation with Specialized Representation Router 引用了 Training language models to follow instructions with human feedback
  • From Judgment to Interference: Early Stopping LLM Harmful Outputs via Streaming Content Monitoring 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Jailbroken: How Does LLM Safety Training Fail? 引用了 Training language models to follow instructions with human feedback
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper24

  1. Refusal Direction is Universal Across Safety-Aligned LanguagesXinpeng Wang, Mingyang Wang, Yihong Liu, Hinrich Schütze 等NeurIPS 2025 · 39 次引用
  2. Sok: Evaluating Jailbreak Guardrails for Large Language ModelsXunguang Wang, Zhenlan Ji, Wenxuan Wang, Zongjie Li 等S&P 2026 · 27 次引用
  3. From Judgment to Interference: Early Stopping LLM Harmful Outputs via Streaming Content MonitoringYang Li, Qiang Sheng, Yehan Yang, Xueyao Zhang 等NeurIPS 2025 · 21 次引用
  4. Lifelong Safety Alignment for Language ModelsHaoyu Wang, Yifei Zhao, Zeyu Qin, Chao Du 等NeurIPS 2025 · 18 次引用
  5. HiddenGuard: Fine-Grained Safe Generation with Specialized Representation RouterLingrui Mei, Shenghua Liu, Yiwei Wang, Baolong Bi 等ACL 2026 · 14 次引用

它引用的 Paper24

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
  2. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
  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. Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
  5. Jailbroken: How Does LLM Safety Training Fail?Alexander Wei, Nika Haghtalab, Jacob SteinhardtNeurIPS 2023 · 2,230 次引用

相关 Paper

  1. Sysformer: Safeguarding Frozen Large Language Models with Adaptive System PromptsKartik Sharma, Yiqiao Jin, Vineeth Rakesh, Yingtong Dou 等ICLR 2026 · 5 次引用
  2. Any-Depth Alignment: Unlocking Innate Safety Alignment of LLMs to Any-DepthJiawei Zhang, Andrew Estornell, David D. Baek, Bo Li 等ICLR 2026 · 3 次引用
  3. Safety is Not Only About Refusal: Reasoning-Enhanced Fine-tuning for Interpretable LLM SafetyYuyou Zhang, Miao Li, William Han, Yihang Yao 等ACL Findings 2025 · 5 次引用
  4. Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow InstructionsFederico Bianchi, Mirac Suzgun, Giuseppe Attanasio, Paul Röttger 等ICLR 2024 · 373 次引用
  5. Defensive Prompt Patch: A Robust and Generalizable Defense of Large Language Models against Jailbreak AttacksChen Xiong, Xiangyu Qi, Pin-Yu Chen, Tsung-Yi HoACL Findings 2025 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖