Downloads · 30 days
0
RobinWZQ/backdoor_zebra2tiger
backdoor_zebra2tiger is a text-to-image model from RobinWZQ. Use it when you need an image from a text prompt. It is set up for transformers. The card lists the license as apache-2.0.
This repository contains artifacts and code related to the paper: Dynamic Attention Analysis for Backdoor Detection in Text-to-Image Diffusion Models.
Downloads · 30 days
0
Access
Public
Updated Dec 11, 2025
Repo size
3.6 GB
Likes
0
Public
Click a slice to open those files.
.bin3.6 GB · 100%
From the Hugging Face model README
This repository contains artifacts and code related to the paper: Dynamic Attention Analysis for Backdoor Detection in Text-to-Image Diffusion Models.
Code: https://github.com/Robin-WZQ/DAA
This study introduces a novel backdoor detection perspective from Dynamic Attention Analysis (DAA), which shows that the dynamic feature in attention maps can serve as a much better indicator for backdoor detection in text-to-image diffusion models. By examining the dynamic evolution of cross-attention maps, backdoor samples exhibit distinct feature evolution patterns compared to benign samples, particularly at the <EOS> token.
If you find this project useful in your research, please consider cite:
@article{wang2025dynamicattentionanalysisbackdoor,
title={Dynamic Attention Analysis for Backdoor Detection in Text-to-Image Diffusion Models},
author={Zhongqi Wang and Jie Zhang and Shiguang Shan and Xilin Chen},
journal={IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI)},
year={2025},
}