arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.19956cs.CV
收藏

迈向细粒度鲁棒性:面向视觉-语言模型的注意力引导测试时提示调优

Towards Fine-Grained Robustness: Attention-Guided Test-Time Prompt Tuning for Vision-Language Models

School of Computer Science and Engineering(计算机科学与工程学院);Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications(新一代人工智能技术及其交叉应用重点实验室);Southeast University(东南大学);School of Intelligence Science and Engineering(智能科学与工程学院)

Jia-Wei Hai, Yijun Wang, Xiu-Shen Wei

AI总结:

本文提出了一种注意力引导的测试时提示调优方法(A-TPT),旨在解决视觉-语言模型在对抗攻击下的鲁棒性问题,通过改进的梯度注意力机制和空间变化的增强强度来提升模型在细粒度场景下的表现。

摘要:

视觉-语言模型(VLMs),如CLIP,通过各种微调适应方法在下游任务上实现了显著的零样本性能。然而,最近的研究证明,对抗攻击可以显著降低VLMs的推理能力,对实际应用构成重大风险。普遍的测试时适应方法通常依赖多视图增强来实现各种微调策略,但它们难以识别语义信息,并且在细粒度场景中容易破坏判别区域。为了解决这些限制,我们提出了注意力引导的测试时提示调优(A-TPT),一种旨在测试时适应的语义保持方法。我们首先改进了梯度注意力展开机制,以识别在对抗攻击下仍能存活的语义重要区域。进一步地,我们利用这些区域来指导空间变化的增强强度和多视图集成,以进行提示调优和推理。广泛的实验表明,A-TPT在对抗和干净数据上均优于现有的测试时适应方法。代码可在https://github.com/SEU-VIPGroup/A-TPT获取。

英文摘要:

Vision-Language Models (VLMs), such as CLIP, have achieved significant zero-shot performance on downstream tasks with various fine-tuning adaptation methods. However, recent studies have proven that adversarial attacks can significantly degrade the inference ability of VLMs, posing substantial risks to their practical applications. Prevalent test-time adaptation methods typically rely on multi-view augmentation to implement various fine-tuning strategies, which struggle to identify semantic information and are prone to destroying discriminative regions in fine-grained scenarios. To address these limitations, we propose Attention-Guided Test-Time Prompt Tuning (A-TPT), a semantics-preserving method designed for test-time adaptation. We first refine the gradient attention rollout mechanism to identify semantically meaningful regions surviving under adversarial attacks. Furthermore, we leverage them to guide the spatially varying augmentation intensities and multi-view ensemble for prompt tuning and inference. Extensive experiments demonstrate that A-TPT outperforms existing test-time adaptation methods on both adversarial and clean data. Codes are available at https://github.com/SEU-VIPGroup/A-TPT .

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

↑