paper-with-me

홈 › Papers

No, of course I can! Refusal Mechanisms Can Be Exploited Using Harmless Fine-Tuning Data

2025-02-26 · Joshua Kazdan, Lisa Yu, Rylan Schaeffer, Chris Cundy, Sanmi Koyejo, Krishnamurthy Dvijotham

Leading language model (LM) providers like OpenAI and Google offer fine-tuning APIs that allow customers to adapt LMs for specific use cases. To prevent misuse, these LM providers implement filtering mechanisms to block harmful fine-tuning data. Consequently, adversaries seeking to produce unsafe LMs via these APIs must craft adversarial training data that are not identifiably harmful. We make three contributions in this context: 1. We show that many existing attacks that use harmless data to create unsafe LMs rely on eliminating model refusals in the first few tokens of their responses. 2. We show that such prior attacks can be blocked by a simple defense that pre-fills the first few tokens from an aligned model before letting the fine-tuned model fill in the rest. 3. We describe a new data-poisoning attack, ``No, Of course I Can Execute'' (NOICE), which exploits an LM's formulaic refusal mechanism to elicit harmful responses. By training an LM to refuse benign requests on the basis of safety before fulfilling those requests regardless, we are able to jailbreak several open-source models and a closed-source model (GPT-4o). We show an attack success rate (ASR) of 57% against GPT-4o; our attack earned a Bug Bounty from OpenAI. Against open-source models protected by simple defenses, we improve ASRs by an average of 3.25 times compared to the best performing previous attacks that use only harmless data. NOICE demonstrates the exploitability of repetitive refusal mechanisms and broadens understanding of the threats closed-source models face from harmless data.

📄 PDF Abstract BibTeX arXiv:2502.19537

Code (0)

등록된 구현이 없습니다.

Tasks

Data Poisoning

Similar Papers 제목 키워드 기반

Think Before Refusal : Triggering Safety Reflection in LLMs to Mitigate False Refusal Behavior

2025-03-22 · Shengyun Si, Xinpeng Wang, Guangyao Zhai, Nassir Navab 외

Recent advancements in large language models (LLMs) have demonstrated that fine-tuning and human alignment can render LLMs harmless. In practice, such "harmlessness" behavior is mainly achieved by training models to reje…

Refusal in Language Models Is Mediated by a Single Direction

2024-06-17 · Andy Arditi, Oscar Obeso, Aaquib Syed, Daniel Paleka 외

Conversational large language models are fine-tuned for both instruction-following and safety, resulting in models that obey benign requests but refuse harmful ones. While this refusal behavior is widespread across chat …

Instruction Following

Please refuse to answer me! Mitigating Over-Refusal in Large Language Models via Adaptive Contrastive Decoding

2026-04-18 · Yupeng Qi, Ziyu Lyu, Lixin Cui, Lu Bai 외 arxiv

Safety-aligned large language models (LLMs) often generate refusal responses to harmless queries due to the over-refusal problem. However, existing methods for mitigating over-refusal cannot maintain a low refusal ratio …

LLMs Encode Harmfulness and Refusal Separately

2025-07-16 · Jiachen Zhao, Jing Huang, Zhengxuan Wu, David Bau 외

LLMs are trained to refuse harmful instructions, but do they truly understand harmfulness beyond just refusing? Prior work has shown that LLMs' refusal behaviors can be mediated by a one-dimensional subspace, i.e., a ref…

Efficient Refusal Ablation in LLM through Optimal Transport

2026-03-04 · Geraldin Nanfack, Eugene Belilovsky, Elvis Dohmatob arxiv

Safety-aligned language models refuse harmful requests through learned refusal behaviors encoded in their internal representations. Recent activation-based jailbreaking methods circumvent these safety mechanisms by apply…