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.
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%.
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