arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.14774cs.CVcs.CLcs.CRcs.LG
收藏

视觉-语言模型上的少样本对抗提示学习

Few-Shot Adversarial Prompt Learning on Vision-Language Models

School of Automation(自动化学院);Beijing Institute of Technology(北京理工大学);Sydney AI Centre(悉尼人工智能中心);University of Sydney(悉尼大学);Department of Computer Science(计算机科学系);Hong Kong Baptist University(香港浸会大学)

Yiwei Zhou, Xiaobo Xia, Zhiwei Lin, Bo Han, Tongliang Liu

AI总结:

本文提出少样本对抗提示框架FAP,通过端到端学习对抗相关文本监督并设计多模态一致性训练目标,仅用1%训练数据即达到与最先进零样本方法相当的对抗鲁棒性。

摘要:

深度神经网络对不可察觉的对抗扰动的脆弱性已引起广泛关注。受视觉-语言基础模型成功的启发,先前的工作通过将对抗视觉特征与文本监督对齐,实现了零样本对抗鲁棒性。然而,在实际中,由于适配成本高、文本监督次优以及自然泛化能力不受控制等问题,这些方法仍不尽如人意。本文针对这些问题,提出了一种少样本对抗提示框架,通过使用有限数据适配输入序列,显著提升对抗鲁棒性。具体而言,我们通过提供从对抗样本端到端学习得到的对抗相关文本监督来实现这一目标。我们还提出了一种新的训练目标,该目标增强多模态特征的一致性,同时鼓励自然样本与对抗样本之间单模态特征的差异化。所提出的框架能够学习对抗文本监督,提供优越的跨模态对抗对齐,并仅用1%的训练数据即可达到与最先进的零样本对抗鲁棒性相当的性能。代码可在 https://github.com/lionel-w2/FAP 获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑