Right Screen, Wrong Transition: World Models as Verifiers for GUI Agents
Jiaming Zhang, Xuan Wang, Fuyao Zhang, Yang Cao, Lingjuan Lyu, Wei Yang Bryan Lim
Nanyang Technological University · Institute of Science Tokyo · Sony AI
Published October 8, 2026 · on the feed October 22, 2026 · ▲ 188 · arXiv 2610.11942
The abstract
A login screen that appears after a tap on Sign in is expected; the same screen after a tap on View order is an attack. For GUI agents, safety is therefore a property of the transition rather than of the screen, and a monitor that inspects only screens can be defeated by reusing a legitimate one. Judging a transition requires an expectation of what should have followed the action. Existing GUI world models provide one, but they output it as text, code, or images, so checking it against the observed screen requires a second model to judge the two. We argue that a world model meant for verification should instead predict in the space in which observations are encoded, and present LGWM, a decoder-free, action-conditioned world model that predicts the representation of the next screen directly, trained without semantic annotation on 1.85M real GUI transitions. Verification reduces to a vector comparison, and the same signal reveals whether a mismatch is harmful. We evaluate on RSWT-BENCH, a diagnostic where each credential screen appears under both a legitimate and a hijacked transition, so detectors that see only the screen are at chance by construction. The training-free score reaches 0.987 AUC at 17 ms per decision, on par with the strongest closed-source VLMs and about ten AUC points above generative GUI world models at over three orders of magnitude lower latency. The residual direction reaches 0.953 AUC at separating harmful from benign violations, where prompted VLMs are near chance. Further analyses show that the prediction is a usable future state rather than an anomaly score. World models have mostly served as simulators or planners; our results point to a third role, verification, for which predicting in representation space is the natural design.
The Brief
3:12A short podcast summary of the paper. Written and voiced by AI.
Transcript
Right Screen, Wrong Transition. World Models as Verifiers for GUI Agents. By Jiaming Zhang and five others, from Nanyang Technological University, the Institute of Science Tokyo, and one other institution. Published on the eighth of October. Its code repository is public and real: about thirty source files.
Picture a login screen. If it appears after a tap on Sign in, that is exactly what should happen. If the same screen appears after a tap on View order, it is an attack. The screen is identical in both cases. What differs is how the agent got there. For GUI agents, the authors argue, safety is a property of the transition rather than of the screen, and a monitor that inspects only screens can be defeated simply by reusing a legitimate one.
Judging a transition needs an expectation of what should have followed the action. Existing GUI world models can supply that expectation, but they output it as text, code or images. Checking such an output against the screen that actually appeared then requires a second model to judge the two against each other. The expectation exists, but it is written in a different language from the observation, and translating between them becomes a job of its own.
The proposal is that a world model meant for verification should predict in the space where observations are already encoded. The authors present LGWM, a decoder-free, action-conditioned world model. Given a screen and an action, it predicts the representation of the next screen directly, with no image or text to generate. Verification then reduces to a vector comparison between the predicted representation and the observed one. There is no second model in the loop to arbitrate. And the same signal does a second job: beyond showing that a transition broke expectation, it also indicates whether that mismatch is harmful.
LGWM is trained without semantic annotation on one point eight five million real GUI transitions. No one has to label what a screen means; the training material is simply real screens and the actions that led between them. To evaluate it, the authors build RSWT-BENCH, a diagnostic in which each credential screen appears twice: once under a legitimate transition and once under a hijacked one. That construction is the point. A detector that sees only the screen is at chance by design, so any success has to come from reasoning about the transition.
The training-free score reaches an AUC of zero point nine eight seven, at seventeen milliseconds per decision. That is on par with the strongest closed-source VLMs, and about ten AUC points above generative GUI world models, at more than three orders of magnitude lower latency.
A second test asks whether a violation is harmful or benign, which is a harder question than whether a violation happened at all. Here the residual direction reaches an AUC of zero point nine five three at separating the two, while prompted VLMs are near chance. Further analyses indicate that the prediction is a usable future state, not merely an anomaly score.
World models have mostly served as simulators or as planners. This work points to a third role, verification, and argues that for that role predicting in representation space is the natural design. The login screen example sums it up: nothing about the screen is wrong, only its arrival, and a model that expected something else can tell the difference with one comparison of vectors.
Paper Quest · 7 chapters · about 40 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
The attack here hides in plain sight: a perfectly honest-looking screen.
You guard a GUI agent that taps through third-party apps. A login screen asking for credentials appears. After a tap on Sign in, that is fine. After a tap on View order, it is an attack, and the screen is identical pixel for pixel.
The road ahead
- 1 · The problem ~7 min The same login screen can be safe or an attack, depending on which tap led to it, so checking screens alone cannot catch the attack.
- 2 · What came before ~3 min
- 3 · The key idea ~8 min Predict the next screen's encoding from the screen and action, then compare vectors: the gap's size flags a broken expectation, its direction judges harm.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min Train self-supervised on real transitions, feed in screen and action, predict the next encoding, compare it with the observed one, then read the residual's direction for harm.
- 6 · The experiment ~6 min You’ll guess: On RSWT-BENCH, how did LGWM's training-free score compare with the strongest closed-source VLMs at detecting hijacked transitions?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.