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(弗吉尼亚大学数据科学学院)
扩散模型容易遭受后门攻击,恶意攻击者通过在训练阶段毒化某些训练样本来注入后门。这在模型即服务(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.
Learning Normal Diffusion Dynamics for Backdoor Defense in Text-to-Image Models
Geely(吉利);Hunan University(湖南大学);East China Normal University(华东师范大学);University of Adelaide(阿德莱德大学);The Hong Kong University of Science and Technology(香港科技大学);China University of Petroleum (East China)(中国石油大学(华东))
BadRSSD: Backdoor Attacks on Regularized Self-Supervised Diffusion Models
School of Information and Artificial Intelligence, Yangzhou University, China(扬州大学信息与人工智能学院);School of Computing and Artificial Intelligence, Chaohu University, China(池州学院计算机与人工智能学院);Tacoma School of Engineering and Technology, University of Washington, USA(华盛顿大学塔科马工程与技术学院)
Gungnir: Exploiting Stylistic Features in Images for Backdoor Attacks on Diffusion Models
School of Economics and Management(经济管理学院);East China Normal University(华东师范大学);School of Information Science and Technology(信息科学与技术学院);Shanghai Tech University(上海理工大学);Shanghai Development Center of Computer Software Technology(上海计算机软件技术开发中心);School of Computer and Information Engineering(计算机与信息工程学院);Shanghai Polytechnic University(上海理工大学)
REDEditing: Relationship-Driven Precise Backdoor Poisoning on Text-to-Image Diffusion Models
Shanghai University(上海大学);Beijing University of Posts and Telecommunications(北京邮电大学);National University of Singapore(新加坡国立大学);Nanyang Technological University(南洋理工大学)
Leveraging Diffusion-Based Image Variations for Robust Training on Poisoned Data
Technical University of Darmstadt(达姆施塔特工业大学);Centre for Cognitive Science(认知科学中心);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心(DFKI));Hessian Center for AI (hessian.AI)(黑森人工智能中心(hessian.AI))
Personalization as a Shortcut for Few-Shot Backdoor Attack against Text-to-Image Diffusion Models
Nanyang Technological University(南洋理工大学);New York University(纽约大学);Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局);East China Normal University(华东师范大学)
Tsinghua University(清华大学);Shandong University(山东大学);Wuhan University(武汉大学);Zhongguancun Laboratory(中关村实验室);Shandong Institute of Blockchain(山东省区块链研究院);National Financial Cryptography Research Center(国家金融密码研究中心)
DiffusionHijack: Supply-Chain PRNG Backdoor Attack on Diffusion Models and Quantum Random Number Defense
School of Electronics, Electrical Engineering and Physics, Fujian University of Technology(福建工程学院电子工程与物理学院);School of Humanities, Fujian University of Technology(福建工程学院人文学院);Institute of Applied Physics and Materials Engineering, University of Macau(澳门大学应用物理与材料工程学院)
PersGuard: Preventing Malicious Personalization in Text-to-Image Diffusion Models via Model Backdoors
Institute of Information Engineering, Chinese Academy of Sciences(信息工程研究所,中国科学院);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院);BraneMatrix AI;School of Cyber Science and Technology, Shenzhen Campus, Sun Yat-sen University(中山大学深圳校区计算机科学与技术学院)
Dynamic Attention Analysis for Backdoor Detection in Text-to-Image Diffusion Models
Key Laboratory of AI Safety of CAS, Institute of Computing Technology (ICT), Chinese Academy of Sciences (CAS), Beijing 100190, China, and also with the University of Chinese Academy of Sciences (UCAS), Beijing 100049, China(中国科学院人工智能安全重点实验室,计算技术研究所(ICT),中国科学院(CAS),北京100190,中国,以及中国科学院大学(UCAS),北京100049,中国)
Trigger without Trace: Towards Stealthy Backdoor Attack on Text-to-Image Diffusion Models
Key Laboratory of AI Safety of CAS, Institute of Computing Technology (ICT), Chinese Academy of Sciences (CAS), Beijing 100190, China, and also with the University of Chinese Academy of Sciences (UCAS), Beijing 100049, China(中国科学院人工智能安全重点实验室,计算技术研究所(ICT),中国科学院(CAS),北京100190,中国,以及中国科学院大学(UCAS),北京100049,中国)
EmoAttack: Emotion-to-Image Diffusion Models for Emotional Backdoor Generation
School of Software Engineering, Xi’an Jiaotong University(西安交通大学软件工程学院);Tongji University(同济大学);College of Computer Science, Nankai University(南开大学计算机科学学院)
DataElixir: Purifying Poisoned Dataset to Mitigate Backdoor Attacks via Diffusion Models
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院)
DEFUSE: Generalizable Backdoor Defense for Self-Supervised Encoders with Generative Priors
Ant Group(蚂蚁集团);Purple Mountain Laboratories(紫金山实验室);City University of Hong Kong(香港城市大学);Beijing Institute of Technology(北京理工大学);Alibaba Group(阿里巴巴集团)
Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesis
Technical University of Darmstadt(达姆施塔特工业大学);Centre for Cognitive Science(认知科学中心);Hessian Center for AI (hessian.AI)(黑森人工智能中心(hessian.AI));German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心(DFKI))
Generating Potent Poisons and Backdoors from Scratch with Guided Diffusion
Johns Hopkins University(约翰斯·霍普金斯大学);University of Maryland(马里兰大学);Google(谷歌);ELLIS Institute Tübingen(埃利斯研究所蒂宾根分支);Tübingen AI Center(蒂宾根人工智能中心);New York University(纽约大学)