Improve model card: Add tags, paper, and code links

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +24 -1
README.md CHANGED
@@ -1,5 +1,28 @@
1
  ---
2
  license: mit
 
 
3
  ---
4
 
5
- backdoor model of IBA
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ pipeline_tag: text-to-image
4
+ library_name: transformers
5
  ---
6
 
7
+ This repository hosts a **backdoored `CLIPTextModel`** artifact, which is evaluated in the paper [Dynamic Attention Analysis for Backdoor Detection in Text-to-Image Diffusion Models](https://huggingface.co/papers/2504.20518).
8
+
9
+ This specific model is a backdoored text encoder, originally part of an **IBA (Image-Based Attack)** scenario, as detailed in the research. It serves as a component within a text-to-image diffusion model setup that has been compromised with a backdoor. The model is utilized within the DAA framework to study and detect backdoor attacks.
10
+
11
+ The paper introduces **Dynamic Attention Analysis (DAA)**, a novel method for detecting backdoors in text-to-image diffusion models. DAA leverages the dynamic evolution of cross-attention maps, observing distinct feature evolution patterns in backdoor samples.
12
+
13
+ For more details on the detection methodology, how these models are used in the context of backdoor analysis, and to access the full code and other backdoored checkpoints, please refer to the official GitHub repository.
14
+
15
+ **Paper**: [Dynamic Attention Analysis for Backdoor Detection in Text-to-Image Diffusion Models](https://huggingface.co/papers/2504.20518)
16
+ **Code**: https://github.com/Robin-WZQ/DAA
17
+
18
+ ### Citation
19
+
20
+ If you find this project useful in your research, please consider citing:
21
+ ```bibtex
22
+ @article{wang2025dynamicattentionanalysisbackdoor,
23
+ title={Dynamic Attention Analysis for Backdoor Detection in Text-to-Image Diffusion Models},
24
+ author={Zhongqi Wang and Jie Zhang and Shiguang Shan and Xilin Chen},
25
+ journal={IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI)},
26
+ year={2025},
27
+ }
28
+ ```