atlas

Research map / Large language models / Instruction and fine-tuning

Attack via Overfitting: 10-shot Benign Fine-tuning to Jailbreak LLMs

NeurIPS 2025 · Large language models › Instruction and fine-tuning · approach: Safety alignment after fine-tuning · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows LLMs can be jailbroken by two-stage fine-tuning on only 10 benign QA pairs: first overfit to identical refusal answers, then fine-tune on the same questions with standard answers.

Problem

Existing fine-tuning jailbreaks either use explicitly harmful data (easily caught by moderation models) or obfuscated/implicitly harmful data (costly, capability-dependent, or fragile to shuffling). The paper asks whether benign data alone can break safety alignment via fine-tuning.

Approach

Overfitting the model on identical refusal answers to benign questions makes it highly sensitive to parameter updates; a subsequent fine-tune on the same benign questions with normal answers then causes catastrophic forgetting of refusal behavior, so benign data acts like harmful data on the overfitted model.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use two-stage benign fine-tuning with an identical-refusal-answer overfitting stage followed by standard benign answers instead of malicious fine-tuningLlama2-7b · AdvBench SubsetASR: ASR is 96%Helped
Shuffle the AOA fine-tuning data (ablation)AOA attack · AdvBenchASR: 78% to 8%Hurt
Remove Stage-1 refusal-data overfitting (ablation)Two-stage benign fine-tuning attack · AdvBench — Llama2-7bASR: 92.57% to 4.42%Hurt
Use a defensive system prompt at inference (ablation)Two-stage benign fine-tuning attack · AdvBench, ten LLMsASRHurt
Use an adversarial system prompt at inference (ablation)Two-stage benign fine-tuning attack · AdvBench, ten LLMsASRHelped
Replace full fine-tuning with LoRA fine-tuning (ablation)Two-stage benign fine-tuning attack · AdvBench, ten LLMsASRHurt
Apply token-wise loss defense during both fine-tuning stages (ablation)Two-stage benign fine-tuning attack on Llama2-7b · AdvBenchASR: 92.11%No clear effect
Use more varied answer structures in AOA compliant data (ablation)AOA attack · AdvBench SubsetASRHurt
Replace AOA compliant data with all instructing data (ablation)AOA attack · AdvBench SubsetASRHurt
Make the first five AOA answers more similar (ablation)AOA attack · AdvBench SubsetASRHelped
Expand Stage-2 benign data from 10 to 50 more detailed and varied QA pairs (ablation)Two-stage benign fine-tuning attack · Follow-up harmful questionsresponse diversity and coherence: 10 to 50Helped

Surprising findings

Limitations

Experimental setup

Datasets: AOA dataset Alpaca AdvBench AdvBench Subset indirect malicious QA pairs GPT-4o-generated benign QA pairs

Benchmarks: AdvBench

Metrics: Attack Success Rate (ASR) Harmful Score (HS) Detection Rate (DR)

Baselines: AOA fine-tuning Encryption fine-tuning Malicious fine-tuning Indirect malicious fine-tuning Irrelevant fine-tuning (Alpaca)

Builds on: AOA (Absolutely Obedient Agent) attack malicious fine-tuning encryption fine-tuning token-wise loss defense

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy