Enhancing Adversarial Robustness of Vision-Language Models through Low-Rank Adaptation
Yuheng Ji, Yue Liu, Zhicheng Zhang, Zhao Zhang, Yuting Zhao, Xiaoshuai Hao, Gang Zhou, Xingwei Zhang, Xiaolong Zheng
TL;DR
Vision-Language Models face security risks when adapting to new tasks, especially under adversarial inputs. The authors propose AdvLoRA, a parameter-efficient adversarial adaptation method built on Low-Rank Adaptation with clustering-based reparameterization and adaptive update, to improve robustness with far fewer tunable parameters. Across image-text and video-text retrieval benchmarks, AdvLoRA outperforms full fine-tuning and other PEFT baselines under PGD-type attacks, while revealing a low-rank structure in adversarial adaptation. This work offers a scalable defense strategy for VLMs relevant to AGI security and suggests directions for memory-efficient adversarial training.
Abstract
Vision-Language Models (VLMs) play a crucial role in the advancement of Artificial General Intelligence (AGI). As AGI rapidly evolves, addressing security concerns has emerged as one of the most significant challenges for VLMs. In this paper, we present extensive experiments that expose the vulnerabilities of conventional adaptation methods for VLMs, highlighting significant security risks. Moreover, as VLMs grow in size, the application of traditional adversarial adaptation techniques incurs substantial computational costs. To address these issues, we propose a parameter-efficient adversarial adaptation method called \textbf{\textit{AdvLoRA}} based on Low-Rank Adaptation. We investigate and reveal the inherent low-rank properties involved in adversarial adaptation for VLMs. Different from LoRA, we enhance the efficiency and robustness of adversarial adaptation by introducing a novel reparameterization method that leverages parameter clustering and alignment. Additionally, we propose an adaptive parameter update strategy to further bolster robustness. These innovations enable our AdvLoRA to mitigate issues related to model security and resource wastage. Extensive experiments confirm the effectiveness and efficiency of AdvLoRA.
