arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.01157cs.CVcs.AIcs.CLcs.LG
收藏

解除一切对齐:或在多模态模型中将任意文本对齐到任意图像

Unaligning Everything: Or Aligning Any Text to Any Image in Multimodal Models

Florida State University(佛罗里达州立大学)

Shaeke Salman, Md Montasir Bin Shams, Xiuwen Liu

AI总结:

本文提出一种基于梯度的对抗攻击方法,通过微调图像使其嵌入与任意文本匹配,在多模态模型中实现100%攻击成功率,揭示了共享嵌入空间的对齐漏洞。

摘要:

利用共享嵌入空间,新兴的多模态模型展现出前所未有的零样本能力。然而,如果不同模态可以被错误对齐,共享嵌入空间可能导致新的漏洞。在本文中,我们扩展并利用了一种最近开发的有效基于梯度的方法,该方法允许我们通过最小程度地修改图像来匹配给定文本的嵌入。利用该方法,我们表明,在联合图像-文本模型中,可以通过难以察觉的对抗性攻击将可区分文本的嵌入对齐到任意图像,揭示出语义上无关的图像可以具有相同文本的嵌入,同时视觉上不可区分的图像可以被匹配到非常不同文本的嵌入。当应用于来自多个来源的文本数据集和图像时,我们的技术实现了100%的成功率。如果不克服这一漏洞,多模态模型就无法以语义上有意义的方式稳健地对齐来自不同模态的输入。警告:本文中使用的文本数据本质上具有毒性,可能会冒犯某些读者。

英文摘要:

Utilizing a shared embedding space, emerging multimodal models exhibit unprecedented zero-shot capabilities. However, the shared embedding space could lead to new vulnerabilities if different modalities can be misaligned. In this paper, we extend and utilize a recently developed effective gradient-based procedure that allows us to match the embedding of a given text by minimally modifying an image. Using the procedure, we show that we can align the embeddings of distinguishable texts to any image through unnoticeable adversarial attacks in joint image-text models, revealing that semantically unrelated images can have embeddings of identical texts and at the same time visually indistinguishable images can be matched to the embeddings of very different texts. Our technique achieves 100\% success rate when it is applied to text datasets and images from multiple sources. Without overcoming the vulnerability, multimodal models cannot robustly align inputs from different modalities in a semantically meaningful way. \textbf{Warning: the text data used in this paper are toxic in nature and may be offensive to some readers.}

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑