arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.06992cs.CV
收藏

FedAPT:面向视觉语言模型的联邦对抗提示调优

FedAPT: Federated Adversarial Prompt Tuning for Vision-Language Models

Fudan University, Shanghai, China(复旦大学);Shanghai Jiao Tong University, Shanghai, China(上海交通大学)

Kun Zhai, Siheng Chen, Xingjun Ma, Yu-Gang Jiang

AI总结:

针对联邦提示调优易受对抗攻击的问题,提出FedAPT方法,通过类感知提示生成器和跨层共享策略增强对抗鲁棒性,实验证明其大幅优于现有方法。

摘要:

联邦提示调优(FPT)是一种用于跨客户端协同微调大型视觉语言模型(VLM)的高效方法。然而,使用FPT调优的模型容易受到对抗攻击,导致在下游任务中产生错误分类。在这项工作中,我们引入了联邦对抗提示调优(FedAPT),一种旨在增强FPT对抗鲁棒性的新方法。我们在非独立同分布(non-IID)设置下发现了FedAPT中的一个关键问题:客户端与全局模型之间存在类信息差距。客户端仅依赖有限的本地标签信息来生成用于训练的对抗样本,而全局模型必须防御来自全局标签的对抗攻击。为解决这一问题,我们提出了一种类感知提示生成器,该生成器从文本提示生成视觉提示。该生成器由全局标签嵌入(作为“灯塔”)引导,该嵌入编码跨客户端的标签信息,以创建更全局对齐的视觉提示。此外,我们提出了一种跨层生成器共享策略,以增强模型不同层之间的提示耦合,进一步提升对抗鲁棒性。在多个图像分类数据集上的大量实验证明了FedAPT在提升对抗鲁棒性方面的优越性,大幅优于现有方法。FedAPT在跨领域和跨数据集场景中也表现出卓越的泛化能力,表明其在实际应用中的有效性。

英文摘要:

Federated Prompt Tuning (FPT) is an efficient method for cross-client collaborative fine-tuning of large Vision-Language Models (VLMs). However, models tuned using FPT are vulnerable to adversarial attacks, leading to misclassification in downstream tasks. In this work, we introduce Federated Adversarial Prompt Tuning (\textbf{FedAPT}), a novel method designed to enhance the adversarial robustness of FPT. We identify a key issue in FedAPT under non-independent and identically distributed (non-IID) settings: a \textit{class information gap} between clients and the global model. Clients rely solely on limited local label information to generate adversarial samples for training, while the global model must defend against adversarial attacks from global labels. To address this issue, we propose a \textbf{class-aware prompt generator} that generates visual prompts from text prompts. This generator is guided by a \emph{Global Label Embedding} (serving as a ``beacon") which encodes cross-client label information to create more globally-aligned visual prompts. Additionally, we propose a \textbf{cross-layer generator sharing} strategy to enhance prompt coupling across different layers of the model, further boosting adversarial robustness. Extensive experiments on multiple image classification datasets demonstrate the superiority of FedAPT in improving adversarial robustness, outperforming existing methods by a large margin. FedAPT also exhibits exceptional generalization in cross-domain and cross-dataset scenarios, indicating its effectiveness in real-world applications.

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

↑