首页 > AI前沿 > Textual Response-Aware Guidance for Zero-Shot Adversarial Robustness of Vision-Language Models

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

arXiv机器学习 2026-10-29 23:48 10 阅读 查看原文
思考过程: 1. 分析请求: * 角色:专业的新闻排版工程师(但内容是关于计算机视觉/机器学习的论文摘要)。 * 输入:一段纯文本的新闻/论文正文。 * 规则: 1. 只输出HTML片段本身,不要Markdown围栏、不要解释。 2. 每个自然段落用`

`包裹,长文用`

`/`

`划分小节。 3. 列表用`
  • `,引用用`
    `,代码用`
    `,重要句子可用``。
            4.  保留原文所有信息,不得增删改内容。
            5.  不要输出``/``/``等文档级标签。
        *   输入文本分析:
            "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."
    
    2.  解构文本并应用HTML标签:
        *   这是一段连贯的论文摘要,没有明显的列表、引用或代码块。
        *   可以将其划分为几个逻辑段落,或者使用小标题(h2/h3)来组织,但规则说“每个自然段落用`

    `包裹,长文用`

    `/`

    `划分小节”。由于原文本是一整段,我可以将其拆分为几个自然段(例如,背景/问题、现有方法的局限性、提出的方法、实验结果),或者直接用`

    `包裹,并用``强调关键句子。 * 原文本拆分: * 段落1(背景与现有方法):"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." * 段落2(分析与局限性):"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." * 段落3(提出的方法):"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." * 段落4(实验与结论):"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." * 应用规则3:重要句子可用``。 * 可以加粗 "Textual Response-Aware Guidance (TRAG)" 或者最后一句结论。 * 例如:`

    We therefore propose Textual Response-Aware Guidance (TRAG), which constrains...

    ` * 例如:`

    Extensive experiments... demonstrate state-of-the-art clean and robust performance. Further analysis shows that TRAG helps preserve pre-trained image--text relationships.

    ` * 检查规则: * 只输出HTML片段本身:是。 * 不要Markdown围栏:是。 * 不要解释:是。 * 每个自然段落用`

    `包裹:是。 * 长文用`

    `/`

    `划分小节:这段文本不算特别长,但为了体现“排版工程师”的专业性,可以加上小标题,或者就按自然段处理。规则说“长文用...”,如果不算长文,直接用`

    `即可。不过加上`

    `会让结构更清晰。 * `

    Background & Existing Methods

    ` -> 不行,规则4:保留原文所有信息,不得增删改内容。加标题属于“增”内容! * 所以绝对不能加原文没有的标题文字。 * 那就只用`

    `和``。 * 重新审视“不得增删改内容”: * 如果我把一段长文本拆成几个`

    `,算不算“改内容”?通常排版中分段是允许的,只要文字本身没变。 * 原文本是一整段。如果严格不改变文本结构,只用一个`

    `包裹全部? * “每个自然段落用

    包裹” -> 原文本只有一个自然段。 * 为了安全起见,我会将原文本按照句子群组拆分成几个`

    `,或者就保持一个大的`

    `。 * 其实按逻辑拆成4个`

    `更符合阅读习惯,且没有增删文字。 * 让我们按句子群组拆分: `

    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.

    ` * 检查是否有需要`
      `, `
      `, `
      `的地方?
              *   原文本没有列表、引用、代码。所以不需要硬加,否则违反“不得增删改内容”。
      
          *   检查HTML标签闭合和合法性。
              *   `

      ...

      ` * `...` * 最终输出格式: ```html

      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