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

📅 2025-06-04
📈 Citations: 0
Influential: 0
📄 PDF

career value

210K/year
🤖 AI Summary
Harmful fine-tuning (HFT) systematically degrades the safety alignment of open-source large language models, yet existing defenses overlook the heterogeneous vulnerability inherent in alignment data. This work is the first to identify and model a systematic, cross-task forgettable vulnerable subset within alignment data. Building on this insight, we propose a vulnerability-aware group-robust optimization framework that jointly integrates vulnerability estimation, adversarial sampling, and group-dependent adversarial perturbation to achieve balanced robust learning across vulnerable groups. Evaluated on four HFT benchmark tasks, our method significantly reduces harmfulness (average reduction of 38.2%) while preserving downstream task performance—outperforming all existing state-of-the-art approaches comprehensively.

Technology Category

Application Category

📝 Abstract
Harmful fine-tuning (HFT), performed directly on open-source LLMs or through Fine-tuning-as-a-Service, breaks safety alignment and poses significant threats. Existing methods aim to mitigate HFT risks by learning robust representation on alignment data or making harmful data unlearnable, but they treat each data sample equally, leaving data vulnerability patterns understudied. In this work, we reveal that certain subsets of alignment data are consistently more prone to forgetting during HFT across different fine-tuning tasks. Inspired by these findings, we propose Vulnerability-Aware Alignment (VAA), which estimates data vulnerability, partitions data into"vulnerable"and"invulnerable"groups, and encourages balanced learning using a group distributionally robust optimization (Group DRO) framework. Specifically, VAA learns an adversarial sampler that samples examples from the currently underperforming group and then applies group-dependent adversarial perturbations to the data during training, aiming to encourage a balanced learning process across groups. Experiments across four fine-tuning tasks demonstrate that VAA significantly reduces harmful scores while preserving downstream task performance, outperforming state-of-the-art baselines.
Problem

Research questions and friction points this paper is trying to address.

Mitigates uneven forgetting in harmful fine-tuning of LLMs
Identifies vulnerable alignment data prone to safety breaches
Balances learning using adversarial sampling and perturbations
Innovation

Methods, ideas, or system contributions that make the work stand out.

Estimates data vulnerability patterns
Partitions data into vulnerable groups
Uses Group DRO for balanced learning