利用惰性层提升微调扩散模型的可追溯性
Lazy Layers to Make Fine-Tuned Diffusion Models More Traceable
AI总结:
本文针对微调导致后门水印失效的问题,提出任意输入-任意输出(AIAO)策略,将后门嵌入采样子路径的特征空间,并通过掩码控制触发函数,在多个数据集上验证率保持90%以上。
摘要:
基础生成模型应当具备可追溯性,以保护其所有者并促进安全监管。为实现这一目标,传统方法基于监督式触发-响应信号嵌入标识符,这类标识通常被称为后门水印。当模型使用非触发数据进行微调时,这些方法容易失效。我们的实验表明,这一脆弱性源于微调过程中少数“忙碌”层的能量变化。由此我们提出了一种新颖的任意输入-任意输出(AIAO)策略,使水印对基于微调的移除具有鲁棒性。AIAO样本在不同神经网络深度上的触发-响应对可用于构建带水印的子路径,并采用蒙特卡洛采样获得稳定的验证结果。此外,与现有为扩散模型输入/输出空间设计后门的方法不同,我们提出将后门嵌入到采样子路径的特征空间中,并提出一种掩码控制的触发函数,以保持生成性能并确保嵌入后门的不可见性。我们在MS-COCO、AFHQ、LSUN、CUB-200和DreamBooth数据集上的实证研究证实了AIAO的鲁棒性;其他基于触发的方法在微调后验证率从约90%下降到约70%,而我们的方法始终保持90%以上。
英文摘要:
Foundational generative models should be traceable to protect their owners and facilitate safety regulation. To achieve this, traditional approaches embed identifiers based on supervisory trigger-response signals, which are commonly known as backdoor watermarks. They are prone to failure when the model is fine-tuned with nontrigger data. Our experiments show that this vulnerability is due to energetic changes in only a few 'busy' layers during fine-tuning. This yields a novel arbitrary-in-arbitrary-out (AIAO) strategy that makes watermarks resilient to fine-tuning-based removal. The trigger-response pairs of AIAO samples across various neural network depths can be used to construct watermarked subpaths, employing Monte Carlo sampling to achieve stable verification results. In addition, unlike the existing methods of designing a backdoor for the input/output space of diffusion models, in our method, we propose to embed the backdoor into the feature space of sampled subpaths, where a mask-controlled trigger function is proposed to preserve the generation performance and ensure the invisibility of the embedded backdoor. Our empirical studies on the MS-COCO, AFHQ, LSUN, CUB-200, and DreamBooth datasets confirm the robustness of AIAO; while the verification rates of other trigger-based methods fall from ~90% to ~70% after fine-tuning, those of our method remain consistently above 90%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。