TL;DR
GUI-Libra is a new post-training framework that significantly boosts the performance of open-source native GUI agents on complex, multi-step tasks. By introducing action-aware supervised fine-tuning (SFT) and a conservative reinforcement learning (RL) recipe, it resolves the hidden friction between high-level reasoning and precise visual grounding, allowing smaller open-source models to match or outperform proprietary systems.
What Problem Does This Paper Address?
Native GUI agents are AI systems designed to look at screenshots and directly execute actions (like clicks, scrolls, or typing) to accomplish user goals across web and mobile platforms. While open-source agents have gotten quite good at basic visual grounding, they still struggle with long-horizon tasks that require complex planning.
When researchers try to fix this by applying standard LLM post-training techniques, they hit two major roadblocks:
- The Reasoning-Grounding Tension: Teaching a model to generate long Chain-of-Thought (CoT) rationales often degrades its visual grounding accuracy. The verbose text tokens dominate the training loss, causing the model to lose track of precise pixel coordinates.
- Partial Verifiability in RL: In GUI environments, multiple different actions can be completely correct at any given step. However, standard offline RL training pipelines only verify actions against a single demonstrated path. This creates massive reward ambiguity—valid alternative actions are mistakenly penalized as failures, destabilizing training and making offline metrics poor predictors of actual online success.
Methods
The authors introduce GUI-Libra, a unified post-training framework consisting of two main stages designed to tackle these exact bottlenecks.
1. Action-Aware Supervised Fine-Tuning (ASFT)
To stop long reasoning chains from ruining grounding, ASFT uses two tricks:
- Mixed Supervision: The model is trained on a blend of data—some samples include explicit reasoning traces (
reasoning-then-action), while others skip straight to the action (direct-action). - Token-Level Reweighting: The loss function is modified to assign higher weights to action and grounding tokens (like coordinates) compared to the verbose reasoning tokens. This ensures the model prioritizes execution accuracy.
2. Conservative Reinforcement Learning
To stabilize RL under partially verifiable rewards, GUI-Libra implements a conservative variant of Group Relative Policy Optimization (GRPO):
- KL Trust Region: Contrary to recent trends in mathematical/code RL where KL regularization is often dropped, the authors prove theoretically and empirically that moderate KL regularization is essential for GUI agents to prevent policy drift and maintain offline-to-online predictability.
- Success-Adaptive Negative Gradient Scaling (SNGS): Since negative feedback is highly ambiguous (an action might be valid but uncredited), SNGS dynamically downweights negative gradients based on how confident the current policy group is. If a group has a low success rate, the negative updates are scaled back to avoid over-penalizing valid alternative strategies.
Datasets
The authors developed an automated pipeline to curate GUI-Libra-81K, a high-quality dataset featuring 81,000 steps across 9,000 trajectories. It augments existing open-source data with detailed, structured reasoning traces generated by GPT-4.1 and filters out coordinate mismatches using a bounding-box verification step.
For evaluation, the paper utilizes:
- Offline Benchmarks: AndroidControl-v2 and Multimodal-Mind2Web-v2 (both refined by the authors to fix prior annotation errors).
- Online Benchmarks: AndroidWorld, WebArena-Lite-v2, and Online-Mind2Web (tested on live, dynamic websites).
Key Insights and Ideas
- Longer Thoughts, Worse Clicks: The paper provides clear empirical evidence that as response length increases, grounding accuracy drops sharply for standard SFT models. Long-form semantic reasoning actively interferes with spatial execution.
- The Necessity of KL in GUI RL: In single-step or fully verifiable environments (like math), dropping KL penalties works fine. But in multi-step GUI navigation, omitting KL regularization leads to severe reward hacking and premature policy collapse.
- Grounding vs. Navigation Trade-off: Mixing direct grounding data (pure coordinate training) into RL improves visual localization but actually hurts end-to-end navigation performance. Pure grounding data introduces competing optimization pressures that weaken the agent's high-level decision-making capabilities.
Key Results
GUI-Libra consistently delivers massive performance gains across the board, demonstrating that smart post-training can substitute for expensive online data collection.
- AndroidWorld (Online): GUI-Libra-4B and GUI-Libra-8B improved their base models by +15.6% and +12.2% respectively, achieving a 42.6% success rate. This matches or outperforms proprietary systems like GPT-4o paired with external grounding modules.
- WebArena-Lite-v2 (Online Web): Performance jumped by +12.5% (for the 4B model) and +11.3% (for the 8B model).
- Online-Mind2Web (Live Web): Outperformed larger native models (including 32B and 72B variants) despite operating at a fraction of the parameter size.
Limitations and Future Work
While GUI-Libra maximizes the utility of static, open-source trajectory data, it does not yet explore fully online, interactive training where an agent learns continuously from live environment feedback. Additionally, the curated dataset exhibits a domain imbalance: roughly 85% of the SFT data comes from mobile environments, leaving web-domain scaling as an open and promising direction for future research.
Summary updated