Booster: Tackling Harmful Fine-tuning for Large Language Models via Attenuating Harmful Perturbation

Tiansheng Huang, Sihao Hu, Fatih Ilhan, S. Tekin, Ling Liu
2/12/2026

No official code found. Best implementation: git-disl/Booster (39 stars, Apache-2.0, last commit 2025-03-22).

Abstract

Harmful fine-tuning attack poses serious safety concerns for large language models' fine-tuning-as-a-service. While existing defenses have been proposed to mitigate the issue, their performances are still far away from satisfactory, and the root cause of the problem has not been fully recovered. To this end, we in this paper show that harmful perturbation over the model weights could be a probable cause of alignment-broken. In order to attenuate the negative impact of harmful perturbation, we propose an alignment-stage solution, dubbed Booster. Technically, along with the original alignment loss, we append a loss regularizer in the alignment stage's optimization. The regularizer ensures that the model's harmful loss reduction after the simulated harmful perturbation is attenuated, thereby mitigating the subsequent fine-tuning risk. Empirical results show that Booster can effectively reduce the harmful score of the fine-tuned models while maintaining the performance of downstream tasks. Our code is available at https://github.com/git-disl/Booster.

View on arXivView PDF

Code Implementations(1)

git-disl/BoosterCommunity73%
Apache-2.0

This is the official code for the paper "Booster: Tackling Harmful Fine-tuning for Large Language Models via Attenuating Harmful Perturbation" (ICLR2025 Oral).

392Shell, PythonSep 1, 20241 years agoApache-2.0
alignmentattackemergentfine-tuningfinetuning+5 more

Similar Papers

Cite this paper

@article{huang2026booster,
  title  = {Booster: Tackling Harmful Fine-tuning for Large Language Models via Attenuating Harmful Perturbation},
  author = {Tiansheng Huang and Sihao Hu and Fatih Ilhan and S. Tekin and Ling Liu},
  year   = {2026},
  eprint = {2409.01586},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2409.01586},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.01586.svg)](https://codeofpaper.com/paper/2409.01586)

Discussion