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

用极其简单的排列愚弄你的(视觉与)语言模型

Fool Your (Vision and) Language Model With Embarrassingly Simple Permutations

EPFL(洛桑联邦理工学院)

Yongshuo Zong, Tingyang Yu, Ruchika Chavhan, Bingchen Zhao, Timothy Hospedales

AI总结:

本文揭示大型语言模型与视觉-语言模型在MCQA中易受答案选项对抗性排列影响,并通过实验证明该漏洞跨模型规模和最新模型普遍存在。

摘要:

大型语言模型和视觉-语言模型凭借其在指令遵循、上下文学习等方面的出色能力,正迅速在实践中得到部署。这就迫切需要仔细分析其鲁棒性,以便利益相关者了解这些模型在何种情况下是否足够可信、能否在任何给定应用中被依赖。本文揭示了流行模型中的一个特定漏洞,即多项选择问答(MCQA)中的排列敏感性。具体而言,我们通过实验表明,流行模型容易受到多项选择提示中答案集的对抗性排列影响;这令人惊讶,因为理想情况下模型应像人类一样对提示排列保持不变。这些漏洞在各种模型规模上持续存在,并且存在于最新的语言模型和视觉-语言模型中。代码可在 https://github.com/ys-zong/FoolyourVLLMs 获取。

英文摘要:

Large language and vision-language models are rapidly being deployed in practice thanks to their impressive capabilities in instruction following, in-context learning, and so on. This raises an urgent need to carefully analyse their robustness so that stakeholders can understand if and when such models are trustworthy enough to be relied upon in any given application. In this paper, we highlight a specific vulnerability in popular models, namely permutation sensitivity in multiple-choice question answering (MCQA). Specifically, we show empirically that popular models are vulnerable to adversarial permutation in answer sets for multiple-choice prompting, which is surprising as models should ideally be as invariant to prompt permutation as humans are. These vulnerabilities persist across various model sizes, and exist in very recent language and vision-language models. Code is available at https://github.com/ys-zong/FoolyourVLLMs.

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

↑