2025-05-28 · 专家 · 多模态

Adversarial Attacks against Closed-Source MLLMs via Feature Optimal Alignment

本文提出了一种基于特征最优对齐的针对闭源多模态大语言模型的可迁移对抗攻击方法FOA-Attack,该方法通过联合优化全局和局部特征对齐来提高对抗样本的可迁移性。

更新于 2025-09-24。作者:Xiaojun Jia、Sensen Gao、Simeng Qin、Tianyu Pang、Chao Du、Yihao Huang、Xinfeng Li、Yiming Li、Bo Li、Yang Liu。

中文摘要

多模态大型语言模型 (MLLM) 仍然容易受到可迁移对抗样本的攻击。虽然现有方法通常通过对齐对抗样本和目标样本之间的全局特征(例如 CLIP 的 [CLS] token)来实现目标攻击,但它们往往忽略了 patch token 中编码的丰富的局部信息。这导致对齐效果不佳且可迁移性有限,尤其是在闭源模型中。为了解决这一局限性,我们提出了一种基于特征最优对齐的目标可迁移对抗攻击方法,称为 FOA-Attack,以提高对抗样本的可迁移能力。具体来说,在全局层面,我们引入了一种基于余弦相似度的全局特征损失,以将对抗样本的粗粒度特征与目标样本的粗粒度特征对齐。在局部层面,鉴于 Transformer 中丰富的局部表示,我们利用聚类技术提取紧凑的局部模式以减轻冗余的局部特征。然后,我们将对抗样本和目标样本之间的局部特征对齐表述为一个最优传输 (OT) 问题,并提出了一种局部聚类最优传输损失来细化细粒度特征对齐。此外,我们提出了一种动态集成模型加权策略,以自适应地平衡多个模型在对抗样本生成过程中的影响,从而进一步提高可迁移性。在各种模型上的大量实验表明,该方法优于现有最先进的方法,尤其是在迁移到闭源 MLLM 时。代码已发布在 https://github.com/jiaxiaojunQAQ/FOA-Attack。

英文摘要

Multimodal large language models (MLLMs) remain vulnerable to transferable adversarial examples. While existing methods typically achieve targeted attacks by aligning global features-such as CLIP's [CLS] token-between adversarial and target samples, they often overlook the rich local information encoded in patch tokens. This leads to suboptimal alignment and limited transferability, particularly for closed-source models. To address this limitation, we propose a targeted transferable adversarial attack method based on feature optimal alignment, called FOA-Attack, to improve adversarial transfer capability. Specifically, at the global level, we introduce a global feature loss based on cosine similarity to align the coarse-grained features of adversarial samples with those of target samples. At the local level, given the rich local representations within Transformers, we leverage clustering techniques to extract compact local patterns to alleviate redundant local features. We then formulate local feature alignment between adversarial and target samples as an optimal transport (OT) problem and propose a local clustering optimal transport loss to refine fine-grained feature alignment. Additionally, we propose a dynamic ensemble model weighting strategy to adaptively balance the influence of multiple models during adversarial example generation, thereby further improving transferability. Extensive experiments across various models demonstrate the superiority of the proposed method, outperforming state-of-the-art methods, especially in transferring to closed-source MLLMs. The code is released at https://github.com/jiaxiaojunQAQ/FOA-Attack.

解读

一句话总结

本文提出了一种基于特征最优对齐的针对闭源多模态大语言模型的可迁移对抗攻击方法FOA-Attack,该方法通过联合优化全局和局部特征对齐来提高对抗样本的可迁移性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源