The Next Screenshot Knows: Gated Hindsight Distillation for Mobile GUI Agents

Weiwei Li, Junzhuo Liu, Tong Chu, Hengfu Yu, Wen Li
8/6/2026
cs.CV
distillation

No confident code implementation found for this paper.

Abstract

GUI agents are commonly trained offline from successful interaction trajectories. Standard training decomposes each trajectory into prefix-action pairs: the agent predicts an action from the current screen and interaction history, while the subsequent observation is discarded.

Show full abstract

This removes the rationale of why an action is correct: the evidence often appears only on the subsequent screen. For example, to enable Soft Wrap, the agent should click Edit or View, but nothing reveals this until the menu opens. Without such evidence, standard imitation gives the model little chance of ever sampling and thus learning the correct reasoning. To address this issue, we propose Gated Hindsight Distillation (GHD), which uses the next screenshot as privileged information during training. A student predicts from the observable trajectory prefix, while a parameter-sharing teacher additionally observes the next screenshot and re-scores the student's on-policy responses. We apply distillation only when the student fails and the hindsight-conditioned teacher recovers the demonstrated action. GHD improves task success over GRPO on AndroidWorld and AndroidLab across two vision-language models. The code and checkpoints will be made available.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026next,
  title  = {The Next Screenshot Knows: Gated Hindsight Distillation for Mobile GUI Agents},
  author = {Weiwei Li and Junzhuo Liu and Tong Chu and Hengfu Yu and Wen Li},
  year   = {2026},
  eprint = {2608.06065},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.06065v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.06065.svg)](https://codeofpaper.com/paper/2608.06065)

Discussion