cs.CVMar 31, 2026

AGFT: Alignment-Guided Fine-Tuning for Zero-Shot Adversarial Robustness of Vision-Language Models

Authors: Yubo Cui, Xianchao Guan, Zijun Xiong, Zheng Zhang

Organizations: Harbin Institute of Technology, Shenzhen, China · Shenzhen Loop Area Institute, Shenzhen, China

Abstract

Pre-trained vision-language models (VLMs) exhibit strong zero-shot generalization but remain vulnerable to adversarial perturbations. Existing classification-guided adversarial fine-tuning methods often disrupt pre-trained cross-modal alignment, weakening visual-textual correspondence and degrading zero-shot performance. In this paper, we propose an Alignment-Guided Fine-Tuning (AGFT) framework that enhances zero-shot adversarial robustness while preserving the cross-modal semantic structure. Unlike label-based methods that rely on hard labels and fail to maintain the relative relationships between image and text, AGFT leverages the probabilistic predictions of the original model for text-guided adversarial training, which aligns adversarial visual features with textual embeddings via soft alignment distributions, improving zero-shot adversarial robustness. To address structural discrepancies introduced by fine-tuning, we introduce a distribution consistency calibration mechanism that adjusts the robust model output to match a temperature-scaled version of the pre-trained model predictions. Extensive experiments across multiple zero-shot benchmarks demonstrate that AGFT outperforms state-of-the-art methods while significantly improving zero-shot adversarial robustness.

Figures & tables

Explore similar work

CardsList
  1. Hierarchically Robust Zero-shot Vision-language Models

    Apr 20, 2026Junhao Dong, Yifei Zhang, Hao Zhu +2Hierarchical ClassificationVLM Robustness

  2. Robustifying Vision-Language Models via Test-Time Prompt Adaptation

    Jul 10, 2026Xingyu Zhu, Huanshen Wu, Shuo Wang +4VLM RobustnessVLM Adaptation

  3. Complementary Text-Guided Attention for Zero-Shot Adversarial Robustness

    Mar 19, 2026Lu Yu, Haiyang Zhang, Changsheng XuAttention-Based Adversarial AttacksContrastive Learning for VLMs