arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.12814cs.LGcs.CLcs.CRcs.CV
收藏

剖析多模态语言模型智能体的对抗鲁棒性

Dissecting Adversarial Robustness of Multimodal LM Agents

Carnegie Mellon University(卡内基梅隆大学)

Chen Henry Wu, Rishi Shah, Jing Yu Koh, Ruslan Salakhutdinov, Daniel Fried, Aditi Raghunathan

AI总结:

本文提出ARE框架,将多模态语言模型智能体建模为组件信息流图,并在VisualWebArena上构建200个对抗任务,揭示黑盒前沿智能体可被微小图像扰动劫持,且推理时计算可能引入新的安全漏洞。

摘要:

随着语言模型(LMs)被用于在真实环境中构建自主智能体,确保其对抗鲁棒性成为一个关键挑战。与聊天机器人不同,智能体是由多个执行动作的组件构成的复合系统,现有的语言模型安全评估无法充分应对这一问题。为弥合这一差距,我们在VisualWebArena(一个面向网页智能体的真实环境)之上,基于现实的威胁模型手动创建了200个有针对性的对抗任务和评估脚本。为系统性地检验智能体的鲁棒性,我们提出了智能体鲁棒性评估(Agent Robustness Evaluation,ARE)框架。ARE将智能体视为一个图,展示组件之间中间输出的流动,并将鲁棒性分解为对抗信息在该图上的流动。我们发现,我们能够成功攻破使用黑盒前沿语言模型的最新智能体,包括那些执行反思和树搜索的智能体。通过对单张图像施加难以察觉的扰动(不到整个网页像素的5%),攻击者可以劫持这些智能体以执行有针对性的对抗目标,成功率高达67%。我们还使用ARE严格评估了随着新组件加入,鲁棒性如何变化。我们发现,通常能提升良性性能的推理时计算可能会打开新的漏洞并损害鲁棒性。攻击者可以攻破反思智能体使用的评估器和树搜索智能体的价值函数,使攻击成功率相对提高15%和20%。我们的攻击、防御和评估数据与代码见https://github.com/ChenWu98/agent-attack。

英文摘要:

As language models (LMs) are used to build autonomous agents in real environments, ensuring their adversarial robustness becomes a critical challenge. Unlike chatbots, agents are compound systems with multiple components taking actions, which existing LMs safety evaluations do not adequately address. To bridge this gap, we manually create 200 targeted adversarial tasks and evaluation scripts in a realistic threat model on top of VisualWebArena, a real environment for web agents. To systematically examine the robustness of agents, we propose the Agent Robustness Evaluation (ARE) framework. ARE views the agent as a graph showing the flow of intermediate outputs between components and decomposes robustness as the flow of adversarial information on the graph. We find that we can successfully break latest agents that use black-box frontier LMs, including those that perform reflection and tree search. With imperceptible perturbations to a single image (less than 5% of total web page pixels), an attacker can hijack these agents to execute targeted adversarial goals with success rates up to 67%. We also use ARE to rigorously evaluate how the robustness changes as new components are added. We find that inference-time compute that typically improves benign performance can open up new vulnerabilities and harm robustness. An attacker can compromise the evaluator used by the reflexion agent and the value function of the tree search agent, which increases the attack success relatively by 15% and 20%. Our data and code for attacks, defenses, and evaluation are at https://github.com/ChenWu98/agent-attack

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

↑