Learning Robust Vision-Language Models from Natural Latent Spaces

Zhangyun Wang, Ning Ding, Aniket Mahanti
1/1/2025
lora-peft-merging

No confident code implementation found for this paper.

Abstract

Pre-trained vision-language models (VLMs) exhibit significant vulnerability to imperceptible adversarial perturbations. Current advanced defense strategies typically employ adversarial prompt tuning to improve the adversarial robustness of VLMs, which struggle to simultaneously maintain generalization across both natural and adversarial examples under different benchmarks and downstream tasks.

Show full abstract

We propose a collaborative adversarial prompt tuning (CoAPT) approach from pre-trained VLMs to target robust VLMs. Inspired by the image mask modeling, we adopt an improved real-time total variation algorithm to suppress and eliminate high-frequency details from images while preserving edge structures, thereby disrupting the adversarial perturbation space. Subsequently, guided by the high-level image and text representations in the latent space of the pre-trained VLMs, the corrupted natural features are restored while inheriting the superior generalization capability. Experiments on four benchmarks demonstrate that CoAPT achieves an excellent trade-off among natural generalization, adversarial robustness, and task-specific adaptation compared to state-of-the-art methods.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2025learning,
  title  = {Learning Robust Vision-Language Models from Natural Latent Spaces},
  author = {Zhangyun Wang and Ning Ding and Aniket Mahanti},
  year   = {2025},
  doi    = {10.52202/085713-5270},
  url    = {https://doi.org/10.52202/085713-5270},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/fb0fcac13dd4ec8900466c3be768e7b3d4da03f2.svg)](https://codeofpaper.com/paper/fb0fcac13dd4ec8900466c3be768e7b3d4da03f2)

Discussion