atlas

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

Vulnerability-Aware Alignment: Mitigating Uneven Forgetting in Harmful Fine-Tuning

ICML 2025 · Adversarial robustness and security › Attacks on text and graphs · approach: LLM jailbreak and injection defense · 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.

Proposes Vulnerability-Aware Alignment (VAA), which partitions alignment data by how often examples are forgotten under a proxy harmful fine-tuning run and trains with an EXP3-based adversarial group sampler plus group-dependent weight perturbations (Group DRO) to balance learning across groups.

Problem

Harmful fine-tuning breaks safety alignment, and existing alignment-stage defenses treat all alignment examples equally, ignoring that some examples are much more prone to forgetting during fine-tuning.

Approach

Measure per-example vulnerability (ForgotNum) via a proxy fine-tuning run, split data into vulnerable and invulnerable groups, and apply group DRO with an adversarial EXP3 sampler and group-specific adversarial weight perturbations during alignment.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use vulnerability-aware alignment instead of BoosterLlama2 7B · SST2HS: 25.90 -> 20.00Helped
use vulnerability-aware alignment instead of RepNoiseLlama2 7B · AGNEWSHS: 27.29 -> 21.12Helped
use vulnerability-aware alignment instead of VaccineLlama2 7B · GSM8KHS: 34.66 -> 31.08Helped
use vulnerability-aware alignment instead of SFTLlama2 7B · AlpacaEvalHS: 30.48 -> 27.09Helped
use vulnerability-aware alignment instead of VaccineLlama2 7B · Average across fine-tuning tasksHS: 31.28 -> 24.82Helped
remove vulnerability-based example grouping (ablation)VAA · Example groupingHS: 20.00 -> 26.42Hurt
randomly swap 10% of examples between vulnerable and invulnerable groups (ablation)VAA · Noisy example groupingHS: 20.00 -> 21.08Hurt
sample exclusively from the vulnerable group (ablation)VAA · Sampling strategiesHS: 20.00 -> 29.26Hurt
sample exclusively from the invulnerable group (ablation)VAA · Sampling strategiesHS: 20.00 -> 33.98Hurt
replace dynamic adversarial sampling with importance sampling (ablation)VAA · Sampling strategiesHS: 20.00 -> 28.64Hurt

Surprising findings

Limitations

Experimental setup

Datasets: BeaverTails Alpaca SST-2 AG News GSM8K AlpacaEval

Benchmarks: SST-2 AG News GSM8K AlpacaEval BeaverTails test set

Metrics: Harmful Score (HS) Fine-tuning Accuracy (FA)

Baselines: SFT RepNoise Vaccine Booster

Builds on: Group DRO Vaccine Booster EXP3 RepNoise

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