ScreenProof: Where Is This Screen Wrong? Finding UI Faults Without a Reference

Huiming Sun, Yue Li, Kangning Yang, Ruineng Li, Jie Cai, Lan Fu, Yunwan Fu, Jinlong Li, Jinglin ShenarXiv 2026 · arXiv

TL;DR

ScreenProof introduces a benchmark and a specialized model, ProofJudge, for detecting UI design faults in screenshots without needing a reference image. By focusing on internal consistency and general design rules, ProofJudge outperforms massive frontier models in accuracy while being 100x cheaper and significantly more reliable on "clean" pages.

What Problem Does This Paper Address?

As AI-driven UI generation becomes more common, we need automated ways to critique the results. Most existing evaluation methods rely on a "gold standard" reference image to compare against. However, in many real-world scenarios—especially generative ones—no such reference exists.

Furthermore, many UI bugs are "reference-free": you don't need a manual to know that text shouldn't run off the edge of a screen, or that a single square button looks wrong in a row of rounded ones. While human designers spot these instantly, current frontier Vision-Language Models (VLMs) like GPT-4 or Gemini struggle. They are often "trigger-happy," flagging non-existent faults on 18–82% of perfectly fine pages. This high false-alarm rate makes them impractical for automated quality gates.

Methods

The authors tackle this by creating a specialized "critic" model and a robust data generation pipeline:

  • The Data Engine: To avoid the high cost and inconsistency of manual labeling, the researchers built an engine that injects faults directly into the HTML/CSS code of mobile pages. This allows for perfect ground-truth bounding boxes for three types of faults: General (e.g., text overflow), Local Style (e.g., inconsistent corner radii), and Text Layout (e.g., words broken mid-character).
  • ProofJudge: This is a Qwen3.5-9B model fine-tuned using Low-Rank Adaptation (LoRA). It is trained specifically to identify and box these injected faults.
  • Confidence Gating: A key innovation is the "confidence cut." The model only reports a fault if its internal probability that the page is "clean" falls below a very low threshold. This specifically targets the false-alarm problem that plagues larger models.
  • Hard Negatives: To ensure the model learns consistency rather than just rules, the dataset includes "hard negatives" where a style change is applied to all similar elements on a page. In these cases, the page remains consistent, and a good critic should stay silent.
Figure 2. ScreenProof at a glance. Left: one test example per fault family, each from another page: the faulty area enlarged on top, and the whole screen below with the data engine’s exact label as corner marks; a clean page has nothing to find, and a critic should stay silent on it. Right: the two test sets and the released training set, split by fault family in the same colours (Secs. 3 and 4). Every fault is made in page code, so its box is exact.

Datasets

The paper introduces the ScreenProof benchmark, which consists of:

  • Consistency Test: 2,765 screenshots (including 607 clean ones) used to evaluate general and local style faults.
  • Text Layout Test: 513 pages focused on typographic errors.
  • ScreenProof-Train: A released training set of 17,285 rows derived from 11,424 images.
  • OwlEye Integration: The authors also validate their model on the existing OwlEye benchmark of real-world Android screenshots to ensure their findings generalize beyond synthetic data.

Key Insights and Ideas

  • "Knowing is not finding": The researchers found a significant gap between a model's ability to describe a design rule in words and its ability to spot a violation on a screen. Frontier models often "know" the rules but fail to apply them visually.
  • The False Alarm Gate: For an automated critic to be useful, its primary job is to not bother a human designer with clean pages. ProofJudge is the only model tested that stays within a 15% false-alarm rate on both real and generated clean pages.
  • Internal Reference is Enough: For many UI bugs, the rest of the page serves as the reference. By training a model to look for "the odd one out" (local style faults), you can achieve high-quality critique without needing external design specs.

Key Results

ProofJudge (9B) significantly outperformed much larger API-based models in both accuracy and cost-efficiency:

  • Accuracy: ProofJudge reached an F1 score of 0.48, surpassing Gemini 4 Argon (0.37) and gpt-6.1-sol (0.30).
  • Cost: It is roughly 100x cheaper to run than frontier API models, costing approximately $0.04 per 1,000 pages compared to $4.42 for Gemini 4 Argon.
  • Reliability: It flagged only 2% of real clean screenshots, whereas frontier models flagged between 18% and 62%.
Figure 1. Where is this screen wrong, and which judge finds it (consistency test, 2,765 screenshots, no target). Left: one generated ColorOS 17 page with three faults the data engine made in its code: an activity card from a Material 3 Expressive page (a component from another design system), text that runs off the screen (general) and one list row with square corners (local style). Bars give the share of all test faults of that type each judge finds. Right: F1 against cost per 1,000 pages; point area is an open model’s size, diamonds are API judges. ProofJudge (9B) reaches 0.48 for $0.04, the highest F1 of all judges: above Gemini 4 Argon (0.37, $4.42), gpt-6.1-sol (0.30) and every open VLM (F1 at most 0.15, $0.07–1.96). GPU cost assumes $2 per GPU-hour; gpt-6.1-sol and GPT-6 Luna report no token counts.

Limitations and Future Work

While a major step forward, the authors note several areas for improvement:

  • Static Only: The current study focuses on single, static phone screens. It does not yet account for interaction, animations, or motion-based faults.
  • Language Constraints: The text layout tests were limited to English pages; CJK (Chinese, Japanese, Korean) punctuation and layout rules are flagged as future work.
  • Brand Knowledge: Detecting "brand faults" (e.g., using an iOS-style switch in an Android app) remains difficult. Models currently only know a design language as well as its public documentation allows, which is often incomplete for many phone manufacturers.

Summary updated

Abstract

A phone screen can be wrong in ways that need no reference: a label that runs off the screen, letters that touch, a line that breaks one character before its end, one button with sharp corners among round ones. We ask whether a model can box every such fault on a screenshot, given no target design and no reference image. Such a critic could serve as a cheap first pass over generated pages before a designer reviews them, but only if it stays silent on clean pages. ScreenProof poses this target-free critique over three families of faults: general faults, local style faults (one element breaks the style its page sets) and text layout faults (letter spacing, line height, line breaks). A data engine makes each fault in page code and records the changed element's box, and hard negatives change every sibling alike. No frontier judge is reliable: frontier models flag 18-62% of clean real screenshots and 18-82% of clean generated pages, find 47-72% of text layout faults, and rarely find a foreign icon (5-19%). Our small critic ProofJudge (Qwen3.5-9B with LoRA), trained on code-made pages with one to four faults each and keeping a finding only when it is confident, reaches F1 0.48, the highest of all judges (Gemini 4 Argon 0.37; open models at most 0.15; 0.46 even without the confidence cut), and is the only fault-finding judge within 15% false alarms on clean pages (2% real, 9% generated), the property such a first pass needs, at about a hundredth of Argon's cost. It finds the most general faults (59%) but fewer local style faults than Argon (25% against 41%) and fewer text layout faults than the API judges (43%; Gemini 4 Argon 47%). Against a named brand the task is harder still: models know a design language about as well as its public documentation states it.
BibTeX
@misc{sun2026screenproof,
  author = {Huiming Sun and Yue Li and Kangning Yang and Ruineng Li and Jie Cai and Lan Fu and Yunwan Fu and Jinlong Li and Jinglin Shen},
  title = {{ScreenProof: Where Is This Screen Wrong? Finding UI Faults Without a Reference}},
  year = {2026},
  eprint = {2611.10234},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.10234},
}
Figure