# Frozen Vision Backbones for GUI Grounding
**Question.** Computer-use agents need a vision encoder that can *point* — map "close this window"
to pixel coordinates on a screenshot. Encoders are usually chosen by global benchmarks (ImageNet /
CIFAR linear probes) on natural images. This study measures whether that choice survives two
transfers at once: from the **pooled vector to the dense patch grid** (classification → pointing),
and from **natural images to GUI screenshots** (in-distribution → out).
**Answer.** It doesn't. Across four frozen backbones — one per pretraining family — the four cells
of the (global | dense) × (natural | GUI) matrix produce **four different hierarchies**. Feature
quality is a property of the *(tensor, domain)* pair, not of the checkpoint: the pretraining
objective decides which tensor is good, and the domain decides whether it stays good.
**Paper:** [*Do Frozen Vision Backbones Transfer to GUIs?* (PDF)](do-frozen-vision-backbones-transfer-to-guis.pdf)

## Results
All numbers: frozen backbone, only a light head trains. Mean of 3 seeds (std ≤ 1.3 everywhere,
shown in the per-cell tables). Global = linear probe on the pooled vector; dense = click accuracy
(predicted point ∈ GT box) from a text-conditioned patch scorer over the dense grid, with a shared
frozen MiniLM text encoder held identical across backbones.
| | natural images | GUI screenshots |
|---|---|---|
| **GLOBAL** (pooled vector) | DINOv2 **92.8** > ConvNeXt 89.8 > SigLIP 89.5 > MAE 79.2
*(CIFAR-100, chance 1)* | SigLIP **68.6** ≈ MAE 68.3 > ConvNeXt 65.6 ≈ DINOv2 65.5
*(WaveUI-25k 8-way element crops, majority 39.1, FOV-matched)* |
| **DENSE** (patch grid) | MAE **77.6** > DINOv2 71.3 > SigLIP 65.5 > ConvNeXt 51.1
*(RefCOCO, center 35.8)* | SigLIP **21.6** > DINOv2 8.6 = MAE 8.6 > ConvNeXt 6.8
*(ScreenSpot-v2, center 3.0)* |
Three findings, one per transfer plus their interaction:
1. **The objective decides the tensor (H1).** MAE — dead last on every *natural-image* global
probe (79.2 CIFAR, 72.6 Food-101) — is the clear natural-dense champion (77.6 vs DINOv2's
71.3). Masked pixel reconstruction supervises every location and never builds a clean summary
vector; sigmoid contrastive training (SigLIP) does the exact opposite. Global rank does not
predict dense rank.
2. **The domain reshuffles both axes (H2).** On GUI-global the natural hierarchy splits into two
tiers: {SigLIP, MAE} ≈ 68.5 over {ConvNeXt, DINOv2} ≈ 65.5 — the natural-global champion
DINOv2 (92.8) lands in the bottom tier, and probe-weak MAE lands in the top one, so MAE's
global weakness is itself a natural-image statement, not a checkpoint property. These are
FOV-matched numbers: the crop-preprocessor models' raw scores (63.1 / 63.7) understate them by
~2 points of pure field-of-view loss, measured by ablation (below) — geometry equalized before
any feature claim is made. On dense the reshuffle is larger still: MAE's 77.6 collapses to 8.6
on screenshots.
3. **For GUI pointing — the cell computer-use agents live in — SigLIP wins both axes**: global by
a hair over MAE, dense at 2.5× the field. The plausible mechanism is language supervision: web
captions are the one pretraining signal that ties *rendered* text to tokens, and GUI
instructions constantly name on-screen strings — though the Block-8 per-class recalls show the
edge is broader than text-defined classes alone (SigLIP's largest margin is on dropdowns).
Picking the encoder by any other cell of the matrix picks the wrong model.
### Per-cell detail
**Global × natural** — linear probe, standardized features (per-dim mean/std fit on train only —
the MAE-paper protocol, applied uniformly):
| Backbone | Objective | CIFAR-100 | Food-101 |
|---|---|---|---|
| DINOv2-L/14 | self-distillation (DINO+iBOT) | **92.78 ± 0.08** | 94.03 ± 0.03 |
| ConvNeXt-L (IN-22k) | supervised CNN | 89.84 ± 0.05 | 90.02 ± 0.08 |
| SigLIP SO400M/14@384 | sigmoid contrastive | 89.49 ± 0.03 | **96.39 ± 0.02** |
| MAE-L/16 | masked reconstruction | 79.22 ± 0.16 | 72.59 ± 0.09 |
**Global × GUI** — 8-way element-type classification on WaveUI-25k crops (Block 8; 16,495 train /
3,706 test, split by screenshot via image-bytes hash; leaking sources — `screenspot`, `mind2web_*`
— removed from the aggregate; top-8 types = link, button, image, text, tab, header, icon,
dropdown; majority baseline 39.13):
All four backbones at identical full-FOV geometry (squash, 100% of every crop in frame — see the
ablation below for why this is the fair comparison):
| Backbone | Top-1 ↑ | Notable per-class recall |
|---|---|---|
| SigLIP SO400M/14 | **68.59 ± 0.14** | leads text .36 / header .35 / dropdown .47 / button .72 / icon .34 |
| MAE-L/16 | 68.25 ± 0.09 | leads link .87 — top tier despite probe-weak natural numbers |
| ConvNeXt-L | 65.64 ± 0.17 | header .37 / dropdown .35 recover once the crop stops eating them |
| DINOv2-L/14 | 65.47 ± 0.36 | link .83 strong; icon .18 weakest in field; trails on text-ish classes |
SigLIP-vs-MAE is 0.3 pt (~2σ) — an effective tie at the top; the informative structure is the
~3-point two-tier split.
**FOV ablation (why the table is geometry-matched).** DINOv2/ConvNeXt's *stock* transforms
center-crop (resize-shortest-256→crop-224 keeps ~25% of a wide link crop's width, and zooms
~1.14× on *every* input — they never see 100% of any element), while SigLIP/MAE squash and see
everything. Under stock preprocessing the two crop models score **63.05 ± 0.62** and
**63.74 ± 0.18** — an apparent 5-point tier gap that splits exactly on the squash-vs-crop line,
the same red-flag pattern as the Block-5 crop bug. Re-running them with a full-FOV squash (one
variable changed; an in-kernel geometry gate asserts normalization and interpolation untouched)
recovers +2.4 and +1.9 points respectively: **roughly half the raw gap was field of view, not
features.** The table above therefore reports all four backbones at matched geometry; the stock
numbers are retained in the metrics ledger as `probe_*_waveui` (vs `probe_*_waveui_fullfov`).
Class-level recovery lands exactly where the crop destroyed evidence (dropdown +18/+24 pts,
header, text); link is flat (its central quarter suffices); and DINOv2's icon recall *drops*
under squash — the stock zoom was actively helping near-square elements. Trade-off note: the
natural-image probes (CIFAR/Food) keep stock preprocessing — there, center-crop is the published
protocol and inputs are photo-shaped; the FOV problem is specific to extreme-aspect element
crops. *(The original binary icon-vs-text cell on ScreenSpot-v2 crops — SigLIP
88.6 > MAE 86.5 > ConvNeXt 86.2 > DINOv2 86.0, chance 55.1, n_test=265 — is retired to this
footnote: with all four backbones within 2.5 pts of each other over an 86% floor, the task's
ceiling effect hid exactly the separation the 8-way cell now resolves. Its metrics remain in the
ledger for provenance.)*
**Dense × natural** — RefCOCO referring expressions, test n = 4910 (split by underlying image).
`regression` = pool→(x,y) ablation (grid discarded); `shuffled` = wrong-phrase control:
| Backbone | Grounding ↑ | Regression abl. | Shuffled text | Center |
|---|---|---|---|---|
| MAE-L/16 | **77.6 ± 0.4** | 57.3 | 36.2 | 35.8 |
| DINOv2-L/14 | 71.3 ± 0.4 | 53.3 | 33.6 | 35.8 |
| SigLIP SO400M/14 | 65.5 ± 0.5 | 51.6 | 32.3 | 35.8 |
| ConvNeXt-L | 51.1 ± 0.7 | 51.5 | 32.0 | 35.8 |
Grounding ≫ regression for the three ViTs (the spatial grid carries the signal); for ConvNeXt they
tie — its 7×7 grid is at the granularity floor. Shuffled-text ≈ center for all: the heads condition
on text, not saliency.
**Dense × GUI** — ScreenSpot-v2 instruction→click, test n = 265 (split by screenshot, same held-out
hash as the GUI-global task). `oracle` = geometric ceiling of argmax-patch pointing at that
backbone's grid (perfect cell selection):
| Backbone | Grounding ↑ | Grid oracle | Shuffled text | Center |
|---|---|---|---|---|
| SigLIP (27×27) | **21.6 ± 1.1** | 93.6 | 5.3 | 3.0 |
| DINOv2 (16×16) | 8.6 ± 0.6 | 81.9 | 3.4 | 3.0 |
| MAE (14×14) | 8.6 ± 0.8 | 64.5 | 5.7 | 3.0 |
| ConvNeXt (7×7) | 6.8 ± 1.3 | 44.9 | 3.4 | 3.0 |
Every backbone sits at ≤ 23% of its own oracle: at this input resolution the binding constraint is
**feature quality, not grid granularity** — though ConvNeXt's 44.9 ceiling shows a 7×7 map could
never compete regardless.
## Method
- **Backbones** (one per pretraining family, all frozen, HF/timm checkpoints): SigLIP SO400M/14@384,
DINOv2-L/14, MAE ViT-L/16, ConvNeXt-L (IN-22k). A single `Backbone` interface returns
`{pooled (B,D), patches (B,Hp,Wp,D)}` per adapter (`src/bgs/backbones/`).
- **Heads** (the only trainable parameters): a single `nn.Linear` probe for global;
for dense, a text-conditioned patch scorer — patches and phrase projected to a shared space,
scored by scaled dot product (attention's QK^T/√d with the phrase as the one query), softmax-CE
against a Gaussian bump at the target, argmax-patch center at inference
(`src/bgs/heads/grounding_head.py`).
- **Fairness controls:** identical train/test partitions per backbone (deterministic hashes);
one shared frozen text encoder (all-MiniLM-L6-v2) so DINOv2/MAE/ConvNeXt — which have no text
tower — compete on equal footing; uniform probe protocol (standardization fit on train);
coordinate-aligned preprocessing for all dense tasks (below).
- **Infrastructure:** features of frozen models are pure functions of the input, so each backbone
runs **once** per dataset and everything downstream trains on memmapped caches in seconds
(Kaggle free tier; caches/metrics mirrored to a HF dataset repo with git-SHA provenance).
The HF mirror is private — every cache is regenerated from scratch by the notebooks under
`notebooks/`, so nothing here depends on access to it.
## Rigor: confounds, controls, and two caught bugs
The four checkpoints differ in more than their features: preprocessing geometry (squash vs
center-crop), input resolution, and grid size all vary between them, and any of these can
masquerade as a feature-quality gap. Every headline comparison was checked against those
variables before being claimed; two turned out to be partly artifacts, and both are kept on
record below with their measured size and the re-run that corrected them.
- **The crop bug (caught by review, fixed, re-run).** Grounding targets are fractions of the
original image, but two checkpoint preprocessors center-crop (DINOv2: resize-256→crop-224;
ConvNeXt: crop_pct 0.875), so their grids saw only the central ~66% of a 4:3 image's width — an
unlearnable shift for a per-patch scorer, worth −9.1 (DINOv2) and −6.2 (ConvNeXt) click points.
The initially observed "dense ranking is the *inverse* of global" was partly this artifact; the
corrected claim (aligned no-crop preprocessing for every dense task, `preprocess_aligned()`) is
the weaker "global rank does not predict dense rank." Pre-fix caches and metrics are retained for
provenance.
- **Controls:** shuffled-text (wrong phrase must crater accuracy to the center baseline — it does,
all 8 backbone×domain cases), leakage asserts (zero image/screenshot overlap between splits),
grid-oracle ceilings (separate feature quality from grid geometry), regression ablation (verify
the spatial grid, not the pooled vector, carries the dense signal), and published-number anchors
for the probe pipeline (SigLIP CIFAR-100/Food-101 within ~1 pt of reported values).
- **MAE standardization:** raw MAE features span a 370× per-dimension scale range and probe near
chance without standardization (an optimization artifact, not feature quality) — the reason the
uniform protocol exists.
- **The FOV ablation (Block 8).** The GUI-global tier gap co-varied with the preprocessing family
(squash vs center-crop), so it was ablated before being claimed: full-FOV variants of the two
crop models recovered ~2 points each, halving the tier gap while preserving the tier structure.
The general rule this study keeps re-learning: a cross-backbone gap that lines up with a
preprocessing difference is confounded until measured.
## v2: the resolution study
v1's oracle analysis said the GUI bottleneck was feature quality *at the tested resolutions* —
which entangled two of SigLIP's advantages (more input pixels, text-aware features). v2 breaks
them apart by running the same frozen weights at higher input resolution via position-embedding
interpolation (DINOv2/SigLIP → 518² → 37×37 grid; MAE → 448² → 28×28).

**ScreenSpot-v2** (≤1920px screenshots — click acc, center 3.0):
| config | native | high-res | Δ |
|---|---|---|---|
| SigLIP 384→518 | 21.6 ± 1.1 | 22.3 ± 0.8 | **flat** |
| DINOv2 224→518 | 8.6 ± 0.6 | 14.3 ± 1.1 | +66% |
| MAE 224→448 | 8.6 ± 0.8 | 12.5 ± 0.8 | +45% |
Resolution lifts only resolution-*starved* models — SigLIP@384 already reads everything v2
renders. And the geometry-controlled pair **SigLIP@518 vs DINOv2@518** (identical 518² pixels,
identical 37² grid, identical 98.9 oracle): **22.3 vs 14.3**. Eight points that can only be what
the features learned in pretraining — the language-supervision gap, measured rather than argued.
**ScreenSpot-Pro** (professional software up to 3840×2160, targets ~0.1% of screen; center
baseline **0.00** — no held-out target contains the screen center):
| config | grounding | grid oracle | shuffled text |
|---|---|---|---|
| SigLIP @384 → @518 | 2.5 → **3.4** | 28.4 → 41.6 | 0.7 / 1.7 |
| DINOv2 @224 → @518 | 1.4 → 1.5 | 12.9 → 41.6 | 1.7 / 1.3 |
| MAE @224 → @448 | 1.4 → **2.9** | 11.2 → 29.7 | 1.0 / 1.0 |
Three results: (1) **Pro is a wall** — every config sits at 4–12% of its own grid ceiling; at
≤518² input a 20px icon is ~3px in-model, so the binding lever at this scale is effective input
resolution (tiling / native-res encoders), not backbone choice. (2) **The language gap sharpens
to signal-vs-no-signal:** at identical 518² geometry, DINOv2 (1.5) is statistically at its
shuffled-text control (1.3) — no measurable grounding — while SigLIP keeps a real 2× margin.
(3) **MAE scales best on Pro** (+107%, clearly above control, beating DINOv2@518): reconstruction
features convert extra pixels into grounding signal where self-distilled features don't. v1's
"MAE's dense crown is domain-specific" gains a rider — it's also resolution-gated.
*(Pro protocol note: same split-by-screenshot frozen-feature probe as everywhere else — not
comparable to the zero-shot ScreenSpot-Pro leaderboard, which uses far higher effective
resolution via tiling.)*
## Limitations (v1)
- **Resolution is fixed and small.** Screenshots up to 1920 px wide are squashed to 224/384; a
44 px icon becomes sub-patch for every backbone. The oracle analysis says features bind *at this
resolution* — the resolution×grounding interaction is the main v2 axis (ScreenSpot-Pro).
- The dense GUI cell is small (ScreenSpot-v2: 1272 instructions, test n = 265). The global GUI
cell (WaveUI-25k, test n = 3706) fixes the size problem but carries its own caveats: it is an
aggregate whose card states no license (underlying sources are public; rows overlapping our
eval sets were removed), it is web-dominant (~92%), and its type labels derive from DOM/ARIA
roles rather than human annotation. RefCOCO uses a controlled by-image split of the val pool,
not the canonical train/testA/testB protocol (cross-backbone comparison is unaffected; absolute
numbers are not comparable to the RefCOCO leaderboard).
- One text encoder (MiniLM). SigLIP's own text tower would plausibly widen its GUI margin;
quantifying that is v2.
- Four backbones, one checkpoint each — family-level claims rest on one representative per family.
## v2 (in priority order, driven by v1's surprises)
1. **Resolution study** — the binding constraint on GUI; ScreenSpot-Pro as the stress test.
2. **Roster expansion** — DINOv2-with-registers (a causal test of whether register tokens cost a
frozen backbone localization accuracy), DINOv3, SigLIP2, OpenCLIP, I-JEPA, supervised ViT.
3. **Icon vs text slicing** on the existing Block-6 caches (is SigLIP's edge concentrated on
text-named targets?), and SigLIP's own text tower vs MiniLM.
4. **Layer-wise probing + CLIP⊕DINOv2 fusion** (RQ4; the Cambrian-1 complementarity question, on GUIs).
## Repo
```
configs/ one YAML per experiment (backbone, task, domain, res, seeds)
src/bgs/ backbones/ (adapters), heads/, data/, features/ (cache.py), train/, eval/, text/
notebooks/ one folder per Kaggle kernel (block0 … block8 + follow-up studies)
assets/ figures (2×2 summary, resolution study, patch-viz sample images)
```
### Status
- [x] Block 0-3 — plumbing, adapters, caches, natural-image probes (global × natural)
- [x] Block 4 — GUI element classification, binary icon-vs-text (retired — ceilinged; replaced by
Block 8's 8-way cell)
- [x] Block 5 — RefCOCO grounding + crop-bug correction + shuffled-text verification (dense × natural)
- [x] Block 6 — ScreenSpot-v2 grounding with grid-oracle ceilings (dense × GUI)
- [x] Block 7 — synthesis: this README + the 2×2 figure
- [x] v2 pilot — resolution study: DINOv2@518 / SigLIP@518 / MAE@448 on ScreenSpot-v2 + full
6-config ScreenSpot-Pro sweep
- [x] Block 8 — WaveUI-25k 8-way element-type probe replaces the ceilinged binary global×GUI cell
(majority 39.1, n_test=3706; two-tier result {SigLIP, MAE} > {ConvNeXt, DINOv2})
- [ ] v2 — roster expansion (DINOv2-registers, DINOv3, SigLIP2, …), icon/text slicing, layer-wise
probing, fusion; v3 — effective-resolution methods (tiling) for Pro
---
**Author:** [Dhruv Raval](https://github.com/DhruvRaval04) · **License:** [MIT](LICENSE)
If you build on this study, please link the full write-up — [*Do Frozen Vision Backbones Transfer
to GUIs?*](do-frozen-vision-backbones-transfer-to-guis.pdf) — or this repository.