MoAPT: Mixed Adversarial Prompt Tuning for Vision-Language ModelsMoAPT: Mixture of Adversarial Prompt Tuning for Vision-Language Models
AI summary
The researchers propose MoAPT, which enhances the robustness of vision-language models (VLMs) against multiple adversarial attacks by learning mixed text prompts. Experiments find that increasing the number of learnable prompts improves robustness more than lengthening a single prompt; based on this, the method uses a conditional weight router based on adversarial images to predict mixing weights, yielding sample-specific mixed text features. Under different settings across 11 datasets, its adversarial robustness outperforms existing state-of-the-art methods.