atlas

Research map / Adversarial robustness and security / Attacks on text and graphs

Robust LLM safeguarding via refusal feature adversarial training

ICLR 2025 · Adversarial robustness and security › Attacks on text and graphs · approach: Adversarial prompts for language models · 2 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 jailbreak attacks work largely by ablating a refusal feature in the residual stream, and proposes ReFAT, an efficient adversarial training method that simulates these attacks by ablating the refusal feature during LoRA safety fine-tuning.

Problem

LLMs are vulnerable to diverse adversarial jailbreak attacks, and effective adversarial training defenses are computationally expensive because they require dynamic attack search during fine-tuning.

Approach

Adversarial jailbreaks share a common mechanism of ablating the refusal feature (difference-in-means direction between harmful and harmless activations); RFA approximates worst-case residual-stream perturbations, so training with RFA applied with probability p=0.5 simulates attacks using only extra forward passes instead of gradient-based search.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train with refusal feature ablation (ReFAT) instead of standard refusal trainingLlama-3-8B · HarmBench, RFA attackASR: 53.3 -> 10.4Helped
Train with refusal feature ablation (ReFAT) instead of standard refusal trainingGemma-7B · HarmBench, RFA attackASR: 92.8 -> 18.8Helped
Use ReFAT instead of the original modelLlama-3-8B · HarmBench, PAIR attackASR: 29.9 -> 11.5Helped
Use ReFAT instead of the original modelMistral-7B · HarmBench, GCG attackASR: 63.5 -> 16.6Helped
Use ReFAT instead of the original modelGemma-7B · HarmBench, AutoDAN attackASR: 13.0 -> 6.54Helped
Use ReFAT instead of the original modelLlama-3-8B · MMLUscore: 65.9 -> 65.2No clear effect
Use ReFAT instead of the original modelLlama-3-8B · MT-Benchscore: 7.24 -> 6.98No clear effect
Use ReFAT instead of the original modelMistral-7B · HarmBench, AutoDAN attackASR: 77.4 -> 28.5Helped
Use ReFAT instead of the original modelGemma-7B · HarmBench, GCG attackASR: 61.4 -> 11.6Helped
Remove refusal feature ablation during training (RT, p_RFA=0) (ablation)ReFAT · HarmBench, robustness across attacksASRHurt
Train for more than 1 epoch (ablation)ReFAT · HarmBenchaverage ASRHurt
Ablate refusal features on all layers rather than last 75% or last 50% (ablation)ReFAT · HarmBenchaverage ASRMixed

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench Alpaca HarmBench UltraChat XSTest MMLU MT-Bench

Benchmarks: HarmBench AdvBench MMLU MT-Bench XSTest

Metrics: attack success rate MMLU accuracy MT-Bench score XSTest compliance rate forward/backward pass count

Baselines: Refusal training (RT) R2D2 CAT LAT

Builds on: Refusal direction (Arditi et al.) R2D2 Continuous Adversarial Training (CAT) Latent Adversarial Training (LAT) GCG

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