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,中国)
Zhongqi Wang, Jie Zhang, Shiguang Shan, Xilin Chen
Recent studies have revealed that text-to-image diffusion models are vulnerable to backdoor attacks, where attackers implant stealthy textual triggers to manipulate model outputs. Previous backdoor detection methods primarily focus on the static features of backdoor samples. However, a vital property of diffusion models is their inherent dynamism. This study introduces a novel backdoor detection perspective named Dynamic Attention Analysis (DAA), showing that these dynamic characteristics serve as better indicators for backdoor detection. Specifically, by examining the dynamic evolution of cross-attention maps, we observe that backdoor samples exhibit distinct feature evolution patterns at the $<$EOS$>$ token compared to benign samples. To quantify these dynamic anomalies, we first introduce DAA-I, which treats the tokens' attention maps as spatially independent and measures dynamic feature using the Frobenius norm. Furthermore, to better capture the interactions between attention maps and refine the feature, we propose a dynamical system-based approach, referred to as DAA-S. This model formulates the spatial correlations among attention maps using a graph-based state equation and we theoretically analyze the global asymptotic stability of this method. Extensive experiments across six representative backdoor attack scenarios demonstrate that our approach significantly surpasses existing detection methods, achieving an average F1 Score of 79.27% and an AUC of 86.27%. The code is available at https://github.com/Robin-WZQ/DAA.
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(华东师范大学)
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(南开大学计算机科学学院)
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)(中国石油大学(华东))
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(中山大学深圳校区计算机科学与技术学院)
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(弗吉尼亚大学数据科学学院)
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,中国)
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(南洋理工大学)
Tsinghua University(清华大学);Shandong University(山东大学);Wuhan University(武汉大学);Zhongguancun Laboratory(中关村实验室);Shandong Institute of Blockchain(山东省区块链研究院);National Financial Cryptography Research Center(国家金融密码研究中心)
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(阿里巴巴集团)
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(中国科学院大学网络空间安全学院)
EntropyScan: Towards Model-level Backdoor Detection in LVLMs via Visual Attention Entropy
China University of Geosciences(中国地质大学);University of the Chinese Academy of Sciences(中国科学院大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所)
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(纽约大学)
Backdoor Attack Against Vision Transformers via Attention Gradient-Based Image Erosion
University of Electronic Science and Technology of China(电子科技大学);Laboratory Of Intelligent Collaborative Computing, University of Electronic Science and Technology of China(电子科技大学智能协同计算实验室);School of Computer Science and Engineering, University of Electronic Science and Technology of China(电子科技大学计算机科学与工程学院)
Backdoor Cleaning without External Guidance in MLLM Fine-tuning
School of Computer Science, Wuhan University(武汉大学计算机学院);Munich Research Center(慕尼黑研究中心);Huawei Technologies(华为技术有限公司);Nanyang Technological University(南洋理工大学)
Megatron: Evasive Clean-Label Backdoor Attacks against Vision Transformer
School of Computer Science, Wuhan University(武汉大学计算机学院);Department of Computer Science and Engineering of Hong Kong University of Science and Technology(香港科技大学计算机科学与工程系);College of Electrical Engineering, Zhejiang University(浙江大学电气工程学院);School of Cyber Science and Engineering, Wuhan 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))
An Effective and Resilient Backdoor Attack Framework against Deep Neural Networks and Vision Transformers
Nanyang Technological University(南洋理工大学);Hong Kong University of Science and Technology(香港科技大学);Wuhan Textile University(武汉纺织大学);Zhejiang University(浙江大学);Wuhan University(武汉大学)