Skip to content

How complete must an environment be to train a highly capable GUI agent?How Complete Must an Environment Be to Train a Capable GUI Agent?

Hugging Face Daily Papers· arXiv:2611.23946· Jingxing Wang, Teng Wang, Xingyu Lou, Zihan Guo, Jun Wang, Weiwen Liu, Weinan Zhang, Jianghao LinShanghai Jiao Tong University; OPPO Research Institute; Shanghai Innovation InstituteIndexed by this site · 5 days ago· Originally publishedAlignment

Quick read

Evaluation and benchmarks

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

The authors train Qwen3-VL-4B-Instruct in MobileGym with reward, data, and feature coverage reduced respectively; MobileGym-Lite achieves a 55.48% success rate in the complete environment, versus 51.61% for Full.

Questions
Building executable GUI environments is costly, and each work reduces reward, data, or functional coverage, but the impact of these choices on training effectiveness has not been measured separately. The authors study how complete a training environment needs to be.
Methods
In MobileGym, with tasks and native goal checks fixed, single-path rewards, record filtering, and feature pruning are used respectively to train Qwen3-VL-4B-Instruct and uniformly evaluate in the Full environment; further cross-training environments and episode weighting to build MobileGym-Lite.
Experiments and results
Single-path rewards and record filtering both reduce final success rate; F0 feature pruning reaches 56.13%, Full is 51.61%, and the net gain comes from unmodified tasks. Lite reaches 55.48%, and its gain depends on the clipping setting in late training.
Limitations and future work
The authors note that only one base model and one simulator are used, and that reproduction across starting policies and simulators is the next step; removing alternative routes from the transition function remains unstudied. Mechanism experiments use 153 retention instances, and cost measurements cover only ten applications and nine interfaces.
Experimental setupQwen3-VL-4B-Instruct · MobileGym · Success (%)、native goal satisfaction et al.
Evaluated models
Qwen3-VL-4B-Instruct
Benchmarks
MobileGym
Metrics
Success (%)native goal satisfactionsuccesses
AI summaryResearchers examined, dimension by dimension in MobileGym, the impact of environment completeness on GUI agent training, finding that rewards and data coverage must be complete, while functionality can be trimmed. They trained Qwen3-VL-4B-Instruct and evaluated it in the original complete environment; the results showed that a verifier rewarding only one reference path reduced the success rate by 10.53 percentage points, and deleting records not used by the task also lowered the success rate; trimming unused functionality instead raised the success rate from 51.61% to 56.13%, and the improvement came entirely from tasks where the environment was unchanged. This improvement reversed when all episodes were equally weighted, and disappeared when only episodes of the trimmed tasks were balanced; without trimming, length weighting reinforced successful trajectories that took detours, eroding skills on other tasks. Based on this, the authors built MobileGym-Lite, which keeps rewards and data coverage complete and trims useless functionality, exceeding the full version in the complete environment with a success rate of 55.48% versus 51.61%, at lower construction cost.

Researchers examined, dimension by dimension in MobileGym, the impact of environment completeness on GUI agent training, finding that rewards and data coverage must be complete, while functionality can be trimmed. They trained Qwen3-VL-4B-Instruct and evaluated it in the original complete environment; the results showed that a verifier rewarding only one reference path reduced the success rate by 10.53 percentage points, and deleting records not used by the task also lowered the success rate; trimming unused functionality instead raised the success rate from 51.61% to 56.13%, and the improvement came entirely from tasks where the environment was unchanged. This improvement reversed when all episodes were equally weighted, and disappeared when only episodes of the trimmed tasks were balanced; without trimming, length weighting reinforced successful trajectories that took detours, eroding skills on other tasks. Based on this, the authors built MobileGym-Lite, which keeps rewards and data coverage complete and trims useless functionality, exceeding the full version in the complete environment with a success rate of 55.48% versus 51.61%, at lower construction cost.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Measure the training cost of three types of coverage reduction in GUI environments separately, and design a low-cost training environment accordingly.

    The core question is: how complete must an executable GUI training environment be in reward, data, and features to train a capable GUI agent.

    • Research setting: Environments such as WebArena, AndroidWorld, and OSWorld check task completion through interaction, and more and more work uses reinforcement learning or synthetic experience to train agents; the authors state that environment construction is costly, and various works sacrifice some content for batch automation and reduced manual effort.
    • Existing gaps: The authors believe that existing work usually sets environment completeness based on engineering considerations, compares entire construction pipelines, evaluation rules, or data scales, and does not fix the application and task and then separately measure the impact of a single dimension.
    • Core observation: An environment can be viewed as a POMDP, where builders separately write the verifier that defines rewards, the application data that forms the initial state, and the features that determine transitions; reducing different coverage dimensions may have different training consequences.
    • Research approach: In MobileGym, task instructions and native goal checks are fixed, single-path rewards, record filtering, and feature pruning are each applied, Qwen3-VL-4B-Instruct is trained, and all policies are evaluated back in the original Full environment.
    • Output: The authors propose a three-dimensional classification of reward coverage, data coverage, and feature coverage, analyze the interaction between episode length weighting and feature pruning, and build MobileGym-Lite, which retains rewards and data and selectively prunes features.
  2. What related research exists?

    Related work covers GUI training, environment construction, and validation rules; this paper emphasizes controlling variables dimension by dimension after fixing tasks.

    GUI agents and training objectives

    • Executable platforms and online training: WebArena, VisualWebArena, AndroidWorld, OSWorld, etc. evaluate web, Android, and desktop agents through interaction; DigiRL, WebRL, MobileRL, etc. perform device control or GUI reinforcement learning in executable environments.
    • MobileGym: Wu et al. (2026) provide browser-hosted mobile applications, programmable states, and parallel rollouts; this paper uses its editable application logic to adjust the training environment and restores Full for evaluation.
    • GRPO and GSPO: GRPO normalizes rewards within sampled groups, and GSPO uses sequence-level importance ratios and clipping; existing work discusses token length bias in reasoning model optimization, and this paper further studies weighting when an episode contains multiple responses.

    Environment construction, synthesis, and reduction

    • GUI-GENESIS: synthesizes task-specific environments with executable reward assertions and compares them with real applications; the introduction notes that it can implement only the logic required for task interaction, and selection lists can also be filled with only a few options.
    • OS-Genesis and ScaleWoB: the former reverse-generates tasks by exploring existing environments, and the latter jointly generates related tasks so that a synthesized application serves more than one scripted path; ScaleWoB starts from a minimal environment with seed records.
    • Simulated or virtual applications: PhoneBuddy, MAI-Gym, STAMP, etc. replace real applications with LLM-simulated, virtual, or mock applications; studies on data scale and device configuration examine the generalization of UI agents.

    Rewards and completion determination

    • LlamaTouch and MobiBench: the paper states that both show that single-path matching misjudges valid executions, and they accept multiple paths through key states or step-by-step branches, respectively.
    • Goal state verification and offline RL: Agentic Reward Modeling, VeriCUA, GSAR, etc. check goal state anchors or probe the final state; UI-R1's offline RL still rewards agreement with a single annotated action.

    This paper's positioning and comparison

    • Difference in controlled variables: the authors state that existing work compares entire construction pipelines, evaluation rules, or data scales, whereas this paper fixes the application and task and reduces only one coverage dimension at a time, so that results can be attributed to that dimension.
    • Experimental comparisons: training environment comparisons are Full, Path-restricted, R0/R1/R2, F0/F1, and Lite, plus response averaging and episode balancing; evaluation uses the MobileGym research split rather than introducing a new external benchmark.
  3. How does the paper address this problem?

    Fix tasks and reduce the environment dimension by dimension, evaluate uniformly in Full, then use continued-training experiments to analyze the length-weighting mechanism.

    The overall approach is to decompose environment completeness into three independently adjustable dimensions, train the same base model in MobileGym and uniformly return to Full evaluation; then, through cross-continued training with environment pruning and episode weighting, locate the source of the gains from feature pruning.

    Environment formalization and controlled variables

    • The environment is modeled as a POMDP (S,A,T,R,Ω): the state includes application data and interface state, the policy only sees screenshots and outputs GUI actions; tasks consist of instructions, initial states, and native goal checks.
    • Each experimental group adjusts only one dimension while the others remain Full; reductions are allocated by task template, where a template consists of an instruction and an initial-state family, and concrete instances are generated by seeds.
    • All policies ultimately use the original rewards, records, and feature evaluation; mismatches between training and evaluation screens are also counted as a reduction cost.

    Three coverage reduction methods

    • Reward coverage: Path-restricted rewards only trajectories that both satisfy the native goal and match the reference action sequence, rpath(τ,x)=1[Vx(τ)=1] 1[M(τ,cx)=1]; matching includes ordered semantic operations, route, and goal identity, and allows limited motor fallback.
    • Each training template has one reference path; private DOM annotations are used only for matching, and the policy still only sees screenshots. All actions and routes remain executable; only the set of rewarded paths is narrowed.
    • Data coverage: R0, R1, R2 retain protected records and keep at most 0, 1, 2 irrelevant records per audited list, affecting 78 of 192 training templates; protected records cover both branches of conditional instructions, answer-related records, alternative entry points, and shared auxiliary items.
    • Feature coverage: task-specific masks disable omittable feature modules; F0 disables all audited candidate modules, and F1 retains ⌈K/2⌉ of K candidates by stable hash. F0 involves 78 templates and 127 template–module disable items, distributed across Clock, Notes, Calendar, and WeChat.

    Training, evaluation, and mechanism experiments

    • The base model is Qwen3-VL-4B-Instruct; one training run contains 16 outer steps, each step with 12 tasks and 8 rollouts per task, learning rate 10−6, training temperature 0.7, token limit 1024.
    • Evaluation contains 155 templates: 132 ID templates use new instances, and 23 are template-OOD; seeds 42, 43, 44 produce 465 episodes per model, with temperature 0, top-p 0.95, token limit 2048, and a fixed simulator clock.
    • Success requires both native goal satisfaction and valid termination, and goal satisfaction alone is also reported; the main text reports the mean over three seeds at step 16, and Appendix Table S1 gives standard deviations.
    • Mechanism experiments continue steps 13–16 from the same F0 step 12 model and optimizer state, crossing Full/F0 environments with response averaging/episode balancing; the latter weights by wi=C/Ti, changing the episode advantage coefficient from Ti Ai to CAi.
    • Continued training includes 19 affected templates and 29 other templates; the main retention set is 51 templates that were originally unmodified and had been practiced before step 12, totaling 153 instances, which are no longer practiced during continued training, using paired transitions to distinguish retained from newly acquired successes.

    MobileGym-Lite construction

    • Lite retains all 192 training templates, all application records, and native goal rewards, and restores three types of modules starting from F0: world clock, Calendar settings, and WeChat profile editing.
    • Restoration involves 36 templates, of which 6 no longer have features disabled after restoration; the final Lite disables 87 template–module pairs across 72 templates and retains adjacent navigation and shared operations.
    • In late training, the GSPO importance ratio clipping offset is changed from 0.2/0.28 to 0.002/0.0028; Lite uses W→N8 switched after step 8, while the remaining main-text runs use W throughout.
  4. What experiments did the paper conduct?

    Unified Full evaluation shows that reward and data reduction are harmed while feature pruning benefits; continued-training experiments test its weighting mechanism.

    Experimental setup

    • Model under test: Only Qwen3-VL-4B-Instruct is trained and evaluated; Base is the untrained starting point. Codex is used to rebuild ten MobileGym applications to estimate construction token consumption and is not the GUI policy under test.
    • Task scale: 192 training templates and 155 evaluation templates; the latter include 132 ID and 23 template-OOD templates, and each model is evaluated on 465 episodes in the Full environment.
    • Environment controls: Full, Path-restricted, R0/R1/R2, F0/F1, Lite; the feature experiments additionally include W and W→N8 pruning plans, and the mechanistic experiments cross two environments with two episode weightings.
    • Metrics: Success requires the native goal to be satisfied and valid termination, reported as a percentage or as the number of successes over a denominator of 465; the mechanistic experiments additionally report native goal satisfaction, retained/new successes, and loops.
    • Repeats and determination: Seeds 42, 43, 44, with the main text taking the step 16 mean; goal checks are executable native checks. The appendix states that the full 2325-episode mechanistic evaluation had no execution or determination errors and did not use an LLM judge.
    • Groups: The F0 mask divides the evaluation into 61 affected, 71 unmodified ID, and 23 OOD templates, corresponding to 183, 213, and 69 instances; the main retention set is 153 instances.

    Main results

    According to Table 1, Table 2, Table 3, and Table 7; all are Full-environment step 16 results, Lite uses W→N8, and the rest use W.

    Swipe horizontally to read the table

    Training conditionAltered dimensionSuccess rateSuccesses/465
    BaseUntrained38.71%180
    FullNo reduction51.61%240
    Path-restrictedReward coverage41.08%191
    R0At most 0 irrelevant records per list47.96%223
    R1At most 1 irrelevant record per list47.31%220
    R2At most 2 irrelevant records per list49.68%231
    F0Disable all reviewed candidate features56.13%261
    LiteSelective feature pruning, W→N855.48%258
    • Reward reduction: Path-restricted is 10.53 percentage points lower than Full; in the in-group example given by the authors, six valid edit-sheet successes receive negative advantage for not matching the reference path, which they take to mean that narrow rewards penalize valid alternatives.
    • Data reduction: The three filters are 45.59%, 46.88%, and 48.82% at step 8, higher than Full's 43.44%, but all are lower than Full at step 16; the loss is on seen templates, with 38–43 successes on unseen versus 42 for Full.
    • Feature reduction: F0 has 21 more successes than Full; the affected group is 96 versus 97, the unmodified group is 128 versus 101, and the OOD group is 37 versus 42, so the net gain comes entirely from unmodified tasks. F1 is 52.04% at step 16, and its success counts at steps 8, 12, and 16 are 224, 192, and 242.

    Crossed continued training of environment and episode weighting

    • What was tested: Four branches continue training from the same F0 step 12 checkpoint, comparing 153 retention instances; according to Table 4, under response averaging Full/F0 is 62/80, and under episode balancing it is 80/70.
    • Interaction result: The F0−Full gap changes from +11.76 percentage points to −6.54 percentage points, an interaction of +18.30 percentage points; the authors state that all three seeds are positive, and the interaction for native goal satisfaction is +18.95 percentage points.
    • Retained and new successes: According to Table S9, under response averaging Full retains 57 initial successes and adds 5, while F0 retains 66 and adds 14; of the 24 initial successes Full loses, 21 end in a loop, while F0 has 15 losses and 7 loops.

    Weighted ablations by sign and task scope

    • By advantage sign: According to Table 5, when only negative advantages are balanced Full/F0 is 66/80, and when only positive advantages are balanced it is 64/81, with F0−Full still at +14 and +17 successes respectively.
    • Balancing only affected templates: When both signs are balanced only for the 19 affected templates, Full/F0 is 79/80, narrowing the gap to +1; the authors thereby locate Full's retention loss to length weighting on these tasks.
    • Reverse split: When only the 29 other templates are balanced, it is 64/71, a gap of +7; the authors state that F0's decline under full balancing comes from the other templates, which differs from the explanation for F0's original gain.

    Lite, stability, and construction cost

    • Lite group gains: According to Table S5, Full/F0/Lite is 97/96/98 in the affected group, 101/128/113 in the unmodified group, and 42/37/47 in the OOD group; Lite is higher than Full in all three groups, while F0 is lower in the affected and OOD groups.
    • Late-stage instability: The authors report that all reduced environments show increased loops and format errors in later stages; R0's loops rise from 111 at step 8 to 135 at step 16, R1's format errors rise from 12 to 175, and Full's loops fall from 117 to 109.
    • Narrow pruning control: According to Table 6, after step 8, W→N changes Full's success count from 240 to 238, F0 from 261 to 262, and Lite from 250 to 258; Lite therefore adopts W→N8, and the authors do not describe this adjustment as equally beneficial for Full.
    • Construction overhead: Lite reduces the required application source lines by an average of 14.05% across the 72 pruned templates; Codex rebuilds ten applications in both full and pruned styles, and the authors state that the pruned version uses about 33% fewer tokens. The visible control nodes for the nine fixed interfaces are 126/113/117 for Full/F0/Lite.

    Other ablations and analyses

    • Response-averaged continued training of F0 and Full succeeds on 141/384 and 142/384 training episodes respectively, but the GUI responses are 4196 and 3997 (Table S10).
    • For affected tail templates, the positive-advantage length-weighted exposure for Full/F0 is 386.2/320.3, and the negative exposure magnitude is 416.3/500.8 (Appendix E.3).
    • Fixed-policy crossed Full/F0 evaluation contexts total 876 episodes, and the context-adaptation interaction on affected tasks is −3.83 percentage points (Appendix F.1).
    • In source-only transfer, F0/Full is 73/81 successes before target practice and 89/95 after continued source training, with Full leading in both (Appendix F.2).
    • The two paired cases in Appendix G point in opposite directions: in one case response-averaged F0 succeeds, and the other reaches the 30-step limit; the authors use this to illustrate that retention gains vary by task.
  5. What are some points that can be further explored?

    The authors leave two directions: reproduction across models and simulators, and removing alternative routes; the experiments also have explicit coverage boundaries.

    Limitations and future directions noted by the authors

    • Alternative routes not yet removed: the reward coverage experiments only narrow the set of rewarded trajectories and retain the transition T; the authors write in Section 7 that removing alternative routes from T while keeping all tasks solvable remains for future study.
    • Model and simulator reproduction: Section 7 explicitly states that the study uses one base model and one simulator, and that reproduction across starting policies and simulators is the next step.
    • Pruning must be judged together with the objective: Section 7 proposes that the gain from feature pruning depends on episode weighting, so pruned environments should be evaluated together with their training objective; multi-task environments should also examine capability retention on other tasks.

    Experimental coverage

    • The only base model tested is Qwen3-VL-4B-Instruct, and the environment is MobileGym; training uses 192 templates, and Full evaluation uses 155 templates, three seeds, and 465 episodes per model (Section 3.3, Appendix A).
    • Feature reduction covers four application categories: Clock, Notes, Calendar, and WeChat; F0 has 78 templates and 127 disable items, and Lite has 72 templates and 87 disable items (Sections 3.2, 6.2).
    • The main mechanism experiments use 153 retention instances and continued training at steps 13–16; source-only transfer totals 1410 evaluation episodes, and context-crossing experiments total 876 episodes (Section 5.2, Appendices E, F).
    • Construction cost measurements include ten applications rebuilt by Codex, source-line statistics for 72 templates, and control-node statistics for nine fixed interfaces; the paper does not report reconstruction time or raw token counts (Section 6.2, Appendix D).
    • Main results report the mean over three seeds, and Table S1 lists only the step 16 standard deviations for Full, Lite, and F0; the paper does not report statistical significance tests for these environment differences.
  6. Summarize the main content of the paper

    The impact of environment completeness depends on the reduction dimension; Lite achieves a 55.48% Full-environment success rate through selective pruning.

    This is a controlled-variable study on constructing GUI agent training environments: in MobileGym, tasks and native goal checks are fixed, reward, data, and feature coverage are each reduced, Qwen3-VL-4B-Instruct is trained, and all are evaluated uniformly in the full environment.

    • Problem and classification: The authors classify construction choices into reward, data, and feature coverage, focusing on what is lost when environments are trimmed to reduce cost, rather than comparing entire environment-generation pipelines.
    • Reward and data: Path-restricted rewards only one reference path and achieves a 41.08% success rate on 465 Full evaluation instances, versus 51.61% for Full; R0/R1/R2 are 47.96%, 47.31%, and 49.68% respectively, all ultimately lower than Full (Table 1, 2).
    • Feature pruning: F0 reaches 56.13%, 4.52 percentage points higher than Full; its 21 additional successes relative to Full come from unmodified tasks, while the affected and OOD groups have 1 and 5 fewer successes respectively (Table 3, Table S5).
    • Mechanistic evidence: When continuing training from a common checkpoint, under response averaging F0/Full is 80/62 on 153 retention instances, and under episode balancing it is 70/80; the interaction between environment and weighting is 18.30 percentage points, from which the authors conclude that the gain is related to length weighting on pruned tasks and capability retention.
    • Construction result: MobileGym-Lite retains all records and native goal rewards, disables 87 feature pairs across 72 templates, and adopts W→N8; step 16 success rate is 55.48%, versus 51.61% for Full, higher than Full in all three evaluation groups (Table 7, S5).
    • Authors' conclusion: Reducing reward coverage discards valid learning signals, filtering records incurs a cost when full records are restored, and selectively deleting unneeded features may reduce detours; the authors also note that the conclusions still need to be reproduced across starting policies and simulators.
Read originalhuggingface.co