Large pre-trained Vision-Language Models (VLMs) such as CLIP have demonstrated excellent zero-shot generalizability across various downstream tasks. However, recent studies have shown that the inference performance of CLIP can be greatly degraded by small adversarial perturbations, especially its visual modality, posing significant safety threats. To mitigate this vulnerability, in this paper, we propose a novel defense method called Test-Time Adversarial Prompt Tuning (TAPT) to enhance the inference robustness of CLIP against visual adversarial attacks. TAPT is a test-time defense method that learns defensive bimodal (textual and visual) prompts to robustify the inference process of CLIP. Specifically, it is an unsupervised method that optimizes the defensive prompts for each test sample by minimizing a multi-view entropy and aligning adversarial-clean distributions. We evaluate the effectiveness of TAPT on 11 benchmark datasets, including ImageNet and 10 other zero-shot datasets, demonstrating that it enhances the zero-shot adversarial robustness of the original CLIP by at least 48.9% against AutoAttack (AA), while largely maintaining performance on clean examples. Moreover, TAPT outperforms existing adversarial prompt tuning methods across various backbones, achieving an average robustness improvement of at least 36.6%.
MoAPT: Mixture of Adversarial Prompt Tuning for Vision-Language Models
Institute of Artificial Intelligence, Beihang University, Beijing, China(北京航空航天大学人工智能研究院);Center for Frontier AI Research, A*STAR, Singapore(A*STAR前沿人工智能研究中心);Institute of Computing Technology, Chinese Academy of Sciences, China(中国科学院计算技术研究所)
Evolution-based Region Adversarial Prompt Learning for Robustness Enhancement in Vision-Language Models
Nanyang Technological University(南洋理工大学);Northeastern University(东北大学);Mohamed Bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);University of Chinese Academy of Sciences(中国科学院大学);Sun Yat-sen University(中山大学)
Revisiting CroPA: A Reproducibility Study and Enhancements for Cross-Prompt Adversarial Transferability in Vision-Language Models
Mehta Family School of Data Science and Artificial Intelligence(梅hta家族数据科学与人工智能学院);Indian Institute of Technology, Roorkee(印度理工学院罗奥克学院);Department of Civil Engineering(土木工程系);Department of Electronics and Communication(电子与通信系)
Closed-Loop Bidirectional Prompting for Adversarial Robustness of Vision Language Models
University of Macau(澳门大学);Guangdong Institute of Intelligence Science and Technology(广东智能科学与技术研究院);Peking University(北京大学);Independent Researcher(独立研究员);Institute of Science Tokyo(东京科学研究院);Morgan Stanley(摩根大通);Halmstad University(哈马碧大学)
Adversarial Prompt Distillation for Vision-Language Models
Shanghai Key Lab of Intell. Info. Processing, School of CS, Fudan University(上海智能信息处理实验室,计算机科学学院,复旦大学);The Chinese University of Hong Kong, Shatin, Hong Kong(香港中文大学,沙田,香港);The University of Hong Kong, Pokfulam, Hong Kong(香港大学,薄扶林,香港)
NAP-Tuning: Neural Augmented Prompt Tuning for Adversarially Robust Vision-Language Models
School of Computer Science and Technology, Beijing Jiaotong University(北京交通大学计算机科学与技术学院);Shanghai Key Lab of Intell. Info. Processing, School of CS, Fudan University(复旦大学计算机学院智能信息处理重点实验室);Department of Mathematics and Applications, University of Naples Federico II(那不勒斯费德里克二世大学应用数学系);State Key Laboratory of Advanced Rail Autonomous Operation, Beijing Jiaotong University(北京交通大学先进轨道交通自主运行国家重点实验室)
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(香港浸会大学)
R-TPT: Improving Adversarial Robustness of Vision-Language Models through Test-Time Prompt Tuning
University of Science and Technology of China(中国科学技术大学);NLPR & MAIS, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学)
Proactive Adversarial Defense: Harnessing Prompt Tuning in Vision-Language Models to Detect Unseen Backdoored Images
University of West Florida(西佛罗里达大学);Florida Institute For Human and Machine Cognition (IHMC)(佛罗里达人机认知研究所);Center for Cybersecurity, University of West Florida(西佛罗里达大学网络安全中心)
AutoPrompt: Automated Red-Teaming of Text-to-Image Models via LLM-Driven Adversarial Prompts
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院);School of Cyberspace, Hangzhou Dianzi University(杭州电子科技大学网络空间学院);Nanyang Technological University(南洋理工大学)
Attack for Defense: Adversarial Agents for Point Prompt Optimization Empowering Segment Anything Model
College of Artificial Intelligence, Taiyuan University of Technology(人工智能学院,太原科技大学);School of Data Science, Nanjing University Of Aeronautics And Astronautics(数据科学学院,南京航空航天大学)
Prompt-driven Transferable Adversarial Attack on Person Re-Identification with Attribute-aware Textual Inversion
School of Artificial Intelligence and Robotics, Hunan University(湖南大学人工智能与机器人学院);National Engineering Research Center of Robot Visual Perception and Control Technology(机器人视觉感知与控制技术国家工程研究中心);College of Information Science and Engineering, Hunan Normal University(湖南师范大学信息科学与工程学院)
Vanish into Thin Air: Cross-prompt Universal Adversarial Attacks for SAM2
National Engineering Research Center for Big Data Technology and System(大数据技术与系统国家工程研究中心);Services Computing Technology and System Lab(服务计算技术与系统实验室);Cluster and Grid Computing Lab(集群与网格计算实验室);Hubei Engineering Research Center on Big Data Security(湖北省大数据安全工程研究中心);Hubei Key Laboratory of Distributed System Security(湖北省分布式系统安全重点实验室);School of Computer Science and Technology, Huazhong University of Science and Technology(华中科技大学计算机科学与技术学院);School of Cyber Science and Engineering, Huazhong University of Science and Technology(华中科技大学网络科学与工程学院);School of Software Engineering, Huazhong University of Science and Technology(华中科技大学软件工程学院);School of Information and Communication Technology, Griffith University(格里菲斯大学信息与通信技术学院)
VerifyPrompt: Towards Text-to-Image Models Verification Behind Black-Box APIs
Laboratory of Intelligent Collaborative Computing, University of Electronic Science and Technology of China(电子科技大学智能协同计算实验室,电子科技大学);School of Computer Science and Engineering, University of Electronic Science and Technology of China(电子科技大学计算机科学与工程学院,电子科技大学)