Manuscript Offprint

arXiv:2610.07444

Decoupling What from Where: How Should a Small GUI Grounding Model Receive the Action Type?

Aadi Chauhan, Arthur Ilyasov

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A GUI agent decides which action to take and where on the screen to take it; we ask how a small grounding model should receive the action type, and what the type buys it. Fine-tuning Qwen2-VL-2B with LoRA on Android in the Wild, we compare a flat baseline with five ways of supplying the type under matched data, compute, adapters, and decoding: an auxiliary loss, a hard-routed action word, an additive learned embedding, a prepended learned token, and the type written into the prompt. With five seeds, a bootstrap that clusters validation steps by episode, and seed-level paired tests, the ranking on a stream of clicks, scrolls, and type events is clear: the auxiliary loss, the additive embedding, and the prompt word each gain five to seven hit@0.10 points over the baseline, and hard routing and the prepended token are not distinguishable from it. Much of that gain is protection from a preprocessing choice of ours rather than a spatial prior. Our serializer clamps the off-screen touch point that AITW records for type events to the origin; that class degrades the flat baseline's click grounding, and retraining without it lifts the baseline by nearly seven points, after which no mechanism's hit rate beats it and the intervals are tight enough to exclude a two-point effect, though the auxiliary loss still shortens the average miss; on a stream of taps and swipes none helps. Whether this is a quirk of one serialization or a general hazard is open. For deployment, the pipeline's margin over the baseline with predicted rather than gold types is not established (+0.016, 95% interval [-0.017, +0.052]), and a wrong type collapses every model conditioned at inference. The prepended token does not help at the shared learning rate, where its rows barely move from initialization; trained ten times faster it reaches the level of the other three, with a margin over the baseline that three seeds do not establish. We also document a silent failure: conditioning injected through inputs_embeds makes Qwen2-VL fall back to one-dimensional positions for its image tokens, which cost nine points.

1 Introduction

A GUI agent maps a screenshot and an instruction to a low-level action: an action type such as click, scroll, or type, and, for spatial actions, a target location. Native agent models (UI-TARS [Qin et al., 2025], OS-Atlas [Wu et al., 2025d], SeeClick [Cheng et al., 2024], ShowUI [Lin et al., 2025]) produce both in a single autoregressive stream. The two decisions are different kinds of prediction: the type is a small classification problem, and the location is a localization problem that has to find the evidence on the screen and commit to a point. Several agents therefore predict the type first and the target conditioned on it [Ma et al., 2024, Christianos et al., 2025, Wu et al., 2025c], and CoCo-Agent ablates its conditional prediction. What is missing is a comparison of the ways of delivering the type under matched data and compute, and a test of whether the trained model reads the signal at all.

∗^{*}Equal contribution.

Preprint.

This paper is that comparison, in a small model. We fine-tune Qwen2-VL-2B [Wang et al., 2024] with LoRA [Hu et al., 2022] to emit a coordinate string and compare a flat baseline with five conditioning mechanisms that see the same data in the same order under the same optimizer, adapters, and decoding. We started from the hypothesis that the prepended token would be the right mechanism, because it gives the model a dedicated, attendable position for the type.

The ranking is clear and our hypothesis was wrong. On a stream that mixes clicks, scrolls, and type events, the auxiliary loss, the additive embedding, and the prompt word raise hit@0.10 by five to seven points over the baseline (five seeds, episode-clustered intervals, seed-level p≤0.03p \leq 0.03), almost entirely on clicks; hard routing and the prepended token are within noise of it. The gain comes from a preprocessing choice of ours: AITW records type events with an off-screen touch point that our serializer clamps to the origin, so the flat model must predict a fixed point for a class it is not told about. Exact emissions of that point explain little of the gap; the class pulls the baseline's clicks toward the origin more broadly, retraining without it raises the baseline by nearly seven points, after which no mechanism beats it on the headline metric by more than 0.002, and on a separate stream of taps and swipes none helps. With a Stage-1 classifier at 84% accuracy the pipeline's margin over the flat baseline is not established, and a wrong type collapses every model conditioned at inference.

Interventions on the trained models separate training effects from inference effects: a wrong or blended type costs both embedding models most of their accuracy, so both read their embedding, and the zeroed additive model is no more than a point below the flat baseline whereas the zeroed prepended-token model is seven points below it. The prepended token's learned rows barely move from their random initialization under the shared learning rate; trained ten times faster they move, and the token reaches the level of the other three mechanisms, so its failure is a statement about the schedule, not the architecture. An earlier implementation that injected the conditioning through inputs_embeds lost nine points to a silent positional-encoding fallback that we first read as evidence against conditioning.

Our contributions are (1) a matched-compute comparison of five ways of delivering the action type, with five seeds, paired statistics at the episode and seed levels, and a control stream; (2) a diagnosis of where the mixed-stream gain comes from, including retraining with the degenerate class removed; (3) a wrong, zero, and class-mean intervention protocol that tests whether a conditioning signal is read and what remains when it is removed; and (4) an account, checked against the library source, of a positional-encoding failure that inverted a conclusion.

References (60)