atlas

Research map / Large language models / Instruction and fine-tuning

SaLoRA: Safety-Alignment Preserved Low-Rank Adaptation

ICLR 2025 · Large language models › Instruction and fine-tuning · approach: Low-rank adaptation variants · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SaLoRA, a LoRA variant that uses a fixed safety projection module computed from ~300 harmful prompt-response pairs plus a task-specific SVD-based initialization, so benign fine-tuning preserves Llama-2-chat safety alignment.

Problem

LoRA fine-tuning, even on benign data, degrades the safety alignment of LLMs by perturbing the internal features that trigger refusal of harmful prompts.

Approach

Add a fixed projection C_S = I - U_C U_C^T (top singular vectors of the original layer's outputs on harmful prompts) that keeps the adapter's new features orthogonal to safety features, plus a task-specific SVD initialization of the trainable A and B adapters that is balanced in norm and re-parameterizes the residual weight so the initial model is unchanged.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SaLoRA instead of LoRALlama-2-chat-7B, rank 16 · AdvBench test subsetharmful rate: 23.7% -> 3.5%Helped
Use SaLoRA instead of LoRALlama-2-chat-13B, rank 16 · AdvBench test subsetharmful rate: 15.7% -> 2.9%Helped
Use SaLoRA instead of LoRALlama-3.1-Instruct-8B, rank 16 · AdvBench test subsetharmful rate: 11.7% -> 2.9%Helped
Use SaLoRA instead of LoRAMistral-7B-Instruct-v0.3, rank 16 · AdvBench test subsetharmful rate: 82.5% -> 31.7%Helped
Add Self-Reminder to SaLoRALlama-2-chat-7B, rank 16 · AdvBench test subsetharmful rate: 3.5% -> 1.4%Helped
Use SaLoRA instead of DoRALlama-2-chat-7B · Commonsense-15k, Avg. Acc., rank 16accuracy: 61.3 -> 62.9Helped
Use SaLoRA instead of PiSSALlama-2-chat-7B · Commonsense-15k, Avg. Acc., rank 64accuracy: 65.9 -> 65.7Hurt
Use SaLoRA instead of PiSSALlama-2-chat-7B · Commonsense-15k, HellaSwag, rank 16accuracy: 38.1 -> 49.3Helped
Replace SaLoRA's task-specific initialization with LoRA initialization (ablation)SaLoRA · Commonsense-15kcommonsense reasoning performanceHurt
Use SaLoRA instead of LoRAAlpaca fine-tuning, rank 32 · Alpaca trainingtraining time: 2.95 -> 2.98No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Alpaca AdvBench commonsense-15k

Benchmarks: AdvBench test subset BoolQ PIQA SIQA HellaSwag WinoGrande ARC-e ARC-c OBQA

Metrics: harmful rate commonsense accuracy linear probing accuracy

Baselines: LoRA DoRA PiSSA Self-Reminder InferAligner Vaccine Safe LoRA

Builds on: LoRA PiSSA DoRA Safe LoRA Vaccine

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy