GUI-Libra: Data-Efficient Post-Training for Reliable Reasoning-and-Acting in Native GUI Agents

Rui Yang, Qianhui Wu, Zhaoyang Wang, Hanyang Chen, Ke Yang, Hao Cheng, Huaxiu Yao, Baolin Peng, Huan Zhang, Jianfeng Gao, Tong ZhangNeurIPS 2026

TL;DR

Training AI agents to navigate graphical user interfaces (GUIs) using standard language-model playbooks hits a frustrating paradox: making them think harder degrades their aim, and optimizing them on static datasets doesn't mean they'll survive in the wild. GUI-Libra introduces a tailored post-training recipe that balances reasoning with precise clicking and adapts reinforcement learning for ambiguous, multi-path environments. Without collecting a single new interactive trajectory, small open-source models trained with this method rival or beat much larger, multi-module agent systems.

What Problem Does This Paper Address?

Imagine teaching an AI to book a flight on your phone. "Native" GUI agents use a single vision-language model (VLM) to look at a screen and output exact actions—like clicking (x, y) coordinates. While open-source models are getting good at single clicks, they stumble on long, multi-step tasks compared to closed-source giants.

Why? Because researchers have been copy-pasting post-training recipes built for math and coding directly onto GUIs, ignoring two domain-specific traps:

  1. Thinking hurts aiming (Grounding Degradation): Training models with long Chain-of-Thought (CoT) reasoning helps them plan, but all those extra "thought" tokens drown out the loss signal for the actual action, ruining their ability to accurately click UI elements ("grounding").
  2. The "One Right Answer" Illusion (Partial Verifiability): In math, 2 + 2 has one verifiable answer. On a website, you might click a search icon, press Enter, or tap a dropdown—all valid moves. Offline datasets only record one human demonstration. Standard reinforcement learning treats every valid alternative as a failure, confusing the model and causing high offline scores to flop in live, online environments.
Figure 1: Overview of GUI-Libra. Using existing open-source GUI trajectories, we tackle key limitations of prior training pipelines through action-aligned reasoning data curation, action-aware SFT, and conservative RL, yielding consistent gains on online benchmarks.

Methods

GUI-Libra fixes the post-training pipeline in two distinct stages, moving beyond standard Supervised Fine-Tuning (SFT) and Group Relative Policy Optimization (GRPO):

  • Action-Aware Supervised Fine-Tuning (ASFT): Instead of standard SFT where every token is weighted equally, ASFT mixes two types of training examples: reasoning-then-action and direct-action (no CoT). Crucially, it applies token-level reweighting, cranking up the loss multiplier specifically on action tokens (like click or typed text) and spatial grounding tokens (point_2d coordinates) so long reasoning chains don't wash out spatial precision.
  • Conservative RL with SNGS: While recent RL pipelines often drop KL-divergence regularization (which keeps a model from drifting too far from its starting point) to maximize performance, GUI-Libra brings a moderate KL penalty back to prevent distribution shift across multi-step tasks. It also introduces Success-Adaptive Negative Gradient Scaling (SNGS). Because a zero reward might secretly be a valid alternative action, SNGS scales down the penalty for "wrong" answers—especially early on when the model's group success rate on a given state is low—while keeping positive rewards at full strength.

Datasets

Rather than running expensive live simulations, the authors curate GUI-Libra-81K by augmenting existing public datasets (like AGUVIS) using GPT-4.1 to generate rich, structured reasoning (~210 thought tokens per step, compared to <100 in prior sets) and strictly filtering out mismatched actions and coordinates. A balanced 40K subset is used for RL.

For offline evaluation, they refine existing benchmarks into cleaner versions—AndroidControl-v2 and MM-Mind2Web-v2—and test pure grounding on ScreenSpot-v2. For online (live) evaluation, they test on AndroidWorld, WebArena-Lite-v2, and Online-Mind2Web.

Key Insights and Ideas

  • Verbosity is the enemy of precision: Plotting response length against clicking accuracy reveals a steep drop-off once reasoning exceeds ~250 tokens. Fixing how the loss weights action tokens solves this without lobotomizing the model's planning ability.
Longer reasoning responses severely degrade grounding accuracy under standard SFT.
  • KL regularization restores offline-to-online predictability: Without a KL penalty during RL, training rewards go up while policy entropy collapses and live performance tanks. Adding a tiny KL leash (0.001) boosts the Pearson correlation between offline step accuracy and online task completion from 0.63 to 0.89—meaning offline benchmarks actually become trustworthy again.
  • RL heals the reasoning-grounding gap: Even after ASFT, models click slightly worse when prompted to reason out loud versus acting directly. Conservative RL closes this gap completely, aligning long thoughts with sharp execution.

Key Results

Built on Qwen2.5-VL (3B/7B) and Qwen3-VL (4B/8B) backbones, GUI-Libra punches well above its weight class:

  • AndroidWorld (Mobile): GUI-Libra-4B and 8B both reach 42.6% task success (up +15.6% and +12.2% over their base models), outperforming native Qwen3-VL-32B (34.8%) and matching multi-module frameworks like GPT-4o + UGround (42.6%). Meanwhile, the tiny 3B model leaps from 3.5% to 25.2%.
  • Online-Mind2Web (Live Websites): GUI-Libra-8B hits an average score of 28.0% (+8.7% over base), beating all other open-source native models including ScaleCUA-32B (23.5%).
  • WebArena-Lite-v2: The 4B and 8B models improve over their base models by +12.5% and +11.3%, respectively.

Limitations and Future Work

GUI-Libra softens the blow of ambiguous rewards rather than solving them outright—it still relies on single-demonstration offline data and cannot explicitly identify which alternative actions are valid (the authors note in an appendix that trying to use a learned AI judge instead led to reward hacking). Additionally, the theoretical guarantees assume ideal population coverage while training uses finite static data. Future work points toward blending in continual online interaction and building smarter, step-level verifiers.

Summary updated

Abstract

Open-source native GUI agents still lag behind closed-source systems on long-horizon tasks. One reason is the direct reuse of generic post-training pipelines that ignore GUI-specific failure modes: standard supervised fine-tuning (SFT) with long chain-of-thought (CoT) reasoning often degrades grounding, and stronger offline optimization in RL does not necessarily translate to better online performance. This offline-to-online mismatch arises in part from partial verifiability: multiple actions may validly advance a task, but supervision typically marks only one demonstrated action as correct, creating reward ambiguity. We present GUI-Libra, a data-efficient post-training recipe for reliable reasoning-and-acting in native GUI agents. GUI-Libra combines a construction and filtering pipeline for a curated 81K GUI reasoning dataset, action-aware supervised fine-tuning that mixes reasoning-then-action and direct-action supervision with action-aware token reweighting, and KL-constrained RL with success-adaptive scaling to improve offline-to-online predictability under ambiguous rewards. Across web and mobile benchmarks, GUI-Libra consistently improves both step-wise accuracy and end-to-end task completion. GUI-Libra-4B and GUI-Libra-8B improve their base models by +15.6\% and +12.2\% on AndroidWorld, +4.0\% and +8.7\% on Online-Mind2Web, and +12.5\% and +11.3\% on WebArena-Lite-v2. These results show that careful reasoning data curation and tailored post-training can substantially improve long-horizon task solving without costly online data collection. We release our dataset, code, and models to support future research.
BibTeX
@inproceedings{yang2026gui,
  author = {Rui Yang and Qianhui Wu and Zhaoyang Wang and Hanyang Chen and Ke Yang and Hao Cheng and Huaxiu Yao and Baolin Peng and Huan Zhang and Jianfeng Gao and Tong Zhang},
  title = {{GUI-Libra: Data-Efficient Post-Training for Reliable Reasoning-and-Acting in Native GUI Agents}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=JFNpUWpOmR},
}
Figure