arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.18252cs.CVcs.AI
收藏

对离散图像标记器的对抗鲁棒性的研究

On the Adversarial Robustness of Discrete Image Tokenizers

Mila - Quebec AI Institute(魁北克AI研究所);EPFL(苏黎世联邦理工学院);ELLIS Institute Finland - Aalto University(芬兰ELLIS研究所-阿莱大学)

Rishika Bhagwatkar, Irina Rish, Nicolas Flammarion, Francesco Croce

AI总结:

本文研究了离散图像标记器的对抗鲁棒性,提出了一种无监督对抗训练方法以提升其鲁棒性,适用于多种多模态任务。

摘要:

离散图像标记器将视觉输入编码为有限词汇中的标记序列,并在多模态系统中日益受到关注,包括仅编码器、编码器-解码器和仅解码器模型。然而,与CLIP编码器不同,它们对对抗攻击的脆弱性尚未被探索。作为首次研究此课题的工作,我们首先制定了旨在扰动离散标记器提取的特征,从而改变提取标记的攻击方法。这些攻击计算高效、应用无关,并在分类、多模态检索和描述生成任务中均有效。其次,为了防御这种脆弱性,受最近关于鲁棒CLIP编码器工作的启发,我们使用无监督对抗训练微调流行标记器,保持其他组件冻结。虽然无监督且任务无关,我们的方法显著提高了对无监督和端到端监督攻击的鲁棒性,并能很好地推广到未见任务和数据。与监督对抗训练不同,我们的方法可以利用未标记图像,使其更具通用性。总体而言,我们的工作强调了标记器鲁棒性在下游任务中的关键作用,并在安全多模态基础模型的发展中迈出重要一步。

英文摘要:

Discrete image tokenizers encode visual inputs as sequences of tokens from a finite vocabulary and are gaining popularity in multimodal systems, including encoder-only, encoder-decoder, and decoder-only models. However, unlike CLIP encoders, their vulnerability to adversarial attacks has not been explored. Ours being the first work studying this topic, we first formulate attacks that aim to perturb the features extracted by discrete tokenizers, and thus change the extracted tokens. These attacks are computationally efficient, application-agnostic, and effective across classification, multimodal retrieval, and captioning tasks. Second, to defend against this vulnerability, inspired by recent work on robust CLIP encoders, we fine-tune popular tokenizers with unsupervised adversarial training, keeping all other components frozen. While unsupervised and task-agnostic, our approach significantly improves robustness to both unsupervised and end-to-end supervised attacks and generalizes well to unseen tasks and data. Unlike supervised adversarial training, our approach can leverage unlabeled images, making it more versatile. Overall, our work highlights the critical role of tokenizer robustness in downstream tasks and presents an important step in the development of safe multimodal foundation models.

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

↑