Skip to content

The paper proposes the ARE framework to evaluate the adversarial robustness of multimodal agents on VisualWebArenaDissecting Adversarial Robustness of Multimodal LM Agents

Paper Tracker· arXiv:2406.12814· ICLR 2025· Chen Henry Wu, Rishi Shah, Jing Yu Koh, Ruslan Salakhutdinov, Daniel Fried, Aditi Raghunathan·Indexed by this site · 2026-10-09· Originally publishedSelected AttacksSelectedAttention43

Quick read

Attacks

Based on the paper PDF (generated by Gemini); refer to the original

The authors evaluate multimodal web agents and find that perturbing a single image can achieve up to 67% ASR, and attacking inference-time computation components increases vulnerability.

Threat modelThe attacker, as a legitimate platform user, can only modify their own content (the non-trusted part), applying an L-infinity perturbation of no more than 16/256 to a single image (occupying less than 5% of the webpage pixels) or adding a single text segment, with the goal of manipulating the agent to achieve a targeted malicious objective, and cannot modify user instructions or the platform system.

Questions
Multimodal large model agents are vulnerable to adversarial attacks on environmental inputs in real web environments, but composite agents contain multiple components and inference-time computation, and their system-level vulnerability and the propagation mechanisms of adversarial information across components have previously lacked systematic evaluation and analysis.
Methods
Propose the ARE framework, modeling composite agents as directed graphs, using the worst-case downstream attack success rate upper bound of intermediate outputs to define edge weights to measure adversarial influence propagation; design black-box prompt injection, white-box image PGD, and black-box multi-CLIP ensemble attacks for text and image access.
Experiments and results
On 200 VWA-Adv tasks, attacking black-box models achieves up to 67% ASR; unattacked new components can reduce ASR, but once jointly attacked, the ASR of reflexion and tree search agents instead rises to 36% and 38%, respectively.
Limitations and future work
Only 3 web environments from VWA were tested; broader scenarios such as operating systems were not tested; the attack methods are only adapted versions of existing attacks, representing a lower bound on risk; only base, reflexion, and tree search architectures were examined; experiments on black-box CLIP attacks against white-box defenses were not reported.
Experimental setupGPT-4o (gpt-4o-2024-05-13)、GPT-4V (gpt-4-vision-preview) et al. · VisualWebArena、VWA-Adv · ASR、Benign SR
Evaluated models
GPT-4o (gpt-4o-2024-05-13)GPT-4V (gpt-4-vision-preview)Claude-3-Opus (claude-3-opus-20240229)Gemini-1.5-Pro (gemini-1.5-pro-preview-0409)LLaVA
Benchmarks
VisualWebArenaVWA-Adv
Metrics
ASRBenign SR
AI summaryand selection rationaleThe paper proposes the Agent Robustness Evaluation (ARE) framework, modeling multimodal agents as directed graphs, decomposing robustness into the propagation of adversarial information between components, and manually constructing 200 targeted adversarial tasks (VWA-Adv) on VisualWebArena for evaluation. The authors claim that applying an imperceptible perturbation of magnitude 16/256 to a single image (less than 5% of webpage pixels) can hijack agents that use black-box frontier models such as GPT-4o and incorporate reflexion and tree search, with attack success rates up to 67%. The study also finds that new components introduced by inference-time computation create new vulnerabilities: when both the evaluator and policy model are attacked, the attack success rate of the reflexion agent increases by 20% relative to baseline; when the value function is attacked, the attack success rate of the tree search agent increases from 31% to 38%.

The paper proposes the Agent Robustness Evaluation (ARE) framework, modeling multimodal agents as directed graphs, decomposing robustness into the propagation of adversarial information between components, and manually constructing 200 targeted adversarial tasks (VWA-Adv) on VisualWebArena for evaluation. The authors claim that applying an imperceptible perturbation of magnitude 16/256 to a single image (less than 5% of webpage pixels) can hijack agents that use black-box frontier models such as GPT-4o and incorporate reflexion and tree search, with attack success rates up to 67%. The study also finds that new components introduced by inference-time computation create new vulnerabilities: when both the evaluator and policy model are attacked, the attack success rate of the reflexion agent increases by 20% relative to baseline; when the value function is attacked, the attack success rate of the tree search agent increases from 31% to 38%.

Why it was selectedThe paper constructs 200 adversarial tasks on VisualWebArena, quantifying how attacks propagate through the system after each component of a multimodal agent is compromised.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Study the targeted vulnerability of multimodal agents under constrained environmental perturbations and multi-component system-level adversarial information propagation.

    Multimodal large language model agents are vulnerable to hijacking by local environmental perturbations in real web environments, and the patterns of adversarial information propagation among composite agent components remain unclear.

    • Scenario and importance: Autonomous agents built on multimodal large language models are being deployed to real environments such as web platforms to perform complex actions, but face serious security risks when confronted with malicious operations from the environment.
    • Limitations of existing methods: Existing safety evaluations mainly target single chatbots or single-step models, ignoring that an agent is a composite system composed of multiple components such as input processing, policy models, evaluators, and value functions, and that attacks must propagate across multi-step reasoning and environmental grounding.
    • Core observation and hypothesis: Introducing new components or inference-time computation into a composite system can improve benign task performance, but also introduces new attack surfaces; if a new component is attacked, the agent's overall vulnerability may increase rather than decrease.
    • Proposed approach: The paper proposes the agent robustness evaluation framework ARE (Agent Robustness Evaluation) and manually constructs the benchmark VWA-Adv containing 200 realistic adversarial tasks on top of VisualWebArena.
    • Threat model:
      • Attacker goal: Induce the agent to execute a targeted adversarial goal specified by the attacker (e.g., adding a specific product to the shopping cart, posting a specified comment, or misleading attribute perception).
      • Attacker knowledge: Black-box access to the target large model (only through platform interaction), or white-box access to the client-side input processor (e.g., an open-source image captioner).
      • Attacker capability: Can only modify non-trusted parts of the environment (their own published products or posts), including injecting a single text segment or applying an L∞ ≤ 16/256 perturbation to a single image (occupying less than 5% of the webpage pixels), and cannot tamper with user instructions, system prompts, or the platform interface.
      • Victim system: Web autonomous navigation agents built on black-box frontier multimodal models and their extended components (reflection, tree search).
  2. What related research exists?

    Comparison is organized around three lines of work: reasoning computation of autonomous agents, multimodal adversarial attack and defense for large models, and indirect prompt injection.

    The paper reviews prior work in three dimensions: autonomous agents, adversarial robustness, and indirect prompt injection.

    • Autonomous agents and enhancement mechanisms:
      • Web and embodied agents: WebGPT (Nakano et al., 2021), Mind2Web (Deng et al., 2023), WebArena (Zhou et al., 2024), and VisualWebArena (Koh et al., 2024a) explored agent construction in web environments; ReAct (Yao et al., 2023b) and others studied reasoning enhancement.
      • Inference-time search and feedback: Reflexion (Shinn et al., 2024) uses an evaluator to generate verbal feedback for self-correction; Tree of Thoughts (Yao et al., 2023a) and language model agent tree search (Koh et al., 2024b) use value functions to guide search in the action space.
    • Adversarial robustness of multimodal large models:
      • Jailbreaks and adversarial examples: Adversarial prompts against text LLMs (Zou et al., 2023; Chao et al., 2023) and adversarial image attacks against vision multimodal models (Carlini et al., 2023; Zhao et al., 2023; Li et al., 2024).
      • Cross-system transfer attacks: Dong et al. (2023) used multiple surrogate models for black-box attacks on Bard; Gu et al. (2024) performed white-box attacks on multimodal RAG. The authors note that prior work typically assumes near-complete control over model inputs, whereas in agent scenarios the attacker can only touch a local slice of the environment.
    • Indirect prompt injection attacks:
      • Environmental injection risks: Greshake et al. (2023) proposed indirect prompt injection; Debenedetti et al. (2024, AgentDojo) and Liao et al. (2024, EIA) evaluated prompt injection in agents. The authors note that this paper focuses more on the multimodal input space of images and text, and specifically analyzes the system-level robustness of composite systems.
    • Baseline methods and benchmarks:
      • Comparison baselines and datasets: Baseline agents built on VisualWebArena (Koh et al., 2024a), including basic policy agents, agents with descriptors, Reflexion agents, and tree search agents; defense baselines used safety prompts (Hines et al., 2024) and text rewriting (Jain et al., 2023).
    • Positioning relative to existing work: The authors emphasize that under a realistic web threat model, this paper is the first to systematically reveal the extreme vulnerability of multimodal black-box frontier agents and inference-time computation components, and proposes a directed graph framework to quantify adversarial information propagation between components.
  3. How does the paper address this problem?

    Establish an ARE directed graph framework to quantify adversarial influence flow, and design gradient and multi-CLIP attacks for text and images.

    The authors propose the ARE framework, which abstracts the agent as a directed graph to quantify adversarial influence propagation, and design three attack algorithms for different attack entry points.

    Agent Directed Graph Model and ARE Framework

    • Graph structure definition: the agent is modeled as a directed graph G = (V, E), where venv ∈ V is the environment observation node, vfinish ∈ V is the terminal leaf node, and the remaining nodes are components such as input processors, policy models, evaluators and value functions.
    • Adversarial influence measure: if edge e takes value c after the ancestor node executes, its intermediate output's adversarial influence AdvIn(c) ∈ [0, 1] is defined as the upper bound on the worst-case expected attack success rate achievable by successor nodes when not under attack.
    • Edge weight formalization: the edge weight λ(e) is defined as the expected value of adversarial influence under the marginal distribution pe:
      λ(e) := 𝔼c ∼ pe(AdvIn(c))
      This metric is independent of specific downstream components and can be computed during graph traversal and reused across downstream configurations.
    • Branch edge handling: if some branches are not executed (e.g., Reflexion does not execute a second attempt if the first succeeds), the unexecuted edge is defined as c = ∅ with AdvIn(∅) = 0.

    Attack Method Design

    • Black-box prompt injection (text access): the attacker directly injects the selected adversarial text into the target product's description, which is fed to the LLM together with the environment observation and screenshot.
    • White-box image PGD attack (client component accessible): when the system uses an open-source client input processor (e.g., the image captioning model πcomp), projected gradient descent (PGD) is used to optimize the perturbation δ (satisfying ||δ||∞ ≤ ϵ):
      max||δ||∞ ≤ ϵ log πcomp(z ∣ x + δ)
      to induce the captioner to output the preset adversarial instruction text z.
    • Black-box multi-CLIP ensemble attack (pure black-box image access): when all components are black-box, the attacker jointly optimizes multiple CLIP image encoders of different architectures (ViT-B/32, ViT-B/16, ViT-L/14, ViT-L/14@336px), maximizing the cosine similarity between the image embedding and the target adversarial text z while suppressing similarity to the negative text z−. The perturbation is optimized at 180-pixel low resolution to suppress overfitting.

    Composite Agent Execution Flows

    • Reflexion agent: the policy model first attempts to interact with the environment; if the evaluator judges the goal unmet and generates reflection text, the policy model makes a second attempt incorporating the reflection (the experiment sets the maximum number of attempts to 2).
    • Tree search agent: at each step the policy model samples multiple deduplicated candidate actions, which the value function scores, and the highest-scoring action is executed (branching factor 3, search depth 1).
  4. What experiments did the paper conduct?

    Measured up to 67% ASR across 200 tasks; attacks on composite components increase ASR relatively by 15%–20%.

    Experimental Setup

    • Models under test: GPT-4o (gpt-4o-2024-05-13), GPT-4V (gpt-4-vision-preview), Claude-3-Opus (claude-3-opus-20240229), Gemini-1.5-Pro (gemini-1.5-pro-preview-0409). All models use a decoding temperature of 0.
    • Dataset and scale: VWA-Adv, containing targeted adversarial tasks manually constructed from 200 benign successful tasks in VisualWebArena, covering 3 environments: classified ads, Reddit forums, and shopping websites.
    • Baselines and agent variants: base agent (Policy only), agent with descriptor (adding a white-box LLaVA descriptor or self-description), Reflexion agent, tree search agent.
    • Metric definitions: benign task success rate (Benign SR) and targeted attack success rate (ASR).
    • Review and judgment method: execution-based judgment scripts based on environment terminal states and agent outputs (including exact matching, fuzzy matching, URL matching, and GPT-4 fuzzy text judgment), producing binary judgments (0 or 1).
    • Sample size and repetitions: 200 tasks, greedy decoding (temperature 0), single-run evaluation.

    Main Results

    The benign success rates and attack success rates of each model and configuration on VWA-Adv are shown below (per Figure 4):

    Swipe horizontally to read the table

    ModelAttack setting and methodBenign SRASRSource
    GPT-4oSetting A: text prompt injection78%40%Figure 4
    GPT-4oSetting B: white-box descriptor image attack78%31%Figure 4
    GPT-4oSetting C: black-box CLIP self-description attack78%19%Figure 4
    GPT-4oSetting D: black-box CLIP base agent attack78%10%Figure 4
    GPT-4VSetting B: white-box descriptor image attack65%67%Figure 4
    Claude-3-OpusSetting B: white-box descriptor image attack54%48%Figure 4
    Gemini-1.5-ProSetting B: white-box descriptor image attack42%23%Figure 4
    • Multi-model comparison: under the white-box descriptor attack, GPT-4V achieves the highest ASR of 67%, GPT-4o 31%, and Gemini-1.5-Pro 23%; the authors state that GPT-4o shows the best trade-off between high benign success rate and lower ASR.
    • Cross-modal attack effectiveness: GPT-4o has an ASR of 40% under text prompt injection and 31% under the white-box descriptor attack; the authors state that the white-box descriptor elevates image-level vulnerabilities to a level close to text injection.
    • Difficulty of black-box image attacks: when directly attacking the base agent without a descriptor using black-box CLIP attacks, GPT-4o's ASR drops to 10%.

    Reflexion Agent and Evaluator Vulnerability

    • Protective effect of an unattacked evaluator: when only the policy model is attacked and the evaluator is clean, the first-round attempt produces 31% ASR, after evaluator interception only 18% is accepted in round 1, round 2 produces 7% ASR, and the final overall ASR drops from 31% to 25% (Figure 5(A)(C)).
    • Joint attack exacerbates vulnerability: when the evaluator and policy model are attacked simultaneously, the evaluator's acceptance rate of adversarial actions rises to 21%, and it is more prone to incorrectly rejecting normal actions and generating adversarial reflections (adversarial edge weight increases to 6%), with the final overall ASR rising from 31% to 36% (Figure 5(D)).
    • Attacking only the evaluator: even when the policy model is not attacked, attacking only the evaluator can induce it to produce 9% adversarial reflections, ultimately inducing the policy model to take malicious actions reaching 8% ASR (Figure 5(B)).

    Tree Search Agent and Value Function Vulnerability

    • Filtering effect of an unattacked value function: when the value function is clean, it can filter the policy model's candidate actions from 31% ASR to 26% final ASR (Figure 6(C)).
    • Joint attack amplifies vulnerability: when both the value function and policy model are attacked, the attacked value function tends to give high scores to adversarial actions, raising the final ASR to 38% (Figure 6(D)).
    • Attacking only the value function: when only the value function is attacked, the agent explores low-probability actions that are given high scores, resulting in 8% ASR (Figure 6(B)).

    Defense Method Evaluation

    • System prompt defense: adding data delimiters and prompting to ignore malicious instructions leaves ASR still near 31%; more aggressive abort prompts also show no obvious improvement (Figure 7).
    • Text rewriting defense: using GPT-4o to rewrite untrusted text slightly reduces ASR from 31% to 27.5% (Figure 7).
    • Self-consistency check and cost: having a large model generate descriptions for each image individually and compare them with the text can reduce the white-box descriptor attack ASR to near 0%; however, 70% of test webpages contain more than 10 images, API costs increase dramatically, and the self-description component itself has a potential vulnerability upper bound of 38% against black-box CLIP attacks (Figure 7).

    Other Ablations and Analyses

    • CLIP attack optimization resolution ablation: optimizing at 180px yields a target description generation rate of 71%, while higher resolutions perform noticeably worse (Figure 13, Table 7).
    • Removing negative text: Table 7 shows that removing the negative text y− reduces the target description generation rate from 71% to 46%.
    • CLIP model ensemble ablation: Table 7 shows that optimizing with only a single CLIP model yields success rates of only 9% to 31%.
    • Image relative size and text interference: Table 3 shows that when the screenshot resolution is 512 and the image is 256, the ASR without interfering text is 55%, and with interfering text it is 38%; when the screenshot is 2048 and the image is 128, the ASR without interfering text is only 29%, and with text it is 13%.
  5. What are some points that can be further explored?

    The authors note that the attacks are only a lower bound on risk and the environment is limited to web pages; experiments cover 4 models and 200 tasks.

    Limitations and future directions noted by the authors

    • Attack baseline representativeness: The attacks used in the paper are engineering adaptations of existing attack methods; the authors note in Appendix D that they constitute only a lower bound on security risk, and stronger adaptive attacks are needed in the future.
    • Single evaluation environment: The paper evaluates only in the fixed web environment of VisualWebArena; the authors note in Appendix D that performance in more diverse scenarios such as operating systems remains to be tested.
    • Agent architecture coverage: Experiments cover only three frontier frameworks—base, Reflexion, and tree search; the authors note in Appendix D that as new agent algorithms continue to emerge, their robustness still requires ongoing tracking.
    • Task difficulty expansion: The authors note in the Section 6 conclusion that as agent capabilities increase, future work should construct new adversarial versions of tasks that agents can solve.

    Experimental coverage

    • Number of tested models: Main experiments cover 4 frontier multimodal models (GPT-4o, GPT-4V, Claude-3-Opus, Gemini-1.5-Pro).
    • Benchmark and task scale: Evaluation is based on 3 web platforms in VisualWebArena, with 200 adversarial tasks manually constructed and tested.
    • Image perturbation parameters: Adversarial perturbations are strictly limited to a single image, with a norm bound of L∞ ≤ 16/256 and pixel area proportion less than 5%.
    • Composite component architecture: Only the Reflexion agent with a maximum attempt count of 2 and the tree-search agent with branching factor 3 and depth 1 are evaluated.
    • Unreported information: The paper does not report the actual performance of black-box image attacks on defended systems, and no statistical significance tests were conducted.
  6. Summarize the main content of the paper

    Systematically evaluates the vulnerabilities of multimodal web agents, pointing out that compromising inference-time computation components exacerbates system risk.
    • Positioning and core problem: The paper targets multimodal large-model agents in real web environments, studying their targeted vulnerabilities under constrained input perturbations, and analyzing the adversarial information propagation mechanism among composite agent components.
    • Methodological innovation: Proposes the ARE evaluation framework that represents agents as directed graphs, quantifying the worst-case adversarial impact edge weights of intermediate outputs; also designs black-box prompt injection, white-box descriptor PGD attacks, and multi-CLIP ensemble black-box image attacks for web environments.
    • Core main results: On the VWA-Adv benchmark containing 200 tasks, the white-box descriptor attack achieves 67% ASR on GPT-4V and 31% ASR on GPT-4o; text prompt injection achieves 40% ASR on GPT-4o; pure black-box image attacks achieve 10% ASR on GPT-4o on the base agent.
    • Composite system dynamics: Unattacked evaluators and value functions provide 23% and 16% relative protection, but when attacked simultaneously with the policy model, the ASR of Reflexion and tree-search agents rises relatively by about 20% (to 36%) and 23% (to 38%), respectively; attacking auxiliary components alone can also produce 8% ASR.
    • Defenses and conclusions: Safety prompts and text-rewriting defenses yield marginal benefits; consistency checking is effective but has high API overhead, and self-describing components still have a 38% vulnerability upper bound against adaptive attacks; the authors emphasize that extended inference computation expands the attack surface in the worst case, calling for defense-in-depth targeting critical weak links in composite systems.

Related papers

Show 3 more papers
Read originalICLR 2025