屏幕正确,过渡错误:以世界模型作为GUI智能体的验证器

·

研究论文 · 2026/10/22

本文提出,对于GUI智能体,安全性是过渡的属性而非屏幕的属性,仅检查屏幕的监控器可被重用合法屏幕击败。判断过渡需要预期动作后的结果,现有GUI世界模型以文本、代码或图像输出,需第二模型比对。作者主张用于验证的世界模型应在观测编码空间中预测,并提出LGWM——一种无解码器、动作条件的世界模型,直接在1.85M真实GUI过渡上训练预测下一屏幕表示。验证简化为向量比较,同一信号可揭示不匹配是否有害。在RSWT-BENCH上,免训练评分达到0.987 AUC,每决策17毫秒,与最强闭源VLM相当,比生成式GUI世界模型高约10个AUC点且延迟低三个数量级以上。残差方向在区分有害与良性违规上达到0.953 AUC,而提示VLM接近随机。分析表明预测是可用的未来状态而非异常分数。世界模型主要用作模拟器或规划器,本文结果指向第三种角色:验证,在表示空间中预测是其自然设计。

本文重新定义了GUI智能体的安全范式,从屏幕检查转向过渡验证,并提出了高效实用的LGWM模型。其在RSWT-BENCH上以极低延迟达到与顶尖闭源VLM相当的检测性能,且能区分有害与良性违规,为GUI安全提供了新思路和实用工具。

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.

阅读原文

参与讨论