arXiv:2603.12799cs.CV2026-03

发现视觉语言模型的鲁棒性主要来自浅层,提出轻量适配新方法。

What Makes VLMs Robust? Towards Reconciling Robustness and Accuracy in Vision-Language Models

  • 分析表明鲁棒性集中在浅层,由低频偏置和不敏感注意力驱动。
  • 新方法R-Adapt仅微调初始层,在18个数据集上同时提升鲁棒性与准确率。
  • 适用于大模型如LLaVA、Qwen-VL,支持无训练即插即用的鲁棒增强。

在视觉语言模型(VLMs)中,实现对抗鲁棒性通常会牺牲干净数据上的准确率,长期存在这一权衡难题。本文通过分析对抗微调模型,探究鲁棒性来源:发现鲁棒性并非均匀分布于网络深度,而是主要集中在浅层,由低频谱偏差和输入无关的注意力模式驱动。深层更新反而损害干净准确率与鲁棒泛化能力。基于此,提出R-Adapt框架,冻结预训练权重,仅在初始层引入最小化、基于洞察的适应性调整。该设计实现了对抗鲁棒性与干净准确率的优异平衡。R-Adapt支持无需训练、模型引导、数据驱动等灵活路径,可无缝为标准模型注入鲁棒性。在18个数据集和多种任务上评估均达到当前最优表现。显著地,R-Adapt能高效推广至大型VLM(如LLaVA和Qwen-VL),有效提升其鲁棒性。

原文摘要 · Abstract (English)

Achieving adversarial robustness in Vision-Language Models (VLMs) inevitably compromises accuracy on clean data, presenting a long-standing and challenging trade-off. In this work, we revisit this trade-off by investigating a fundamental question: What makes VLMs robust? Through a detailed analysis of adversarially fine-tuned models, we examine how robustness mechanisms function internally and how they interact with clean accuracy. Our analysis reveals that adversarial robustness is not uniformly distributed across network depth. Instead, unexpectedly, it is primarily localized within the shallow layers, driven by a low-frequency spectral bias and input-insensitive attention patterns. Meanwhile, updates to the deep layers tend to undermine both clean accuracy and robust generalization. Motivated by these insights, we propose Adversarial Robustness Adaptation (R-Adapt), a simple yet effective framework that freezes all pre-trained weights and introduces minimal, insight-driven adaptations only in the initial layers. This design achieves an exceptional balance between adversarial robustness and clean accuracy. R-Adapt further supports training-free, model-guided, and data-driven paradigms, offering flexible pathways to seamlessly equip standard models with robustness. Extensive evaluations on 18 datasets and diverse tasks demonstrate our state-of-the-art performance under various attacks. Notably, R-Adapt generalizes efficiently to large vision-language models (e.g., LLaVA and Qwen-VL) to enhance their robustness. Our project page is available at https://summu77.github.io/R-Adapt.

视觉语言模型对抗鲁棒性模型优化轻量适配

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。