cyberagent/multimodal-adversarial-training
[WACV'26] Multimodal Adversarial Training โ Resources
This repository hosts model checkpoints and data resources for the paper:
Multimodal Adversarial Defense for Vision-Language Models by Leveraging One-To-Many Relationships Futa Waseda, Antonio Tejero-de-Pablos, Isao Echizen IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2026
For the source code and training scripts, please refer to the GitHub repository: ๐ https://github.com/CyberAgentAILab/multimodal-adversarial-training
๐ Overview
This work proposes Multimodal Adversarial Training (MAT) for Vision-Language Models (VLMs). MAT is a unified adversarial training pipeline for image-text retrieval models. The extended version, MAT+, additionally leverages one-to-many relationships in image-text pairs to improve robustness.
Highlights
- Unified MAT pipeline for image-text retrieval models (CLIP, ALBEF, BLIP).
- MAT+ leverages one-to-many relationships in image-text pairs.
- Reproducible results on Flickr30k and COCO benchmarks.
๐ Directory structure
resources/
โโโ checkpoints/ # MAT/MAT+ model checkpoints
โ โโโ ALBEF_flickr_MAT_HumanCaps.pth
โ โโโ BLIP_flickr_MAT_HumanCaps.pth
โ โโโ CLIP_B_coco_MAT_HumanCaps.pth
โ โโโ CLIP_B_coco_MAT_base.pth
โ โโโ CLIP_B_flickr_MAT_HumanCaps.pth
โโโ augmentations/ # Data augmentations for MAT+
โโโ dataset_json.zip # Text augmentation annotations
โโโ flickr_SD_I2I_0.5.zip # Image augmentations (SD img2img)๐ Checkpoints
Adversarially trained model checkpoints for image-text retrieval:
The base models used for training are:
- ALBEF: salesforce/ALBEF
- BLIP: salesforce/BLIP
- CLIP: openai/CLIP (ViT-B/16)
๐ Augmentations
Data augmentations used to reproduce MAT+ results:
๐ Usage
- Clone or download this repository:
# Using the Hugging Face CLI
hf download cyberagent/multimodal-adversarial-training --local-dir ./resources
# Or using git with LFS
git lfs install
git clone https://huggingface.co/cyberagent/multimodal-adversarial-training- Clone the code repository and follow its setup instructions.
- Update the checkpoint and data paths in
configs/to point to the downloaded resources.
๐ Citation
If you find these resources useful, please cite:
@inproceedings{waseda2026multimodal,
title={Multimodal Adversarial Defense for Vision-Language Models by Leveraging One-To-Many Relationships},
author={Waseda, Futa and Tejero-de-Pablos, Antonio and Echizen, Isao},
booktitle={Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
year={2026}
}๐ Acknowledgements
This work builds upon the following repositories:
๐ License
This repository is licensed under the GNU General Public License v3.0.
