Command Palette
Search for a command to run...
UI-MOPD: GUIエージェントの継続学習のためのマルチプラットフォーム・オンポリシー蒸留
UI-MOPD: GUIエージェントの継続学習のためのマルチプラットフォーム・オンポリシー蒸留
概要
近年のマルチモーダル基盤モデルとエージェントシステムの進歩により、GUIエージェントは単一プラットフォームのタスク実行からクロスプラットフォームインタラクションへと発展している。しかし、マルチプラットフォームGUIエージェントの構築は依然として困難である。一方で、高品質で実行可能なクロスプラットフォームインタラクション軌跡は依然として不足しており、既存のデータはプラットフォームのカバレッジが限られていることが多い。他方で、異なるプラットフォームは異なるインタラクションの慣習を示すため、統合学習や継続学習では行動パターンの混合、プラットフォーム固有の能力低下、破滅的忘却が生じやすい。これらの課題に対処するため、我々は高品質なクロスプラットフォームGUIインタラクションデータセットUni-GUIを構築し、GUIエージェントの継続学習にマルチティーチャー・オンポリシー蒸留を導入する初の手法UI-MOPDを提案する。UI-MOPDは、現在の環境に応じてプラットフォーム固有の教師を動的に選択し、プラットフォーム条件付き蒸留を通じてプラットフォーム固有の行動事前知識を共有ポリシーに転移することで、既存プラットフォームの能力を保持しつつ新規プラットフォームへの適応を可能にする。OSWorldとMobileWorldでの実験により、UI-MOPDはそれぞれ38.2%と12.0%のタスク成功率を達成し、クロスプラットフォーム能力の保持と新規プラットフォーム適応のバランスにおける有効性が示された。
One-sentence Summary
Researchers from Tsinghua University, Xiaomi, et al. construct the Uni-GUI cross-platform GUI interaction dataset and propose UI-MOPD, the first method that uses multi-teacher on-policy distillation to continually learn GUI agents, dynamically selecting platform-specific teachers to transfer behavioral priors to a shared policy, thereby enabling adaptation to new platforms while preserving existing capabilities, and achieving 38.2% and 12.0% task success rates on OSWorld and MobileWorld, respectively.
Key Contributions
- Constructs Uni-GUI, a high-quality cross-platform GUI interaction dataset providing executable trajectories across desktop and mobile environments, establishing a data foundation for multi-platform agent training.
- Proposes UI-MOPD, the first method to introduce multi-teacher on-policy distillation into continual learning for GUI agents, dynamically routing rollouts to platform-specific teachers and using platform-conditioned distillation to transfer behavioral priors to a shared policy, enabling adaptation to new platforms while preserving existing capabilities.
- Experiments on OSWorld and MobileWorld show UI-MOPD achieves task success rates of 38.2% and 12.0%, respectively, substantially outperforming baselines such as model merging and distillation from static offline trajectories, and demonstrating effective balance between cross-platform capability retention and new-platform adaptation.
Introduction
The authors address the challenge of building GUI agents that can operate across heterogeneous platforms such as desktop and mobile while retaining the distinct interaction conventions of each. Real-world tasks often span multiple interface types, but prior work treats cross-platform learning as a simple aggregation of mixed training data, which risks averaging out platform-specific behaviors and causing catastrophic forgetting in continual learning settings. High-quality cross-platform trajectories are scarce, and directly combining conflicting action semantics (e.g., closing a window versus pressing a back button) degrades agent performance. To overcome these limitations, the authors introduce Uni-GUI, a carefully filtered dataset of roughly 10,000 high-quality cross-platform trajectories collected through a unified data harness. They then propose UI-MOPD, the first method to apply multi-teacher on-policy distillation to GUI agent training. By dynamically routing rollouts to platform-specific teachers, UI-MOPD provides stable behavioral anchors that preserve native interaction patterns while allowing a shared policy to adapt to new platforms, achieving substantial gains on both OSWorld and MobileWorld without sacrificing previously learned capabilities.
Method
The authors propose UI-MOPD, a two-stage training pipeline that produces a single, unified GUI agent capable of operating across desktop and mobile platforms while retaining each platform’s distinct interaction patterns. The first stage leverages supervised fine‑tuning (SFT) of a vision‑language foundation model on high‑quality trajectories from each platform. This yields two separate expert teachers: a desktop teacher πrefd and a mobile teacher πrefm. In the second stage, a multi‑teacher on‑policy distillation (MOPD) procedure integrates the specialized knowledge of both teachers into a shared student policy πθ through online reinforcement learning.
The core of MOPD lies in formulating multi‑teacher knowledge transfer as a conditional behavioral constraint during online policy optimization. Instead of merging model weights or distilling from static offline data, the student policy πθ generates rollouts from its current policy, and teacher supervision is only applied to the states actually visited by the student. This concentrates the distillation signal on the student’s own decision distribution, making it better aligned with the student’s current errors. Teacher supervision is routed by platform: each rollout is paired with its corresponding platform‑specific teacher, and the resulting KL penalty acts as a platform‑conditioned behavioral anchor.
The per‑token on‑policy KL divergence between the student and the routed teacher is defined as
DKL(t,i)=DKL(πθ(⋅∣ht(i))∥πref(i)(⋅∣ht(i))),
where ht(i) is the decoding state at token t for sample i. To avoid computing the full KL over the entire vocabulary, the method employs the K3 estimator, which requires only the student and teacher log‑probabilities of the sampled token. Defining
δt(i)=logπref(i)(yt∣ht(i))−logπθ(yt∣ht(i)),ρt(i)=exp(δt(i)),
the token‑level estimate is
D^KL(t,i)=ρt(i)−δt(i)−1.
This estimator is nonnegative, unbiased under samples from πθ, and empirically exhibits lower variance than direct log‑ratio approaches. The mini‑batch MOPD loss aggregates these token‑level estimates, weighted by an adaptive mask:
LMOPD(θ)=∑i∈B∑tmt(i)μ(i)∑i∈B∑tmt(i)μ(i)D^KL(t,i).
Here mt(i) indicates the token’s loss mask (e.g., masking out padding or system tokens), and μ(i) is a group‑level adaptive mask that disables the KL penalty when the average reward of a prompt group already exceeds a threshold τKL. This adaptive masking prevents the teacher constraint from stifling exploration when task feedback is already strong, while preserving behavioral guidance on low‑reward rollouts.
Platform‑conditioned teacher routing is implemented by assigning each rollout to its platform‑specific teacher based on a data source label si recorded during construction:
πref(i)={πrefm,πrefd,si∈Smobile,si∈Sdesktop.
The student itself remains a single shared policy, and no additional models or agents are required at inference time. During each RL update, the student samples rollouts from mixed‑platform prompts, the mini‑batch is partitioned by platform, teacher log‑probabilities are computed, and the per‑platform signals are merged back to compute the final loss. This design ensures that desktop‑specific behaviors (mouse, keyboard, window switching) and mobile‑specific behaviors (tap, swipe, navigation) are preserved as distinct anchors within the shared parameter space.
The reward signal is a structured outcome reward computed from the agent’s action output, which is a JSON containing action type, coordinates, text, and other typed fields. For each action type, a set of required dimensions is defined (e.g., action type correctness, coordinate containment in a target bounding box, scroll direction, key set equality, case‑insensitive text matching). The fraction of matched dimensions fa determines the reward:
R(x,y)=⎩⎨⎧1.0,−0.5,−1.0,fa=1,0≤fa<1,unparsable or invalid action.
The intermediate penalty distinguishes partially valid but incorrect actions from completely invalid outputs, preserving a meaningful reward gap for advantage estimation.
The final training objective combines clipped policy optimization with the platform‑conditioned MOPD penalty. For each sample i, the token‑level advantage is computed from the structured reward using a group‑relative baseline:
At(i)=R(x(i),y(i))−∣g(i)∣1∑k∈g(i)R(x(k),y(k)),
where g(i) is the prompt group. Let rt(θ)=πθold(yt∣ht)πθ(yt∣ht) be the policy ratio. The per‑token clipped surrogate loss is
ℓPG(t)(θ)=min(rt(θ)At,clip(rt(θ),1−ϵlow,1+ϵhigh)At).
The overall objective maximized for a platform‑p rollout is
J(θ)=Ep,x,y∼πθ[∑tmt(ℓPG(t)(θ)−βμD^KL(t,p))],
where β controls the distillation strength. Equivalently, the loss minimized is
L(θ)=LPG(θ)+βLMOPD(θ).
This joint objective drives the policy toward higher task success through online RL while the routed teacher penalty anchors platform‑specific interaction patterns, preventing the shared policy from collapsing into a generic average behavior.
Experiment
The evaluation setup includes interactive desktop tasks on OSWorld, mobile tasks on MobileWorld, and static GUI grounding benchmarks to assess a single student agent trained with platform-conditioned distillation. Comparisons with mixed supervised fine-tuning and static model merging reveal that directly mixing heterogeneous supervision fails to improve both platforms consistently. UI-MOPD achieves balanced cross-platform performance by routing platform-specific teacher signals during online policy optimization, transferring expertise without sacrificing general GUI grounding ability.
UI-MOPD achieves the best balanced cross-platform performance, reaching 38.2% on OSWorld and 12.0% on MobileWorld. General vision-language models and specialized GUI agents show significant trade-offs between the two platforms, while integration strategies like mixed fine-tuning and static model merging fail to consistently improve both. UI-MOPD reaches 38.2% on OSWorld and 12.0% on MobileWorld, offering the best cross-platform balance among all compared methods. Single-platform GUI agents often sacrifice one domain for the other: GELab-Zero-4B scores 10.9% on MobileWorld but 31.9% on OSWorld, whereas GUI-Owl-7B reaches 34.9% on OSWorld but drops to 4.5% on MobileWorld.
Platform-specific fine-tuning of an 8B student on a single environment creates unbalanced transfer, improving one platform's performance while degrading the other. UI-MOPD trains the same student with platform-conditioned distillation from desktop and mobile teachers, yielding simultaneous gains of 4.3 points on OSWorld and 4.3 points on MobileWorld over the original 8B model. The resulting 8B student even surpasses the 32B base model on MobileWorld, showing that cross-platform transfer is not simply a matter of model scale. Fine-tuning the 8B model on OSWorld alone raises desktop success to 35.8% but zeroes out MobileWorld performance, while mobile-only fine-tuning reaches 12.8% on MobileWorld but does not match UI-MOPD's desktop improvement. UI-MOPD improves the 8B student on both platforms simultaneously, achieving 38.2% on OSWorld and 12.0% on MobileWorld, outperforming the 32B base model on MobileWorld despite using a smaller student. Platform-conditioned behavioral anchors in UI-MOPD prevent heterogeneous interaction signals from collapsing into a single averaged constraint, preserving platform-specific interaction patterns while boosting task success.
UI-MOPD improves mobile GUI task success on AndroidControl over the base Qwen3-VL-8B-Thinking model, while static parameter merging causes a notable drop. On grounding benchmarks, UI-MOPD closely preserves the base model's performance, whereas model merging leads to clear declines across all three datasets, indicating that the proposed optimization is less destructive to static GUI understanding. UI-MOPD achieves the highest AndroidControl accuracy (80.05%), outperforming both the base model and the TIES-merging checkpoint. Model merging reduces grounding performance substantially (e.g., ScreenSpot-Pro drops from 43.71% to 37.13%), while UI-MOPD maintains near-base scores across all grounding datasets.
The evaluation across OSWorld, MobileWorld, AndroidControl, and grounding benchmarks compares UI-MOPD’s platform-conditioned distillation against single-platform fine-tuning, model merging, and various GUI agents. UI-MOPD simultaneously improves an 8B student on both desktop and mobile tasks while preserving grounding accuracy, whereas alternative strategies create trade-offs or degrade performance. The results confirm that platform-conditioned behavioral anchors prevent heterogeneous interaction signals from collapsing, enabling effective cross-platform transfer without sacrificing static understanding.