Textual Response-Aware Guidance for Zero-Shot Adversarial Robustness of Vision-Language Models
Abstract
Vision-language models (VLMs) exhibit strong zero-shot generalization but remain vulnerable to adversarial attacks. Existing adversarial fine-tuning methods often use pre-trained model guidance to preserve image--text alignment while improving robustness. Our analysis of visual representation drift reveals complementary limitations of two representative forms of guidance. Matching visual features constrains all directions equally, providing broad coverage without semantic emphasis. Matching prediction distributions prioritizes semantically relevant directions, but remains limited by the candidate texts and prediction probabilities. These limitations can hinder preservation of pre-trained image--text relationships and degrade zero-shot performance. We therefore propose Textual Response-Aware Guidance (TRAG), which constrains visual representation drift using the pre-trained text encoder's responses to local variations in input embeddings. TRAG constructs anchor-level constraints from the response directions and magnitudes around semantic anchors, then aggregates them using pre-trained image--anchor relevance, yielding an image-adaptive constraint. Extensive experiments across architectures and tasks demonstrate state-of-the-art clean and robust performance. Further analysis shows that TRAG helps preserve pre-trained image--text relationships.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI, cs.LG, cs.MM
Related papers
Density-Aware Calibration for Resource-Efficient Medical Vision-Language Models
Shared title terminologycs.CVTien-Dat Dam, Huu-Thuan Huynh, Minh-Triet Tran et al.
Telling Is Not Seeing: Textual Personas Rarely Make Vision-Language Models Answer Like the People They Describe
Shared title terminologycs.CVJiawei Chen
VISOR: A Vision-Language Selector for Multimodal Time-Series Forecasting
Shared title terminologycs.CVSeunghan Lee, Jun Seo, Junhyeok Kang et al.
Let Vision-Language Models Generate Images through Their Representations
Shared title terminologycs.CVJB Kim, Byungwoo Jeon, Kyungmin Lee et al.
Where Compositionality Hides: Shared-Content Interference in Vision-Language Retrieval
Shared title terminologycs.CVChimata Anudeep, Harsh Vardhan Poddar
Context-Shielded Backdoor Attack against Large Vision-Language Models
Shared title terminologycs.CVZhifang Zhang, Qiang Huang, Chenpeng Wang et al.