通过多参考语义对齐,提升视觉语言模型攻击的迁移能力。
SGHA-Attack: Semantic-Guided Hierarchical Alignment for Transferable Targeted Attacks on Vision-Language Models
- 用多个语义锚点构建参考池,避免单一参考过拟合。
- 在多层特征空间中对齐视觉与文本表示,提升跨模型迁移性。
- 适合研究对抗攻击或模型安全的开发者使用。
大型视觉语言模型(VLMs)易受基于迁移的对抗扰动影响,攻击者可在替代模型上优化并操控黑盒VLM输出。以往的定向迁移攻击常因依赖单一参考且强调末层对齐,过度拟合替代模型的嵌入空间,忽视中间语义,导致在异构VLM间迁移性能下降。为此,我们提出SGHA-Attack——一种语义引导的分层对齐框架,采用多个目标参考并强制中间层一致性。具体而言,通过冻结的文本到图像模型,在目标提示下采样生成视觉化参考池,并在替代模型上筛选出最相关的前K个语义锚点,形成加权混合以提供稳定优化指导。在此基础上,SGHA-Attack通过在多个深度上对齐全局与空间粒度的中间视觉表示,并将中间视觉与文本特征同步至共享潜在子空间,实现早期跨模态监督。在开源及商用黑盒VLM上的大量实验表明,该方法相比已有方法具备更强的定向迁移性,且在预处理和净化防御下仍保持鲁棒性。
原文摘要 · Abstract (English)
Large vision-language models (VLMs) are vulnerable to transfer-based adversarial perturbations, enabling attackers to optimize on surrogate models and manipulate black-box VLM outputs. Prior targeted transfer attacks often overfit surrogate-specific embedding space by relying on a single reference and emphasizing final-layer alignment, which underutilizes intermediate semantics and degrades transfer across heterogeneous VLMs. To address this, we propose SGHA-Attack, a Semantic-Guided Hierarchical Alignment framework that adopts multiple target references and enforces intermediate-layer consistency. Concretely, we generate a visually grounded reference pool by sampling a frozen text-to-image model conditioned on the target prompt, and then carefully select the Top-K most semantically relevant anchors under the surrogate to form a weighted mixture for stable optimization guidance. Building on these anchors, SGHA-Attack injects target semantics throughout the feature hierarchy by aligning intermediate visual representations at both global and spatial granularities across multiple depths, and by synchronizing intermediate visual and textual features in a shared latent subspace to provide early cross-modal supervision before the final projection. Extensive experiments on open-source and commercial black-box VLMs show that SGHA-Attack achieves stronger targeted transferability than prior methods and remains robust under preprocessing and purification defenses.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。