paper-with-me

홈 › Papers

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

2024-09-03 · Tiansheng Huang, Sihao Hu, Fatih Ilhan, Selim Furkan Tekin, Ling Liu

Harmful fine-tuning issue \citep{qi2023fine} poses serious safety concerns for Large language models' fine-tuning-as-a-service. While existing defenses \citep{huang2024vaccine,rosati2024representation} 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. For the first time in the literature, we in this paper show that \textit{harmful perturbation} over the model weights should be the root cause of alignment-broken of harmful fine-tuning. 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 before/after 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 \url{https://github.com/git-disl/Booster}.

📄 PDF Abstract BibTeX arXiv:2409.01586

Code (1)

git-disl/booster 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Pharmacist: Safety Alignment Data Curation for Large Language Models against Harmful Fine-tuning

2025-10-11 · Guozhi Liu, Qi Mu, Tiansheng Huang, Xinhua Wang 외 arxiv

Harmful fine-tuning issues present significant safety challenges for fine-tuning-as-a-service in large language models. Existing alignment-stage defenses, e.g., Vaccine, Repnoise, Booster, and T-Vaccine, mitigate harmful…

Computational Efficiency

CTRAP: Embedding Collapse Trap to Safeguard Large Language Models from Harmful Fine-Tuning

2025-05-22 · Biao Yi, Tiansheng Huang, Baolei Zhang, Tong Li 외

Fine-tuning-as-a-service, while commercially successful for Large Language Model (LLM) providers, exposes models to harmful fine-tuning attacks. As a widely explored defense paradigm against such attacks, unlearning atte…

Language ModelingLanguage ModellingLarge Language ModelSafety Alignment

SIBO: A Simple Booster for Parameter-Efficient Fine-Tuning

2024-02-19 · Zhihao Wen, Jie Zhang, Yuan Fang

Fine-tuning all parameters of large language models (LLMs) necessitates substantial computational power and extended time. Latest advancements in parameter-efficient fine-tuning (PEFT) techniques, such as Adapter tuning …

parameter-efficient fine-tuning

Antidote: Post-fine-tuning Safety Alignment for Large Language Models against Harmful Fine-tuning

2024-08-18 · Tiansheng Huang, Gautam Bhattacharya, Pratik Joshi, Josh Kimball 외

Safety aligned Large Language Models (LLMs) are vulnerable to harmful fine-tuning attacks \cite{qi2023fine}-- a few harmful data mixed in the fine-tuning dataset can break the LLMs's safety alignment. Existing mitigation…

PhilosophySafety Alignment

Antibody: Strengthening Defense Against Harmful Fine-Tuning for Large Language Models via Attenuating Harmful Gradient Influence

2026-02-28 · Quoc Minh Nguyen, Trung Le, Jing Wu, Anh Tuan Bui 외 arxiv

Fine-tuning-as-a-service introduces a threat to Large Language Models' safety when service providers fine-tune their models on poisoned user-submitted datasets, a process known as harmful fine-tuning attacks. In this wor…