CSULoRA:通过最近安全更新实现低秩适配 / CSULoRA: Closest Safe Update Low-Rank Adaptation
1️⃣ 一句话总结
本文提出了一种名为CSULoRA的方法,能在不牺牲有用信息的前提下,通过平滑地减弱低秩适配(LoRA)更新中可能有害的方向,有效修复模型在微调后丢失的安全行为,同时保持任务性能。
Low-rank adaptation has become a standard method for parameter-efficient fine-tuning of large language models, but even small amounts of unsafe or adversarial fine-tuning data can substantially weaken the safety behavior of aligned models. Existing safety-preserving LoRA methods often rely on hard interventions such as projection, pruning, thresholding, or additional training objectives. While these methods can suppress unsafe update directions, they may also remove task-relevant information or require extra tuning. We introduce CSULoRA, a post-hoc method for correcting trained LoRA adapters through closest safe update estimation. CSULoRA estimates a safety-aligned subspace from the weight displacement between a safety-aligned model and its corresponding base checkpoint. It then decomposes each LoRA update into fully aligned, partially aligned, and off-subspace components. Instead of discarding components outside the estimated safety subspace, CSULoRA solves a closed-form penalized minimum-change problem that preserves the fully aligned component while smoothly attenuating potentially unsafe directions according to their relative energy. In adversarial fine-tuning experiments, CSULoRA substantially reduces attack success rate while preserving most of the utility gains obtained from standard LoRA fine-tuning.
CSULoRA:通过最近安全更新实现低秩适配 / CSULoRA: Closest Safe Update Low-Rank Adaptation
本文提出了一种名为CSULoRA的方法,能在不牺牲有用信息的前提下,通过平滑地减弱低秩适配(LoRA)更新中可能有害的方向,有效修复模型在微调后丢失的安全行为,同时保持任务性能。
源自 arXiv: 2605.30640