TL;DR
Teaching AI agents to use computers via Reinforcement Learning (RL) is bottlenecked by a lack of reliable, scalable ways to verify whether an agent actually completed a task. I-Judge solves this by training a Vision-Language Model (VLM) judge to play detective—predicting which mouse click or keystroke caused the visual change between two consecutive screenshots—using cheap, automatically logged agent data. By combining this self-supervised representation learning with a runtime reality check on action consistency, I-Judge curbs "reward hacking" and yields stronger GUI agents across desktop and mobile environments.
What Problem Does This Paper Address?
Imagine trying to learn how to use Photoshop when your teacher either charges a fortune per lesson, or only glances at your screen from across the room and guesses if you did it right. That is the current catch-22 of training Graphical User Interface (GUI) agents with RL.
While open-loop Multimodal LLMs can click around reasonably well, they struggle with multi-step recovery and long-horizon tasks. RL lets agents learn through trial and error, which requires a Reward Model (a "judge") to score attempts. Currently, we have two flawed options:
- Programmatic checkers or human annotators: Reliable, but brittle, slow, and impossible to scale to novel software or the open web.
- Learned VLM judges: Scalable, because an AI just looks at the screenshots and outputs Success/Fail. However, VLM judges hallucinate and get fooled by superficial visual cues—leading to reward hacking, where the agent learns to trick the judge rather than solve the task.
To train a better VLM judge, you would normally need massive amounts of human-verified trajectories, bringing us right back to square one.
Methods
The authors break this cycle with I-Judge, built around Inverse Dynamic Modeling (IDM). Instead of predicting the next screen from an action (a forward world model, which wastes capacity modeling irrelevant pixel noise like system clocks or blinking cursors), IDM takes two consecutive screenshots $(s_t, s_{t+1})$ and predicts the intervening action $a_t$ that caused the transition.
Crucially, the labels for IDM are completely free: whenever an agent interacts with an environment, the executor automatically logs the exact mouse clicks and keystrokes issued. I-Judge uses IDM in two ways:
- Auxiliary Representation Learning (New): Alongside standard supervised fine-tuning on scarce human-labeled outcome data, the VLM judge is trained on massive amounts of unlabeled transitions using the IDM objective. This forces the judge's visual encoder to learn the fine-grained cause-and-effect mechanics of GUIs.
- Runtime Reward Calibration (New): At RL training time, a lightweight (0.6B parameter) IDM audits the trajectory step-by-step. It looks at screenshot pairs, guesses what action occurred, and compares its guess to the agent's actual action log to compute an Action Consistency Score $\mathcal{C} \in [0, 1]$. The base VLM judge's binary reward ($r_{\text{base}} \in \{0, 1\}$) is softened via $R_{\text{final}} = r_{\text{base}} \cdot \mathcal{C}^\alpha$ (with $\alpha=0.8$). If the judge says "Success!" ($1$), but the screen transitions don't visually support the logged actions (low $\mathcal{C}$), the reward is dampened.
These calibrated rewards then guide standard Group Relative Policy Optimization (GRPO) across 256 parallel environments, paired with an autonomous VLM task-proposer curriculum.
Datasets
- Reward Model Training:
- Supervised Outcome Data: 16,592 human-labeled trajectories from AgentNet.
- Unlabeled IDM Pretraining: 500K automatically logged action–transition pairs (300K from OSWorld, 200K from ScienceBoard) generated via rollouts on synthetic tasks proposed by Qwen-2.5-32B.
- Evaluation Benchmarks:
- Reward Evaluation: AgentRewardBench, plus two newly curated test sets introduced by the authors—OSWorld-Reward and ScienceBoard-Reward—to directly measure judge precision and recall in desktop and scientific software settings.
- End-to-End RL: OSWorld (desktop), ScienceBoard (scientific workflows), and AndroidWorld (mobile—held out completely during reward model training to test zero-shot transfer).
Key Insights and Ideas
- Free physics lessons beat expensive grading: Comparing the two components reveals that auxiliary IDM training actually provides the lion's share of the performance gain, while runtime calibration adds a smaller, secondary boost. Teaching a judge how interfaces change makes it inherently better at judging whether a goal was met.
- Why a one-sided filter works in RL: Runtime calibration can only lower a positive reward; it can never rescue a false negative ($0 \cdot \mathcal{C}^\alpha = 0$). Why does trading recall for precision help? In group-relative RL (GRPO), a false negative just throws away one good learning sample, whereas a false positive assigns a positive advantage to a failure—actively teaching the policy bad habits and causing mid-training collapse.
- Task difficulty doesn't matter for learning dynamics: Filtering tasks by difficulty helps the RL agent's curriculum, so the authors tested whether IDM pretraining also prefers "hard" vs. "easy" tasks. Surprisingly, it makes virtually no difference (action accuracy hovered within 80.9%–81.4% across Easy, Medium, and Hard bins). A click is a click, regardless of the overarching goal.
Key Results
I-Judge improves RL training stability and benchmark success rates
- Sharper Judges: On AgentRewardBench (using a matched Qwen2.5-VL-7B backbone), I-Judge achieves 82.7 F1 (77.9% precision, 88.1% recall), beating prior state-of-the-art WebJudge by +4.0 F1. On ScienceBoard-Reward, precision jumps from 56.2% (Direct Fine-Tuning) to 73.3% with IDM training, and 79.2% with full I-Judge calibration.
- End-to-End RL Gains: Using Qwen3-VL-8B as the base agent, RL with I-Judge boosts success rates over the unoptimized baseline on OSWorld (33.4% $\rightarrow$ 38.6%) and ScienceBoard (13.0% $\rightarrow$ 23.8%), while stabilizing training curves (cross-seed variance drops from 1.13 to 0.72) where uncalibrated judges cause performance regressions.
- Zero-Shot Mobile Transfer: Without seeing a single mobile screenshot during reward training, I-Judge improves Qwen3-VL-8B on AndroidWorld from 49.4% to 54.3% (and UI-TARS-1.5-7B from 55.2% to 57.6%).
- Low Overhead & Plug-and-Play: Running the 0.6B IDM in parallel adds only ~8% wall-clock time per GRPO update, and dropping I-Judge into existing RL frameworks (DigiRL, WebRL, SEAgent) improved every system across all benchmarks.
Limitations and Future Work
The authors are refreshingly candid that visual consistency is not task correctness—an agent can cleanly and unmistakably click the wrong button. Manual inspection of 400 failure cases highlighted three main blind spots:
- Hidden-state preconditions (39% of false positives): An agent clicks "Apply" cleanly, fooling both judge and IDM, while an off-screen password prompt or background file lock prevents the change from actually saving.
- Long-tail actions (28% of false negatives): Rare multi-key shortcuts (like
Ctrl+Shift+P, <0.3% of training data) or semantically equivalent actions (hotkey vs. menu click) confuse the IDM, unfairly tanking the consistency score. - Animations (33% of errors): Smooth scrolling, fades, and tooltips create intermediate frames that obscure where a click originated.
Future work aims to pair visual verification with lightweight DOM/system-state sensors to catch hidden failures, and to learn action-equivalence embeddings so agents aren't penalized for using clever keyboard shortcuts.
Summary updated