视觉语言模型中的代理鲁棒性可以轻易转移
Proxy Robustness in Vision Language Models is Effortlessly Transferable
AI总结:
本文提出HPT-GPD框架,通过异构代理转移提升视觉语言模型的对抗鲁棒性,同时缓解过拟合问题,增强零样本自然泛化能力。
摘要:
作为一种提高深度模型防御能力的关键技术,通过蒸馏实现的对抗鲁棒性转移在传统图像分类任务中已展现出显著的成功。然而,当应用于视觉语言模型(VLM)(例如CLIP)时,这种范式面临关键挑战:为大规模多模态模型构建对抗鲁棒的教师模型需要极高的计算资源。我们通过揭示一个有趣的现象:普通的CLIP(没有对抗训练)对由另一种架构不同的CLIP生成的对抗示例具有内在的防御能力。我们正式将此定义为代理对抗鲁棒性,并自然地提出了一种异构代理转移(HPT)框架,该框架在CLIP变体之间建立跨架构的鲁棒性蒸馏通道,从而轻松地将VLM的鲁棒性从代理模型转移到目标模型。然而,这种代理转移范式容易导致严重的过拟合,从而导致零样本自然泛化能力急剧下降。为了解决这个问题,我们设计了泛化- pivot解耦(GPD),通过利用学习率调度的差异。这将代理转移过程分解为一个以泛化为锚点的预热阶段,以维持泛化能力,以及一个以泛化为拉力的HPT,以促进对抗鲁棒性,从而在自然泛化和对抗鲁棒性之间实现平衡。在15个零样本数据集上的广泛实验验证了我们HPT-GPD方法的有效性。代码可在github.com/fxw13/HPT-GPD网站上获得。
英文摘要:
As a pivotal technique for improving the defense of deep models, adversarial robustness transfer via distillation has demonstrated remarkable success in conventional image classification tasks. However, this paradigm encounters critical challenges when applied to vision-language models (VLM) (e.g., CLIP): constructing adversarially robust teacher for large-scale multi-modal models demands prohibitively high computational resources. We bridge this gap by revealing an interesting phenomenon: vanilla CLIP (without adversarial training) exhibits intrinsic defensive capabilities against adversarial examples generated by another CLIP with different architectures. We formally define this as proxy adversarial robustness, and naturally propose a Heterogeneous Proxy Transfer (HPT) framework that establishes cross-architectural robustness distillation channels between CLIP variants, effortlessly enabling the VLM robustness transfer from proxy to target models. Yet, such proxy transfer paradigm easily induces severe overfitting, leading to a sharp degradation in zero-shot natural generalization. To resolve that, we design Generalization-Pivot Decoupling (GPD) by leveraging the difference in learning rate scheduling. This decouples the proxy transfer process into a generalization-anchored warm-up that maintains generalization and a generalization-pulled HPT that promotes adversarial robustness, to achieve an equilibrium between natural generalization and adversarial robustness. Extensive experiments on 15 zero-shot datasets demonstrate the effectiveness of our HPT-GPD method. The code is available at the website of github.com/fxw13/HPT-GPD.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。