Q-Reflector: Learning GUI Action Reflection with Generated Conditions
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: We're looking at the paper: "Q-Reflector: Learning GUI Action Reflection with Generated Conditions".
Jane: The gist: StepReflect formulates per-step GUI reflection as supervised structured prediction conditioned on explicit transition specifications and paired visual evidence, establishing it as a practical,
Tom: First, who's behind it and why it matters.
Paper summary: Tom: So we're looking at a new paper called "Q-Reflector: Learning GUI Action Reflection with Generated Conditions." Basically, they’re tackling the problem of making mobile AI agents reliably do long-horizon tasks by getting better at reflecting on what just happened on the screen.
Jane: Right, so the big challenge is that current approaches use this open-ended multimodal reasoning after every single action, which is really costly and doesn't match how structured a GUI transition actually is. This paper proposes something called StepReflect.
Lu: StepReflect formulates per-step GUI reflection as supervised structured prediction, conditioned on explicit transition specifications and paired visual evidence. It's setting up a way to look at an action and see if the resulting UI change matches what was expected under the current task context.
Meng: So you’re saying instead of just letting the AI reason generally about the screen, you’re teaching it to predict specific state transitions based on a set of rules? That sounds like it could be much more constrained and predictable.
Tom: Exactly, Meng. The whole idea is that instead of just asking "Did this action work?", we give it the 'before' screenshot, the 'after' screenshot, and a description of what the action was supposed to do, so it can generate pre-conditions and intended local effects.
Jane: And then it produces a structured rationale along with a binary verdict on whether that transition is actually valid for moving toward the task goal. It’s turning reflection into something more like supervised prediction.
Lu: The input for this StepReflect model is defined as a tuple: st, at, st+one ht, and It <ref:2608.05587#pg1>. That means it takes the current state before action at time 'at', the next state after action at 'st+one', a history of recent transitions 'ht' within the subgoal, and the paired screenshots 'It' <ref:2608.05587#pg1>.
Meng: I’m curious about how they handle that history component, ht. If you’re dealing with a really long sequence of actions, how do you keep that input manageable for training?
Tom: They cap it at hmax which is five recent transitions within the current subgoal. So it keeps the input window focused on what's immediately relevant to the current step they are trying to verify. It’s a way to limit the context without losing too much necessary information.
Jane: It sounds like they’re building this through a staged training pipeline, which is pretty standard but important for making sure it learns the right kind of reasoning before we look at any results.
Lu: They combine supervised fine-tuning with teacher–student distillation, and then add preference- and reward-based refinement using things like Group Relative Policy Optimization with an asymmetric reward design.
Meng: As a production engineer, that refinement part is key for me. The paper mentions penalizing incorrect rejections more strongly than incorrect acceptances in the reward design. That makes sense because when you're driving a mobile agent, getting a 'no' when you thought it was 'yes' is often way worse than just taking the wrong step forward.
Paper summary: Tom: Right, that asymmetry addresses the cost of false rejections in those long-horizon execution scenarios we talked about earlier. It’s trying to make the model learn that being overly cautious and rejecting a valid transition is more costly than making a slightly less optimal move.
Jane: And what about the actual performance claims? The paper shows offline evaluation on AndroidWorld and online evaluation across four agent frameworks like M3A, Agent-SAMA, MAI-UI-8B, and Seed-two point zero-Pro <ref:2608.05587#pg1,M3A, Agent-SAMA, MAI-UI-8B, and Seed-2.0-Pro>.
Lu: Offline on AndroidWorld, the resulting 8B model achieves an overall accuracy of eighty-two point one six percent on transition level accuracy using Qwen3-VL-8B, which they say exceeds zero shot GPT-five point two by eleven point eight three percentage points under the same structured input <ref:2608.05587#pg1,zero shot GPT-5.2 by 11.83 percentage points under the>.
Tom: That comparison to GPT-five point two is significant because it shows that this method, StepReflect, beats a very powerful frontier model when the input is structured correctly and we give it these explicit pre- and post-conditions <ref:2608.05587#pg1>.
Meng: But what about deployment? If I'm running this on a real mobile device, how much does the inference cost look compared to just using that massive frontier model for reflection every single step?
Jane: The paper highlights that StepReflect eliminates those paid reflector API calls through local inference. That means it’s a practical, locally deployable alternative, which is what they really want to show.
Lu: They demonstrate this by showing online task success rates. On MobileWorld tasks, for instance, StepReflect achieves a forty-six point one five percent task success rate with MAI-UI-8B and thirty-five point nine zero percent with MAI-UI-8B Instruct, which is an improvement over no external reflection by about seventeen point zero nine percent.
Tom: And when they put it against the strongest reflection baselines like GPT-five point two and Claude Haiku four point five, StepReflect outperforms them by around three point four two and five point nine eight percentage points, respectively under those same condition generation settings.
Jane: So what does this mean for someone just listening to the show? It means we’re looking at a learned mechanism that can replace the need to constantly call on massive frontier models for every single step in a complex mobile task.
Lu: The main contributions boil down to three things: first, supervised structured reflection at the UI-transition level. second, StepReflect is a lightweight learned reflector transferable across agent frameworks. and third, they designed that staged training pipeline specifically calibrated for the error asymmetry of reflection tasks.
Meng: It seems like they’ve really focused on making this component useful in a real deployment setting rather than just chasing the highest theoretical accuracy number possible with some giant model.
Tom: Exactly. They managed to package state-aware transition reflection into a single 8B VLM that outputs both a binary decision and that structured rationale, which is what makes it usable for agents <ref:2608.05587#pg1>.
Jane: So, the core idea is moving from open-ended reasoning to supervised prediction over specific UI transitions using visual evidence and explicit conditions. That’s where we’re headed next.
Conclusion: Tom: So we’re wrapping up our look at Q-Reflector, learning how to reflect on GUI actions using generated conditions.
Jane: It really boils down to taking this complex task of checking if an action worked and turning it into a supervised prediction problem over specific UI transitions.
Tom: Yeah, the authors are using Qwen3-VL-8B for this work and they’re showing how you can use paired screenshots and transition specs to get that structured rationale <ref:2608.05587#pg1>.
Jane: And what this means for us is that we're moving away from just letting an agent guess about the screen state, toward a system that explicitly checks the prerequisites of the action before it even commits to it.
Tom: Exactly, it’s about making reflection more predictable and measurable instead of just open-ended reasoning.
Jane: It suggests a way to build mobile agents that can handle long sequences better because they have this structured way to verify every single step.
Tom: And the results on AndroidWorld are pretty strong, showing an overall accuracy of eighty-two point one six percent on transition level accuracy compared to zero shot models.
Jane: That’s a solid number, but what matters more is how it holds up when you actually try to use it in a real task—the online success rates are where the real test is.
Tom: Right, so the authors show that StepReflect improves end-to-end task success rates across multiple agent setups and actually beats some of the leading reflection models on MobileWorld tasks.
Jane: It’s interesting because it also shows a clear way to reduce those huge operational costs associated with running repeated calls to massive frontier models for every single action.
Tom: So, in short, they’ve framed GUI reflection as a supervised prediction task using structured inputs and visual evidence for better long-horizon execution.
Jane: That opens up a lot of possibilities for deploying agents that are more reliable in complex mobile environments.
Linqiang Guo, Wei Liu, Li Gu, Yang Wang, ũTse-Hsun (Peter) Chen
Concordia University
cs.AI
Submitted: 2026-08-06
Updated: 2026-10-15
Comments: 20 pages, 6 figures. Revised and expanded version of StepReflect. An earlier version was accepted to the 1st Workshop on Multimodal Digital Agents (MMDA) at ECCV 2026 (non-archival). Code: https://github.com/pockyitachi/Q-Reflector ; Demo: https://huggingface.co/spaces/pockyitachi/Q-Reflector
Code: https://github.com/pockyitachi/Q-Reflector
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 86/100
The gist: The gist: StepReflect formulates per-step GUI reflection as supervised structured prediction conditioned on explicit transition specifications and paired visual evidence, establishing it as a
Key concepts
- Supervised Structured Prediction
- This is a training method where the model learns to predict a structured output, like pre-conditions and post-conditions. In this paper, it means training the model not just to say 'yes' or 'no', but to generate detailed text describing what needs to happen before and after an action based on visual evidence.
- Pre- and Post-Conditions
- These are the expected states of the interface before and after a specific GUI action is performed. The model generates these conditions based on the task context, helping it verify if the actual screenshot matches what should have happened according to its understanding of the action.
- Asymmetric Reward Design
- This is a training technique that specifically rewards correct rejections (saying an action failed) more strongly than incorrect acceptances. This helps the model learn to be cautious and accurate when deciding whether an action is valid, which is crucial for reliable long-horizon task execution.
Terminology
Summary
The gist: StepReflect formulates per-step GUI reflection as supervised structured prediction conditioned on explicit transition specifications and paired visual evidence, establishing it as a practical, locally deployable alternative to repeated frontier-model reflection for long-horizon mobile GUI agents.
Problem Formulation
Autonomous mobile agents require accurate action reflection for reliable long-horizon execution because existing approaches rely on open-ended multimodal reasoning after each action, which is costly and poorly matched to the structured nature of GUI state transitions The challenge is that at each step, the agent must assess whether an executed action produced the expected interface transition. This treats reflection as a general reasoning problem, even though GUI interactions follow structured, predictable state transitions.
StepReflect Architecture
StepReflect is formulated to determine whether an observed UI transition is consistent with the expected effect of an action under the current task context. It conditions paired BEFORE/AFTER visual evidence on an agent-provided transition specification and returns a structured reflection result. The input tuple for StepReflect is defined as xt = (st, at, st+1, ht, It), where ht is a bounded history of recent transitions within the current subgoal.
Training Pipeline
StepReflect is trained through a staged pipeline combining supervised fine-tuning, teacher–student distillation, and preference- and reward-based refinement.
-
Supervised Fine-Tuning (SFT) teaches the model to associate visual state changes, symbolic task abstractions, and action intent with correct transition outcomes.
-
Teacher–Student Distillation uses a teacher model like GPT-5.2 to produce structured rationales, which are then used to continue fine-tuning the SFT model.
-
Preference and Reward-Based Refinement involves Group Relative Policy Optimization (GRPO) with an asymmetric reward design that penalizes incorrect rejections more strongly than incorrect acceptances, followed by Direct Preference Optimization (DPO).
Empirical Results
Offline evaluation on AndroidWorld shows that StepReflect achieves 82.16% transition-level accuracy using Qwen3-VL-8B, exceeding zero-shot GPT-5.2 by 11.83 percentage points under the same structured input. Online, across four agent configurations on MobileWorld and AndroidWorld, StepReflect improves the reported end-to-end task success rate over the corresponding baseline on three frameworks. Furthermore, StepReflect reduces paid API charges relative to GPT-based reflection in all four configurations.
Key Contributions
The main contributions include:
**: Supervised structured reflection at the UI-transition level, formulating per-step GUI action reflection as supervised prediction over UI transitions. This is the first learned mobile-GUI reflection formulation that jointly uses explicit symbolic pre-/postconditions, bounded trajectory, and BEFORE/AFTER visual evidence to assess an executed action. 2. StepReflect is a lightweight learned reflector transferable across agent frameworks, packaging state-aware transition reflection into a single 8B VLM that outputs both a binary decision and a structured rationale. 3. A staged training pipeline calibrated for reflection’s error asymmetry, explicitly targeting the asymmetric cost of false rejections in long-horizon execution. 4. Cross-benchmark and cross-framework empirical evaluation shows StepReflect reaches 82.16% transition-level accuracy on AndroidWorld, exceeding zero-shot GPT5.2 by 11.83 percentage points under the same structured input. The final StepReflect configuration reaches 82.16% Over-all SR, within 0.74 percentage points of the highest offline result, and achieves the highest Positive SR among all compared variants at 86.79%. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. The results establish structured learned reflection as a reusable, locally deployable component for longhorizon GUI agents. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. This establishes StepReflect as a practical, locally deployable alternative to repeated frontier-model reflection for long-horizon mobile GUI agents. The final StepReflect exceeds it by 11.83 points under the same structured input. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. This establishes StepReflect as a practical, locally deployable alternative to repeated frontier-model reflection for long-horizon mobile GUI agents. The final StepReflect exceeds it by 11.83 points under the same structured input. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. This establishes StepReflect as a practical, locally deployable alternative to repeated frontier-model reflection for long-horizon mobile GUI agents. The final StepReflect exceeds it by 11.83 points under the same structured input. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. This establishes StepReflect as a practical, locally deployable alternative to repeated frontier-model reflection for long-horizon mobile GUI agents. The final StepReflect exceeds it by 11.83 points under the same structured input. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. This establishes StepReflect as a practical, locally deployable alternative to repeated frontier-model reflection for long-horizon mobile GUI agents. The final StepReflect exceeds it by 11.83 points under the same structured input. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. This establishes StepReflect as a practical, locally deployable alternative to repeated frontier-model reflection for long-horizon mobile GUI agents. The final StepReflect exceeds it by 11.83 points under the same structured input. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. This establishes StepReflect as a practical, locally deployable alternative to repeated frontier-model reflection for long-horizon mobile GUI agents. The final StepReflect exceeds it by 11.83 points under the same structured input. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. This establishes StepReflect as a practical, locally deployable alternative to repeated frontier-model reflection for long-horizon mobile GUI agents. The final StepReflect exceeds it by 11.83 points under the same structured input. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. This establishes StepReflect as a practical, locally deployable alternative to repeated frontier-model reflection for long-horizon mobile GUI agents. The final StepReflect exceeds it by 11.83 points under the same structured input. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. This establishes StepReflect as a practical, locally deployable alternative to repeated frontier-model reflection for long-horizon mobile GUI agents. The final StepReflect exceeds it by 11.83 points under the same structured input. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. This establishes StepReflect as a practical, locally deployable alternative to repeated frontier-model reflection for long-horizon mobile GUI agents. The final StepReflect exceeds it by 11.83 points under the same structured input. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input. This establishes StepReflect as a practical, locally deployable alternative to repeated frontier-model reflection for long-horizon mobile GUI agents. The final StepReflect exceeds it by 11.83 points under the same structured input. Every refined variant exceeds zero-shot GPT-5.2 by at least 10.08 percentage points under the same structured input.
Improvements for AI systems
-
A new reflection formulation that
formulates per-step GUI reflection as supervised structured prediction
allows for efficient, structured decision-making rather thanopen-ended multimodal reasoning after each action,
making long-horizon execution more reliable by reducing reliance on costly frontier models. -
StepReflect's ability to provide a
structured rationale
alongside a binary decision enables downstream agents to receive actionable context, which can be used for better error analysis and debugging of the agent's planning process. -
The staged training pipeline, combining
supervised fine-tuning, teacher–student distillation, and preference- and reward-based refinement,
specifically targets theasymmetric cost of false rejections in long-horizon execution,
leading to a model that is calibrated for reliability rather than just raw accuracy. -
The system can achieve higher performance by using
explicit symbolic pre-/postconditions, bounded trajectory, and BEFORE/AFTER visual evidence
as input, which provides a more grounded assessment of theobserved UI transition.
-
By integrating StepReflect into various agent frameworks
without modifying their planning or action-generation policies,
it allows for the deployment of this learned reflector as apractical, locally deployable alternative to repeated frontier-model reflection.
Abstract
Mobile GUI agents require accurate action reflection for reliable long-horizon execution, assessing whether each action was successfully executed and whether its outcome constitutes a valid step toward the task goal. When evaluated as standalone reflectors under a common prompt, frontier VLMs and specialized GUI models exhibit imbalanced recognition of valid and invalid transitions. We propose Q-Reflector, a standalone reflector based on Qwen3-VL-8B that learns GUI action reflection as supervised structured prediction. Given task context, the executed action, and paired screenshots, it generates pre- and post-conditions specifying the action's prerequisites and intended local effect, then assesses execution success and task validity through a structured rationale and binary verdict. Training combines supervised fine-tuning, teacher-student distillation, and reward- and preference-based refinement. On 1,082 manually verified AndroidWorld transitions, Q-Reflector achieves 82.16% overall accuracy, exceeding all evaluated baselines and showing more balanced performance than GPT-5.2 and GUI-Owl-1.5-8B. On 117 MobileWorld tasks, Q-Reflector achieves task success rates of 46.15% with GUI-Owl-1.5-8B-Instruct and 35.90% with MAI-UI-8B, improving over no external reflection by 17.09 and 14.53 percentage points, respectively. Under the same condition-generation setting, it outperforms the strongest reflection baselines, GPT-5.2 and Claude Haiku 4.5, by 3.42 and 5.98 percentage points, respectively.
Sources
- Qwen2.5-VL Technical Report
- Qwen3-VL Technical Report
- GUI-Shepherd: Reliable Process Reward and Verification for Long-Sequence GUI Tasks
- SPA-Bench: A Comprehensive Benchmark for SmartPhone Agent Evaluation
- Towards Structured, State-Aware, and Execution-Grounded Reasoning for Software Engineering Agents
- SeeClick: Harnessing GUI Grounding for Advanced Visual GUI Agents
- Advancing Mobile GUI Agents: A Verifier-Driven Approach to Practical Deployment
- MAI-UI Technical Report: Real-World Centric Foundation GUI Agents
- Distilling the Knowledge in a Neural Network
- Large Language Models Are Reasoning Teachers
- CogAgent: A Visual Language Model for GUI Agents
- Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizes
- GUI-KV: Efficient GUI Agents via KV Cache with Spatio-Temporal Awareness
- Let's Verify Step by Step
- Self-Refine: Iterative Refinement with Self-Feedback
- KVFlow: Efficient Prefix Caching for Accelerating LLM-Based Multi-Agent Workflows
- VisCritic: Visual State Comparison as Process Reward for GUI Agents
- Recursive Introspection: Teaching Language Model Agents How to Self-Improve
- MobileWorld: Benchmarking Autonomous Mobile Agents in Agent-User Interactive and MCP-Augmented Environments
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems