Skip to content

Fine-tune like pretraining: Improving the zero-shot adversarial robustness of vision-language modelsFinetune Like You Pretrain: Boosting Zero-shot Adversarial Robustness in Vision-language Models

arXiv· arXiv:2604.11576· CVPRF 2026· Songlong Xing, Weijie Wang, Zhengyu Zhao, Jindong Gu, Philip Torr, Nicu Sebe·Indexed by this site · 24 days ago· Originally publishedDefenses
AI summary

The researchers propose an adversarial fine-tuning method, AdvFLYP, with the goal of enabling CLIP to improve adversarial robustness while retaining zero-shot capability. The method follows CLIP's pretraining approach: it uses image-text pairs collected from the web to generate adversarial images, then matches them with the corresponding text via a contrastive loss, and adds a penalty on the feature shift of adversarial images as a regularization term. The authors state that the regularization terms at the logit layer and the feature layer are beneficial for robustness and clean accuracy, respectively. On 14 downstream datasets covering multiple domains, experiments show that this paradigm outperforms mainstream approaches, and the code and model weights have been released on GitHub.

Read originalCVPRF 2026