Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

SaLoRA: Safety-Alignment Preserved Low-Rank Adaptation

About

As advancements in large language models (LLMs) continue and the demand for personalized models increases, parameter-efficient fine-tuning (PEFT) methods (e.g., LoRA) will become essential due to their efficiency in reducing computation costs. However, recent studies have raised alarming concerns that LoRA fine-tuning could potentially compromise the safety alignment in LLMs, posing significant risks for the model owner. In this paper, we first investigate the underlying mechanism by analyzing the changes in safety alignment related features before and after fine-tuning. Then, we propose a fixed safety module calculated by safety data and a task-specific initialization for trainable parameters in low-rank adaptations, termed Safety-alignment preserved Low-Rank Adaptation (SaLoRA). Unlike previous LoRA methods and their variants, SaLoRA enables targeted modifications to LLMs without disrupting their original alignments. Our experiments show that SaLoRA outperforms various adapters-based approaches across various evaluation metrics in different fine-tuning tasks.

Mingjie Li, Wai Man Si, Michael Backes, Yang Zhang, Yisen Wang• 2025

Related benchmarks

TaskDatasetResultRank
ReasoningHellaSwag (HS)
HellaSwag Accuracy27.3
209
Instruction FollowingAlpaca--
173
Safety EvaluationAdvBench--
117
Safety EvaluationSecureBreak
ASR49.75
56
Safety EvaluationJailbreakBench (JBB) (test)
ASR (Llama-Guard-3-8B)62.25
56
Safety EvaluationLlama-Guard 3-8B
ASR60.75
56
Safety EvaluationRefusal Signal Score
ASR81.38
56
Knowledge RetentionKnowledge Retention Evaluation Set
Cosine Similarity98.04
49
Safety EvaluationAlpaca
HRR1.4
38
Instruction Following and Safety EvaluationAlpaca
BRT Score50.8
36
Showing 10 of 20 rows

Other info

Follow for update