Manuscript Offprint
arXiv:2610.33528SkillShift-Bench: Benchmarking Skill Learning under Environment Evolution for Web Agents
Abstract
Skill learning enables web agents to reuse prior experience for long-horizon interactive tasks. However, learned skills are typically evaluated in closed environments, overlooking the fact that real-world web deployment involves continuous shifts in invocation context, perceptual grounding, and execution feasibility. To this end, we introduce SkillShift-Bench, the first benchmark for evaluating skill learning with controlled open-environment shifts. SkillShift-Bench simulates Contextual Shift, Perceptual Shift, and Execution Shift across three self-hosted web systems, and evaluates agents with diagnostics covering task success, interaction cost, skill use, and skill failure. Comprehensive experiments reveal systematic robustness degradation under controlled shifts, characterized by lower success rates, higher interaction costs, and more frequent skill failures, with Execution Shift exerting the strongest pressure. We further formulate shifted skill execution as a nonstationary local executability problem and provide both a dynamic-regret analysis and a practical test-time adaptation method, demonstrating the feasibility of improving learned-skill execution without relearning the skill library. Code, tasks, environments, documentation, and the leaderboard are available at https://skillshift-bench.github.io/.
1 Introduction
Web agents increasingly complete long-horizon tasks by reusing learned skills rather than planning each step from scratch (Wang et al., 2024, 2025b,a). This reuse improves efficiency, but it assumes local compatibility between the current web environment and the context in which the skill was learned. When interface structure, grounding evidence, or runtime conditions change (Cheng et al., 2024; Yang et al., 2025; Kara et al., 2026), a skill may remain semantically relevant while its next operation is no longer locally executable. We study this gap as learned skill executability under same-site environment evolution.
Existing evaluations provide important but incomplete views of this problem. Offline web datasets and simulated web tasks offer broad coverage, but do not test executable skill transfer in interactive browsers (Yao et al., 2022; Deng et al., 2023). Self-hosted benchmarks support reproducible execution, but usually instantiate tasks in fixed website snapshots (Zhou et al., 2024; Koh et al., 2024; Le Sellier de Chezelles et al., 2025). Remote and open web benchmarks expose agents to realistic change (Drouin et al., 2024; He et al., 2024; Pan et al., 2024; Yoran et al., 2024), while task content, interface state, and runtime conditions often vary together, limiting fine-grained attribution (Xue et al., 2025). Recent robustness and evolution benchmarks further show the importance of non-static evaluation (Ishmam and Marino, 2026; Bai et al., 2026; Li et al., 2026; Kara et al., 2026). However, they mainly target general agent robustness rather than whether previously learned reusable skills remain executable when task semantics are preserved.
We introduce SkillShift-Bench, a controlled benchmark for diagnosing learned skill executability under environment evolution. It defines three mismatch modes aligned with the stages of reusable skill execution: Contextual Shift targets skill invocation, Perceptual Shift targets grounding, and Execution Shift targets runtime feasibility. Across these modes, task intent, task-critical entities, required functionality, and grading criteria are preserved. This design turns website evolution into controlled interventions on learned skill reuse rather than task redefinition.
Using SkillShift-Bench, we evaluate representative learned skill methods (Wang et al., 2025b,a; Zheng et al., 2025; Prabhu et al., 2026) across clean, evolved, and shifted environments. The re-
Corresponding authors.
sults show consistent transfer degradation under controlled same-site evolution, with the strongest pressure under Execution Shift. This pattern suggests that many errors arise from local executability mismatch: the learned library can still contain task-aligned skills, while the executor must select an operation that is feasible in the current-page state.
Motivated by this finding, we formulate shifted skill execution as a nonstationary local executability problem, separating skill availability from current action feasibility. We analyze this setting with SWOP (Sliding Window Optimistic Prior-Guided Planning), an idealized prior-guided adaptation model with a variation-dependent dynamic regret guarantee, following the nonstationary online decision making perspective (Besbes et al., 2014; Cheung et al., 2020; Mao et al., 2021). We then instantiate the same principle as MPCR (Masked Prior-Guided Candidate Reranking), a fixed-library executor-side method that reranks candidate actions using current-page feasibility evidence (Sun et al., 2023; Qin et al., 2024; Wu et al., 2025). Since MPCR keeps the learned skill library fixed, its gains reflect test-time action selection rather than additional skill acquisition.
In summary, we make three contributions:
• We introduce SkillShift-Bench, a controlled benchmark for evaluating learned skill executability under Contextual, Perceptual, and Execution Shifts.
• We formulate shifted skill execution as nonstationary local executability and analyze SWOP with a variation-dependent dynamic regret guarantee.
• We propose MPCR, a test-time, fixed-library executor-side reranker that improves transfer through feasibility-aware action selection.
2.1 Skill learning and reusable web procedures
Web agents increasingly reuse prior experience, workflows, tools, and executable procedures to support long-horizon interaction (Shinn et al., 2023; Wang et al., 2024). Recent work studies such reuse through workflow memory (Wang et al., 2025b), programmatic skill induction (Wang et al., 2025a), autonomous browser skill discovery (Zheng et al., 2025), learned tools (Prabhu et al., 2026), API-based interaction (Song et al., 2025), routing over large skill libraries (Zheng et al., 2026), and neurosymbolic induction of logic-grounded skill programs from interaction traces (Shao et al., 2026a). These methods show that reusable procedures can reduce repeated planning and improve web agent efficiency (Wang et al., 2025b,a; Zheng et al., 2025; Prabhu et al., 2026). Our work studies a complementary question: whether a previously acquired procedure remains usable when the same website changes the context, interface evidence, or runtime conditions needed for execution.
2.2 Web agent benchmarks and environment realism
Web agent benchmarks vary in coverage, realism, reproducibility, and attribution. Offline or non-browser settings such as WebShop, Mind2Web, and ChinaTravel provide broad task coverage and, in constraint-rich planning domains, evaluation against explicitly specified requirements rather than only final outcomes (Yao et al., 2022; Deng et al., 2023; Shao et al., 2026b). Self-hosted environments such as World of Bits, WebArena, VisualWebArena, and BrowserGym support reproducible execution in controlled website snapshots (Shi et al., 2017; Zhou et al., 2024; Koh et al., 2024; Le Sellier de Chezelles et al., 2025). Remote hosted benchmarks such as WorkArena and WorkArena++ evaluate agents in realistic workplace environments (Drouin et al., 2024; Boisvert et al., 2024). Live or online web benchmarks such as WebVoyager, WebLinx, WebCanvas, Online Mind2Web, and AssistantBench improve ecological validity by evaluating agents in more realistic interaction settings (He et al., 2024; Lu et al., 2024; Pan et al., 2024; Xue et al., 2025; Yoran et al., 2024). Together, these benchmarks have advanced general web agent evaluation. We focus on an aligned transfer setting for reusable procedures, where task semantics are preserved while local execution conditions vary.
2.3 Environment variation and diagnostic robustness
Recent work further studies how web agents behave under environment variation. REAL evaluates agents in deterministic simulations of real websites, and WebCanvas emphasizes realistic workflows with controllable benchmark construction (Garg et al., 2025; Pan et al., 2024). TimeWarp studies temporal interface change, StressWeb introduces structured interaction variability, ProEvolve supports programmable benchmark evolution, and WAREX injects website and network failures into existing benchmarks (Ishmam and Marino, 2026; Bai et al., 2026; Li et al., 2026; Kara et al., 2026). These studies show that static evaluation can obscure important robustness behavior (Kara et al., 2026; Bai et al., 2026), a concern that also holds beyond the browser, where statically trained tool-use agents degrade once tool interfaces and specifications depart from their training distribution (Lv et al., 2026), in line with the open-environment view that training-time assumptions need not hold at deployment (Guo et al., 2025). We build on this motivation, but use environment variation as an intervention on learned skill transfer. The focus is not only whether an agent remains successful, but whether a previously useful procedure remains invokable, groundable, and executable under aligned task semantics. Appendix A provides a criterion-level comparison with existing web-agent benchmarks.
2.4 Breakage and repair of recorded web procedures
Software engineering studies an analogous problem as web-test maintenance: recorded end-to-end scripts break when an application evolves, mostly through changed element locators and reorganized page structure rather than removed functionality (Imtiaz et al., 2019; Hammoudi et al., 2016). Remedies either harden locators against structural change, as in robust XPath generation (Leotta et al., 2016), or self-heal a broken script against the evolved interface using structural (Choudhary et al., 2011) or visual (Stocco et al., 2018) evidence of the intended target, while a separate line stabilizes asynchronous waits (Pei et al., 2025). Perceptual Shift instantiates these breakage causes at the level of a learned procedure, perturbing the same locator and DOM-structure signals that these methods defend (Leotta et al., 2016; Stocco et al., 2018). Two differences shape the remedy: a skill is selected at run time rather than executed unconditionally, so a still-valid procedure may be invoked where it no longer applies; and Execution Shift breaks execution through runtime state rather than interface change (Kara et al., 2026), which no repair of a stored script can anticipate. We therefore adapt the executor instead of repairing the library.
2.5 Test-time executor-side adaptation for shifted skill execution
Shifted skill execution is related to nonstationary decision making, GUI grounding, candidate reranking, and reliability analysis. Nonstationary bandits and reinforcement learning study decision making under changing rewards or transitions (Besbes et al., 2014; Cheung et al., 2020; Mao et al., 2021; Feng et al., 2023), and test-time adaptation adjusts a deployed model from unlabeled test-time evidence, including under open-world data shift (Zhou et al., 2023), at the prompt level for zero-shot models (Zhang et al., 2024), and with recent analyses of when such adaptation is learnable (Zhou et al., 2026). GUI grounding methods improve target identification under visual and structural variation (Zheng et al., 2024; Cheng et al., 2024; Gou et al., 2025). Reranking methods support selection among candidate outputs (Sun et al., 2023; Qin et al., 2024; Wu et al., 2025), and reliability studies show that aggregate success may hide unstable execution behavior (Kara et al., 2026). These directions provide useful context for test-time executor adaptation. Our setting connects them through fixed-library skill reuse, where the executor selects among prior-guided skill and primitive candidates using current-page feasibility evidence.
3 SkillShift-Bench: Benchmark Design
SkillShift-Bench is designed to diagnose learned-skill executability under controlled same-site environment evolution. It preserves task semantics across aligned variants and varies only the local conditions that affect skill reuse. The following sections describe the transfer setting, shift modes, benchmark construction, and diagnostic metrics.
3.1 Controlled Transfer Setting
SkillShift-Bench is organized around aligned task families. Each family contains a source context, where a skill is learned or selected, and an evolved target context, where the same task is attempted under changed website conditions. To support fine-grained attribution, we enforce four invariants. Goal invariance keeps the instruction tied to the same task intent. Entity invariance aligns task-critical objects such as projects, issues, products, posts, pages, and user accounts. Functionality invariance ensures that the operations required for completion remain available. Outcome invariance keeps the automatic success criteria equivalent

Figure 1: Three controlled shift modes in SkillShift-Bench. Aligned variants preserve task intent, task-critical entities, required functionality, and success criteria, while Contextual, Perceptual, and Execution Shifts respectively target skill invocation, grounding evidence, and runtime feasibility.
across variants.
This design keeps the task fixed while varying the website conditions under which learned skills are reused. SkillShift-Bench therefore evaluates skill transfer under controlled environment evolution rather than under task redefinition.
3.2 Skill Environment Mismatch Modes
A reusable skill must be invoked in a compatible context, grounded to the intended interface evidence, and executed under feasible runtime conditions. SkillShift-Bench defines three mismatch modes that correspond to these stages, as shown in Figure 1.
Contextual Shift. Contextual Shift evaluates skill invocation after the deployment context evolves. We instantiate it with paired versions or themes of the same website, where routes, navigation, page structure, workflow layout, or control placement may change while the task remains aligned.
Perceptual Shift. Perceptual Shift evaluates grounding under changed interface evidence. It applies task-preserving perturbations to layout, DOM structure, element attributes, and locator signals, while keeping the task-critical objects and required functionality intact (Imtiaz et al., 2019; Leotta et al., 2016).
Execution Shift. Execution Shift evaluates runtime feasibility during task execution. It injects reproducible modal blockers that intercept interactions, testing whether the agent can recover from execution-time interruptions and continue the original task flow (Kara et al., 2026).
Implementation details for the perceptual and execution perturbation modules are given in Appendix B.2, together with the configurable injection schedules for Execution Shift in Appendix B.2.3. Appendix B.4 shows that recorded failure trajectories exhibit stage-distinct signatures matching this decomposition.
3.3 Benchmark Instantiation
We instantiate SkillShift-Bench on three controlled web systems: GitLab, Magento, and WordPress. They cover developer collaboration, e-commerce administration, and content management, and each supports reproducible deployment, controlled modification, and automatic state inspection. The selected version and theme pairs follow official release, migration, and theme documentation, with environment-selection criteria and pairing details provided in Appendix B.1.
Task construction. Task construction follows a validity-first pipeline. For each website, we instantiate task-relevant data and align the entities and states needed across source and target contexts. We then write natural language instructions around these aligned entities and implement task-specific automatic scorers for final state verification. Each task family is checked against the four invariants in Section 3.1 before shifted variants are generated. Only validated families enter the shift generation stage, where local execution conditions are varied while the task remains fixed. Validation is manual and covers instruction validity, scorer correctness, functional availability in both variants, and the existence of an executable solution under each of the six conditions; Appendix B.3 gives the full protocol and its distinction from a human performance baseline. This process yields 355 natural language tasks across three web systems.
Evaluation conditions. Each task family is instantiated under six conditions. Src is the clean source context. Src-Perc and Src-Exec apply Perceptual Shift and Execution Shift to the source context. Tgt is the clean target context and measures transfer under Contextual Shift. Tgt-Perc and Tgt-Exec apply Perceptual Shift and Execution Shift to the target context. Together, these conditions allow controlled comparisons across clean execution, same-site transfer, and additional perceptual or execution shifts under matched tasks.
3.4 Diagnostic Metrics
We characterize each run with four complementary diagnostics. Success Rate (SR) measures the fraction of tasks that meet the specified success criterion. Average Steps (AS) measures the mean number of actions before success, failure, or timeout, capturing interaction cost and recovery burden. Average Skill Calls (ASC) measures the mean number of learned skill invocations per task, capturing reliance on the skill library. Skill Failure Rate (SFR) measures the proportion of invoked skills that fail during attempted execution, with runtime errors counted as skill failures. These diagnostics capture final correctness, trajectory cost, skill reuse behavior, and local executability under controlled environment evolution. SFR aggregates retrieval-level and executability-level failures, and is unstable when skills are rarely invoked, since the ratio is then taken over a very small denominator; we therefore report it as a supplementary diagnostic and characterize low-invocation regimes through ASC. Appendix B.4 decomposes the two causes.
4 Prior-Guided Test-Time Executor Adaptation
SkillShift-Bench separates task semantics from local execution conditions by preserving the former while varying the latter across aligned environments. This separation motivates a prior-guided view of skill transfer: a learned library may remain task-relevant, but the executor must still choose actions that are executable in the current page state. This section first formalizes shifted skill execution as nonstationary local executability and then introduces an executor-side reranking method that keeps the learned skill library fixed while adapting test-time action selection.
4.1 SWOP as Prior-Guided Adaptation
We formalize this view with SWOP (Sliding-Window Optimistic Prior-Guided Planning), an idealized finite-horizon model for adapting a skill-guided executor under nonstationary execution conditions. SWOP keeps the executor anchored to a reference prior while using recent evidence to update which actions appear reliable in the current environment.
Following nonstationary episodic MDP formulations (Cheung et al., 2020; Mao et al., 2021; Feng et al., 2023), we model environment evolution as a finite-horizon information-state MDP sequence:
(1)
Here is a finite information-state space, is the state-dependent action domain, and evolution is captured by changes in the rewards and transitions .
At each episode, SWOP estimates rewards and transitions from a recent sliding window, adds optimism for uncertainty, and computes a KL-regularized policy around a reference prior , combining sliding-window optimism and regularized MDP ideas (Cheung et al., 2020; Mao et al., 2021; Geist et al., 2019):
The prior represents the preference induced by the fixed skill library and base executor. The sliding-window estimate allows the policy to respond to recent execution evidence.
Following variation-budget dynamic-regret analyses in nonstationary bandits and MDPs (Besbes et al., 2014; Cheung et al., 2020; Mao et al., 2021), we measure nonstationarity by the adjacent reward and transition variation:
and aggregate it as:
SWOP is evaluated by dynamic regret against the episode-wise optimal KL-regularized policy:
Theorem 4.1 (Informal dynamic-regret guarantee). Consider the finite-state SWOP abstraction with bounded rewards, fixed episode-invariant action domains, a full-support reference prior, and the sampling and concentration conditions stated in Appendix C. Let be the policy produced by SWOP at episode . With an oracle-tuned fixed window chosen before the run as a deterministic function of the variation budget , SWOP satisfies, with probability at least ,
where fixed problem-dependent factors are suppressed. Consequently, when , , and are fixed and , SWOP obtains sublinear dynamic regret.
This guarantee suggests that, when environment variation grows sublinearly, prior-guided adaptation can track the episode-wise comparator by combining learned priors with recent feasibility evidence. Appendix C provides the formal SWOP statement and proof.
4.2 From SWOP to Practical Executor Design
SWOP is an analysis model, while deployed web agents operate over language-conditioned observations, browser states, page elements, and candidate actions rather than explicit MDP models. We therefore use SWOP as a design guide for test-time action selection. It suggests adapting with

Figure 2: Execution flow of MPCR within the web-agent loop.
recent execution evidence, retaining uncertainty-aware alternatives when prior-preferred actions become unreliable, and regularizing selection toward learned skill preferences. These principles translate into a practical executor objective: selecting among primitive and skill-action candidates at test time based on current-page feasibility evidence. Appendix D.1 states this correspondence componentwise and reports the empirical evidence supporting each of its components.
4.3 MPCR as Feasibility-Aware Candidate Reranking
MPCR (Masked Prior-Guided Candidate Reranking) instantiates the above principles as an executor-side adaptation method. Figure 2 shows the execution flow.
Given the current observation, task context, fixed skill library, and base executor, MPCR proposes primitive and skill-action candidates, verifies them with current-page feasibility evidence, scores them according to executability, and ranks the shortlist through LLM-based comparison or reranking (Sun et al., 2023; Qin et al., 2024; Wu et al., 2025).
MPCR selects only from proposed candidates and introduces no new skills. Execution feedback is carried into the next decision step. This realizes the SWOP principle in practical web execution while preserving the fixed learned skill library. Appendix D gives the full MPCR algorithm and implementation details.
5 Experiments and Results
We evaluate SkillShift-Bench and MPCR through three research questions: RQ1 studies how learned-skill methods fail under controlled environment evolution; RQ2 examines whether the observed adaptation dynamics are consistent with SWOP;
and RQ3 tests whether test-time executor-side adaptation improves fixed-library transfer.
5.1 Experimental Setup
Benchmark and metrics. We evaluate all methods under the six SkillShift-Bench conditions defined in Section 3.3: Src, Src-Perc, Src-Exec, Tgt, Tgt-Perc, and Tgt-Exec. For compact analysis, we also report three pooled views: Base combines Src and Tgt, Perceptual combines Src-Perc and Tgt-Perc, and Execution combines Src-Exec and Tgt-Exec. We use the four diagnostics defined in Section 3.4: SR, AS, ASC, and SFR.
Compared methods. We compare four skill learning methods: AWM, ASI, SkillWeaver, and WALT (Wang et al., 2025b,a; Zheng et al., 2025; Prabhu et al., 2026). Each method learns skills in Src using its native protocol and is evaluated under the aligned transfer conditions. Method cards and library sizes are provided in Appendix E.1 and Appendix E.2.
Fixed-library protocol. For RQ2 and RQ3, ASI first learns a skill library on Src. The library is then frozen and shared by ASI and MPCR. ASI uses its original selector, while MPCR changes only test-time selection over the same skills and primitive actions. This protocol isolates executor-side adaptation from additional skill learning.
Models and execution. The benchmark-level analysis uses DeepSeek-V3.2, GPT-5 mini, and Claude Haiku 4.5 (DeepSeek-AI, 2025; OpenAI, 2025; Anthropic, 2025). The fixed-library ASI and MPCR comparison uses GPT-5 mini. MPCR considers at most 2 candidate actions per step and keeps a top-2 shortlist, evaluating it as a lightweight test-time reranking method rather than a broad-search procedure. Appendix D.8.2 sweeps this candidate budget and reports the empirical basis for the default. Appendix E.3 further reports backbone-level diagnostic results.
5.2 RQ1: How Do Existing Learned-Skill Methods Fail under Controlled Environment Evolution?
Figure 3 and Table 1 show a consistent decline from clean source execution to evolved and shifted environments across all evaluated methods. For example, ASI decreases from 53.65% on Src to 41.84% on Tgt, and to 15.79% on Tgt-Exec. Similar trends appear for AWM, SkillWeaver, and WALT.

Figure 3: Robustness profiles under controlled environment evolution.
Under the aligned transfer setting, these drops indicate that skill reuse is sensitive to local execution conditions rather than only to task-level relevance.
The pooled views separate the pressure introduced by different shifts. Success decreases from 40.97% in the Base view to 35.23% in Perceptual and 18.69% in Execution. Trajectory cost also increases across the same views, with average steps rising from 8.49 to 9.38 and 11.99, while skill failure rate rises from 9.83% to 16.70% and 27.60%. This pattern shows that environment evolution affects both task completion and the execution process, with runtime feasibility shifts creating the strongest pressure.
The diagnostics also reveal complementary failure channels. AWM is evaluated through workflow reuse, so explicit skill-call diagnostics are not applicable. ASI and WALT expose execution pressure through skill failure rate, while SkillWeaver often reflects it through longer trajectories and more skill calls. These patterns motivate reporting process-level diagnostics in addition to final success.
5.3 RQ2: Are the Observed Adaptation Dynamics Consistent with the SWOP Theoretical Account?
SWOP models shifted skill execution as nonstationary local executability, where an executor stays close to learned priors while using recent feasibility evidence. Since the theoretical per-step loss is not directly observable in web interaction, we use final failure as a task-level proxy.
For method and task , let be the automatic success label and the proxy failure loss. We define the cumulative advantage of MPCR over ASI as , where positive values
| Metric | Method | Website | Environment | O/A | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Git-Lab | Ma-gento | Word-Press | Src | Src-Perc | Src-Exec | Tgt | Tgt-Perc | Tgt-Exec | |||
| SR(%) | AWM | 17.71 | 25.49 | 62.66 | 50.07 | 43.35 | 22.45 | 41.28 | 37.65 | 16.90 | 35.29 |
| ASI | 20.81 | 27.78 | 60.27 | 53.65 | 48.80 | 24.43 | 41.84 | 33.19 | 15.79 | 36.29 | |
| SkillWeaver | 13.78 | 14.37 | 32.29 | 35.13 | 28.75 | 15.63 | 17.80 | 13.85 | 9.71 | 20.15 | |
| WALT | 21.07 | 27.95 | 55.38 | 46.82 | 43.53 | 25.46 | 41.17 | 32.74 | 19.09 | 34.80 | |
| AS | AWM | 8.03 | 8.22 | 4.76 | 6.04 | 6.32 | 8.31 | 6.34 | 6.59 | 8.44 | 7.01 |
| ASI | 7.87 | 8.06 | 4.73 | 5.90 | 5.95 | 8.23 | 6.29 | 6.70 | 8.24 | 6.89 | |
| SkillWeaver | 14.79 | 17.96 | 12.63 | 11.34 | 13.48 | 19.82 | 12.59 | 14.74 | 18.80 | 15.13 | |
| WALT | 12.39 | 11.46 | 8.53 | 8.77 | 9.92 | 12.09 | 10.66 | 11.36 | 11.96 | 10.79 | |
| ASC | AWM | - | - | - | - | - | - | - | - | - | - |
| ASI | 0.12 | 0.19 | 0.17 | 0.18 | 0.26 | 0.29 | 0.10 | 0.10 | 0.05 | 0.16 | |
| SkillWeaver | 0.78 | 0.63 | 2.64 | 1.13 | 1.16 | 1.14 | 1.45 | 1.50 | 1.73 | 1.35 | |
| WALT | 0.07 | 0.19 | 0.00 | 0.05 | 0.05 | 0.21 | 0.08 | 0.03 | 0.11 | 0.09 | |
| SFR(%) | AWM | - | - | - | - | - | - | - | - | - | - |
| ASI | 19.55 | 48.27 | 16.26 | 9.83 | 24.85 | 55.20 | 13.53 | 28.77 | 35.98 | 28.03 | |
| SkillWeaver | 4.61 | 1.11 | 0.21 | 0.00 | 0.41 | 0.00 | 2.03 | 4.24 | 5.17 | 1.97 | |
| WALT | 48.52 | 23.88 | 0.00 | 10.30 | 23.29 | 31.50 | 23.28 | 18.64 | 37.76 | 24.13 | |
Table 1: Transfer diagnostics across websites and environment settings. O/A denotes the overall average across the corresponding settings. Bold values mark the highest SR and the lowest AS / SFR entries. ASC is reported as a non-directional diagnostic. “-” indicates metrics not applicable to AWM because it uses prompted textual workflows rather than executable skill invocations (Wang et al., 2025b).

Figure 4: Cumulative task-failure advantage of MPCR over ASI.
indicate fewer accumulated failures under the same fixed skill library.
Figure 4 shows positive cumulative advantage in all condition groups. The final advantage is 11.0 under Base, 20.0 under Perceptual, and 32.0 under Execution. This ordering follows the executability pressure observed in RQ1. When the learned prior remains reliable, the room for correction is smaller. When grounding evidence changes or runtime blockers appear, current feasibility evidence becomes more useful for action selection.
These dynamics are consistent with the SWOP mechanism. In practical web execution, MPCR follows the same prior-guided adaptation principle by conditioning test-time action selection on current execution evidence. The stronger advantage under shifted conditions suggests that part of the transfer loss reflects current executability mismatch, which can be partly mitigated through executor adaptation.
5.4 RQ3: Can Test-Time Executor-Side Adaptation Improve Transfer under a Fixed Skill Library?
Table 2 shows that MPCR improves ASI in all six environments. Average success increases from 37.90% to 41.26%, corresponding to an 8.87% relative improvement.
The gains are clearest when local execution becomes more fragile. MPCR improves Src-Exec from 26.68% to 33.23% and Tgt-Exec from 17.75% to 19.99%, with relative gains of 24.55% and 12.62%. It also maintains a positive gain in clean target transfer, where the learned prior is already more aligned with the current environment. This pressure-dependent pattern supports the local
AWM
ASI
SkillWeaver
WALT
MPCR
Convex-hull region

Figure 5: Success and trajectory cost for fixed-library executor adaptation. Points denote method centers across environment condition groups, and shaded hulls show configuration-level variation.
| Environment | MPCR | ASI | ||
|---|---|---|---|---|
| SR (%) | ASC | SR (%) | ASC | |
| Src | 56.67 (+7.35%) | 0.22 | 52.79 | 0.05 |
| Src-Perc | 57.09 (+7.68%) | 0.20 | 53.02 | 0.13 |
| Src-Exec | 33.23 (+24.55%) | 0.19 | 26.68 | 0.07 |
| Tgt | 43.32 (+1.14%) | 0.12 | 42.83 | 0.04 |
| Tgt-Perc | 37.24 (+8.51%) | 0.14 | 34.32 | 0.05 |
| Tgt-Exec | 19.99 (+12.62%) | 0.03 | 17.75 | 0.02 |
| Average | 41.26 (+8.87%) | 0.15 | 37.90 | 0.06 |
Table 2: MPCR versus ASI across transfer conditions. Relative SR gains are computed against ASI.
executability framing: executor adaptation is most useful when the learned skill remains relevant but direct reuse becomes less reliable.
Because ASI and MPCR share the same learned library, these improvements are attributable to test-time selection rather than additional skill acquisition. MPCR increases average skill calls from 0.06 to 0.15, while remaining well below one skill call per task. This indicates evidence-conditioned activation of existing skills rather than broad reuse.
Figure 5 further shows that the improvement is not simply obtained by longer trajectories. Across Base, Perceptual, and Execution, MPCR improves success over ASI while staying in a comparable trajectory-cost regime. This suggests that feasibility-aware selection improves fixed-library transfer behavior by recovering part of the loss caused by local executability mismatch.
Supplementary analyses support this attribution. Appendix D.8.1 ablates the executor stages and shows, through a randomized control that preserves the pipeline while emitting no reranking call, that the gain follows from the content of the feasibility-conditioned decision rather than from an extra model call per step. Appendix E.4 reproduces the same pressure-dependent pattern on a second learned library, Appendix E.5 reports cross-seed dispersion indicating that the gain is stable, and Appendix E.7 contrasts this test-time route with relearning the library in the target environment.
6 Conclusion
We introduced SkillShift-Bench, a controlled benchmark for evaluating learned-skill executability under same-site environment evolution. By preserving task semantics while varying contextual, perceptual, and execution conditions, it exposes cases where task-relevant skills become difficult to invoke, ground, or execute. We further formalized this skill-environment mismatch with SWOP and instantiated it as MPCR, which improves fixed-library transfer through feasibility-aware reranking. These results suggest that robust web agents should complement reusable skills with test-time adaptation to current feasibility evidence under evolving environments.
Limitations
This work is designed as a controlled diagnostic study. SkillShift-Bench focuses on self-hosted same-site evolution over representative web systems, which supports reproducible execution and reliable failure attribution but leaves broader website coverage to future work. Our experiments mainly use relatively capable LLM-based web agents to reduce confounding from basic instruction-following or tool-use failures, and future studies can further examine smaller or more resource-constrained models. The current benchmark also focuses on English desktop web interac-tions, with multilingual, mobile, and accessibility-oriented settings as natural extensions.
Ethics Statement
SkillShift-Bench is evaluated in controlled, self-hosted, and authorized web environments using scripted tasks, synthetic or benchmark-specific accounts, seeded task data, and automatic grading. It does not interact with third-party live services, real user data, or private user accounts. Before release, we check task instructions, seeded entities, account names, and grader-visible content to avoid personally identifying information and offensive content, and replace any accidental cases with synthetic placeholders. The perturbations are designed to study environment evolution and execution robustness, not to bypass access controls, evade platform policies, or automate unauthorized activity. We use third-party systems, baseline methods, and model APIs under their released licenses, documentation, or provider terms. Released artifacts will include only benchmark-specific code, task definitions, perturbation scripts, and metadata that we are permitted to distribute, and are intended for reproducible robustness analysis and research evaluation under controlled-use settings.
Acknowledgment
This research was supported by the Jiangsu Science Foundation (BK20243012, BG2024036), Natural Science Foundation of China (624B2068, 62576162), and the Fundamental Research Funds for the Central Universities (022114380023).
References
Adobe. 2023. Adobe Commerce 2.4.6 release notes. https://experienceleague.adobe.com/en/docs/commerce-operations/release/notes/adobe-commerce/2-4-6. Release announcement; Published: 2023-03-14; Accessed: 2026-05-05.
Adobe. 2024. Install the Data Migration Tool. https://experienceleague.adobe.com/en/docs/commerce-operations/tools/data-migration/basics/install. Documentation; Accessed: 2026-05-05.
Anthropic. 2025. Introducing Claude Haiku 4.5. https://www.anthropic.com/news/claude-haiku-4-5. Release announcement; Published: 2025-10-15; Accessed: 2026-05-05.
Haoyue Bai, Dong Wang, Long Chen, Bingguang Hao, Pengyang Shao, Yonghui Yang, Yicheng He, and
Chenyi Zhuang. 2026. StressWeb: A diagnostic benchmark for web agent robustness under realistic interaction variability. Preprint, arXiv:2604.16385.
Omar Besbes, Yonatan Gur, and Assaf Zeevi. 2014. Stochastic multi-armed-bandit problem with non-stationary rewards. In Advances in Neural Information Processing Systems, volume 27, pages 199–207, Montreal, Quebec, Canada.
Léo Boisvert, Megh Thakkar, Maxime Gasse, Massimo Caccia, Thibault Le Sellier de Chezelles, Quentin Cappart, Nicolas Chapados, Alexandre Lacoste, and Alexandre Drouin. 2024. WorkArena++: Towards compositional planning and reasoning-based common knowledge work tasks. In Advances in Neural Information Processing Systems, volume 37, pages 5996–6051, Vancouver, Canada. Neural Information Processing Systems Foundation, Inc.
Kanzhi Cheng, Qiushi Sun, Yougang Chu, Fangzhi Xu, Yantao Li, Jianbing Zhang, and Zhiyong Wu. 2024. SeeClick: Harnessing GUI grounding for advanced visual GUI agents. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 9313–9332, Bangkok, Thailand. Association for Computational Linguistics.
Wang Chi Cheung, David Simchi-Levi, and Ruihao Zhu. 2020. Reinforcement learning for non-stationary Markov decision processes: The blessing of (More) optimism. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 1843–1854. PMLR.
Shauvik Roy Choudhary, Dan Zhao, Husayn Versee, and Alessandro Orso. 2011. WATER: Web application TEst repair. In Proceedings of the First International Workshop on End-to-End Test Script Engineering, ETSE 2011, pages 24–29. ACM.
DeepSeek-AI. 2025. DeepSeek-V3.2 release. https://api-docs.deepseek.com/news/news251201. Release announcement; Published: 2025-12-01; Accessed: 2026-05-05.
Xiang Deng, Yu Gu, Boyuan Zheng, Shijie Chen, Sam Stevens, Boshi Wang, Huan Sun, and Yu Su. 2023. Mind2Web: Towards a generalist agent for the web. In Advances in Neural Information Processing Systems, volume 36, pages 28091–28114, New Orleans, Louisiana, USA. Neural Information Processing Systems Foundation, Inc.
Alexandre Drouin, Maxime Gasse, Massimo Caccia, Issam H. Laradji, Manuel Del Verme, Tom Marty, David Vazquez, Nicolas Chapados, and Alexandre Lacoste. 2024. WorkArena: How capable are web agents at solving common knowledge work tasks? In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 11642–11662. PMLR.
Songtao Feng, Ming Yin, Ruiquan Huang, Yu-Xiang Wang, Jing Yang, and Yingbin Liang. 2023. Non-stationary reinforcement learning under general function approximation. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 9976–10007. PMLR.
Divyansh Garg, Shaun VanWeelden, Diego Caples, Andis Draguns, Nikil Ravi, Pranav Putta, Naman Garg, Tomas Abraham, Michael Lara, Federico Lopez, James Liu, Atharva Gundawar, Prannay Hebbar, Youngchul Joo, Jindong Gu, Charles London, Christian A. Schroeder de Witt, and Sumeet Motwani. 2025. REAL: Benchmarking autonomous agents on deterministic simulations of real websites. In Advances in Neural Information Processing Systems, volume 38, pages 150683–150705. Neural Information Processing Systems Foundation, Inc.
Matthieu Geist, Bruno Scherrer, and Olivier Pietquin. 2019. A theory of regularized Markov decision processes. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 2160–2169. PMLR.
GitLab. 2019. GitLab 12.0 released with visual reviews, project dependency list, access limiting by IP address. https://gitlab.com/gitlab-com/www-gitlab-com/-/blob/marketing-ops-20220425-20220508/sites/uncategorized/source/releases/posts/2019-06-22-gitlab-12-0-released.html.md. Release announcement; Published: 2019-06-22; Accessed: 2026-05-14.
GitLab. 2023a. GitLab 16.0 released with value streams dashboards and generative AI code suggestions. https://about.gitlab.com/releases/2023/05/22/gitlab-16-0-released/. Release announcement; Published: 2023-05-22; Accessed: 2026-05-05.
GitLab. 2023b. GitLab Security Release: 16.1.1, 16.0.6, and 15.11.10. https://docs.gitlab.com/releases/patches/patch-release-gitlab-16-1-1-released/. Release announcement; Published: 2023-06-29; Accessed: 2026-05-14.
GitLab. 2026. Plan Your Upgrade Path. https://docs.gitlab.com/update/upgrade_paths/. Documentation; Accessed: 2026-05-25.
Boyu Gou, Demi Ruohan Wang, Boyuan Zheng, Yanan Xie, Cheng Chang, Yiheng Shu, Huan Sun, and Yu Su. 2025. Navigating the digital world as humans do: Universal visual grounding for GUI agents. In International Conference on Learning Representations.
Lan-Zhe Guo, Lin-Han Jia, Jie-Jing Shao, and Yu-Feng Li. 2025. Robust semi-supervised learning in open environments. Frontiers of Computer Science, 19(8):198345.
Mouna Hammoudi, Gregg Rothermel, and Paolo Tonella. 2016. Why do record/replay tests of web applications break? In 2016 IEEE International Conference on Software Testing, Verification and Validation, ICST 2016, pages 180–190. IEEE.
Hongliang He, Wenlin Yao, Kaixin Ma, Wenhao Yu, Yong Dai, Hongming Zhang, Zhenzhong Lan, and Dong Yu. 2024. WebVoyager: Building an end-to-end web agent with large multimodal models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6864–6890, Bangkok, Thailand. Association for Computational Linguistics.
Javaria Imtiaz, Salman Sherin, Muhammad Uzair Khan, and Muhammad Zohaib Iqbal. 2019. A systematic literature review of test breakage prevention and repair techniques. Information and Software Technology, 113:1–19.
Md Farhan Ishmam and Kenneth Marino. 2026. Time-Warp: Evaluating web agents by revisiting the past. Preprint, arXiv:2603.04949.
Su Kara, Fazle Elahi Faisal, and Suman Nath. 2026. WAREX: Web agent reliability evaluation on existing benchmarks. Transactions on Machine Learning Research, 2026.
Jing Yu Koh, Robert Lo, Lawrence Jang, Vikram Duvvur, Ming Lim, Po-Yu Huang, Graham Neubig, Shuyan Zhou, Russ Salakhutdinov, and Daniel Fried. 2024. VisualWebArena: Evaluating multimodal agents on realistic visual web tasks. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 881–905, Bangkok, Thailand. Association for Computational Linguistics.
Thibault Le Sellier de Chezelles, Maxime Gasse, Alexandre Lacoste, Massimo Caccia, Alexandre Drouin, Léo Boisvert, Megh Thakkar, Tom Marty, Rim Assouel, Sahar Omidi Shayegan, Lawrence Keunho Jang, Xing Han Lü, Ori Yoran, Dehan Kong, Frank F. Xu, Siva Reddy, Graham Neubig, Quentin Cappart, Russ Salakhutdinov, and Nicolas Chapados. 2025. The BrowserGym ecosystem for web agent research. Transactions on Machine Learning Research, 2025.
Maurizio Leotta, Andrea Stocco, Filippo Ricca, and Paolo Tonella. 2016. ROBULA+: An algorithm for generating robust XPath locators for web testing. Journal of Software: Evolution and Process, 28(3):177–204.
Sergey Levine. 2018. Reinforcement learning and control as probabilistic inference: Tutorial and review. Preprint, arXiv:1805.00909.
Guangrui Li, Yaochen Xie, Yi Liu, Ziwei Dong, Xingyuan Pan, Tianqi Zheng, Jason Choi, Michael J. Morais, Binit Jha, Shaunak Mishra, Bingrou Zhou, Chen Luo, Monica Xiao Cheng, and Dawn Song. 2026. The World Won’t Stay Still:
Programmable evolution for agent benchmarks. Preprint, arXiv:2603.05910.
Xing Han Lu, Zdeněk Kasner, and Siva Reddy. 2024. WebLINX: Real-world website navigation with multi-turn dialogue. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 33007–33056. PMLR.
Song-Lin Lv, Weiming Wu, Rui Zhu, Zi-Jian Cheng, and Lan-Zhe Guo. 2026. Can agents generalize to the open world? Unveiling the fragility of static training in tool use. In Proceedings of the 43rd International Conference on Machine Learning.
Magento. 2017. Magento Open Source release notes (1.9 and later). https://devdocs-openmage.org/guides/m1x/ce19-ee114/ce1.9_release-notes.html. Release announcement; Archived Magento 1.x release notes; Accessed: 2026-05-25.
Weichao Mao, Kaiqing Zhang, Ruihao Zhu, David Simchi-Levi, and Tamer Basar. 2021. Near-optimal model-free reinforcement learning in non-stationary episodic MDPs. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 7447–7458. PMLR.
OpenAI. 2025. GPT-5 mini. https://platform.openai.com/docs/models/gpt-5-mini. Documentation; Accessed: 2026-05-05.
Yichen Pan, Dehan Kong, Sida Zhou, Cheng Cui, Yifei Leng, Bing Jiang, Hangyu Liu, Yanyi Shang, Shuyan Zhou, Tongshuang Wu, and Zhengyang Wu. 2024. WebCanvas: Benchmarking web agents in online environments. In Agentic Markets @ ICML 2024.
Yu Pei, Jeongju Sohn, Sarra Habchi, and Mike Papadakis. 2025. Non-flaky and nearly optimal time-based treatment of asynchronous wait web tests. ACM Transactions on Software Engineering and Methodology, 34(2):45.
Viraj Prabhu, Yutong Dai, Matthew Fernandez, Krithika Ramakrishnan, Jing Gu, Yanqi Luo, Silvio Savarese, Caiming Xiong, Junnan Li, Zeyuan Chen, and Ran Xu. 2026. WALT: Web agents that learn tools. In International Conference on Learning Representations.
Zhen Qin, Rolf Jagerman, Kai Hui, Honglei Zhuang, Junru Wu, Le Yan, Jiaming Shen, Tianqi Liu, Jialu Liu, Donald Metzler, Xuanhui Wang, and Michael Bendersky. 2024. Large language models are effective text rankers with pairwise ranking prompting. In Findings of the Association for Computational Linguistics: NAACL 2024, pages 1504–1518, Mexico City, Mexico. Association for Computational Linguistics.
Jie-Jing Shao, Haiyan Yin, Yueming Lyu, Xingrui Yu, Lan-Zhe Guo, Ivor W. Tsang, James T. Kwok, and Yu-Feng Li. 2026a. Lifting traces to logic: Programmatic skill induction with neuro-symbolic learning
for long-horizon agentic tasks. In Proceedings of the 43rd International Conference on Machine Learning.
Jie-Jing Shao, Bo-Wen Zhang, Xiao-Wen Yang, Baizhi Chen, Siyu Han, Jinghao Pang, Wen-Da Wei, Guohao Cai, Zhenhua Dong, Lan-Zhe Guo, and Yu-Feng Li. 2026b. ChinaTravel: An open-ended travel planning benchmark with compositional constraint validation for language agents. In International Conference on Learning Representations.
Tianlin Shi, Andrej Karpathy, Linxi Fan, Jonathan Hernandez, and Percy Liang. 2017. World of bits: An open-domain platform for web-based agents. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pages 3135–3144. PMLR.
Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. 2023. Reflexion: Language agents with verbal reinforcement learning. In Advances in Neural Information Processing Systems, volume 36, pages 8634–8652, New Orleans, Louisiana, USA. Neural Information Processing Systems Foundation, Inc.
Yueqi Song, Frank F. Xu, Shuyan Zhou, and Graham Neubig. 2025. Beyond browsing: API-based web agents. In Findings of the Association for Computational Linguistics: ACL 2025, pages 11066–11085, Vienna, Austria. Association for Computational Linguistics.
Andrea Stocco, Rahulkrishna Yandrapally, and Ali Mesbah. 2018. Visual web test repair. In Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, ESEC/FSE 2018, pages 503–514. ACM.
Weiwei Sun, Lingyong Yan, Xinyu Ma, Shuaiqiang Wang, Pengjie Ren, Zhumin Chen, Dawei Yin, and Zhaochun Ren. 2023. Is ChatGPT good at search? investigating large language models as re-ranking agents. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 14918–14937, Singapore. Association for Computational Linguistics.
Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. 2024. Voyager: An open-ended embodied agent with large language models. Transactions on Machine Learning Research, 2024.
Zora Zhiruo Wang, Apurva Gandhi, Graham Neubig, and Daniel Fried. 2025a. Inducing programmatic skills for agentic tasks. In Second Conference on Language Modeling.
Zora Zhiruo Wang, Jiayuan Mao, Daniel Fried, and Graham Neubig. 2025b. Agent workflow memory. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 63897–63911. PMLR.
WordPress.org. 2017. News Portal WordPress theme. https://wordpress.org/themes/news-portal/. Theme page; Initial release: 2017-07-11; Accessed: 2026-05-25.
WordPress.org. 2023. Twenty Twenty-Four. https://wordpress.org/themes/twentytwentyfour/. Theme page; Accessed: 2026-05-05.
Jingyu Wu, Aditya Shrivastava, Jing Zhu, Alfy Samuel, Anoop Kumar, and Daben Liu. 2025. LLM optimization unlocks real-time pairwise reranking. Preprint, arXiv:2511.07555.
Tianci Xue, Weijian Qi, Tianneng Shi, Chan Hee Song, Boyu Gou, Dawn Song, Huan Sun, and Yu Su. 2025. An illusion of progress? assessing the current state of web agents. In Second Conference on Language Modeling.
Jingqi Yang, Zhilong Song, Jiawei Chen, Mingli Song, Sheng Zhou, Linjun Sun, Xiaogang Ouyang, Chun Chen, and Can Wang. 2025. GUI-Robust: A comprehensive dataset for testing GUI agent robustness in real-world anomalies. Preprint, arXiv:2506.14477.
Shunyu Yao, Howard Chen, John Yang, and Karthik Narasimhan. 2022. WebShop: Towards scalable real-world web interaction with grounded language agents. In Advances in Neural Information Processing Systems, volume 35, pages 20744–20757, New Orleans, Louisiana, USA. Neural Information Processing Systems Foundation, Inc.
Ori Yoran, Samuel Joseph Amouyal, Chaitanya Malaviya, Ben Bogin, Ofir Press, and Jonathan Berant. 2024. AssistantBench: Can web agents solve realistic and time-consuming tasks? In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 8938–8968, Miami, Florida, USA. Association for Computational Linguistics.
Ding-Chu Zhang, Zhi Zhou, and Yu-Feng Li. 2024. Robust test-time adaptation for zero-shot prompt tuning. In Proceedings of the 38th AAAI Conference on Artificial Intelligence, volume 38, pages 16714–16722.
Boyuan Zheng, Michael Y. Fatemi, Xiaolong Jin, Zora Zhiruo Wang, Apurva Gandhi, Yueqi Song, Yu Gu, Jayanth Srinivasa, Gaowen Liu, Graham Neubig, and Yu Su. 2025. SkillWeaver: Web agents can self-improve by discovering and honing skills. Preprint, arXiv:2504.07079.
Boyuan Zheng, Boyu Gou, Jihyung Kil, Huan Sun, and Yu Su. 2024. GPT-4V(ision) is a generalist web agent, if grounded. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 61349–61385. PMLR.
YanZhao Zheng, ZhenTao Zhang, Chao Ma, YuanQiang Yu, JiHuai Zhu, Yong Wu, Tianze Xu, Baohua Dong, Hangcheng Zhu, Ruohui Huang, and Gang Yu. 2026. SkillRouter: Skill routing for LLM agents at scale. Preprint, arXiv:2603.22455.
Shuyan Zhou, Frank F. Xu, Hao Zhu, Xuhui Zhou, Robert Lo, Abishek Sridhar, Xianyi Cheng, Tianyue Ou, Yonatan Bisk, Daniel Fried, Uri Alon, and Graham Neubig. 2024. WebArena: A realistic web environment for building autonomous agents. In International Conference on Learning Representations.
Zhi Zhou, Lan-Zhe Guo, Lin-Han Jia, Ding-Chu Zhang, and Yu-Feng Li. 2023. ODS: Test-time adaptation in the presence of open-world data shift. In Proceedings of the 40th International Conference on Machine Learning, volume 202, pages 42574–42588.
Zhi Zhou, Ming Yang, Shi-Yu Tian, Kun-Yang Yu, Lan-Zhe Guo, and Yu-Feng Li. 2026. On the learnability of test-time adaptation: A recovery complexity perspective. In Proceedings of the 43rd International Conference on Machine Learning.
A Comparison with Existing Web Agent Benchmarks
To situate SkillShift-Bench within the broader design space of web-agent evaluation, Table 3 summarizes key properties of representative benchmarks and evaluation frameworks.
Evaluation criteria. Variation Diversity measures whether a benchmark covers multiple qualitatively distinct types of environment variation. Variation Controllability measures whether the benchmark supports controlled and reproducible environment perturbations. Evaluation Reproducibility measures whether tasks, states, perturbations, and grading results can be stably reproduced. Website Fidelity measures whether the benchmark preserves realistic web interfaces, interaction structures, page complexity, and long-horizon workflows. Diagnostic Granularity measures whether the benchmark supports evaluation through complementary metrics across multiple dimensions. Experience Transferability measures whether the benchmark evaluates how robustly reusable experience or procedures acquired by an agent remain effective under environment changes. Failure Attributability measures whether the benchmark supports attributing agent failures to specific components of the evaluation process.
Static and live web benchmarks. Mind2Web, WebArena, VisualWebArena, WorkArena, WorkArena++, Online-Mind2Web, WebCanvas, and REAL provide important foundations for web-agent evaluation (Deng et al., 2023; Zhou et al., 2024; Koh et al., 2024; Drouin et al., 2024; Boisvert et al., 2024; Xue et al., 2025; Pan et al., 2024; Garg et al., 2025). They cover offline action prediction, executable self-hosted tasks, enterprise workflows, live web evaluation, and deterministic website replicas. These benchmarks are valuable for measuring general web-agent capability across realistic or executable web settings. However, they are not primarily designed to compare aligned variants under controlled environment evolution. As a result, they usually measure whether an agent can solve a task in a given environment, rather than whether experience acquired in one environment remains valid after the same task is transferred to a changed environment.
Robustness and evolution benchmarks. WAREX, TimeWarp, ProEvolve, and StressWeb are closer to SkillShift-Bench because they explicitly study environment change, perturbation, or reliability. WAREX injects website and network failures into existing benchmarks, making runtime instability visible (Kara et al., 2026). TimeWarp evaluates agents across temporally different interface versions (Ishmam and Marino, 2026). ProEvolve studies programmable evolution of agent environments (Li et al., 2026). StressWeb introduces controlled interaction variability for diagnostic robustness evaluation (Bai et al., 2026). These benchmarks show that environment variation can substantially affect web-agent performance. However, their main evaluation object is still general agent robustness under shifted, perturbed, or harder conditions. In other words, environment variation is primarily used as a test condition for end-to-end agent or multimodal-model capability.
Skill transfer as the evaluation object. SkillShift-Bench studies a different unit of evaluation. In our setting, the source environment is not merely a baseline condition; it is the context in which reusable skills are acquired, selected, or induced. The target and shifted environments then test whether the same learned skills remain executable under preserved task intent, target entities, functional support, and grading semantics. Therefore, the measured gap is not simply an end-to-end performance drop under a harder environment. It is a skill-transfer gap: a previously useful skill may remain semantically relevant while becoming locally non-executable because its invocation context, perceptual grounding evidence, or runtime preconditions no longer match the deployment environment. This setting is especially important for skill-based agents because skill reuse carries implicit assumptions about when the skill should be invoked, what interface evidence grounds its next action, and which local conditions must hold for execution (Wang et al., 2025b,a; Zheng et al., 2025; Prabhu et al., 2026).
B Benchmark Construction Details
This section describes how SkillShift-Bench is constructed to support controlled evaluation under environment evolution. We detail the selection of environments and source–target pairs, the validation of aligned task families, and the implementation of shifted variants.
| Benchmark | Variation Diversity | Variation Controllability | Evaluation Reproducibility | Website Fidelity | Diagnostic Granularity | Experience Transferability | Failure Attributability |
|---|---|---|---|---|---|---|---|
| Mind2Web | ✕ | ✕ | ✓ | △ | △ | ✕ | ✕ |
| WebArena | ✕ | ✕ | ✓ | ✓ | △ | ✕ | ✕ |
| Visual WebArena | ✕ | ✕ | ✓ | ✓ | △ | ✕ | ✕ |
| WorkArena / WorkArena++ | ✕ | ✕ | △ | ✓ | △ | ✕ | ✕ |
| WebCanvas | △ | ✕ | △ | ✓ | ✓ | ✕ | △ |
| Online-Mind2Web | ✕ | ✕ | △ | ✓ | △ | ✕ | ✕ |
| REAL | ✕ | ✕ | ✓ | ✓ | △ | ✕ | ✕ |
| WAREX | ✓ | ✓ | ✓ | △ | ✓ | ✕ | ✓ |
| TimeWarp | ✕ | ✓ | ✓ | ✓ | ✕ | △ | △ |
| ProEvolve | ✓ | ✓ | ✓ | ✕ | △ | △ | △ |
| StressWeb | ✓ | ✓ | ✓ | △ | ✓ | ✕ | ✓ |
| SkillShift-Bench (Ours) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Table 3: Comparison of benchmarks across evaluation criteria. explicitly supported as a central benchmark objective under the criterion definitions above, partially supported or indirectly covered, and not a primary target of the original benchmark design or not publicly verifiable.
B.1 Environment Selection and Version Pairing
SkillShift-Bench selects environments and version pairs under two levels of constraints. At the website level, candidate systems must be mature open-source projects that support complete local self-hosted deployment. This requirement decouples evaluation from the public Internet and removes uncontrolled factors such as live service updates, network variability, third-party availability, and account-side changes. In addition, the targeted notion of environment evolution must primarily reflect structural changes in the front-end interaction layer rather than ordinary data-content updates. We therefore exclude websites whose evolution is mainly expressed as changing data content, such as map or knowledge-base growth, because such changes would entangle UI robustness with dynamic information retrieval.
At the version-pair level, the source and target variants must satisfy two further criteria. First, the version gap must contain substantial interface evolution, preferably a discontinuity in design language, navigation organization, workflow structure, or interaction pattern. Minor cosmetic changes are insufficient, because they do not create a meaningful test of learned-skill executability. Second, cross-version data migration must be feasible. For version-driven systems, we follow the official upgrade or migration path, including required intermediate upgrade points when applicable, so that the agent faces the same task-level semantic data state across versions (GitLab, 2026; Adobe, 2024). This means that task-critical entities, attributes, relations, and grader-visible outcomes are preserved even when the underlying database schema changes.
Applying these criteria, we instantiate SkillShift-Bench with three complementary environments: GitLab, Magento, and WordPress. They cover developer collaboration, e-commerce administration, and content management, while exposing different forms of interface evolution under reproducible self-hosted deployments.
GitLab. GitLab provides the developer-platform setting in SkillShift-Bench. The selected tasks cover repositories, issues, merge requests, labels, milestones, project settings, and user or group administration. These workflows require agents to operate inside nested project contexts and to rely on navigation paths, sidebars, management panels, and local action controls. As a mature open-source platform with self-hosted deployment support, GitLab satisfies our deployment criterion and can be reset in isolated containers. More importantly, its version evolution affects the interaction layer rather than only the underlying project data: project navigation, management pages, issue views, merge-request views, and settings workflows all undergo interface-level changes.
We use GitLab v12.0.0 (GitLab, 2019) as the source variant and GitLab v16.0.6 (GitLab, 2023b) as the target variant. This pair creates a realistic contextual-shift setting. Core developer operations remain available, but the routes, page contexts, menu hierarchy, and action locations needed to execute those operations may differ across versions (GitLab, 2023a). To preserve task-level comparability, the deployment is migrated through a controlled upgrade procedure, so that projects, issues, labels, milestones, users, permissions, and other benchmark entities remain semantically aligned. Under this setup, a transfer failure is not explained by missing GitLab functionality or changed task data; it is instead evidence that a previously learned skill no longer matches the evolved execution context.
Figure 6 shows the GitLab source-target pair on task-relevant project-management pages. The screenshots are included as construction evidence rather than as grading targets, illustrating the interface changes under which the same developer-platform operations must still be executed.

(a) GitLab v12.0.0 source variant.

(b) GitLab v16.0.6 target variant.
Figure 6: GitLab source and target variants.
Magento. Magento serves as the e-commerce administration environment. Its task space includes products, categories, customers, orders, inventory, attributes, and multi-field administrative forms. Compared with GitLab, the main pressure here comes less from nested project contexts and more from table- and form-heavy record manipulation: agents must search, filter, inspect, edit, and save structured business objects. Magento is suitable for our website-level criteria because it is a mature open-source e-commerce system that supports private deployment and deterministic reset. Its evolution is also interaction-centric. The product catalog is not treated as the evolving object; instead, the benchmark focuses on how the administrative interface for operating on the same catalog entities changes across major versions.
For the source variant, we use v1.9.3 (Magento, 2017); for the target variant, we use v2.4.6 (Adobe, 2023). This pair captures a major break in the Magento administration experience. Magento 2 reorganizes menus, grids, form layouts, product-editing workflows, and save flows relative to Magento 1, producing a strong test of version-driven skill transfer (Adobe, 2024, 2023). To keep the comparison focused on interface evolution, both deployments are initialized from a shared canonical benchmark store state and materialized through version-specific setup procedures (Adobe, 2024). This preserves task-critical products, categories, customers, orders, inventory records, and attributes at the semantic level. Thus, the e-commerce operation required by the instruction remains the same, while the interaction surface through which the operation is carried out changes substantially.
Figure 7 presents the Magento source-target pair on task-relevant administration pages. The visual comparison highlights the administrative UI migration that agents must handle while operating over aligned catalog-management data.

(a) Magento v1.9.3 source variant.

(b) Magento v2.4.6 target variant.
Figure 7: Magento source and target variants.
WordPress. WordPress adds a complementary content-management setting. The tasks involve posts, pages, menus, media, comments, and public-facing content verification. Unlike GitLab and Magento, WordPress is not used primarily as a back-end version migration case. Instead, it isolates presentation-layer evolution: the same content-management state is evaluated under different themes. This makes WordPress useful for separating UI and data evolution. The website itself satisfies our deployment criterion as a mature open-source system that can be locally hosted and deterministically reset, while the chosen theme pair changes the observable layout, DOM structure, styling, and front-end navigation without changing the underlying seeded content.
We use the News Portal (WordPress.org, 2017) and Twenty Twenty-Four (WordPress.org, 2023) themes under the same WordPress-based content-management deployment. The contrast between these themes provides a substantial front-end shift: page layout, navigation presentation, DOM organization, and styling assumptions differ markedly. No cross-version database migration is required in this case. The same WordPress instance and seeded database can be evaluated under both themes, which gives exact task-level data alignment. Posts, pages, menus, comments, and grading-relevant content remain fixed; only the presentation layer changes. WordPress therefore tests whether learned skills remain executable when front-end structure evolves while the back-end data state is held constant.
Figure 8 shows the WordPress theme pair. In contrast to the GitLab and Magento examples, the figure illustrates theme-level presentation drift rather than a software-version migration.

(a) WordPress News Portal source variant.

(b) WordPress Twenty Twenty-Four target variant.
Figure 8: WordPress source and target variants.
B.2 Shift Perturbation Implementation
Shifted variants are generated through controlled interventions that preserve the underlying task semantics. Contextual Shift is realized by the version or theme pairings in Section B.1, while Perceptual Shift and Execution Shift are implemented as runtime modules that alter grounding evidence and action feasibility, respectively.
B.2.1 Perceptual Shift Implementation
Perceptual Shift is implemented as a deterministic observable-surface transformation applied after page load. The goal is not to change the task, the underlying data, or the available functionality, but to alter the interface evidence through which an agent grounds its next operation. This design targets agents whose learned skills rely on stable visual hierarchy, DOM structure, attributes, or locator cues.
Concretely, the perturbation module applies two classes of transformations. The first class modifies non-semantic visual presentation, such as typography, spacing, contrast, button styling, and small geometric distortions. These changes alter the rendered appearance of the page while preserving the functional role and textual content of task-relevant elements. The second class modifies DOM-surface signals, including locator attributes, class names, and lightweight tag-level structure. For example, stable locator cues may be removed or perturbed, synthetic classes may be added, and simple inline tags may be replaced by semantically similar alternatives. These transformations are designed to change the agent-facing grounding evidence rather than the website state itself.
To ensure reproducibility, all stochastic choices are generated from a fixed seed. Thus, the same task instance produces the same shifted interface across repeated runs. The perturbation is also re-applied to dynamically inserted elements, so the perceptual pressure persists throughout the episode rather than only at initial page load. This allows Perceptual Shift to serve as a controlled stress test for grounding robustness while preserving task intent, task-critical entities, functional roles, navigable paths, and grader semantics.
B.2.2 Execution Shift Implementation
Execution Shift is implemented as a controlled runtime interruption mechanism. Unlike Perceptual Shift, which changes the observable surface used for grounding, Execution Shift changes whether an otherwise valid action can be immediately realized in the browser.
The main execution-shift mechanism injects a modal blocker during the task episode. After the relevant page is loaded, a full-screen overlay is inserted into the interface and intercepts user interactions with the underlying page. As a result, task-relevant controls may still be present and visually accessible, but actions directed at them cannot take effect until the interruption is resolved. The agent must therefore detect the blocker, dismiss it, and then resume the original task flow.
The interruption controller is activated only within the execution window of a benchmark task. Start and end signals delimit when perturbations are allowed to affect the environment, preventing interference with task initialization, grading, or unrelated browser traffic. Once the modal blocker is dismissed, the controller records the recovery event and stops re-injecting the same blocker for that episode. This makes the perturbation reproducible while still requiring the agent to perform recovery before continuing the task.
B.2.3 Injection Regimes for Execution Shift
The interruption controller exposes the injection schedule as a configurable dimension of the benchmark rather than as a fixed property of Execution Shift. SkillShift-Bench implements the three regimes summarized in Table 4. Under once, a server-side episode flag and a client-side browser-storage flag jointly guarantee that a dismissed blocker is not reinstated. Under multiple, both persistent guards are removed, so the injection predicate evaluates to true on every document load and the blocker reappears after each navigation. Under random, injection is decided by a Bernoulli draw at each document load and the overlay is revealed after a randomized in-page delay, so the agent cannot anticipate when the interruption will occur.
| Regime | Behavior | Mechanism |
|---|---|---|
| once | Injected once per episode; not reinstated after dismissal | Server-side episode flag plus client-side storage guard |
| multiple | Reinjected on every page navigation | Persistent guards removed; injection predicate always true |
| random | Injected with fixed probability at a randomized in-page delay | Per-load Bernoulli draw plus client-side delay timer |
Table 4: Injection regimes available for Execution Shift.
All Execution Shift conditions reported in the main paper use once. This is the most conservative of the three schedules: a single successful recovery restores an unobstructed page for the remainder of the episode, so the measured degradation is a lower bound on the pressure that runtime interruption can exert. Appendix E.6 reports how both the fixed-library baseline and MPCR behave under the two more aggressive schedules.
B.3 Task Validation Protocol
Every task family in SkillShift-Bench is manually verified before it enters the shift-generation stage. The validation covers four properties. Validity checks that the instruction describes a well-formed operation on the seeded website state. Correctness checks that the automatic scorer accepts exactly the intended final state and rejects near-miss states, such as a partially filled form or an unsaved edit. Functional availability checks that every capability required by the instruction is present in both the source and the target variant, so that a failure cannot be attributed to a removed feature. Solvability checks that at least one executable solution path exists under each of the six evaluation conditions, including the perceptual and execution perturbations; task families for which a perturbation removes the last remaining solution path are revised or discarded.
We emphasize that this protocol establishes task solvability, not a human performance reference. SkillShift-Bench does not report a human baseline, and the numbers in Section 5 should not be read against an implicit human ceiling. The protocol instead supports the benchmark's attribution claim: because a solution exists in every condition, a drop in success between aligned conditions reflects the agent's inability to invoke, ground, or execute a learned skill rather than the absence of a feasible path.
B.4 Shift-Induced Failure Modes
This section examines how a previously working skill breaks under each shift. To isolate the effect of a single shift, we analyze regression sets: tasks that the fixed-library ASI agent with GPT-5 mini solves in the reference condition but fails under the shifted condition, with the reference condition being Src for Perceptual and Execution Shift and the Src–Tgt pair for Contextual Shift. Both the quantitative sets and the illustrative cases below are drawn from Magento. All cited trajectories, step counts, and runtime errors are taken from the recorded execution logs.
| Regression set | n | Steps | Trunc. |
|---|---|---|---|
| Contextual | 13 | 5.4 → 6.2 | 6/13 |
| Perceptual | 10 | 5.9 → 9.7 | 9/10 |
| Execution | 29 | 5.4 → 9.5 | 26/29 |
Table 5: Regression sets used for failure-mode analysis, on Magento with GPT-5 mini. “Steps” reports mean trajectory length in the reference condition and in the shifted condition; “Trunc.” counts shifted runs that exhaust the step budget.
Table 5 already separates two behavioral regimes. Under Perceptual and Execution Shift, failing trajectories roughly double in length and almost always exhaust the step budget, indicating unrecoverable looping. Under Contextual Shift, trajectories grow only slightly and truncate in fewer than half of the cases, indicating premature termination on a wrong route or a stale answer.
Contextual Shift breaks skill invocation. When routes, control placement, and workflow layout evolve, the learned skill is invoked against a target that has moved. In the task “total payment of the last five completed orders,” the source trajectory navigates the order grid and returns the correct total in five steps. Under Contextual Shift the agent instead fires the reporting step immediately, in a single action, and returns a stale figure without ever re-grounding on the relocated order page. The skill remains task-relevant, but it is invoked against a page state that the learned procedure no longer locates, and the run ends early on a wrong answer rather than looping. This is the signature that Table 5 records as short trajectories with comparatively low truncation.
Perceptual Shift breaks skill grounding. The perturbation preserves task-critical objects and functionality while altering DOM structure, attributes, and locator signals, which appear in the logs as injected synthetic class markers. The learned action remains plausible but can no longer be grounded to the intended element. In the task “order identifier of the newest pending order,” the clean trajectory invokes two of ASI’s named learned skills, for order navigation and status filtering. Under Perceptual Shift the status filter that was previously rendered as a selection element is rendered as a table header, so the selection action fails repeatedly with a type error and the run loops until the step budget is exhausted. What the shift violates is the grounding assumption encoded in the skill itself, namely that a particular control type sits at a particular node.
Execution Shift breaks execution feasibility. A reproducible modal blocker intercepts interactions, so semantically correct and correctly targeted skill steps become unexecutable in the current page state. In the task “reviews mentioning decent,” which the clean condition solves in three to four steps, the review-link click times out repeatedly and an explicit navigation call times out as well, because the overlay keeps intercepting pointer events. The agent registers that something is wrong, stalling to ask whether it may proceed, but never resolves the interruption; once the overlay reshuffles the document, the previously valid identifier for the search box can no longer be found, producing a ten-step loop with no answer. Awareness of the obstruction is therefore not sufficient: the failure lies in restoring feasibility, not in identifying what blocks it.
Implications. The three shifts do not lower success uniformly. They induce stage-distinct failure signatures that match the diagnostic intent of each mode: wrong-route or early-termination behavior for invocation, un-actionable-locator loops for grounding, and interception-induced stalls for execution feasibility. This is the structure that a feasibility-aware, current-page-conditioned reranker is designed to exploit at transfer time, because in all three cases the shifted skill remains task-relevant while its default action is no longer the feasible one in the current page state.
This analysis also qualifies the Skill Failure Rate diagnostic defined in Section 3.4. SFR aggregates two distinct causes: a skill that is retrieved and executed but returns an incorrect result, and a skill whose steps are correct but cannot be realized in the current page state. The qualitative decomposition above separates them, and SFR should be read as a supplementary diagnostic rather than as a primary metric. SFR is additionally uninformative when skills are almost never invoked, since a near-zero denominator makes the ratio unstable; we therefore report skill-avoidance behavior through ASC in such regimes and refrain from interpreting SFR values computed over a handful of invocations.
C Dynamic-Regret Analysis of SWOP
This appendix is organized as a theorem-first proof appendix, while the proof itself is ordered so that each proof step consumes previously stated mathematical interfaces. Subsection C.1 defines the SWOP model, objective, sliding-window estimator, and algorithm. Subsection C.2 states the fixed-window dynamic-regret theorem and the oracle-tuned corollary used by the informal statement in the main text. Subsections C.3 and C.4 collect the KL-Bellman, boundedness, concentration, filtration, and auxiliary martingale facts used by the proof. Subsection C.5 proves the fixed-window theorem from near-optimism, certificate decomposition, summed-bonus control, martingale control, and drift counting. Subsection C.6 proves the oracle-window balancing statement.
C.1 Model, Objective, and Algorithm
C.1.1 Nonstationary Information-State MDP Sequence
We consider a finite-horizon information state MDP sequence that varies with episode. There are in total K episodes, and the horizon length of each episode is fixed as H.
The episode-k environment is
where
• is a finite information state space, ;
• for each information state , is the fixed feasible action set, and it does not vary with episode;
• define
• for each stage , episode , state and action , we have
For the theoretical analysis, we use a fixed episode-invariant candidate universe . This convention keeps the KL-regularized Bellman operators and comparators defined on a common support across episodes. Changes in local executability are represented through the non-stationary rewards and transitions rather than through a changing action support.
This fixed-domain abstraction is representation-agnostic. Executable programs, API functions, or tools can be represented as actions in when they are exposed to the executor as callable candidates. In contrast, prompt-level workflow memories, such as AWM workflows (Wang et al., 2025b), are represented through the behavioral prior or contextual state information rather than as additional executable actions.
C.1.2 KL-Regularized Objective
Following regularized MDP and control-as-inference formulations (Geist et al., 2019; Levine, 2018), we take a reference prior on the fixed action domain
and assume that there exists such that
Fix the regularization parameter . For any local randomized policy , define its one-step KL-regularized return at stage , episode as
Equivalently, if the concrete action is taken, then the within-episode KL-regularized return is
Under this fixed-support analytical convention, masking is absorbed into the construction of the candidate universe and the non-stationary executability model. The KL penalty is therefore evaluated on the common support .
Interpretation. can be understood as a behavioral prior provided by a large language model (LLM), human knowledge, or prompt-level learned workflows. This includes workflow-memory methods such as AWM, where learned procedures guide action selection through contextual prompting rather than by adding new executable actions. The agent optimizes a trade-off between environment reward and the cost of deviating from the prior.
C.1.3 Policy Class and Episode Value
Let be the class of all stage-dependent Markov randomized policies satisfying the support constraint, namely
For any policy , define its KL-regularized value in episode by
The stage-wise policy value functions used below are defined by the following backward recursion:
and
The definition in (10) is the special case of this recursion.
Let the initial distribution be . In the main regret theorem below we use the pathwise initial states directly, rather than introducing separate -averaged shorthand values.
C.1.4 Variation Budgets
Following variation-budget analyses of non-stationary bandits and episodic MDPs (Besbes et al., 2014; Cheung et al., 2020; Mao et al., 2021), we allow the environment to change only between episodes. Define the reward drift budget and the transition drift budget as
Sometimes the two can also be combined into a total variation quantity as
because in finite-horizon Bellman recursion, transition perturbations are usually amplified through downstream value functions by an factor. Subsequent theorem statements can be written either separately as functions of , or uniformly as functions of .
Primitive adjacent drifts. For later Bellman-stability and sliding-window arguments, define
and
Then
Logarithmic notation. Throughout the appendix, hides only absolute constants and polylogarithmic factors in
and does not hide polynomial dependence on or on the variation budgets .
C.1.5 Dynamic Comparator and Dynamic Regret
As in dynamic-regret analyses for non-stationary decision processes (Besbes et al., 2014; Cheung et al., 2020; Mao et al., 2021), in the episodic setting, the dynamic benchmark compares each episode with that episode's own optimal KL-regularized policy (Geist et al., 2019). The KL-regularized episodic dynamic regret used in the main theorem is
This is the standard value-based episodic dynamic regret, evaluated along the realized initial states and the algorithmic history. No separate cumulative-value shorthand or expected-regret object is used in the proof of Theorem C.1.
The theorem is stated in the standard variation-dependent form used for non-stationary decision processes. This form is more informative than an unconditional rate, because it separates statistical estimation error from the intrinsic cost of environmental variation. Sublinear regret follows in the low-variation regimes stated in Corollary C.2. In the common fixed-complexity regime where are treated as problem constants, the oracle-tuned window gives the concise condition . The corresponding growing-dimension condition is stated explicitly in Corollary C.2.
C.1.6 Sliding-Window Empirical Model and Bonus
Following sliding-window optimism for non-stationary reinforcement learning (Cheung et al., 2020; Mao et al., 2021), to perform provable learning in a nonstationary environment, we use a sliding window of length W and fix throughout
For episode k, define the window
At the beginning of episode k the algorithm uses only the data from the most recent episodes in the window to construct the window empirical model. The basic idea is:
-
Use only the most recent window data in order to track environment changes;
-
Estimate rewards and transitions within the window;
-
Construct an upper-confidence bonus;
-
Perform optimistic KL-regularized backward planning on the “empirical model + bonus”;
-
Output the corresponding softmax policy and execute it.
In this way, the environment inside the window can be regarded as “approximately stationary”, while old data outside the window are actively discarded to reduce the bias caused by drift.
For each , define the number of visits inside the window by
The empirical reward mean uses the unique zero-count default value:
The empirical transition distribution uses a pre-fixed default distribution
as the unique cold-start convention, and is defined by
Here denotes the immediate reward observed at stage h of episode . The only UCB bonus used throughout is defined as
where is an absolute constant and is chosen according to the parameter convention in Subsection C.5.5. Throughout, assume , , and . We choose sufficiently large for the reward and transition concentration union bounds, and choose so that
This displayed condition is used to uniformly absorb the maximal bonus in cold-start cases; the explicit concentration-absorption lower bound on is fixed in Subsection C.5.5. Drift does not enter the bonus; it is handled only through from Subsection C.5.2 and the final regret decomposition.
C.1.7 Optimistic Soft Planning
Define the optimistic Q-backup by
with terminal condition
Then define the optimistic value by
Algorithm 1 SWOP: Sliding Window Optimistic Prior-Guided Planning
Require: Window size , regularization parameter , confidence level , reference prior , and default transition kernels .
1: for do
2: Set .
3: for each do
4: Compute , , , and as in Subsubsection C.1.6.
5: end for
6: Set for all .
7: for do
8: for each and do
9: Compute
.
10: end for
11: for each do
12: Compute by the optimistic soft Bellman backup and set to the induced softmax policy.
13: end for
14: end for
15: Execute in episode and store the trajectory.
16: end for
The corresponding output policy is defined by
This is the natural form of sliding-window UCB-style optimism under KL regularization (Cheung et al., 2020; Geist et al., 2019). Algorithm 1 summarizes the resulting SWOP procedure across episodes, combining sliding-window estimation, optimistic soft planning, policy execution, and trajectory update.
C.2 Main Theoretical Guarantees
This subsection states the two main formal outputs of Appendix C. The first result is the fixed-window high-probability dynamic-regret bound. The second result is the oracle-tuned fixed-window upper envelope corresponding to the informal statement in the main text. The proofs are given in Subsections C.5 and C.6.
C.2.1 Dynamic-Regret Bound for a Fixed Window
The following result builds on the non-stationary MDP sliding-window optimism perspective and the KL-regularized MDP formulation cited above. The theorem itself is the paper’s SWOP-specific analysis under the fixed-domain abstraction and proof setup developed in this appendix.
Theorem C.1 (SWOP Dynamic Regret under Sliding-Window KL-Regularized Optimistic Planning). Fix , confidence level , and a window length chosen before the algorithm is run. Suppose the following standing assumptions hold.
-
The state space is finite with , and the action set is fixed over episodes for each . Let . Throughout, , , and the initial state of each episode satisfies independently of the completed past history.
-
For every , , , and ,
The adjacent drifts , , the budgets , , and are defined in Subsection C.1.4.
- The reference prior has full support on the fixed action domain:
All KL-regularized values, policies, and Bellman operators use the same and .
-
The sampling and filtration conventions in Subsection C.4.1 hold, including the environment predictability convention. In particular, at the beginning of episode k, the episode-k model objects are fixed or predictable, all algorithmic planning objects are measurable with respect to the completed history of episodes 1, ..., k - 1, and is independent of that past.
-
Algorithm 1 uses fixed default transition kernels
and the unified bonus
where is chosen sufficiently large for Lemmas C.13–C.15, and satisfies the concentration-absorption and cold-start conditions in Subsection C.5.5.
The regret is the value-based dynamic regret defined in (14). Then there exist absolute constants such that, with probability at least , the pathwise random variable DynReg(K) satisfies
Equivalently, up to logarithmic factors,
C.2.2 Oracle-Tuned Window Corollary
Corollary C.2 (Oracle-Tuned Fixed-Window Balancing). Recall that
Assume that the window length is selected before deployment as a deterministic function of the variation budget . More precisely, for any admissible fixed before the algorithm is run, Theorem C.1 gives, with probability at least ,
Equivalently, an oracle with knowledge of may choose the deterministic upper-envelope minimizer
before the run, yielding
For a uniform display over all variation regimes, use the smoothed quantity and set
with the admissible deterministic window
In the untruncated case , running the algorithm with this fixed window gives
with probability at least .
In the common fixed-complexity regime where are treated as problem constants, the tuned-window bound gives
and hence sublinear dynamic regret whenever . If these problem parameters are allowed to grow with K, the corresponding sufficient sublinearity conditions are
C.2.3 Proof Roadmap and Dependency Graph
The proof of Theorem C.1 is organized around five mathematical interfaces.
- Near-optimism under window drift. Proposition C.20 shows that the clipped optimistic value upper-bounds the episode-wise optimal value up to the local window-drift term:
- Certificate decomposition. Lemma C.22 controls the episode-level gap between the optimistic value and the value of the executed policy by the realized bonuses, a martingale remainder, and the same drift quantity. The fixed-window theorem consumes the following pathwise interface:
-
Summed-bonus control. Proposition C.23 controls the cumulative realized uncertainty bonus under overlapping sliding-window counts.
-
Martingale control. Proposition C.24 controls the unified pathwise remainder with high probability.
-
Window drift counting. Equation (28) converts episode-wise window drift into the variation-budget contribution .
Combining these five interfaces yields the three terms in the fixed-window theorem: statistical estimation, non-stationary drift, and martingale noise.
C.3 Supporting KL-Regularized Bellman Facts
This subsection collects the KL-regularized Bellman algebra, log-sum-exp monotonicity, and boundedness facts used by the main proof. It also includes additional Bellman stability facts for context; those stability facts are not invoked in the proof of Theorem C.1, whose drift control uses Lemma C.18 and (28).
C.3.1 Soft Bellman Recursion
This subsection uses the standard KL-regularized Bellman and softmax form for regularized MDPs (Geist et al., 2019; Levine, 2018), specialized to the fixed-domain episode-k model.
For each episode , define the stage- optimal regularized value function , with terminal condition
The corresponding soft Q-function is defined by
Then the KL-regularized Bellman recursion is
For any episode , stage , and bounded function , define
With this notation,
The corresponding stage-wise greedy regularized policy has the following closed-form softmax form:
This closed-form expression is a key advantage of KL regularization: the optimal policy is naturally absolutely continuous with respect to as a soft policy, thereby avoiding the discontinuity and tie-breaking technical issues caused by hard argmax selection.
C.3.2 KL-Bellman Optimality
Proposition C.3 (KL-Bellman optimality and softmax form). For any fixed episode , stage , and state , let . Then
and the unique maximizer is
Therefore, by taking
in the above equality and applying backward induction from we obtain the KL-regularized Bellman recursion and the optimal soft policy in this section.
Proof. Let . By assumption . Let
For any , direct expansion of the KL gives
Therefore the maximum value is , and since if and only if , the maximizer is unique.
The terminal layer has been fixed. If has been defined, then the optimal local choice at stage is exactly the maximization problem above with substituted in; its maximum value gives , and its unique maximizing policy gives . The backward induction is complete. This proves the claim.
C.3.3 Log-Sum-Exp and Bellman Non-Expansiveness
Lemma C.4 (Log-Sum-Exp Backup Is -Non-Expansive in Q). Fix any state and define the map
Then for any ,
Proof. Let
Then for each action ,
Hence
Multiplying both sides by and summing gives
Taking log gives
Swapping gives similarly
Thus
This proves the claim.
Lemma C.5 (Log-Sum-Exp Monotonicity and Translation). Fix any state and let
Then the following two properties hold.
- If for all , then
- For any scalar ,
Consequently, if for all , then
Proof. The first claim follows because the exponential function is increasing and all weights are nonnegative. For the second claim,
If for all , then by monotonicity and translation,
This proves the claim.
Lemma C.6 (Soft Bellman Operator Is Non-Expansive in Future Values). For any fixed k, h, and any two functions ,
Proof. Fix . Define the action-value vectors
By Lemma C.4,
Because is a probability distribution,
Taking the supremum over all gives
This proves the claim.
C.3.4 Boundedness of Soft Value Functions
Lemma C.7 (Finite-Horizon Boundedness of Soft Value Functions). For any episode k, stage h, state ,
Therefore
Proof. The terminal condition clearly holds. We now use backward induction. Assume that has already been established
Then for any ,
Since and has full support, Proposition C.3 gives
Because KL ≥ 0, the above expression does not exceed .
On the other hand, take , then the KL term is 0. Thus
The induction is complete. This proves the claim.
Remark C.1 (Boundedness convention for optimal and executed values). Lemma C.7 applies to the optimal KL-regularized value . The same nonnegative envelope should not be used for an arbitrary policy value , because the KL penalty may make the one-step regularized reward negative. The main proof separately uses the result obtained from optimistic clipping,
In the martingale-control proof, we only use a conservative envelope for the particular executed policy , derived from the clipped optimistic softmax identity:
Since both clipped optimistic quantities lie in , this implies
Consequently,
C.3.5 Bellman Stability under Model Perturbation
The results in this subsection are included to connect the notation with standard non-stationary MDP variation arguments. They are not invoked in the proof of Theorem C.1; the fixed-window regret proof uses the conditional-mean drift bound in Lemma C.18 together with the window counting bound (28).
Lemma C.8 (Bellman Backup Stability under One-Step Model Perturbation). For any , arbitrary function ,
Proof. Fix . Define the action-values
By Lemma C.4,
For each ,
The first term is at most . The second term follows from Hölder's inequality
Thus, for each ,
Taking the supremum over gives the conclusion. This proves the claim.
Theorem C.9 (Soft Bellman Stability across Episodes). For any adjacent episodes and , and any stage ,
In particular, a coarse form is
Proof. Define
From the terminal condition we know
For any ,
Therefore
For term (I), By Lemma C.6,
For term (II), By Lemmas C.8 and C.7,
Thus we obtain the recursion
Iterating from h to H, and using , gives
The first term equals
The second term equals
Combining gives
This proves the claim.
Corollary C.10 (Cumulative Value-Function Drift Bound). Summing at the initial stage h = 1 gives
Therefore in big O notation,
This corollary is included as explanatory context; the proof of Theorem C.1 uses the conditional-mean drift bound below rather than this cumulative value-drift comparison directly.
Proof. Taking in Theorem C.9 gives, for each ,
Summing over and using and gives
The displayed big O form follows directly. This proves the claim.
C.4 Concentration, Filtration, and Window-Model Details
This subsection collects the sampling, filtration, concentration, and auxiliary martingale results used by the proof. The concentration statements are formulated for the sliding-window empirical model and its conditional-mean counterpart.
C.4.1 Sampling Model and Filtration
The following interactive sampling model is used throughout. Let
denote, at episode , stage , when the current state and current action have already been determined, but the immediate reward and next state have not yet been revealed, the history -algebra. If
then the reward observation satisfies
and the next state satisfies
Here conditional independence between reward noise and transition sampling is not required; the subsequent proofs use only the above conditional mean and conditional law. The window counts, empirical model, bonus, optimistic value, and executed policy constructed by the algorithm at the beginning of episode k depend only on the data from episodes 1, ..., k - 1.
Reward notation convention. Throughout the appendix, denotes the conditional mean reward function of the episode-k environment, whereas denotes the realized reward observation collected at stage of episode . Thus the superscript indexes the environment model, while the superscript without parentheses indexes the realized trajectory.
Global filtration convention. Throughout, a global increasing filtration is assumed to exist, revealing randomness in the natural time order of episodes and stages. At the beginning of each episode the initial state under the given fixed is independent of the past history. At the beginning of episode , the algorithm constructs and all planning objects using only the completed history of episodes . At stage , given the current state , the action is sampled according to
and is already determined before the reward and next state are revealed; the resulting pre-outcome -algebra is exactly the above . Conditional on , the reward is only required to satisfy the above conditional mean, and the next state is only required to satisfy the above conditional law. The pair used in Proposition C.24 is the linearized version of this global filtration under the global time index .
Environment predictability convention. Throughout the appendix, the nonstationary MDP sequence
is either fixed before the interaction begins, or more generally is predictable at the beginning of each episode. Namely, for every episode k, the collection
is measurable with respect to the beginning-of-episode -algebra and is not allowed to depend on the current within-episode reward or transition randomness. Conditional on the pre-outcome -algebra , the only randomness used in the sampling model is the current reward observation and next-state draw satisfying the displayed conditional mean and conditional law.
C.4.2 Martingale Auxiliary Inequality
Lemma C.11 (Azuma–Hoeffding Inequality). Let be a martingale difference sequence such that almost surely for every . Then, for every ,
Proof. For each , Hoeffding's lemma applied conditionally on gives
because and almost surely. Iterating this inequality over yields
By Markov's inequality, for any and ,
Choosing gives
Applying the same argument to and taking a union bound proves the claim.
C.4.3 Predictable-Skipping Concentration
This subsection handles the concentration problem caused by random hit locations. The core requirement is: the hit indicator must be measurable before the current reward / next-state outcome is revealed; the proof must not condition on the complete hit-location vector.
Lemma C.12 (Predictable-Skipping Concentration with Stopped Filtration). Let . Suppose there exists a two-level filtration
where denotes the pre-outcome information for the t-th candidate sample and denotes the corresponding post-outcome information. In particular, the displayed nesting implies that
with the convention that for all . This is the temporal measurability relation used below.
and suppose the random variable satisfies
Define the n-th selected location
If the set is empty, set . Let
Thus the undefined quantity is never invoked. Then there exists a stopped filtration , such that is B-bounded martingale difference sequence. Furthermore, for any , with probability at least , simultaneously for all
Therefore, if , then
Proof. Let denote the underlying probability sample space in this proof, to avoid conflict with the action-set notation .
First, because , the event
belongs to . Therefore is a stopping time with respect to the pre-outcome filtration , and .
Define the stopped -algebra
and set . Next verify is a filtration.
First, is a -algebra. Indeed, and clearly hold, because and . If , then for each , , and ; if , then , and . Therefore is a -algebra.
Next prove monotonicity. If , then for any :
• When , , and , so ; at the same time .
• When ,
Since , ; at the same time . Thus each union term belongs to .
On the other hand,
because , , and .
Therefore , and hence . Thus is a filtration.
Next verify measurability. For any Borel set , if , then
If , then
At the same time, for each ,
because and . Thus , is measurable with respect to . Also, by and on , .
Next prove zero mean. Fix . We first prove that for each ,
If , then , and . Thus the claim holds. If , then on the hits must occur at some , therefore
Since ,
Also, because , we have , and because , each term in the finite union belongs to . Hence the above measurability holds.
Therefore
Thus , and is a -bounded martingale difference sequence. The branch contributes zero and therefore does not produce or any nonmeasurable term.
For fixed n, Lemma C.11 gives
Taking
makes the right-hand side at most . A union bound over gives simultaneous control of all partial sums. Finally, if , taking gives the empirical mean bound. If , no empirical average is formed; the subsequent cases are covered by the cold-start bonus clipping mechanism. This proves the claim.
C.4.4 Reward and Transition Concentration
Before stating the concentration events, define the conditional-mean model around which the empirical window estimates concentrate. For any , let
If , define
and
If , set
where is fixed before learning begins. These default values are not used in the concentration statements, which are only asserted for , but they keep the notation globally single-valued.
Lemma C.13 (Reward Concentration around the Conditional Mean). There exists an absolute constant such that, with probability at least , uniformly over all
quadruples satisfying , we have
The concentration event is stated for positive empirical counts. The zero-count regime is covered separately by the clipped cold-start bonus, which is the mechanism used in the near-optimism and certificate arguments.
Proof. Fix , and denote the episodes in the window as
If , then there are no quadruples with , so the assertion is empty. We therefore assume .
Let be the pre-outcome -algebra at stage of episode , after the state and action have been determined but before the reward and next state have been revealed. Let
By the global filtration convention, . Define
Then , , , , and the sampling model gives
Let . If , then
The number of possible quadruples is at most
Thus the following failure-probability allocation is sufficient for a union bound over all .
For fixed , apply Lemma C.12 with , and
By ,
We obtain, for ,
Taking a union bound over all and using , for an absolute constant , after choosing sufficiently large,
At the same time, when and ,
Absorbing absolute constants and taking the supremum over all gives the stated bound. This proves the claim.
This subsection establishes -concentration for . Whenever it is necessary to control , we use
We do not need a separate concentration result for the random test function .
Lemma C.14 (Transition Concentration around the Conditional Mean). There exists an absolute constant such that, with probability at least , uniformly over all
quadruples satisfying , we have
The concentration event is stated for positive empirical counts. The zero-count regime is covered by the same clipped cold-start bonus mechanism used in the subsequent optimism and certificate bounds.
Proof. Fix , and follow the same candidate episode order and filtration construction as in Lemma C.13. If , then there are no quadruples with , so the assertion is empty. We therefore assume .
For each , define
Then , , and
On the event , the sampling model gives
whereas on the event , . Therefore
Let . If , then
For fixed , the number of possible quadruples is at most
Thus the following failure-probability allocation is sufficient for a union bound over all quadruples and all sign vectors .
For fixed , apply Lemma C.12 with , and
By ,
Therefore, for ,
Taking the supremum over all and applying a union bound over all , together with the finite-dimensional dual representation
and using , for an absolute constant , after choosing sufficiently large,
gives the simultaneous bound for all
Since and ,
Absorbing absolute constants gives the stated bound. This proves the claim.
☐
Define
and
Define
Lemma C.15 (Total Concentration Event). If is sufficiently large, then
Proof. By Lemmas C.13 and C.14,
A union bound gives
This proves the claim.
C.5 Proof of the Fixed-Window Theorem
C.5.1 Current True Model
This section has three formal responsibilities:
-
unify the model objects and notation appearing in all subsequent propositions;
-
specify the unified high-probability event and its allocation of failure probabilities;
-
fix the same bonus interface jointly used in subsequent Proposition C.20, Lemmas C.21–C.22, Proposition C.23, and Theorem C.1.
We first unify the objects used in the stability analysis and in the dynamic-regret theorem. The proof separates two roles that are useful in non-stationary analysis: nonstationarity enters through a window-average conditional model, while statistical concentration enters through the empirical model. This separation keeps the optimism and certificate arguments aligned with the sliding-window estimator.
Recall from Subsection C.1.1 that the true finite-horizon KL-regularized MDP in episode is
where, for any , , and ,
Recall that the corresponding soft Bellman operator was defined after the KL Bellman recursion in Subsection C.3.1. With that notation, the optimal value functions satisfy
C.5.2 Primitive Drift and Window Cumulative Drift
Recall that the primitive adjacent drifts and , , are defined in Subsection C.1.4 immediately after the total variation budget.
For episode k, define the sliding window
The window cumulative drift quantity used uniformly in the main proof is defined as
Throughout the appendix, an empty sum is zero. In particular, if , then and . The main analysis uniformly uses , because it satisfies a clean summability relation
Discrete counting note. The above display follows directly from discrete counting. Indeed,
where
For fixed , condition is equivalent to
Thus
Hence
C.5.3 Window Reference Model
Remark C.2 (Conditional-Mean Reference Model). The main proof below depends only on the conditional-mean model , the concentration event , and the window drift quantity . No additional window-average model is used in the proof of Theorem C.1.
C.5.4 Conditional-Mean Model
Recall that the conditional-mean reward and transition model was defined before the concentration events in Subsection C.4.4. The role of this model is that the concentration of holds with respect to , and the subsequent proof uses this conditional-mean reference model together with the drift quantity .
C.5.5 Empirical Model and Optimistic Planning Objects
The empirical model is,
At the same time define
and recursively for
The bonus is
where is an absolute constant, is an absolute constant. Throughout the main proof, assume
Let and denote respectively the reward and transition concentration constants in Lemmas C.13 and C.14, and let
Choose and such that
Hence, when ,
All subsequent cold-start concentration absorption only invoke this parameter convention, and do not change the bonus separately. Here is used to remove cold-start singularity, while is kept consistent with the effective sample size of the sliding window.
Concentration absorption convention. For any , because and ,
whenever . Thus the statistical reward and transition deviations are explicitly absorbed by the single bonus term; zero-count cases use only the preceding cold-start condition.
Unified interface convention. From this section onward, after Proposition C.20, Lemmas C.21–C.22, Proposition C.23, and Theorem C.1 and their proofs
all refer to the same window-truncated bonus definition above; subsequent sections do not switch back to any other bonus notation. The near-optimism result, certificate decomposition, summed-bonus bound, and aggregate dynamic-regret theorem all hold for the same algorithmic object.
Lemma C.16 (Boundedness of Clipped Optimistic Values). For every episode , stage , state , and action , the optimistic planning objects defined in this subsection satisfy
Proof. The terminal condition gives . Suppose for all . Since , , and , the unclipped backup is nonnegative. Therefore the clipping definition gives
Let
Since is a probability distribution and ,
Taking log gives
Thus . Backward induction proves the claim.
Lemma C.17 (Unified Bonus Absorption). Under the parameter convention in this subsection, on , uniformly over all , if , then
If , then
Proof. For , the event controls the reward deviation and controls the transition deviation. The concentration absorption convention then absorbs their sum into the single bonus . For , the cold-start convention gives
This proves the claim.
Measurability note. For each episode k, the planning objects
are all constructed only from episode window history before the beginning of episode , using only the window history . Therefore, for any , the random function
is measurable with respect to the beginning-of-episode -algebra. This measurability is used only in the martingale filtration definitions in the executed-policy bridge; the transition concentration argument no longer treats as a test function.
C.5.6 Model Difference Bounds
The proof of Theorem C.1 uses the conditional-mean drift bound below as the only model-comparison input in this subsection.
Remark C.3 (Only the Conditional-Mean Drift Bound Is Used). The proof of Theorem C.1 uses only Lemma C.18. No separate drift bound for an auxiliary window-average model is invoked.
Lemma C.18 (Conditional-Mean Model Drift). If , then
and
Proof. Let
The episodes in the window hitting have indices
By definition,
Therefore
Taking absolute values and using the triangle inequality,
For each , because , by telescoping the primitive drift definitions,
Thus
Similarly,
Hence
Again by telescoping,
Thus
because
Boundary remark for . When , and follow the fixed convention values; the subsequent near-optimism and certificate decomposition arguments cover this regime through optimistic clipping and maximal bonus, while Lemma C.18 is used for the positive-count regime.
This proves the claim.
C.5.7 Near-Optimism under Sliding-Window Estimation
Lemma C.19 (Single-Step Optimistic Domination, Including Zero-Count Cases). On the event , under the parameter convention of Subsection C.5.5, there exists an absolute constant such that, for any
if
then, for every and every , we have
Proof. Fix , and write
By the induction hypothesis and because ,
Hence
First suppose . We compare the last display with
Decompose the reward and transition errors as
and
On , Lemma C.17 gives
Moreover, by Lemma C.18,
By Lemma C.7, . Therefore, we obtain
Substituting this bound into the lower bound for yields
Choose an absolute constant . Since Lemma C.7 also gives , and
we get
It remains to consider N = 0. In this case, neither concentration nor Lemma C.18 is used. By the zero-count default convention,
By Lemma C.16, , and hence
By Lemma C.17, in the zero-count case
Therefore
and so
By Lemma C.7, . Therefore
Combining the cases and proves the claim.
Proposition C.20 (Near-Optimism under Window Drift). On the event , there exists an absolute constant such that, uniformly over all
we have
Proof. We prove the claim by backward induction on . The boundary case satisfies .
Fix
Assume that the claim has already been established for , namely
By Lemma C.19, taking , for any
Since , the right-hand side is
By Lemma C.5, applied with
we obtain
This closes the induction and proves the claim.
C.5.8 Certificate Decomposition
This subsection first establishes a pathwise bridge identity with a unified remainder and then derives the certificate upper bound on the event . The martingale-control argument uses the same conditional-mean identity, and Theorem C.1 invokes the resulting certificate bound on .
Lemma C.21 (Pathwise bridge identity and unified remainder). Fix an arbitrary episode . Define
Along the true trajectory , define
and
Then, for every and every ,
Consequently, along the realized trajectory,
Moreover,
and
Proof. For any state , apply Proposition C.3 to the vector . By the definition of , this policy is the corresponding softmax maximizer, and the Fenchel equality in Proposition C.3 gives
The policy value satisfies
Subtracting the two displays gives
For the action term, the definition of gives
On the other hand,
By the definition of ,
we obtain the identity. This proves the claim.
Lemma C.22 (On-Event Pathwise Certificate Bound). On the event , there exists an absolute constant such that, uniformly over all and , we have
Therefore,
Proof. By the optimistic backup and Lemma C.21,
where all unindexed terms are evaluated at .
Let
If , decompose
On the event , by Lemmas C.17 and C.18, and by Lemma C.16, , for ,
If , Lemma C.18 is not invoked. Instead, by the default convention and , we get . At the same time, and are probability distributions, and by Lemma C.16, , therefore
Hence
while Lemma C.17 gives . Therefore the cold-start contribution is directly absorbed by the same bonus term.
Therefore, in both cases, and using for the zero-count case, the unified concentration interface gives, for example with ,
Substituting back into the initial inequality and taking gives the certificate bound. Summing over , telescoping, and using gives the episode-wise bound. This proves the claim.
C.5.9 Summed Bonus Bound
Proposition C.23 (Summed Bonus Bound under Overlapping Sliding-Window Counts). For any , consider the sliding-window bonus defined in Subsection C.5.5.
Then there exists an absolute constant such that
Up to absolute constants,
Proof. We use an overlapping-window counting argument and keep the factor from the bonus explicitly.
Define
Then
Partition the episode axis into non-overlapping blocks of length W
where
For each fixed triple and block , define the number of occurrences of in the block
If , write its occurrence times as
For , the two occurrence times and belong to the same block , whose length is at most . Hence
Therefore
Thus, when the j-th occurrence of z in block b happens, the previous j - 1 occurrences of the same z in that block are all counted in the sliding-window count. Consequently,
Therefore
Summing over the occurrences of inside block and using , we obtain
Summing this deterministic inequality over all blocks and triples , and then applying Cauchy–Schwarz, gives
and
Since
we have
Substituting this bound yields
Absorbing the absolute factor into proves the claim.
Remark C.4 (Use of the Summed-Bonus Bound). This proposition is a pathwise combinatorial bound controlling the realized bonus on the true trajectory. It is used pathwise in Theorem C.1.
☐
C.5.10 Pathwise Martingale Control
Proposition C.24 (High-Probability Control of the Unified Remainder). Assume the sampling, global-filtration, environment-predictability, and algorithmic-measurability conventions from Subsection C.4.1 and Subsection C.5.5. In particular, at the beginning of episode k, the model , the empirical objects , , , the optimistic planning objects , , and the policy are measurable with respect to the beginning-of-episode -algebra, and the action is sampled according to
before the reward and next state are revealed.
Using the remainder notation from Lemma C.21, define
Flatten the episode-stage indices
Let denote the inverse episode-stage map, and define
Define the flattened filtration as follows. For , let contain all randomness completed strictly before the stage- outcome is generated, together with the beginning-of-episode planning objects and the current state . Let
and let
If and , we enlarge further by including . This enlargement preserves the increasing-filtration property. Since is independent of the completed history and depends only on the current transition outcome , this enlargement does not affect the conditional zero-mean calculation for .
Then there exists an absolute constant , such that the event
satisfies
Proof. We prove the high-probability bound by showing that the flattened sequence is a bounded martingale difference sequence, and then applying Lemma C.11.
Fix . By the measurability note in Subsection C.5.5, , , are fixed at the beginning of episode ; after the current state is observed, is -measurable. By the environment predictability convention in Subsection C.4.1, the current model objects
are also fixed, or at least measurable with respect to the beginning-of-episode -algebra. Since is constructed at the beginning of episode , the policy value functions are deterministic functions of these beginning-of-episode objects. Hence, after is included in , the map
is -measurable. Lemma C.21 gives
and therefore is -measurable. Since
and
it follows that
On the other hand,
Conditioning on , has been fixed, while sampling model gives
Therefore
By tower property,
Thus is MDS.
We next prove bounded increments. By clipping,
By the definition of the optimistic softmax policy in (20) and the optimistic value in (19),
Therefore
and regularized reward with respect to
gives
This envelope follows from the clipped Q, V-range and the softmax identity above. The bound is stated in a form sufficient for the variation-dependent sublinearity result used in the main text. Hence
At the same time,
because
we get
Similarly,
Therefore
We subsequently use an absolute-constant boundedness. Thus we write
with later absorbed into .
Applying Lemma C.11 to the martingale difference sequence gives
Take
and large enough, gives
Finally,
This proves the claim.
C.5.11 Unified High-Probability Event
The analysis uses the following high-probability events. Recall that
where and are the reward and transition concentration events defined in Subsection C.4.4. By Lemma C.15,
The martingale event is
where is the unified remainder from Lemma C.21. By Proposition C.24,
Finally define
A union bound gives
All pathwise regret bounds in Theorem C.1 are proved on .
C.5.12 Proof of Theorem C.1
Proof of Theorem C.1. By Subsection C.5.11, . We fix an outcome in and proceed pathwise.
For each episode , at the realized initial state decompose:
By Proposition C.20,
By Lemma C.22,
Here is the unified remainder from Lemma C.21 controlled by Proposition C.24. Summing over episodes and using the pathwise definition of DynReg(K) gives
where .
The three terms are controlled as follows:
- Proposition C.23 gives the pathwise summed-bonus bound:
- Proposition C.24 on gives
This has the same logarithmic factor as the third term in (21), so the martingale contribution is absorbed after increasing the absolute constant.
- Equation (28) gives
Therefore
Renaming absolute constants gives the theorem statement. This proves the claim.
C.6 From Fixed-Window Regret to the Main-Text Informal Statement
This subsection proves Corollary C.2. The result is a known-variation tuning statement: the window length is selected before the run as a deterministic function of the variation budget, and the fixed-window theorem is then applied to that algorithm instance.
C.6.1 Proof of Corollary C.2
Proof of Corollary C.2. Fix an arbitrary window chosen before the algorithm is run, . Because the algorithm, empirical windows, bonuses, and policy sequence are then fixed by this window choice, Theorem C.1 applies directly to that algorithm instance and gives
with probability at least . Since the oracle may choose any deterministic window before the run, choosing a window that minimizes the deterministic upper-bound function gives the oracle upper envelope.
For a uniform display over all variation regimes, we use the smoothed quantity . This affects only constant-level edge cases and yields the same variation-dependent scaling in the non-stationary regimes of interest. In the untruncated case, ignoring constants gives
and hence
Therefore
When , , substitution gives
The martingale remainder gives the tuned-window bound.
For the growing-dimension statement, the first term in (23) is whenever
Cubing both sides and canceling gives
Together with , this implies . When are fixed, the condition reduces to , and the martingale term is lower order.
This is a known-variation tuning statement. No simultaneous high-probability guarantee over all window lengths is needed for the stated corollary, because the algorithm is run with a single deterministic window chosen before observing the trajectory. The minimization above is over the deterministic upper-bound expression, not over realized pathwise regrets from multiple window choices. A separate simultaneous guarantee over all window lengths could be obtained by a standard union bound over , at the cost of an additional logarithmic factor. This proves the claim.
D Deployable Executor Instantiation
This appendix specifies the deployable instantiation of MPCR used in the fixed-library transfer experiments. MPCR is implemented as an executor-side wrapper around a base web agent and a frozen learned skill library.
| SWOP (analysis) | MPCR (executor) |
|---|---|
| Reference prior | Fixed skill-library and base-executor preference |
| Sliding-window recent evidence | Current-page feasibility verification |
| Optimism for unresolved uncertainty | Soft scoring that downweights rather than filters |
| KL regularization toward the prior | Reranking constrained to the proposed shortlist |
Table 6: Componentwise correspondence between the SWOP analysis model and the MPCR executor.
D.1 Correspondence between SWOP and MPCR
SWOP and MPCR are two views of the same adaptation principle: stay anchored to what the learned library prefers, and let recent execution evidence decide which of those preferences is actionable right now. Table 6 maps each element of the analysis onto the executor stage that realizes it.
This mapping is what fixes the executor's structure, and each row settles a concrete design question. The reference prior is the frozen skill library and base executor, so adaptation may not touch either; every reported gain is therefore attributable to test-time selection rather than to further skill acquisition. Recent evidence enters as current-page feasibility verification, which places adaptation inside a single episode, the timescale on which executability actually changes under environment evolution. Optimism is realized as soft scoring rather than hard filtering: a candidate whose target cannot be confirmed is downweighted but retained, so a partially observed page state cannot discard the action that would have recovered the task. The regularization term is then confined to reranking the proposed shortlist, which limits how far selection may move and keeps the executor from drifting away from the learned preference when the feasibility signal is noisy. The analysis therefore supplies the design: what to hold fixed, what to condition on, how to act when that evidence is inconclusive, and how far to move. Theorem 4.1 characterizes the principle in the idealized model, and the evidence that it carries into browser execution is empirical.
Three results support the mapping, one per row. Appendix D.8.1 shows that its two active halves contribute separately and are not interchangeable: constrained reranking over the shortlist adds 4.31 points of success over the unmodified proposal prior, and feasibility evidence adds a further 2.14 points on top of it. Appendix D.8.2 confirms the regularization row directly, in that enlarging the candidate set dilutes the effective weight of the skill-library preference and monotonically suppresses skill invocation, which is precisely the behavior the regularization term exists to prevent. Appendix E.4 shows that the same pressure-dependent gain pattern reappears when the mapping is instantiated over a structurally different learned library, indicating that it tracks a mechanism rather than a property of one skill format.
D.2 Executor Interface and Execution Loop
At each decision step, MPCR receives the task goal, the current browser state, a summary of progress, the primitive browser actions, the base executor, and the fixed learned skill library. It returns one executable next action. The base executor's top action is not executed directly; it enters the stage sequence of Table 6 as one candidate among the proposed set. The selected action is executed in the browser, and the observed page change, error, blocker, or timeout is incorporated into the next decision step.
Algorithm 2 summarizes the full MPCR execution loop. The loop exposes the four operational stages used throughout this appendix: proposal, verification, scoring, and reranking. It also shows how browser feedback is folded into the next decision step and where fallback behavior is invoked.
The remaining subsections unpack each component of Algorithm 2. Section D.3 specifies the constrained proposal prompt and the structured candidate interface. Section D.4 describes the browser-state evidence used to annotate local feasibility. Section D.5 explains how these annotations are converted into conservative shortlisting scores. Section D.6 specifies the constrained prior-guided reranking prompt. Section D.7 describes the fallback rules that make the executor total under malformed generations, uncertain probes, ambiguous rankings, and weak shortlists.
Algorithm 2 MPCR: Masked Prior-Guided Candidate Reranking
Require: Task goal g, browser state , fixed skill library , primitive action set , base executor E, candidate budget , shortlist size M, maximum horizon T
Ensure: Executed trajectory
1: ,
2: for do
3:
4: if TASKCOMPLETE( ) then
5: return
6: end if
// Phase 1: Propose
7:
8: if is invalid or empty then
9:
10: else
// Phase 2: Verify
11: for all do
12:
13: end for
// Phase 3: Score
14: for all do
15:
16: end for
17:
// Phase 4: Rank
18:
19: if is invalid, ambiguous, or outside then
20:
21: end if
22: end if
23:
24:
25:
26: end for
27: return
D.3 Candidate Interface and Proposal
The proposal stage defines the candidate interface used by all downstream MPCR components. It instantiates the PROPOSE call in Algorithm 2 with a strict structured-output contract, so that verification, scoring, and ranking can be applied deterministically. At each decision step, the proposal module must return exactly candidates. Each candidate contains a complete executable action string, including both the action name and its arguments, together with a concise rationale grounded in the current observation.
Constrained Candidate-Proposal Prompt
Instruction. Review the current page state, previous execution feedback, and all provided task information to propose the best next actions for accomplishing the goal. The output will be interpreted and executed by a browser-control program, so it must follow the required format exactly.
Inputs. The prompt is instantiated with the following runtime fields:
• task goal;
• current progress summary;
• currently open tabs and active URL;
• current page accessibility tree;
• current page screenshot, when available;
• available primitive actions and fixed-library skill actions;
• previous actions and execution feedback, when available.
Candidate-generation rule. Produce exactly next-action candidates, ranked from best to worst. The candidates may use the same action type with different arguments. The ordering is treated as a proposal prior, but the final action is selected only after verification, scoring, and reranking.
Action constraints. Each candidate must be an executable action string from the provided action space. Do not output an action outside the available primitive or skill actions. Do not invent hidden capabilities, unavailable tools, or unprovided skill calls.
Reason constraint. Each candidate must include a concise reason grounded in the current observation, task goal, and available action space.
Output. Return valid JSON only. Do not output markdown or extra text.
{ "candidates": [ { "action": "click | type | navigate | scroll | skill_call | ...", "reason": "brief justification" } ] }
This contract serves three purposes. First, it bounds the action set considered at each decision step. Second, it makes the candidate set parseable by deterministic verification and scoring modules. Third, it exposes primitive actions and fixed-library skills through the same interface, while preventing the proposal module from bypassing MPCR with an unstructured direct action.
The proposal stage is therefore not a broad search procedure. It is a bounded prior-guided expansion of the base executor's next-action preferences. MPCR preserves several plausible alternatives before committing to one action, but all later decisions remain constrained to the generated candidate set.
D.4 Local Feasibility Annotation
MPCR collects local feasibility evidence from the browser state at the moment of decision. The design goal is to add a small amount of grounded execution evidence without turning the executor into a broad search procedure or a new learning algorithm. The evidence layer is intentionally lightweight: it checks properties that are directly relevant to immediate action feasibility, while leaving final selection to the scoring and ranking stages.
D.4.1 Element-Level Readiness Evidence
For candidates that refer to an interface element, MPCR checks whether the target appears present and actionable in the current page state. The annotation considers whether the element can be found through available identifiers or selectors, whether it is visible, whether it appears enabled, whether it has a meaningful bounding region, whether it is inside the current viewport, and whether it may be blocked by another element.
The annotation is not used as a universal hard filter. Browser state can be incomplete or transient, and some useful actions may require scrolling, focusing, waiting, or navigating before the final target becomes available. MPCR therefore treats element-level evidence as a soft feasibility signal. This keeps the executor conservative without making it brittle.
D.4.2 Viewport and Reachability Evidence
MPCR also records page-level reachability evidence, especially whether the current viewport may omit task-relevant content that is reachable through scrolling. This distinction matters because an element that is not currently visible is not necessarily absent. In long pages, administrative dashboards, product tables, issue lists, and content-management interfaces, relevant controls often appear below the fold or inside scrollable regions.
The reachability annotation helps the executor avoid conflating “not currently visible” with “not available.” If the page appears scrollable, an otherwise weak candidate may be interpreted as requiring an intermediate exposure action rather than being discarded. Conversely, if the page offers little additional reachable content, the executor can treat missing or hidden targets as stronger evidence against immediate execution.
This design supports MPCR’s conservative adaptation principle: use current browser evidence to reduce obvious execution mistakes, but preserve plausible recovery paths when the evidence indicates that the page state may be incomplete.
D.5 Conservative Feasibility Scoring
The scoring stage is a bounded and reproducible intermediate selection layer. Its role is not to define an optimal policy, but to provide a transparent conservative prior over immediate executability before the final pairwise comparison. This makes the ranker compare candidates that have already been grounded in the current page state, rather than asking it to resolve semantic relevance, feasibility, and risk from scratch.
For each candidate , MPCR computes a heuristic feasibility-aware score:
where measures task relevance, estimates immediate progress, captures current-page readiness, captures whether the action may expose required information or controls, captures stability of the action structure or grounding evidence, and captures execution risk. The coefficients are fixed across evaluations.
The evidence families have the following interpretations:
• Task relevance measures whether the candidate is semantically aligned with the user instruction and the current progress state.
• Progress estimates whether the candidate is likely to move the task forward immediately.
• Readiness measures whether the target appears executable from the current page state.
• Exposure rewards actions that reveal information, controls, or page regions needed for later progress.
• Stability captures whether the candidate is supported by robust identifiers, reliable action structure, or unambiguous grounding evidence.
• Risk penalizes actions that are destructive, irreversible, speculative, or likely to move the agent away from the task.
The scoring rule also accounts for page-region and readiness cues in a conservative way. Actions in task-relevant regions, such as main content, navigation, forms, or management panels, receive more favorable treatment than actions in low-value regions. Candidates that appear ready now are preferred over candidates that appear blocked or require unresolved preconditions. However, these cues are deliberately soft. A candidate marked as blocked or needsScroll is downweighted, but it may still survive if it remains highly task-relevant and no stronger alternative exists.
This soft treatment is central to MPCR’s design. Under environment evolution, feasibility evidence is informative but imperfect. A hard filter can remove the correct recovery action when the page state is partially observed; an unconstrained prior can overcommit to an action that is locally infeasible. Conservative scoring occupies the middle ground: it reduces the priority of fragile candidates while preserving enough action-domain coverage for the ranker to make a context-sensitive comparison.
The scoring rule is fixed across the reported evaluations. This is important for attribution. MPCR’s gains are not explained by per-condition tuning or by a hidden adaptive learner; they arise from applying the same feasibility-aware selection interface across the fixed learned library.
D.6 Constrained Prior-Guided Reranking
The final ranking step uses the LLM as a constrained local comparator over the shortlist , following the broader use of LLMs for reranking and pairwise comparison (Sun et al., 2023; Qin et al., 2024; Wu et al., 2025). The ranker is conditioned on the task state, candidate rationales, heuristic scores, and feasibility annotations. It must choose among the provided candidates only.
This constrained design preserves the prior-guided nature of MPCR. The proposal stage reflects the prior induced by the base executor and fixed skill library, while the verification and scoring stages expose current-page feasibility evidence. The ranker then compares a small shortlist using both sources of information. It is not allowed to invent a new action, call an unseen skill, or change the candidate action strings.
In the reported experiments, the shortlist size is set to M = 2, so the pairwise comparator is invoked once per decision step. For larger shortlists, the same comparator can be applied in a deterministic tournament order sorted by the heuristic score. The current winner is compared against the next candidate, and ties are broken by the heuristic score. This keeps reranking bounded while ensuring that the final action is selected only from the verified shortlist.
Constrained Pairwise Reranking Prompt
Role. You are a strict pairwise ranker for web-agent actions.
Objective. Choose the better next single action right now. Prefer the action that is more executable, more directly useful for the task, more likely to unblock progress, and lower risk.
Decision criteria.
-
Prefer the candidate that better advances the current task goal.
-
Prefer the candidate that appears executable in the current page state.
-
Prefer actions that reveal required information or remove blockers.
-
Avoid destructive, irreversible, or speculative actions unless required.
Executability evidence. Treat a candidate as weaker if its target is missing, invisible, disabled, occluded, or outside the reachable page state. For skill calls or multi-step candidates, compare them using their signatures, descriptions, current context, and available feasibility annotations.
Candidate constraint. Choose only among the provided candidates. Do not invent a new action, call an unseen skill, assume hidden skill effects, or change the candidate action strings.
Tie rule. Return tie only when neither candidate clearly dominates. If one action is moderately better in immediate usefulness or executability, choose it.
Output. Return strict JSON only:
{"winner":"a" | "b" | "tie", "why": "<=80 words"}
The pairwise prompt is intentionally local. It asks only which candidate is better as the next action under the current browser state. This prevents the ranker from replacing the executor with an open-ended planner and keeps MPCR aligned with its role as a test-time reranking mechanism.
D.7 Totality, Fallbacks, and Recovery
MPCR includes explicit recovery behavior so that the executor remains well-defined under parser uncertainty, incomplete probes, or ranker ambiguity. These fallbacks are safety guards, not additional adaptation mechanisms. They ensure that the executor always returns an action, while preserving the fixed-library and candidate-constrained design.
• Generation failure. If candidate generation returns invalid JSON or an unusable candidate set, the executor follows a safe default recovery action.
• Probe uncertainty. If a candidate cannot be confidently verified, it is retained but downweighted through readiness-related penalties.
• Ranking ambiguity. If the pairwise ranker returns invalid or ambiguous output, the executor selects the highest-scored candidate from the heuristic stage.
• Weak shortlist. If all shortlisted candidates appear blocked or insufficiently ready, the executor still returns the highest-scored candidate, ensuring that the action-selection procedure remains total.
The guiding principle is conservative continuity. MPCR uses additional deliberation when feasibility signals are informative, but degrades to deterministic behavior when structured judgments are noisy. This makes the deployable executor robust to malformed model outputs, incomplete browser probes, transient page states, and ambiguous comparisons without introducing skill relearning or unconstrained exploration.
D.8 Design Validation
The preceding subsections specify what MPCR does. This subsection provides the empirical basis for two design decisions embedded in that specification: that each of the four stages is necessary, and that the default candidate budget is .
Both studies are run on Magento with GPT-5 mini over the same fixed ASI library and the same six evaluation conditions used in Section 5. Because the main tables pool GitLab, Magento, and WordPress, absolute values here are not comparable to Table 2; full MPCR averages 39.18% on this single-site subset against 41.26% pooled across three sites. All comparisons below are made within this subset.
D.8.1 Component Ablation
We ablate the verification, scoring, and reranking stages of Algorithm 2, keeping the proposal stage in every variant since it defines the candidate interface. Table 7 reports success rate and average skill calls, averaged over the six conditions.
| Variant | Ver. | Sco. | Rer. | SR (%) | ASC |
|---|---|---|---|---|---|
| Propose only | ✕ | ✕ | ✕ | 32.73 | 0.60 |
| Verify + Score | ✓ | ✓ | ✕ | 27.93 | 0.15 |
| Rerank only (blind) | ✕ | ✕ | ✓ | 37.04 | 0.68 |
| Verify + Score + Random | ✓ | ✓ | rand. | 8.09 | 0.31 |
| MPCR (full) | ✓ | ✓ | ✓ | 39.18 | 0.24 |
Table 7: Component ablation of MPCR on Magento, averaged over the six evaluation conditions. “Ver.”, “Sco.”, and “Rer.” denote the verification, scoring, and reranking stages. “Rerank only” applies the pairwise comparator to the raw proposal order without feasibility evidence, and therefore issues the same number of reranking calls as full MPCR. “Verify + Score + Random” keeps the verified shortlist but replaces the comparator with a fixed-seed random choice, and therefore issues no reranking call at all.
Additional deliberation is not what produces the gain. The randomized control is decisive on this point. It shares the pipeline, the feasibility annotations, and the shortlist with full MPCR, and differs only in that the final comparison is a fixed-seed coin flip that emits no reranking call. Success collapses from 39.18% to 8.09%, far below the 32.73% obtained by taking the base executor's first proposal and doing nothing else. Since the scaffolding is held constant and the compute is strictly lower, the gain cannot be attributed to the pipeline structure or to spending an additional model call per step. What matters is the informational content of the comparison. The same control also shows that a bounded shortlist is not self-improving: selecting arbitrarily within it is much worse than not shortlisting at all.
The gain decomposes across stages. Adding blind reranking to the proposal prior raises success from 32.73% to 37.04%, and adding feasibility evidence on top of it raises success further to 39.18%. The second increment, 2.14 points, is smaller than the first but consistent, holding in five of the six conditions. Neither stage subsumes the other: full MPCR exceeds both “Rerank only,” which has the comparator but no feasibility evidence, and “Verify + Score,” which has feasibility evidence but no comparator.
Feasibility evidence mainly buys reliable skill use. Reading success alone understates what the verification and scoring stages contribute. Full MPCR attains its higher success while issuing 0.24 skill calls per task against 0.68 for blind reranking, a reduction of roughly threefold. The effect concentrates exactly where it should: under Execution Shift, full MPCR reduces skill invocation to 0.04 calls per task, that is, it correctly stops calling a skill that the runtime blocker has made unexecutable, whereas blind reranking continues to invoke and fail it. The feasibility mask is therefore better described as a mechanism for avoiding infeasible skill execution than as a primary driver of success.
Why feasibility evidence alone underperforms. “Verify + Score” reaches only 27.93%, below the 32.73% of the unmodified proposal prior. We read this as a property of the design rather than as a defect in the evidence. Feasibility annotations are constructed to be consumed by the comparator, which weighs them against task context; taking a hard top-1 by heuristic score discards that contextual judgment and commits to whichever candidate the fixed coefficients happen to favor. The conservative scoring rule of Section D.5 is deliberately soft for this reason. That the evidence helps when it informs the comparator and hurts when it replaces it is direct evidence that the two stages are complementary rather than separable.
D.8.2 Candidate-Budget Selection
MPCR is evaluated with , where the candidate count equals the shortlist size, . We sweep to establish that this default is an empirical choice rather than an under-resourced configuration. Table 8 reports success rate and average skill calls under each of the six conditions, and Table 9 pools the same results by shift type.
Aggregate success is non-monotone and peaks at the default. Overall success is 39.18%, 35.92%, and 37.73% for . Enlarging the candidate set does not improve transfer on aggregate, which establishes the default as an empirically favorable lightweight operating point rather than a budget-
| Condition | ||||||
|---|---|---|---|---|---|---|
| SR | ASC | SR | ASC | SR | ASC | |
| Src | 51.75 | 0.35 | 44.23 | 0.08 | 48.08 | 0.01 |
| Src-Perc | 56.14 | 0.26 | 40.38 | 0.12 | 50.96 | 0.07 |
| Src-Exec | 30.70 | 0.39 | 42.31 | 0.05 | 41.35 | 0.03 |
| Tgt | 40.35 | 0.18 | 36.84 | 0.04 | 32.46 | 0.00 |
| Tgt-Perc | 37.72 | 0.23 | 31.58 | 0.01 | 30.70 | 0.00 |
| Tgt-Exec | 18.42 | 0.04 | 20.18 | 0.02 | 22.81 | 0.01 |
| Mean | 39.18 | 0.24 | 35.92 | 0.05 | 37.73 | 0.02 |
Table 8: Per-condition success rate (%) and average skill calls under candidate budgets on Magento.
| Pooled view | |||
|---|---|---|---|
| Non-execution | 46.49 | 38.26 | 40.55 |
| Execution | 24.56 | 31.25 | 32.08 |
| Overall | 39.18 | 35.92 | 37.73 |
Table 9: Success rate (%) pooled by shift type. “Non-execution” pools Src, Src-Perc, Tgt, and Tgt-Perc; “Execution” pools Src-Exec and Tgt-Exec.
constrained compromise. Given a single run per budget, we do not draw conclusions from the exact ordering of against .
Budget interacts with shift type. The aggregate conceals the more informative pattern, shown in Table 9. Under Execution Shift, larger budgets help: pooled success rises from to to , and Tgt-Exec increases monotonically from to . Under clean and perceptual conditions, larger budgets hurt: pooled success falls from to . The interaction runs in the same direction on the source and target sides independently, which makes it the most defensible conclusion of this sweep. It is also the reading our framing predicts. When local executability is fragile, additional candidates give the feasibility-aware ranker more room to recover; when the learned prior is already reliable, additional candidates mostly introduce distractors.
Enlarging the candidate set dilutes the skill prior. Skill invocation collapses monotonically with the budget, from 0.24 to 0.05 to 0.02 calls per task. Since the library and the proposal interface are unchanged, this indicates that a wider candidate set reduces the effective weight of the skill-library preference, so the agent progressively stops invoking skills it has already learned. This is the empirical counterpart of the KL regularization toward in SWOP and of the correspondence stated in Table 6. It also explains the interaction above: on clean and perceptual conditions the diluted prior was worth keeping, so dilution costs success, whereas under Execution Shift the prior is unreliable in the first place and the trade is favorable. Since the favorable direction of this trade-off flips with shift type, a fixed budget cannot be optimal for both regimes; a shift-adaptive candidate budget, widened under detected execution pressure and kept narrow otherwise, is a promising extension we leave to future work.
E Experimental Details and Supplementary Analyses
This appendix provides supplementary details for the experiments in Section 5. We first describe the compared learned-skill methods and their implementation protocols, then report descriptive skill-library statistics after learning, and provide backbone-level diagnostic results showing that the observed transfer patterns are not tied to a single LLM backbone. The remaining subsections report supplementary analyses around the main comparison: transfer of MPCR to a second skill-learning method, stability across random seeds, robustness to more aggressive Execution Shift schedules, and a comparison against relearning the skill library in the target environment. These supplementary studies are run on Magento, whereas the main tables pool GitLab, Magento, and WordPress; absolute values are therefore not comparable across the two, and each subsection states its scope.
E.1 Compared-Method Cards
The compared published skill-learning baselines are AWM, ASI, SkillWeaver, and WALT (Wang et al., 2025b,a; Zheng et al., 2025; Prabhu et al., 2026). These four systems provide representative coverage of design choices in skill representation, integration mechanism, learning signal source, and verification rigor. Concretely, they cover textual, executable, API-function, and tool-based skill forms; prompt injection, action-space extension, and tool-call integration; and episode-driven, exploration-driven, and function-discovery learning signals.
The four published baselines also differ in their underlying agent frameworks and action-selection strategies (Wang et al., 2025b,a; Zheng et al., 2025; Prabhu et al., 2026). They observe page state through DOM, accessibility-tree, or snapshot representations, but differ in execution stack and decision mechanism. Such heterogeneity is an inherent consequence of comparing published systems: each method is tightly coupled to its native execution stack, and re-implementing all methods within a single framework would risk distorting their original design intent. Our aim is therefore to evaluate representative end-to-end skill-learning systems under shared tasks and perturbation conditions. The disturbance layer is applied consistently across backends, although this does not remove all execution-stack confounds. We provide detailed method cards below, focusing on each method's skill representation, acquisition signal, verification mechanism, execution interface, and relevance to the fixed-library transfer comparison.
AWM (Agent Workflow Memory) represents learned procedures as textual workflows stored in agent memory (Wang et al., 2025b). Each workflow consists of a high-level natural-language description and a sequence of steps, where each step records the environment state, the agent's reasoning, and the executed action. Workflows are induced by prompting the LLM to extract common sub-routines from successful episodes, abstracting concrete values into variables (e.g., replacing a specific product name with {product_name}). At inference time, relevant workflows are retrieved and injected into the LLM prompt as contextual guidance. Because workflows are consumed as text rather than executed as code, AWM does not extend the agent's action space. It therefore serves as a prompt-level workflow-reuse baseline rather than an executable-skill baseline.
ASI (Inducing Programmatic Skills for Agentic Tasks) represents skills as executable Python programs. Given a successful episode, a skill induction module generates one or more Python functions (e.g., search_product(name)) that encapsulate reusable sub-procedures (Wang et al., 2025a). Each induced skill undergoes a three-stage verification: (1) correctness—the task is still completed when the original trajectory is rewritten to invoke the new skill; (2) skill usage—the rewritten trajectory actually calls the skill; and (3) skill validity—every skill invocation causes an observable environment change (Wang et al., 2025a). Only skills that pass all three checks are added to the skill library. During evaluation, induced skills are available as callable high-level actions alongside the primitive action set.
SkillWeaver acquires skills through a self-driven curriculum: the agent autonomously proposes candidate skills by observing the website, practices them through active exploration, distills successful execution traces into reusable Playwright API functions, and iteratively debugs these functions through automated test cases (Zheng et al., 2025). Unlike ASI and AWM, which learn only from task-solving episodes, SkillWeaver generates learning opportunities through environment exploration independent of the benchmark task set. The resulting skills are Python async functions that operate on Playwright Page objects and are composed hierarchically, with higher-level skills calling lower-level ones (Zheng et al., 2025). SkillWeaver therefore represents an exploration-driven API-function approach to skill acquisition.
WALT (Web Agents that Learn Tools) takes a fundamentally different approach by reverse-engineering website-native functionality into structured, callable tools. WALT first discovers candidate website functions through systematic exploration, then applies a demonstrate-generate-validate cycle: a browser agent demonstrates the function end-to-end, a tool-generation agent converts the execution trace into a structured tool definition with typed input parameters and step sequences, and a test agent validates the tool against pre-selected inputs (Prabhu et al., 2026). When possible, WALT further optimizes tools by replacing UI interaction sequences with direct URL-level or API-level operations (Prabhu et al., 2026). The resulting tools are deterministic action scripts with formal schemas (Prabhu et al., 2026).
E.2 Skill-Library Supplements
Table 10 reports the number of skills (or workflows/tools) retained in each method's library after the learning phase, broken down by LLM backbone and website. This table serves as a descriptive diagnostic of the learning regimes rather than a larger-is-better comparison. The counted units are not semantically identical across methods: an AWM item is a textual workflow, an ASI item is an executable Python skill,
| Method | DeepSeek-V3.2 | GPT-5 mini | Claude Haiku 4.5 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| GitLab | Magento | WordPress | GitLab | Magento | WordPress | GitLab | Magento | WordPress | |
| AWM | 35 | 23 | 5 | 27 | 15 | 6 | 10 | 6 | 3 |
| ASI | 14 | 19 | 12 | 9 | 13 | 4 | 11 | 13 | 10 |
| SkillWeaver | 28 | 18 | 23 | 9 | 26 | 15 | 12 | 17 | 14 |
| WALT | 8 | 8 | 6 | 6 | 7 | 5 | 5 | 6 | 3 |
Table 10: Skill library size after learning. Counts are descriptive rather than directly comparable across methods because the retained units have different semantics.
a SkillWeaver item is a Playwright-style API function, and a WALT item is a structured tool (Wang et al., 2025b,a; Zheng et al., 2025; Prabhu et al., 2026). Therefore, the table is not used to normalize methods by raw library size. Instead, it shows how different skill-acquisition mechanisms expose different amounts and types of reusable structure before transfer evaluation.
Several patterns are worth noting. First, library size varies substantially by method. Averaged over the nine website–backbone combinations, SkillWeaver produces the largest libraries (18.0 items), followed by AWM (14.4), ASI (11.7), and WALT (6.0). This ordering reflects the methods’ acquisition mechanisms. SkillWeaver actively explores the environment and can therefore accumulate many candidate API functions. AWM extracts reusable textual routines from successful trajectories, which also permits relatively large libraries when successful episodes contain repeated sub-procedures. In contrast, ASI and WALT apply stronger executable or tool-level validation, yielding smaller but more constrained libraries. WALT is especially compact, ranging only from 3 to 8 tools across all settings, because its demonstrate–generate–validate pipeline filters candidate tools before evaluation.
Second, the table shows that library scale is strongly affected by both the backbone and the website. DeepSeek-V3.2 generally produces more retained items than GPT-5 mini or Claude Haiku 4.5, especially for AWM and SkillWeaver. Across all methods and websites, the total number of retained items is 199 for DeepSeek-V3.2, 142 for GPT-5 mini, and 110 for Claude Haiku 4.5. This suggests that acquisition scale and transfer robustness should be distinguished. Library size measures how many reusable items are retained after learning, whereas transfer performance also depends on executor-side selection, grounding, and execution under changed environment conditions.
Third, website structure also affects how much reusable behavior can be extracted. Aggregating over methods and backbones, GitLab and Magento yield substantially larger libraries than WordPress, with 174, 171, and 106 retained items respectively. This is consistent with the nature of the environments: developer-platform and e-commerce-administration tasks expose more repeated navigation, filtering, editing, and object-management patterns, whereas the WordPress task set induces a smaller set of reusable operations. This site-level variation is useful for SkillShift-Bench because it prevents the benchmark from being reduced to a single library-density regime. The same transfer protocol is evaluated under websites that differ in how much reusable structure they naturally expose.
Most importantly, Table 10 helps rule out a simple “more skills imply better robustness” explanation. SkillWeaver often produces the largest libraries, while WALT uses the smallest libraries because its tools are more heavily validated. ASI occupies an intermediate regime: it learns fewer items than AWM or SkillWeaver in many settings, but retains executable skills that are directly usable during interaction. These patterns show that library size mainly reflects acquisition scale and method design, rather than transfer robustness itself. A larger library may provide more reusable candidates, but successful transfer still depends on whether the agent can select, ground, and execute the retained items under changed environment conditions.
E.3 Backbone Analyses
Table 11 provides a backbone-level decomposition of the transfer results and shows that the benchmark stress is not an artifact of a single LLM choice. GPT-5 mini obtains the highest overall success (SR = 35.23%), the lowest skill failure rate (SFR = 13.52%), and the lowest trajectory cost (AS = 8.77).
| Metric | LLM | Method | Environment | O/A | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AWM | ASI | Skill-Weaver | WALT | Src | Src-Perc | Src-Exec | Tgt | Tgt-Perc | Tgt-Exec | |||
| SR (%) | DS | 35.30 | 38.32 | 17.12 | 36.44 | 47.89 | 37.32 | 23.98 | 35.81 | 29.76 | 16.01 | 31.80 |
| GPT | 37.56 | 37.90 | 24.99 | 40.46 | 46.30 | 45.41 | 27.14 | 38.72 | 33.58 | 20.23 | 35.23 | |
| Cld | 33.00 | 32.64 | 18.32 | 27.50 | 45.07 | 40.60 | 14.87 | 32.03 | 24.73 | 9.89 | 27.86 | |
| AS | DS | 7.35 | 6.94 | 17.53 | 15.90 | 8.65 | 10.45 | 14.35 | 11.25 | 12.03 | 14.84 | 11.93 |
| GPT | 6.20 | 6.21 | 12.80 | 9.87 | 7.25 | 7.50 | 11.31 | 7.51 | 8.56 | 10.49 | 8.77 | |
| Cld | 7.47 | 7.51 | 15.05 | 6.62 | 8.12 | 8.81 | 10.67 | 8.15 | 8.96 | 10.25 | 9.16 | |
| ASC | DS | - | 0.32 | 1.89 | 0.03 | 0.55 | 0.69 | 0.76 | 0.80 | 0.73 | 0.94 | 0.74 |
| GPT | - | 0.06 | 2.16 | 0.18 | 0.74 | 0.72 | 0.80 | 0.77 | 0.85 | 0.92 | 0.80 | |
| Cld | - | 0.11 | 0.00 | 0.05 | 0.07 | 0.06 | 0.07 | 0.05 | 0.05 | 0.03 | 0.05 | |
| SFR (%) | DS | - | 39.51 | 0.21 | 19.25 | 5.09 | 19.71 | 33.38 | 7.10 | 18.89 | 33.78 | 19.66 |
| GPT | - | 13.86 | 5.71 | 20.98 | 4.15 | 7.46 | 21.26 | 11.77 | 16.68 | 19.77 | 13.52 | |
| Cld | - | 30.71 | 0.00 | 32.15 | 10.89 | 21.39 | 32.05 | 19.96 | 16.08 | 25.36 | 20.95 | |
Table 11: Expanded transfer-oriented diagnostic results across methods and environment settings. O/A denotes the overall average across the corresponding settings. LLM abbreviations are as follows: DS = DeepSeek-V3.2, GPT = GPT-5 mini, and Cld = Claude Haiku 4.5 (DeepSeek-AI, 2025; OpenAI, 2025; Anthropic, 2025). Bold values mark the best SR, AS, and SFR entries. ASC is reported as a non-directional diagnostic. “-” denotes non-applicable metrics: AWM uses textual workflows, so executable-skill metrics are undefined.
DeepSeek-V3.2 remains competitive in overall success (SR = 31.80%), but requires substantially longer trajectories (AS = 11.93), suggesting stronger exploration or recovery at a higher interaction cost. Claude Haiku 4.5 has lower overall success (SR = 27.86%) and more frequent skill failures (SFR = 20.95%), indicating less stable transfer under shifted execution conditions.
The environment columns show a consistent degradation pattern across all three backbones. Clean source-context performance is highest or near-highest for each model, but success decreases under target-context transfer and drops most sharply under execution perturbations. For example, GPT-5 mini decreases from 46.30% on Src to 38.72% on Tgt, and further to 27.14% on Src-Exec and 20.23% on Tgt-Exec. DeepSeek-V3.2 and Claude Haiku 4.5 follow the same qualitative trend, with Tgt-Exec reaching only 16.01% and 9.89%, respectively. Thus, stronger backbones improve the absolute level of transfer, but do not remove the difficulty ordering induced by Contextual Shift, Perceptual Shift, and especially Execution Shift.
The trajectory-cost and skill-failure rows further separate two failure channels. Execution-shift settings increase the interaction burden for all backbones, with AS on Tgt-Exec reaching 14.84 for DeepSeek-V3.2, 10.49 for GPT-5 mini, and 10.25 for Claude Haiku 4.5. Skill failures also become more frequent in the same setting, with SFR reaching 33.78%, 19.77%, and 25.36%, respectively. This indicates that Execution Shift does not only make tasks longer. It also makes selected skills or tool actions less locally executable. GPT-5 mini is comparatively more robust because it combines higher success with lower SFR, rather than relying on longer trajectories.
The method columns reveal additional interactions between backbone capability and skill format. SkillWeaver remains the weakest method under all three backbones, although GPT-5 mini improves its success to 24.99%, compared with 17.12% for DeepSeek-V3.2 and 18.32% for Claude Haiku 4.5. WALT benefits strongly from GPT-5 mini and reaches 40.46% success, but its SFR remains nontrivial at 20.98%, showing that structured tools can still face local executability failures. ASI is competitive with both DeepSeek-V3.2 and GPT-5 mini, but its skill failures are much less frequent with GPT-5 mini (SFR = 13.86%) than with DeepSeek-V3.2 (39.51%) or Claude Haiku 4.5 (30.71%). This suggests that the same executable-skill framework can behave differently depending on the backbone's ability to select, ground, and recover from skill executions.
Finally, skill-call frequency should be interpreted together with success and SFR, rather than as a standalone performance metric. GPT-5 mini and DeepSeek-V3.2 invoke executable skills at similar overall frequencies (ASC = 0.80 and 0.74), but GPT-5 mini achieves higher success and lower SFR, indicating more reliable skill use. Claude Haiku 4.5 has much lower skill-call frequency (ASC = 0.05), but this does not imply stronger robustness. Together with its lower success, it suggests limited effective use of the learned executable-skill interface. Overall, Table 11 supports the main conclusion that stronger LLMs improve absolute transfer performance, while the benchmark's degradation pattern remains stable across backbones.
E.4 Generalization to a Second Skill-Learning Method
MPCR is evaluated in the main paper over ASI's executable skill library. To test whether its benefit depends on that particular skill format, we apply it to AWM, which reuses prompted textual workflows rather than executable skill invocations and for which the executable-skill diagnostics in Table 1 are undefined. The two methods therefore differ in what a “candidate” is: for ASI a skill candidate is a callable action in the extended action space, whereas for AWM the retrieved workflow enters the prompt as guidance and the executable candidates are the primitive actions it recommends. MPCR is attached at the same point in both cases, namely the proposal interface of Section D.3: the proposal stage enumerates the primitive actions suggested by the retrieved workflow together with alternatives from the base executor, and verification, scoring, and reranking then operate unchanged. The workflow library itself remains frozen, exactly as the skill library does for ASI.
| Condition | AWM | AWM + MPCR | Rel. |
|---|---|---|---|
| Src | 32.46 | 41.23 | +27.0% |
| Src-Perc | 31.00 | 40.35 | +30.2% |
| Src-Exec | 13.27 | 20.35 | +53.4% |
| Tgt | 49.11 | 57.02 | +16.1% |
| Tgt-Perc | 32.46 | 39.47 | +21.6% |
| Tgt-Exec | 10.00 | 18.42 | +84.2% |
| Average | 28.05 | 36.14 | +28.8% |
Table 12: Success rate (%) of AWM with and without MPCR on Magento. “Rel.” is the relative gain over the AWM baseline.
Table 12 reports the result on Magento. Two observations follow. First, the gain holds in all six conditions, with no condition in which the reranker degrades the base method. Because AWM's integration mechanism is architecturally different from ASI's, this indicates that feasibility-aware test-time selection is not tied to the executable-skill format. Second, and more informatively, the pressure-dependent pattern reported in Section 5.3 reappears independently: relative gains are largest under Execution Shift, at on Src-Exec and on Tgt-Exec, well above the clean and perceptual conditions. The correspondence in Table 6 therefore predicts where the gain concentrates on a second method whose library it was not derived from, which is stronger evidence for the underlying mechanism than the aggregate improvement alone.
E.5 Stability across Random Seeds
To characterize how much of the MPCR gain is attributable to run-to-run variation, we evaluate MPCR and the fixed-library ASI baseline over three seeds on Magento across all six conditions. The three seeds comprise the run reported in the main paper plus two additional seeds; this is a variance characterization of the reported configuration rather than an independent replication. Since the main tables pool three sites, the absolute values in Table 13 are not comparable to Table 2, and we compare only within this subset.
Cross-seed variation is small for both methods, with per-condition standard deviations at or below 2.32 points, and the mean MPCR success exceeds the mean ASI success in every condition. Pooled over Magento, MPCR improves success by relative to ASI. The gain is therefore stable rather than
| Condition | MPCR | ASI | Rel. |
|---|---|---|---|
| Src | 49.12 ± 2.32 | 43.27 ± 1.34 | +13.5% |
| Src-Perc | 53.80 ± 2.03 | 38.30 ± 1.34 | +40.5% |
| Src-Exec | 29.24 ± 1.34 | 17.54 ± 0.88 | +66.7% |
| Tgt | 41.52 ± 1.34 | 40.06 ± 0.51 | +3.6% |
| Tgt-Perc | 36.84 ± 0.88 | 36.55 ± 1.34 | +0.8% |
| Tgt-Exec | 19.01 ± 0.51 | 17.25 ± 1.01 | +10.2% |
| Mean | 38.26 | 32.16 | +18.9% |
Table 13: Success rate (%), mean ± standard deviation over three seeds on Magento. “Rel.” is the relative gain of MPCR over the ASI baseline.
seed-driven, and the direction and magnitude are consistent with the three-site result reported in the main paper.
The distribution of the gain is as informative as its size. The three largest improvements are all on the source side, and Src-Exec shows the largest relative improvement at , matching the ordering predicted by our local-executability account. The two near-zero cells, Tgt and Tgt-Perc, are equally consistent with it: in those conditions the fixed library already transfers well, so there is little executability mismatch left for test-time selection to recover. Finally, MPCR is not worse than ASI in any condition, so feasibility-aware selection helps where the learned prior loses feasibility and is harmless where the prior remains aligned.
E.6 Robustness to Repeated and Randomized Interruption
The Execution Shift conditions in the main paper use the once injection regime of Appendix B.2.3, under which a dismissed blocker is not reinstated. This subsection asks whether the fixed-library reranking advantage survives more aggressive schedules. We evaluate MPCR and ASI under all three regimes on Magento, in both the source and the target context.
| Regime | Context | MPCR | ASI | Rel. |
|---|---|---|---|---|
| once | Src | 30.70 | 16.96 | +81.0% |
| Tgt | 18.42 | 16.67 | +10.5% | |
| multiple | Src | 20.35 | 17.95 | +13.4% |
| Tgt | 8.77 | 7.86 | +11.6% | |
| random | Src | 30.97 | 26.95 | +14.9% |
| Tgt | 20.18 | 18.18 | +11.0% |
Table 14: Success rate (%) under the three Execution Shift injection regimes on Magento. “Rel.” is the relative gain of MPCR over the ASI baseline.
The comparative conclusion is robust to the schedule. MPCR exceeds ASI in all six regime-context cells, so the advantage is not an artifact of the single-dismissal design: it persists when the blocker returns after every navigation and when its timing is randomized.
Absolute success, by contrast, is clearly sensitive to injection frequency, and in a direction that reinforces the benchmark's framing. The multiple regime is uniformly the hardest, reducing MPCR from to in the source context and from to in the target context, while random is the mildest because probabilistic injection sometimes produces no interruption at all. The once setting used in the main results is thus a conservative instantiation of Execution Shift, and more aggressive schedules strengthen rather than weaken the finding that Execution Shift exerts the strongest pressure among the three modes.
The margin does narrow under the most aggressive schedule, from to in the source context. We read this as a limit of the mechanism rather than as an anomaly. When the blocker is reinstated after every clearance, the environment variation that SWOP measures as is large, and the variation-dependent guarantee of Theorem 4.1 degrades accordingly: transfer-time action selection alone has limited headroom against an obstruction that reappears faster than it can be recovered from. Complementary recovery mechanisms, which act on the interruption rather than only on the choice of action, are a natural direction for future work.
E.7 Comparison with Target-Environment Re-Learning
A natural alternative to test-time adaptation is to relearn the skill library directly in the evolved environment. We evaluate this on Magento by running ASI's induction procedure in Tgt, so that the induced library is matched to the target interface, and then testing that target-native library under Tgt-Perc and Tgt-Exec, against the fixed source library used by ASI and MPCR.
| Method | Tgt-Perc | Tgt-Exec |
|---|---|---|
| ASI (fixed Src library) | 36.84 | 16.67 |
| Re-learned in Tgt | 35.09 | 14.91 |
| MPCR (same fixed library) | 37.72 | 18.42 |
Table 15: Success rate (%) of target-environment re-learning against fixed-library transfer under the two shifted target conditions on Magento.
Re-learning a static library does not address runtime executability mismatch. Under Perceptual Shift the target-native library is the weakest of the three methods (35.09%), and under Execution Shift it falls to 14.91%, below not only MPCR (18.42%) but also the fixed source library it was meant to replace (16.67%). MPCR exceeds it by 7.5% relative under Perceptual Shift and by 23.5% relative under Execution Shift, and the margin widens exactly where local executability is the binding constraint. A modal blocker injected at deployment is a per-episode runtime event, and no library induced before deployment, however well matched to the target interface, can encode a procedure for it.
The comparison is not confounded by the adaptation budget. Re-learning pays its cost once, during induction, and leaves inference unmodified thereafter, so the target-native library is not a compute-starved configuration. Its collapse under Execution Shift therefore reflects the limits of the static-library paradigm rather than an insufficient re-learning budget.
Re-learning in the target environment therefore does not remove the need for test-time adaptation. It requires target rollouts, and the library it yields is still fixed at deployment, so it inherits the same runtime feasibility gap that it was introduced to close. MPCR requires no target training data and recovers exactly the execution-shift loss that a re-learned library leaves open.
E.8 Compute Budget and Infrastructure
All experiments were conducted in self-hosted browser environments, with LLM inference accessed through hosted API services. We evaluate DeepSeek-V3.2, GPT-5 mini, and Claude Haiku 4.5. DeepSeek-V3.2 is an open-weight MoE model with 685B total parameters, while the exact parameter counts of GPT-5 mini and Claude Haiku 4.5 are not publicly disclosed by their providers. Since inference was performed through APIs, we did not use local GPU training or fine-tuning. The local infrastructure was used for browser orchestration, logging, and automatic grading. MPCR used a fixed lightweight reranking configuration with at most 2 candidate actions per step and a top-2 shortlist, without hyperparameter search beyond the candidate-budget sweep reported in Appendix D.8.2.