CVCLCRLGMar 21, 2024

Few-Shot Adversarial Prompt Learning on Vision-Language Models

arXiv:2403.14774v242 citationsh-index: 22Has CodeNIPS
Originality Highly original
AI Analysis

This addresses the practical issue of high adaptation costs and suboptimal text supervision in adversarial robustness for vision-language models, offering a more efficient solution.

The paper tackles the problem of achieving adversarial robustness in vision-language models with limited data, proposing a few-shot adversarial prompt framework that matches state-of-the-art zero-shot adversarial robustness using only 1% of training data.

The vulnerability of deep neural networks to imperceptible adversarial perturbations has attracted widespread attention. Inspired by the success of vision-language foundation models, previous efforts achieved zero-shot adversarial robustness by aligning adversarial visual features with text supervision. However, in practice, they are still unsatisfactory due to several issues, including heavy adaptation cost, suboptimal text supervision, and uncontrolled natural generalization capacity. In this paper, to address these issues, we propose a few-shot adversarial prompt framework where adapting input sequences with limited data makes significant adversarial robustness improvement. Specifically, we achieve this by providing adversarially correlated text supervision that is end-to-end learned from adversarial examples. We also propose a novel training objective that enhances the consistency of multi-modal features while encourages differentiated uni-modal features between natural and adversarial examples. The proposed framework gives access to learn adversarial text supervision, which provides superior cross-modal adversarial alignment and matches state-of-the-art zero-shot adversarial robustness with only 1% training data. Code is available at: https://github.com/lionel-w2/FAP.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes