Safer Content or Firmer Refusals? A Hybrid Perturbation Defense for Alignment under Harmful Fine-tuning
VaccineBooster lowers flagged harmful output after poisoned fine-tuning but can weaken explicit refusals.
VaccineBooster combines Vaccine-style embedding perturbation with Booster-style gradient attenuation to resist harmful fine-tuning. On Llama-2-7B aligned with BeaverTails and then poisoned, it achieves the lowest OpenAI moderation score among compared defenses, 0.315, while a Booster-only variant retains a 50 percent post-attack refusal rate. Ablations suggest embedding perturbation reduces flagged harmful content and gradient attenuation preserves refusals. The authors treat this as an observed pattern because each configuration used ten prompts and a single unseeded run.
- A little harmful data in fine-tuning can degrade model alignment.
- VaccineBooster records the lowest moderation score, 0.315, on Llama-2-7B.
- A Booster-only variant keeps the highest post-attack refusal rate, 50 percent.
- Ten prompts and one unseeded run make the observed trade-off provisional.
- Vendors
- Meta
- AI models
- Llama-2-7B
From the original article
1 min read at arxiv.orgFine-tuning-as-a-service lets users adapt a safety-aligned language model to their own data, but it also creates a harmful fine-tuning attack surface: a small amount of harmful data mixed into an otherwise benign fine-tuning set can degrade the model's alignment. Two recent alignment-stage defenses address this problem at different levels of the model.
By Muhammad Zeeshan Akram · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.