arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.10208cs.LGcs.CLcs.CRcs.CV
收藏

恢复生成模型的微调前权重

Recovering the Pre-Fine-Tuning Weights of Generative Models

School of Computer Science and Engineering(计算机科学与工程学院);The Hebrew University of Jerusalem(耶路撒冷希伯来大学)

Eliahu Horwitz, Jonathan Kahana, Yedid Hoshen

AI总结:

本文提出 Spectral DeTuning 方法,利用少量 LoRA 微调模型即可恢复生成模型的精确微调前权重,证明现有微调对齐安全性假设不成立。

摘要:

生成建模的主导范式包括两个步骤:i) 在大规模但不安全的数据集上进行预训练,ii) 通过微调使预训练模型与人类价值观对齐。这种做法被认为是安全的,因为目前没有方法能够恢复不安全的、微调前的模型权重。在本文中,我们证明这一假设往往是错误的。具体而言,我们提出了 Spectral DeTuning,一种利用少量低秩(LoRA)微调模型来恢复微调前模型权重的方法。与以往试图恢复微调前能力的攻击不同,我们的方法旨在恢复精确的微调前权重。我们的方法利用这一新漏洞攻击大规模模型,例如个性化 Stable Diffusion 和对齐后的 Mistral。

英文摘要:

The dominant paradigm in generative modeling consists of two steps: i) pre-training on a large-scale but unsafe dataset, ii) aligning the pre-trained model with human values via fine-tuning. This practice is considered safe, as no current method can recover the unsafe, pre-fine-tuning model weights. In this paper, we demonstrate that this assumption is often false. Concretely, we present Spectral DeTuning, a method that can recover the weights of the pre-fine-tuning model using a few low-rank (LoRA) fine-tuned models. In contrast to previous attacks that attempt to recover pre-fine-tuning capabilities, our method aims to recover the exact pre-fine-tuning weights. Our approach exploits this new vulnerability against large-scale models such as a personalized Stable Diffusion and an aligned Mistral.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑