Skip to content

AdvSim2Real trains web agents with co-evolving tasks and injection adversariesAdvSim2Real

Paper Tracker· arXiv:2610.08773· Sarim Hashmi, Mukul Ranjan, Kshitij Mishra, Mikhail Kuznetsov, Praneeth Vepakomma, Nils Lukas·Indexed by this site · 2026-10-07· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

AdvSim2Real co-trains a 4B web agent; on unseen Kimi-K3, completion on 150 tasks rises from 23.00% to 30.72%.

Threat modelThe page author injects at most once per trajectory, with the frozen world model rendering the notice into the next page, aiming to prevent authorized completion; cannot change the goal, executor instructions or parameters, or judge details. At evaluation, the current page and pending actions are visible, and the attacker can wait or inject; the frozen attacker has at most 11 calls, each with 256 output tokens. The provider trains the executor, with world model and judge fixed. The initial page remains clean.

Questions
Web agents must read third-party pages to complete requests, yet embedded instructions can take them away from the user's goal; the page cannot be ignored because the values and controls needed for the task are also on the page. Fine-tuning on fixed injections does not encounter attackers that adapt to the model, and once a fixed task is solved, it no longer provides training signal.
Methods
AdvSim2Real updates a curriculum, an injection adversary, and a 4B executor in two stages within the frozen WebWorld-14B. The curriculum rewards roughly half of the tasks solved, the adversary is scored only for successful flips, and the executor trains on clean tasks, new attacks, and historical attacks. The judge is the frozen Qwen3.8-27B.
Experiments and results
Across 150 tasks, Robust iter 3 has 81.33% clean and a learned adversary average of 57.48%. Kimi-K3's move from 23.00% to 30.72% is not mentioned. Stage 1 strict browser success goes from 25.56% to 44.44%. The authors say Stage 2 was not evaluated in the browser.
Limitations and future work
The authors state that the world model may display values the actuator did not input, the judge may accept incorrect computations, and only capability checkpoints were verified in the browser. The training adversary sees the initial page, and the evaluation adversary reacts along the trajectory. The paper does not report the full training tokens and cost, and Stage 2 was not evaluated in the browser.
Experimental setupQwen3.5-4B · 150 form-filling web tasks、WebWorld-14B et al. · judged completion、learned-adversary score et al.
Evaluated models
Qwen3.5-4B
Benchmarks
150 form-filling web tasksWebWorld-14BChromium
Metrics
judged completionlearned-adversary scorestrict browser successcorrect fields
AI summaryAdvSim2Real proposes co-evolving the task curriculum, injection adversary, and agent in a frozen web world model to improve web agents' robustness to instructions implanted in pages. The curriculum only rewards tasks the agent can solve about half the time, and the adversary only rewards injections that flip a judged success into a failure. After training, the 4B agent's task completion rate rises both with and without attacks, withstands unseen frontier-model adversaries, and the capability gain transfers to a real browser. On 150 web tasks, against this unseen adversary, AdvSim2Real improves completion by 33.6% over the base agent.

AdvSim2Real proposes co-evolving the task curriculum, injection adversary, and agent in a frozen web world model to improve web agents' robustness to instructions implanted in pages. The curriculum only rewards tasks the agent can solve about half the time, and the adversary only rewards injections that flip a judged success into a failure. After training, the 4B agent's task completion rate rises both with and without attacks, withstands unseen frontier-model adversaries, and the capability gain transfers to a real browser. On 150 web tasks, against this unseen adversary, AdvSim2Real improves completion by 33.6% over the base agent.

Related events and news

1 events · 1 news mentions

News that mentions this paper

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    A fixed injection defense can be bypassed by adaptive attacks, and once a fixed task distribution is solved it no longer provides a training signal.

    Web agents must read third-party pages to complete tasks, but instructions embedded in the page can take them away from the user's goal.

    • Scenario: The authors state that web agents perform multi-step requests on third-party pages, where the page mixes the values, controls, and third-party content needed for the task, so defense cannot rely on ignoring the page. The authors cite that on one web-agent safety benchmark, such indirect prompt injections partially succeed in up to 86% of cases (Evtimov et al., 2025).
    • Existing shortcomings: The authors state that existing defenses fine-tune on injections fixed before training, some using delimiters to separate instructions from data, and do not encounter attackers that adapt to the trained model; such attackers can bypass StruQ and Meta SecAlign (Nasr et al., 2026). Adversarial training makes the attacker adapt, but with fixed tasks, once solved, they no longer provide training signal, and new tasks require executable sites.
    • Approach: The authors use a frozen web world model to simultaneously relax fixed tasks and fixed sites, proposing AdvSim2Real: a curriculum, an adversary that injects once per trajectory, and an executor are updated jointly in the same simulator. The curriculum rewards roughly half of the tasks solved, and the adversary is rewarded only for successful flips.
    • Threat model:
      • Provider objective: task-preserving robustness, i.e., completing authorized goals while the task remains feasible. The provider controls the executor's system prompt and training, with world model W and judge J fixed.
      • Attacker: page author, aiming to prevent authorized completion; inducing specific actions is optional. One injection per trajectory: after an executor action, an instruction z is given, and W renders the notice into the next page; the initial page remains clean.
      • Limitations: cannot change the authorized goal, executor system prompt or parameters, or judge details. At evaluation, the current page and chosen actions are visible, and the attacker can wait or inject; the frozen attacker has at most 11 calls, each with at most 256 output tokens, and stops querying once an injection is requested.
      • Two types of adversaries: Adv v1–v3 saved from Stage 2 (whose attacks also participate in executor training), and Kimi-K3, which did not participate in training. Injections must pass through W, which renders only plausible pages; the authors state that unreasonable requests are weakened or discarded. Attacked results are all judgments by J within W. The judge and executor read the same untrusted observations. The paper does not separately report whether the attacker's goal is achieved, nor does it verify whether the task remains feasible after injection.
  2. What related research exists?

    Related work is divided into fixed-injection defenses, learnable attackers, adaptive task generation, and web world models.

    The authors position the paper in terms of fixed-injection defenses, learnable attackers, adaptive task generation, and web world models.

    • Defenses against fixed injections: Greshake et al., 2023 place competing instructions in content the agent reads to accomplish a trusted goal. Wallace et al., 2024's instruction hierarchy trains models to ignore lower-privilege instructions; Chen et al., 2025b;c's SecAlign and the open-source Meta SecAlign prefer responses corresponding to legitimate instructions; Chen et al., 2025a's StruQ separates instructions and data with reserved delimiters. The authors state that when injections are fixed, the defender only encounters adaptive attackers at evaluation; attackers optimized against the trained model bypass StruQ and Meta SecAlign (Nasr et al., 2026; Wen et al., 2025). In Zhan et al., 2025, adaptive attacks also break detection, prompting, and paraphrasing defenses for tool agents.
    • Learnable attackers: RETA performs one round of red-teaming against a frozen defender, then trains the defender on recorded attacks (He et al., 2026). ARLAS treats the injection attacker and tool agent as a zero-sum game and adversarially trains against past attacker checkpoints (Wang et al., 2025c); CoER retains both sides' historical strategies and refines the defender on verified demonstrations (Zhang et al., 2026); GPT-Red extends self-play red-teaming to a simultaneously trained defender (Wallace et al., 2026). Self-RedTeam and DMAST respectively address dialogue safety and web agents facing DOM injections (Liu et al., 2026b;a); WARD co-evolves the attacker with a separate guard model (Cao et al., 2026); ToolHazard synthesizes adversarial tool environments, attacks, and tasks (Mou et al., 2026). The authors state that none of these works adapt the training task to the current agent or train in a web world model. Appendix D.5 further states that, relative to ARLAS, the environment here is a frozen web world model, the attack reward requires a rendered successful flip, and what is retained is attack inputs relabeled with new trajectories rather than attacker checkpoints.
    • Adaptive task generation: WebRL derives web tasks from failed attempts (Qi et al., 2025), SAGE grows a curriculum from easy to hard (Yang et al., 2025), and AgentGen pushes synthetic tasks toward easier and harder variants (Hu et al., 2024). PAE, Self-Challenging, and R-Zero generate tasks respectively with a proposer plus VLM scoring, self-written verifiable tasks, and problems where the solver agrees with itself about half the time (Zhou et al., 2025b;a; Huang et al., 2026). Agent0 alternately updates the curriculum and the actuator (Xia et al., 2025), and GenEnv trains the environment policy toward medium success rates (Guo et al., 2025). The authors state that Stage 1 uses R-Zero's uncertainty reward and repetition penalty, following Agent0, but the success rate comes from the actuator's judged completion rather than self-consistency.
    • Web world models: WMA and WebDreamer use world models to select actions at inference time (Chae et al., 2025; Gu et al., 2024). DreamGym, WebEvolver, and DynaWeb train policies on synthetic or imagined transitions (Chen et al., 2026b; Fang et al., 2025; Ding et al., 2026); UI-Simulator and Qwen-AgentWorld use LLMs to simulate interfaces or language worlds (Wang et al., 2025a; Zuo et al., 2026). The authors freeze WebWorld's pretrained transition model (Xiao et al., 2026) and state that freezing does not make predictions correct, so they additionally test in a real browser.

    Baselines and benchmarks: The experimental comparison is against the Base of the same Qwen3.5-4B, as well as a hosted Qwen3.5-9B reference; ablations remove Stage 1 and run Stage 2 from Base. Evaluation uses 150 self-built form tasks, judged by a model in the frozen WebWorld-14B, and Stage 1 checkpoints are additionally checked deterministically in Chromium. The paper does not include StruQ or SecAlign as experimental baselines. The authors position the paper as: in a frozen web world model, letting the task curriculum and injection adversary follow the current actuator. Appendix D.5 also discusses injection benchmarks, adaptive attacks, and LLM judge validity, and states that the paper only reports judged task completion, not attacker goal success rate as in AgentDojo and WASP.

  3. How does the paper address this problem?

    AdvSim2Real uses two-stage coordinated updating of the curriculum, injected adversary, and executor in a frozen world model.

    AdvSim2Real jointly updates curriculum C, actuator E, and injection adversary A in a frozen world model, scored by frozen judge J; two stages of three rounds each, with rewards defined relative to the current actuator.

    Environment and success determination

    • Trajectory: Task x consists of authorized goal g and initial accessibility-tree page o0. E samples browser actions such as filling fields, selecting options, or clicking, and the frozen WebWorld-14B predicts the next page. The trajectory ends when E emits a final message or reaches 12 actions.
    • Judge: Frozen Qwen3.8-27B gives j∈{0,1}, where 1 means judged completion of g. Evaluation does not provide the judge with a gold action sequence. Browser transfer renders the same page as HTML and replaces W's predictions with the live page.
    • Fixed evaluation tasks: 150 form tasks come from 10 templates and 5 skill levels, different from the tasks proposed by the training curriculum. Each specifies final field values, a final control, two protected fields that must not be changed, and Save draft and Reset all that must not be activated. Browser deterministic checks additionally require, when the task requires it, a review before submission.

    Two-stage procedure

    • Stage 1: C and E both start from base π0 and update alternately. C proposes a batch of goals plus starting pages, E runs each task multiple times; C scores on tasks solved about half the time, and the updated C proposes new tasks to train E. The actuator in this stage is called Capability iter t.
    • Stage 2: C is frozen, E continues from the last Stage 1 checkpoint, and A restarts from base. Clean controls are saved only on tasks where E is judged successful at least half the time. A proposes one injection and an insertion step, and replays the control to that step; A scores only when the injection is rendered and a previously accepted continuation now fails. E trains on new attacks, attacks from earlier rounds, and clean tasks. The actuator in this stage is called Robust iter t, and the adversary checkpoints are Adv vt.
    • Historical attacks: The mixed set keeps only task inputs, discards stored trajectories and old judgments, then resamples and scores with the current E.

    Curriculum reward and actuator advantage

    • Half success rate: For proposal x, run K trajectories and estimate success rate with mean judgment pbJ(x). Shaped as q(p)=1−2|p−1/2|, maximized at half and 0 at 0 and 1. If the whole group has the same reward, the within-group advantage is 0, so tasks that always succeed or always fail do not drive E's update.
    • Gating and repetition penalty: The validity gate removes proposals that cannot be parsed or were never solved. The authors state that zero successes do not prove impossibility, and tasks that succeed at every evaluation also get 0; difficulty pressure comes from the loop, not a fixed target. Word-similarity clusters are formed at threshold 0.8, and repeated proposals are penalized. Curriculum updates replay evaluated proposals as training completions.
    • Actuator advantage: New trajectory reward is 2j−1. After subtracting the group mean and dividing by the population standard deviation plus 10^-6, multiply by f(p)=max{0.1, q(p)}. The authors state this preserves within-group comparisons and increases weight on tasks near the capability boundary, with the floor keeping nonzero gradients for other tasks.

    Success flip

    • Filtering: Appendix D.3 states the filtering threshold η=0.5. Tasks whose pbJ reaches the threshold collect K clean controls with history; tasks with no good judgments are discarded. During training, A sees only the goal and initial page, not the controls or their judgments.
    • Proposal and replay: A proposal contains an injection instruction, a marker for confirming rendering, the transition index of the injection, and an optional target action. Each control is restored from that index, the instruction is given to W, and the fixed E continues. Continuations share the prefix, pending actions, and seed, but not backend random state. Malformed proposals get −1.
    • Adversary score: The numerator counts only controls that are good, continuations that are bad, and pass the rendering check, divided by the number of good controls, minus a repetition penalty on the injection text. This reward measures judged disruption, does not verify the task is still feasible, and does not verify whether the optional target action was executed.
    • Rendering check: The attacked observation must have at least 40 non-whitespace characters, a RootWebArea label or bracketed element numbers, and at least 60% of the normalized marker or its tokens longer than 2. The check only looks at structure and text.
    • Actuator reward under attack: Good judgment +1, bad judgment without a declared target −1. With a declared target, default weights give 0 for failures that avoid the target and −1 for failures that follow it. The mixture ratio is new attacks 0.50, historical attacks 0.25, clean tasks 0.25; when history is insufficient, it is not filled by copying.

    Policy updates and recorded configuration

    • Adapters: Each role trains a separate LoRA, advantages are group-normalized, and a penalty is added toward the base with adapters off; no likelihood ratio, no clipping, and no importance correction for curriculum replay. Stage 2 continues each role's own adapter without merging weights.
    • Evaluation interface differs from training: At evaluation, the frozen adversary sees the goal, current page, and pending actions before each transition, and returns either wait or one injection; after the first accepted injection request, no further queries are made, regardless of whether W actually renders it. Only transport failures are retried.
    • One recorded Stage 1 configuration: Appendix C.6 states the following numbers describe only one recorded Stage 1 run, not the full checkpoint sequence in Table 1: LoRA rank 16, scale 32, learning rate 10^-5, KL coefficient 0.01, K=6, two pools of 150 proposal slots each, curriculum 1 epoch, actuator 2 epochs. That run has an action cap of 8, and the judge truncates subsequent pages to 1500 characters, differing from the 12-step evaluation and the untruncated Stage 2 judge.
  4. What experiments did the paper conduct?

    Clean completion rate on 150 tasks from 74.89% to 81.33%, unseen Kimi-K3 from 23.00% to 30.72%.

    Experimental setup

    • Executor: Qwen3.5-4B's Base, Capability iter 1–3, Robust iter 1–3. The curriculum and learned adversary are also separate LoRAs on this 4B; the adversary starts from the base. The reference is hosted Qwen3.5-9B, whose service weights and raw trajectories the authors do not hold.
    • Environment and judge: Frozen WebWorld-14B; frozen Qwen3.8-27B. Trajectories end at the final message or after 12 actions.
    • Data: 150 form tasks, 10 templates, 5 skill levels. Table 4: 62 high-level, 74 full forms, 38 requiring review before submission. The abstract states that 50 of these are close variants of 8 parent tasks. They differ from the tasks proposed during training.
    • Attackers: Adv v1–v3 and Kimi-K3. At most one injection per trajectory; frozen attackers have at most 11 calls, each with 256 output tokens.
    • Metrics and repetition: Percentage judged complete among judged tasks; learned adversary scores are equal-weight averages over Adv v1–v3. Means and sample standard deviations come from three rollout seeds of the same trained checkpoint, not three trainings. Kimi-K3 uses seeds 0 and 1; seed 2 stopped due to rate limits, and 293 of 300 Robust iter 3 trajectories have judgments (Appendix C.4). The paper does not measure attacker goal success rate.
    • Browser: Clean Chromium runs of Base and Capability iter 1–3, with no world model calls; Appendix C.3 specifies temperature 0.7 and at most 256 tokens. Stage 2 is not evaluated in the browser.

    Main results

    Swipe horizontally to read the table

    CheckpointCleanAdv v1–v3 meanKimi-K3
    Base74.89%48.07%23.00%
    Capability iter 178.00%54.74%Not reported
    Capability iter 277.11%55.41%Not reported
    Capability iter 379.33%54.34%Not reported
    Robust iter 177.33%53.70%29.67%
    Robust iter 278.00%56.44%30.33%
    Robust iter 381.33%57.48%30.72%
    Qwen3.5-9B (reference)78.22%56.96%Not reported

    Per Table 1 and Table 3, cells are means of per-seed proportions; standard deviations are in the original tables. The 9B is not a checkpoint trained in this paper.

    • The authors state that Stage 1 raises clean completion by 4.44 percentage points, and even without seen injections, the attack mean rises after the first round, then stays between 54.34% and 55.41%. Stage 2's first round drops both: attack mean by 0.64 percentage points and clean by 2.00; relative to Capability iter 3, Robust iter 3 has attack mean 3.14 higher and clean 2.00 higher. The attacked gain concentrates in Adv v1's 5.78 percentage points, with Adv v2 and v3 at 2.54 and 1.11. A clean-to-attacked gap of 23.85 percentage points remains at the end.
    • The authors state that on matched tasks and seeds, Robust iter 3 has an attack mean of 57.40% versus the 9B's 56.96%, and clean is 3.11 percentage points higher; the 0.44 percentage point attack difference is smaller than the 4B checkpoint's seed spread of 0.56. In Table 1, it is lower than the 9B on Adv v2 and Adv v3: 54.89% vs. 57.10%, and 54.67% vs. 54.89%. Table 5 notes that Capability iter 3's Adv v2 has 149 judgments, and the 9B's Adv v2 has 145.
    • Figure 1(c) labels +8.6%, +19.6%, +33.6% relative to Base. The text states that the improvement on Kimi-K3 is 33.6% relative, the three Stage 2 rounds differ by no more than 1.05 percentage points, and the gain arrives in the first round; each checkpoint still loses at least 47.66 clean completion percentage points. Section 6 states endpoint gains of 6.44 clean percentage points and 9.41 attacked percentage points, and states that the evaluation does not isolate individual components, so gains are attributed to the entire checkpoint sequence. Figure 2 shows task 34, Adv v2, seed 1: Base clicks the forbidden Reset all after the notice appears and is judged failed; Robust iter 3 sees the notice before five actions, does not click, and is judged complete.

    Real-browser transfer

    • What was tested: Base and three Capability checkpoints, 150 tasks, three seeds, totaling 1,800 clean Chromium trajectories, with no world model calls. Strict success checks submitted values, protected fields, forbidden controls, and review-before-submit when required. Correct fields are counted per seed over 746 target values.
    • Results: Strict success is 25.56%, 31.78%, 43.56%, 44.44%, and correct fields rise from 52.50% to 73.24% (Table 2). The four checkpoints rank identically under deterministic checks, field counts, and trajectory review. On the same tasks and seeds, the proportion succeeding in both rises from 23.1% for Base to 42.9% for Capability iter 3, while the proportion judged good only in the world model falls from 51.8% to 36.4% (Table 6c).
    • Authors' interpretation: The authors state that Stage 1 gains measured in the world model are gains in executable completion. Absolute rates are lower because the browser rejects malformed actions that the world model accepts: Base has at least one invalid action in 132 of 450 trajectories, and Capability iter 3 in 67. Conjunctive selection has strict success of 0 in the 60 trajectories at any checkpoint, even though the world model judge accepts 40.0% to 58.3% of them. No browser round is judged failed when strict checks pass, but the judge accepts 7.5% to 10.4% of trajectories that fail strict checks.

    Unseen Kimi-K3

    • Protocol: Kimi-K3 replaces the learned adversary, with the same prompt, observations, and one-injection budget; reasoning mode is disabled to fit the token budget. API costs for adversary and judge calls are below $40. Checkpoints, world model, judge, tasks, and decoding settings are unchanged.
    • Behavior: The proportion of rounds requesting injection is 95.0% to 98.0% for Kimi-K3 and 66.5% to 81.0% for learned adversaries; the world model renders the requested injection in 72.3% to 80.9% of cases (Table 6b). Under Kimi-K3, Base exhausts 12 steps without a final message in 28.3% of rounds, and Robust checkpoints in 14.0% to 15.4%; clean rounds across all checkpoints total 3.7%.
    • Authors' interpretation: The authors state that the robustness gained from training holds against adversaries outside the training loop. Base drops from clean 74.89% to 23.00%, which is 25.07 percentage points lower than its 48.07% against learned adversaries; Robust iter 1 to 3 are 6.67, 7.33, and 7.72 percentage points higher than Base.

    Removing Stage 1

    • What was tested: Both the executor and the frozen curriculum start from Base, with the same number of rounds and epoch configuration, evaluated against Adv v1–v3 trained with Stage 1 (Table 7). The authors state that the number of tasks, optimization steps, and compute are not controlled, and reactive injections may also differ because the executor differs.
    • Results: Ablation iter 3 has clean 76.67% and attack mean 57.04%. Relative to it, the full pipeline has clean differences of +5.78, +2.00, +4.67 percentage points across rounds, and attack mean differences of +0.89, −0.52, +0.44. Differences vary in sign across adversaries, e.g., Adv v1 in the first round is −5.11.
    • Authors' interpretation: The authors state that this ablation removes both the executor and curriculum initialization, comparing two pipelines rather than the curriculum itself; Section 6 states that this cannot establish Stage 1's robustness benefit.

    Other ablations and analyses

    • Attacked stratification (Table 6d): The authors state that Robust iter 3 is 14.3 percentage points higher than Base on conditional policy, 12.8 higher on conjunctive selection, and 1.6 higher on relational join; conjunctive selection is 40.56%, which the authors state remains the hardest level.
    • Counting only rounds that request injection: attack mean is 41.75% for Base, 46.50% for Capability iter 3, and 49.45% for Robust iter 3, with a clean-to-attacked gap of 31.88 rather than 23.85 percentage points (Appendix A.2). The proportion of learned adversaries' requested markers visible in the rendered page is below 0.5%.
    • Clean difficulty: Base is 83.0% on low level and 63.4% on high level; Robust iter 3 is 90.9% and 67.7%. From Capability iter 3 to Robust iter 3, derived values rise from 63.33% to 86.67%, conditional policy from 82.96% to 86.67%, and the other three levels decline (Appendix B.2).
    • Each Stage 1 update improves 23 to 28 tasks and regresses 19 to 21; the final Robust update passes 48 bad-to-good and 33 good-to-bad, netting 15 more good judgments (Appendix B.1). Base has all three seeds correct on 95 questions and all wrong on 22; Robust iter 3 has 108 and 15.
    • Browser failure modes: non-submission falls from 16.2% to 2.0%, budget exhaustion from 96 of 450 to 13; submissions with at least one wrong value remain the most common, at 58.0% for Base and 50.7% for Capability iter 3. Two-decimal currency fields are correct 23.7% to 40.2%, and text fields 59.9% to 81.7% (Appendix C.3).
    • Judge errors: The authors give examples of submissions 10,102 and 8,862, which should be 21,042 yet still receive positive labels, and another task where six trajectories have totals different from 446.04 yet all are labeled positive; the authors state these examples show reward errors but do not give frequencies (Appendix C.7).
  5. What are some points that can be further explored?

    The authors state that judged robustness is not yet executable completion, and the training and evaluation injection interfaces also differ.

    Limitations and future directions noted by the authors

    • Judgment is not executable completion: The world model may display values the executor never entered, and the judge may accept incorrect calculations, so judged robustness gains are not yet executable task completion; only capability checkpoints are verified in the browser (Section 6, Table 2).
    • Training and evaluation injection interfaces differ: Training adversaries propose from the initial page, while evaluation adversaries react to trajectories; reactive adversaries generate different injections for different executors, so aligning adversary checkpoints aligns the attacker, not the same attack (Section 6).
    • Components are not isolated: The evaluation does not isolate individual components; the authors attribute gains to the entire checkpoint sequence; none of the three designed mechanisms are isolated. Removing Stage 1 cannot establish its robustness benefit (Section 6).
    • End-to-end cost not reported: Token counts and API costs for the full sequence are not measured, so the authors do not report end-to-end cost (Section 6).
    • Future measurements: The authors believe that evaluation should be repeated against adversaries that did not participate in shaping training, and ultimately against adversaries that adapt to the trained agent; next steps require blinded human audit, executable task checkers, and compute-matched component comparisons (Section 6).
    • Variance, reference, and transfer: Three rollout seeds measure rollout variance, not training variance, and the paper does not report confidence intervals; the authors do not hold the hosted 9B's service weights and raw trajectories. The authors state that the released adversaries were not tested on deployed agents or real websites, and these results do not prove robustness to arbitrary page authors, or transfer to browser execution, visual observation, or unseen websites (Appendix C.8, Ethics statement). Kimi-K3's service version may change (Reproducibility statement).

    Experimental coverage

    • Evaluated executors are Qwen3.5-4B's Base, Capability iter 1–3, and Robust iter 1–3, with the reference being hosted Qwen3.5-9B; the simulator is WebWorld-14B, and the judge is Qwen3.8-27B (Section 5, Table 1).
    • The evaluation set is 150 form tasks, 10 templates, 5 skill levels; local checkpoints use three rollout seeds, Kimi-K3 uses two seeds, and it is not three independent trainings (Sections 3, 5, Appendix C.4).
    • Attack evaluation uses Adv v1–v3 and Kimi-K3, with at most one injection per trajectory, and frozen attackers with at most 11 calls, each with 256 output tokens (Section 3).
    • Browser results cover clean Chromium runs of Base and Capability iter 1–3, totaling 1,800 runs, with no world model calls; Stage 2 is not evaluated in the browser (Table 2, Section 5).
    • The ablation is three rounds of Stage 2 only, starting from Base, evaluated with Adv v1–v3 trained with Stage 1 (Table 7). The paper does not report a SecAlign-style comparison on the same backbone; Appendix D.5 states that such a comparison could test whether a changing attacker is necessary. The paper does not report token counts and API costs for the full training sequence (Section 6).
  6. Summarize the main content of the paper

    Clean 74.89% to 81.33%, adversary mean 48.07% to 57.48%, under Kimi-K3 23.00% to 30.72%.

    AdvSim2Real co-trains a web executor in a frozen web world model so that it still completes authorized tasks when pages contain competing instructions.

    • Problem: Third-party pages simultaneously provide the values, controls, and possible injected instructions needed for the task, so the executor cannot defend by not reading the page. Fine-tuning on fixed injections does not encounter attackers that adapt to the trained model; once a task is solved, it no longer provides training signal.
    • Method: Stage 1 alternately updates a curriculum and a Qwen3.5-4B executor, with the curriculum rewarding roughly half of the tasks solved by the current executor. Stage 2 freezes the curriculum, and the adversary is scored only for successful flips: replaying clean trajectories judged successful to the injection step, scoring only when the injection is rendered and the continuation fails. The executor trains on a mix of new attacks, historical attack inputs, and clean tasks, re-judged by the frozen Qwen3.8-27B. Three rounds per stage, with transfer predicted by the frozen WebWorld-14B.
    • Completion rates within the world model: On 150 form tasks, clean completion rises from 74.89% for Base to 81.33% for Robust iter 3, and the equal-weight mean of the three learned adversaries rises from 48.07% to 57.48% (Table 1). Under unseen Kimi-K3, it rises from 23.00% to 30.72%, which the authors call a relative gain of 33.6% (Table 3). Both metrics drop in the first round of Stage 2 and recover afterward; a clean-to-attacked gap of 23.85 percentage points remains at the end.
    • Browser and comparison: Stage 1's strict browser success rises from 25.56% to 44.44%, and correct fields from 52.50% to 73.24% (Table 2). The authors state that the final 4B has an attack mean of 57.40% on matched identities versus 56.96% for the hosted 9B, but in Table 1 it is lower on Adv v2 and Adv v3. Removing Stage 1 leaves the final clean 4.67 percentage points lower and the attack mean only 0.44 lower, with per-round differences both positive and negative (Table 7).
    • Authors' conclusions: The authors state that the curriculum phase corresponds to capability and the adversarial phase to robustness, but this ablation cannot establish Stage 1's robustness benefit. The authors state that all robustness numbers are model judgments within one web world model, and state that they have released code, benchmark, and all checkpoint results so that injection defenses can be evaluated against adversaries trained on the defended executor.
Read originalarxiv.org