LoRA微调的扩散模型权重可能泄露隐私图像,攻击者可重建原图。
Risks When Sharing LoRA Fine-Tuned Diffusion Model Weights
- 用变分网络自编码器从模型权重重构私有图像
- 攻击成功率高,能复现原始人物身份特征
- 现有隐私保护方法均无法兼顾安全与模型性能
随着生成模型的普及和大规模预训练扩散模型的公开获取,用户可通过自然语言描述对模型进行微调,生成包含个人面部或特定物品的新场景图像。参数高效微调(PEFT)如低秩适应(LoRA)因其节省内存和计算资源,已成为主流方法。然而,一个关键问题是:当共享微调后的模型权重时,用于微调的私有图像是否会被泄露?本文在实际场景下研究了扩散模型微调后的隐私泄露问题,假设攻击者仅能访问模型权重,无法获取提示词或原始图像。我们设计并构建了一个以模型权重为输入、输出私有图像重建结果的变分网络自编码器,并提出一种借助时间步嵌入提升训练效率的训练范式。实验结果令人惊讶地表明,攻击者能够生成包含与私有图像相同身份的图像。此外,我们证明现有防御方法,包括基于差分隐私的方法,均无法在不损害微调模型实用性的前提下保护微调数据的隐私。
原文摘要 · Abstract (English)
With the emerging trend in generative models and convenient public access to diffusion models pre-trained on large datasets, users can fine-tune these models to generate images of personal faces or items in new contexts described by natural language. Parameter efficient fine-tuning (PEFT) such as Low Rank Adaptation (LoRA) has become the most common way to save memory and computation usage on the user end during fine-tuning. However, a natural question is whether the private images used for fine-tuning will be leaked to adversaries when sharing model weights. In this paper, we study the issue of privacy leakage of a fine-tuned diffusion model in a practical setting, where adversaries only have access to model weights, rather than prompts or images used for fine-tuning. We design and build a variational network autoencoder that takes model weights as input and outputs the reconstruction of private images. To improve the efficiency of training such an autoencoder, we propose a training paradigm with the help of timestep embedding. The results give a surprising answer to this research question: an adversary can generate images containing the same identities as the private images. Furthermore, we demonstrate that no existing defense method, including differential privacy-based methods, can preserve the privacy of private data used for fine-tuning a diffusion model without compromising the utility of a fine-tuned model.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。