atlas

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

Benign Samples Matter! Fine-tuning On Outlier Benign Samples Severely Breaks Safety

ICML 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 that fine-tuning an aligned LLM on 100 outlier benign samples, selected by a length-normalized self-influence score (Self-Inf-N), severely degrades safety while keeping utility.

Problem

Benign fine-tuning data can compromise LLM safety alignment; prior anchor-based attacks need external harmful/safe anchor datasets and use only 100 samples, which is impractical. The paper seeks an anchor-free, practical way to select benign samples that break safety.

Approach

Treat benign samples with high self-influence (gradient self-inner-product) as outliers relative to the aligned model's safety distribution; correct the length bias of vanilla Self-Inf by adding a log token-length term (Self-Inf-N), so selected samples are longer and more harmful in practice.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Select 100 benign samples with Self-Inf-N rather than random selectionLlama-2-7B-Chat fine-tuning · HEx-PHI, Alpacaharmfulness score: $1.13_{\pm 0.08}$ -> $3.47_{\pm 0.26}$Helped
Select 100 benign samples with Self-Inf-N rather than random selectionLlama-2-7B-Chat fine-tuning · HEx-PHI, Dollyharmfulness score: $1.21_{\pm 0.11}$ -> $3.71_{\pm 0.10}$Helped
Use Self-Inf-N sample selection rather than Bidirectional AnchorLlama-2-7B-Chat fine-tuning · HEx-PHI, Dollyharmfulness score: $3.40_{\pm 0.26}$ -> $3.71_{\pm 0.10}$Helped
Normalize Self-Inf using answer token length (ablation)Self-Inf sample selection · HEx-PHI, Dollyharmfulness score: $1.58_{\pm 0.06}$ -> $3.48_{\pm 0.27}$Helped
Normalize Self-Inf using answer token length (ablation)Self-Inf sample selection · HEx-PHI, Alpacaharmfulness score: $1.60_{\pm 0.10}$ -> $3.85_{\pm 0.16}$Helped
Fine-tune on samples with short answers rather than the selected outliers (ablation)Llama-2-7B-Chat · HEx-PHI category 0harmfulness scoreMixed
Continue fine-tuning after a first stage using selected samplesLlama-2-7B-Chat · HEx-PHI, Asclepius, lr=5E-6harmfulness score: 2.13 -> 3.39Helped
Continue fine-tuning after a first stage using selected samplesLlama-2-7B-Chat · HEx-PHI, Asclepius, lr=8E-6harmfulness score: 1.87 -> 3.20Helped
Continue fine-tuning after a first stage using selected samplesLlama-2-7B-Chat · HEx-PHI, Asclepius, lr=2E-5harmfulness score: 1.62 -> 2.78Helped
Add safety samples from Bianchi (ablation)Fine-tuning with selected benign samples · HEx-PHIharmfulness scoreHelped
Add safety samples from BeaverTails (ablation)Fine-tuning with selected benign samples · HEx-PHIharmfulness scoreMixed
Use RepNoise-BeaverTails for Lisa alignment steps (ablation)Lisa fine-tuning mitigation · HEx-PHIharmfulness scoreHelped

Surprising findings

Limitations

Experimental setup

Datasets: Dolly Alpaca Asclepius HEx-PHI MT-bench Bianchi safety dataset BeaverTails RepNoise-BeaverTails

Benchmarks: HEx-PHI MT-bench

Metrics: harmfulness score (1-5) utility score (MT-bench) proportion of safe answers Perspective API toxicity OpenAI Moderation flag rate

Baselines: Bidirectional Anchor Random Selection Full Benign fine-tuning Pure Bad (harmful fine-tuning) Self-Inf Lisa

Builds on: Bidirectional Anchor (benign data breaks safety) influence functions shallow safety alignment

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