Skip to content

Few-shot adversarial prompt learning on vision-language modelsFew-Shot Adversarial Prompt Learning on Vision-Language Models

arXiv· arXiv:2403.14774· Yiwei Zhou, Xiaobo Xia, Zhiwei Lin, Bo Han, Tongliang Liu·Indexed by this site · 26 days ago· Originally publishedAttacks
AI summary

The few-shot adversarial prompt framework adapts input sequences with only a small amount of data, significantly improving the adversarial robustness of vision-language models. The framework learns adversarial-related textual supervision end-to-end from adversarial examples, and uses a new training objective to enhance the consistency of multimodal features between natural and adversarial examples and to enlarge the differences in unimodal features. Using only 1% of the training data, it matches SOTA zero-shot adversarial robustness; the code is publicly available.

Read originalarxiv.org