hanxunh commited on
Commit
72880b4
·
verified ·
1 Parent(s): edf97b2

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +74 -5
README.md CHANGED
@@ -1,11 +1,80 @@
1
  ---
2
  library_name: XTransferBench
 
 
3
  tags:
4
- - model_hub_mixin
5
  - pytorch_model_hub_mixin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
- This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
9
- - Code: [More Information Needed]
10
- - Paper: [More Information Needed]
11
- - Docs: [More Information Needed]
 
1
  ---
2
  library_name: XTransferBench
3
+ license: mit
4
+ pipeline_tag: image-to-image
5
  tags:
6
+ - not-for-all-audiences
7
  - pytorch_model_hub_mixin
8
+ - model_hub_mixin
9
+ - adversarial-attacks
10
+ - robustness
11
+ ---
12
+
13
+
14
+ # X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIP
15
+ <div align="center">
16
+ <a href="https://arxiv.org/abs/2505.05528" target="_blank"><img src="https://img.shields.io/badge/arXiv-b5212f.svg?logo=arxiv" alt="arXiv"></a>
17
+ </div>
18
+
19
+ Baseline attacker [GD-UAP](https://arxiv.org/abs/1801.08092) used in ICML2025 paper ["X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIP"](https://arxiv.org/abs/2505.05528)
20
+
21
+ Code: https://github.com/HanxunH/XTransferBench
22
+
23
+ ---
24
+
25
+ ## X-TransferBench
26
+ X-TransferBench is an open-source benchmark that provides a comprehensive collection of UAPs/TUAPs capable of achieving universal adversarial transferability. These UAPs can simultaneously **transfer across data, domains, models**, and **tasks**. Essentially, they represent perturbations that can transform any sample into an adversarial example, effective against any model and for any task.
27
+
28
+ ## Model Details
29
+
30
+ - Surrogate Model: ResNet
31
+ - Surrogate Dataset:
32
+ - Threat Model: L_inf_eps=12/255
33
+ - Perturbation Size: 3 x 513 x 513
34
+
35
+
36
  ---
37
+ ## Model Usage
38
+
39
+ ```python
40
+ from XTransferBench import attacker
41
+
42
+ attacker = XTransferBench.zoo.load_attacker("linf_non_targeted", "gd_uap_dl_resnet_msc_with_all_data")
43
+ images = # torch.Tensor [b, 3, h, w], values should be between 0 and 1
44
+ adv_images = attacker(images) # adversarial examples
45
+ ```
46
+
47
+ ---
48
+
49
+ ## Citation
50
+ If you use this model in your work, please cite the accompanying paper:
51
+
52
+
53
+ ```
54
+ @article{mopuri2018generalizable,
55
+ title={Generalizable data-free objective for crafting universal adversarial perturbations},
56
+ author={Mopuri, Konda Reddy and Ganeshan, Aditya and Babu, R Venkatesh},
57
+ journal={TPAMI},
58
+ year={2018},
59
+ }
60
+ ```
61
+
62
+
63
+ ```
64
+ @inproceedings{
65
+ huang2025xtransfer,
66
+ title={X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIP},
67
+ author={Hanxun Huang and Sarah Erfani and Yige Li and Xingjun Ma and James Bailey},
68
+ booktitle={ICML},
69
+ year={2025},
70
+ }
71
+
72
+ ```
73
+
74
+
75
+ ## Security and Ethical Use Statement
76
+
77
+ **The perturbations provided in this project are intended solely for research purposes.** They are shared with the academic and research community to advance understanding of super transferable attacks and defenses.
78
+
79
+ Any other use of the data, model weights, or methods derived from this project, including but not limited to unauthorized access, modification, or malicious deployment, is strictly prohibited and not endorsed by this project. The authors and contributors of this project are not responsible for any misuse or unethical applications of the provided resources. Users are expected to adhere to ethical standards and ensure that their use of this research aligns with applicable laws and guidelines.
80