arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.08503cs.LGcs.CR
收藏

通过拆分学习增强ControlNet和Stable Diffusion的隐私性

Enhancing Privacy in ControlNet and Stable Diffusion via Split Learning

University of Toronto(多伦多大学)

Dixi Yao

AI总结:

针对ControlNet分布式训练的隐私保护需求,提出无需服务器回传梯度的新型分布式学习架构,结合时间步采样策略、隐私激活函数等方法,在保障隐私和生成质量的同时提升训练效率。

摘要:

随着大型生成模型的兴起,ControlNet被引入以支持用户使用自有数据微调预训练模型,适配各类使用场景。一个自然的问题随之产生:如何在跨分布式设备训练ControlNet模型的同时保障用户的数据隐私?在探究不同的分布式训练方案后,我们发现传统的联邦学习和拆分学习(split learning)均不适用。为此,我们提出了一种全新的分布式学习架构,该架构无需服务器回传梯度。通过对现有威胁的全面评估,我们发现在使用拆分学习训练ControlNet的场景下,除了已有文献提及的两种攻击外,多数现有攻击均无法生效。为应对这些威胁,我们利用扩散模型的特性,在前向传播过程中设计了全新的时间步采样策略。我们还进一步提出了一种隐私保护激活函数,以及一种防止私有文本提示词离开客户端的方法,二者均为适配扩散模型图像生成任务量身定制。我们的实验结果表明,所提算法与系统在保障用户数据隐私且不降低图像生成质量的前提下,大幅提升了ControlNet分布式训练的效率。

英文摘要:

With the emerging trend of large generative models, ControlNet is introduced to enable users to fine-tune pre-trained models with their own data for various use cases. A natural question arises: how can we train ControlNet models while ensuring users' data privacy across distributed devices? Exploring different distributed training schemes, we find conventional federated learning and split learning unsuitable. Instead, we propose a new distributed learning structure that eliminates the need for the server to send gradients back. Through a comprehensive evaluation of existing threats, we discover that in the context of training ControlNet with split learning, most existing attacks are ineffective, except for two mentioned in previous literature. To counter these threats, we leverage the properties of diffusion models and design a new timestep sampling policy during forward processes. We further propose a privacy-preserving activation function and a method to prevent private text prompts from leaving clients, tailored for image generation with diffusion models. Our experimental results demonstrate that our algorithms and systems greatly enhance the efficiency of distributed training for ControlNet while ensuring users' data privacy without compromising image generation quality.

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

↑