arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.01101cs.CRcs.CVcs.LG
收藏

UFID:面向扩散模型的输入级后门检测统一框架

UFID: A Unified Framework for Input-level Backdoor Detection on Diffusion Models

University of Virginia(弗吉尼亚大学);Biocomplexity Institute, University of Virginia(弗吉尼亚大学生物复杂性研究所);School of Data Science, University of Virginia(弗吉尼亚大学数据科学学院)

Zihan Guan, Mengxuan Hu, Sheng Li, Anil Vullikanti

AI总结:

本文提出黑盒输入级后门检测框架 UFID,通过因果分析揭示后门攻击作为混杂因素引入输入到目标图像的稳定虚假路径,并利用高斯噪声扰动验证该直觉,在条件与无条件扩散模型上实现了高效的后门样本检测。

摘要:

扩散模型容易遭受后门攻击,恶意攻击者通过在训练阶段毒化某些训练样本来注入后门。这在模型即服务(MaaS)场景中对现实世界应用构成重大威胁,因为用户通过 API 查询扩散模型或直接从互联网下载模型。为了缓解 MaaS 下的后门攻击威胁,黑盒输入级后门检测近来引起关注,防御者旨在构建一个防火墙,在推理阶段过滤掉后门样本,且只能访问输入查询和扩散模型生成的结果。尽管在传统分类任务上有一些初步探索,但这些方法无法直接应用于生成任务,原因在于两大挑战:(1)更多样化的失败模式;(2)多模态攻击面。本文提出了一种面向扩散模型的黑盒输入级后门检测框架,称为 UFID。我们的防御方法源于一个有洞察力的因果分析:后门攻击充当混杂因素,引入从输入到目标图像的虚假路径,即使我们用高斯噪声扰动输入样本,该路径仍然保持一致。我们进一步通过理论分析验证了这一直觉。在条件扩散模型和无条件扩散模型上跨不同数据集的大量实验表明,我们的方法在检测有效性和运行时效率方面均取得了卓越的性能。

英文摘要:

Diffusion models are vulnerable to backdoor attacks, where malicious attackers inject backdoors by poisoning certain training samples during the training stage. This poses a significant threat to real-world applications in the Model-as-a-Service (MaaS) scenario, where users query diffusion models through APIs or directly download them from the internet. To mitigate the threat of backdoor attacks under MaaS, black-box input-level backdoor detection has drawn recent interest, where defenders aim to build a firewall that filters out backdoor samples in the inference stage, with access only to input queries and the generated results from diffusion models. Despite some preliminary explorations on the traditional classification tasks, these methods cannot be directly applied to the generative tasks due to two major challenges: (1) more diverse failures and (2) a multi-modality attack surface. In this paper, we propose a black-box input-level backdoor detection framework on diffusion models, called UFID. Our defense is motivated by an insightful causal analysis: Backdoor attacks serve as the confounder, introducing a spurious path from input to target images, which remains consistent even when we perturb the input samples with Gaussian noise. We further validate the intuition with theoretical analysis. Extensive experiments across different datasets on both conditional and unconditional diffusion models show that our method achieves superb performance on detection effectiveness and run-time efficiency.

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

↑