Proxy Robustness in Vision Language Models is Effortlessly Transferable
Xiaowei Fu, Fuxiang Huang, Lei Zhang
TL;DR
Vision-Language Models like CLIP exhibit proxy adversarial robustness across heterogeneous architectures, enabling robustness transfer without training robust teachers. The authors propose Heterogeneous Proxy Transfer with Generalization-Pivot Decoupling (HPT-GPD), a two-stage training scheme—generalization-anchored warm-up followed by generalization-pulled HPT with EMA—to simultaneously boost zero-shot adversarial robustness and preserve natural generalization. They formalize the approach with loss terms $L_{ ext{GA}}$ and $L_{ ext{RT-CLIP}}$, provide theoretical bounds on the target risk, and validate on 15 datasets, showing robustness gains over state-of-the-art baselines like PMG and FT-TeCoA under both PGD and AutoAttack. The results suggest a practical path for robust, scalable VLM deployment and offer insights into proxy-based defense mechanisms, with broader implications for cross-architecture robustness in multi-modal learning.
Abstract
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.
