Downloads · 30 days
9
5% of all-time downloads
hanxunh/advclip_clip_rn101_nus_wide
advclip_clip_rn101_nus_wide is a image-to-image model from hanxunh. Use it when you need one image transformed into another. It is set up for XTransferBench. The card lists the license as mit.
<div align="center" <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 </div
Downloads · 30 days
9
5% of all-time downloads
All-time downloads
192
Public
Parameters
301K
12 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.2 MB · 100%
From the Hugging Face model README
Baseline attacker AdvCLIP used in ICML2025 paper "X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIP"
Code: https://github.com/HanxunH/XTransferBench
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.
from XTransferBench import attacker
attacker = XTransferBench.zoo.load_attacker("unrestricted_non_targeted", "advclip_clip_rn101_nus_wide")
images = # torch.Tensor [b, 3, h, w], values should be between 0 and 1
adv_images = attacker(images) # adversarial examples
If you use this model in your work, please cite the accompanying paper:
@inproceedings{zhou2023advclip,
title={Advclip: Downstream-agnostic adversarial examples in multimodal contrastive learning},
author={Zhou, Ziqi and Hu, Shengshan and Li, Minghui and Zhang, Hangtao and Zhang, Yechao and Jin, Hai},
booktitle={ACMMM},
year={2023}
}
@inproceedings{
huang2025xtransfer,
title={X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIP},
author={Hanxun Huang and Sarah Erfani and Yige Li and Xingjun Ma and James Bailey},
booktitle={ICML},
year={2025},
}
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.
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.