# Textual Response-Aware Guidance for Zero-Shot Adversarial Robustness of Vision-Language Models

DevFeed: [Textual Response-Aware Guidance for Zero-Shot Adversarial Robustness of Vision-Language Models](<https://devfeed.tech/articles/textual-response-aware-guidance-for-zero-shot-adversarial-robustness-of-vision-language-models-128167.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.40309>)

Author: Yubo Cui, Xianchao Guan, Zheng Zhang

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [vlm](<https://devfeed.tech/topics/vlm.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [Adversarial attacks](<https://devfeed.tech/topics/adversarial-attacks.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [adversarial](<https://devfeed.tech/tags/adversarial.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [computer-science](<https://devfeed.tech/tags/computer-science.md>), [computer-vision](<https://devfeed.tech/tags/computer-vision.md>), [constraint](<https://devfeed.tech/tags/constraint.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-mm](<https://devfeed.tech/tags/cs-mm.md>), [distributions](<https://devfeed.tech/tags/distributions.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [guidance](<https://devfeed.tech/tags/guidance.md>), [robustness](<https://devfeed.tech/tags/robustness.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [vision-language-models](<https://devfeed.tech/tags/vision-language-models.md>), [vision-language-models-vlms](<https://devfeed.tech/tags/vision-language-models-vlms.md>), [vlms](<https://devfeed.tech/tags/vlms.md>), [zero-shot](<https://devfeed.tech/tags/zero-shot.md>)

## AI overview

The paper proposes Textual Response-Aware Guidance (TRAG) to help adversarially fine-tuned vision-language models retain zero-shot image-text relationships. It addresses limits of two guidance approaches: matching visual features treats directions equally, while matching prediction distributions depends on candidate texts and their probabilities. TRAG uses the pretrained text encoder's response directions and magnitudes around semantic anchors, weighted by each image's relevance to those anchors, to form an image-adaptive constraint on visual representation drift. The abstract reports state-of-the-art clean and robust performance across architectures and tasks, and says further analysis finds that TRAG helps preserve pretrained image-text relationships.

## Source excerpt

arXiv:2610.40309v2 Announce Type: cross 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.