DesignEvo: Recovering and Tracking Repository-Level Implemented Design Systems Across Commits

Mingyue Yuan, Jinbo Yang, Jieshan Chen, Aorui Yang, Aaron Quigley, Gelareh Mohammadi, Zhenchang Xing, Boxi Wu, Dehai ZhaoarXiv 2026

TL;DR

Frontend teams rely on design systems as a "quality contract" for how an interface should look and behave, yet the actual codebase almost inevitably drifts away from the official documentation over time. DesignEvo acts like an automated archaeologist for web repositories: by combining live browser data with constrained Vision-Language Models (VLMs), it reconstructs the actual design system implemented in code and tracks how its UI components and styles evolve across Git commits.

What Problem Does This Paper Address?

Every large web application has two design systems: the documented one (living in Figma files and Storybook catalogs) and the implemented one (living in the messy reality of CSS, DOM trees, and React components). Over dozens of commits, engineers hard-code colors, tweak card layouts locally, or leave deprecated patterns lingering on forgotten pages. With AI coding agents now generating sweeping multi-file UI changes in seconds, this design-system–implementation drift is only accelerating.

When reviewing a pull request, engineers need to know: Does this change respect our established UI patterns, introduce a legitimate new variant, or accidentally break consistency? Existing tools don't answer this. Visual bug detectors look for broken layouts, screenshot-to-code tools look at single screens in isolation, and UI test-repair tools track low-level buttons and XPaths rather than higher-level design patterns across an entire repository.

Methods

Recovering an implemented design system requires looking at the sweet spot between raw HTML tags and full-page screenshots—what the authors call functional UI groups (coherent regions like a search bar, stats card, or navigation header, akin to "organisms" in Atomic Design).

DesignEvo recovers and tracks these groups across four stages:

Fig. 1. Overview of DesignEvo. DesignEvo takes repository histories, target pages, and adjacent commit pairs as input. For each page version, it renders the target commit, collects cross-artifact runtime evidence, and extracts fixed candidate boxes from interactive containers, shared URL targets, and DOM containers. A taxonomy-guided VLM then selects, merges, or removes these candidates to recover functional UI groups and same-version group families. DesignEvo aggregates recovered groups and style values into repository-level design-system records, and compares records across adjacent commits to infer Reused, Changed, Introduced, Removed, and Ambiguous lifecycle states.
  1. Runtime & Candidate Box Extraction: Instead of asking an AI to guess bounding boxes on a screenshot, DesignEvo renders the app at a target commit and programmatically extracts fixed candidate boxes from the DOM—grouping elements that share interactive containers, link to the same URL, or form visible DOM containers (filtering out tiny elements under $24 \times 24$ pixels).
  2. Constrained VLM Group Recovery: A Vision-Language Model is given a standardized UI taxonomy (distilled from nine major design systems like Material, Carbon, and Ant Design) and the fixed candidate boxes. Crucially, the VLM is forbidden from inventing coordinates; it can only Select, Merge, or Remove existing candidates to form functional UI groups, followed by a local graph search and rule-based checks to group local variants.
  3. Repository-Level Aggregation: DesignEvo zooms out from single pages to the whole repository. It merges matching groups across pages into UI group families (recording differences in size or state as variants) and aggregates CSS into repository-shared style values using frequency weighting (to ignore one-off styles) and perceptual clustering (grouping near-identical colors or spacing).
  4. Lifecycle State Inference: Across adjacent commits, DesignEvo matches repository-level records and classifies their evolution into one of five states: Reused, Changed, Introduced, Removed, or Ambiguous.

Datasets

Because no benchmark existed for tracking repository-wide design systems across commits, the authors built the DesignEvo dataset from 10 open-source frontend repositories (spanning React, Ant Design, Bootstrap, Tailwind CSS, and Django). They filtered commit histories for substantive, renderable UI changes, yielding 37 page timelines, 317 rendered page-version instances, and 280 version transitions. Human annotators manually verified 3,478 functional UI groups and 2,435 lifecycle-state transitions (with $>97\%$ inter-annotator agreement).

Key Insights and Ideas

  • Don't let VLMs draw boxes: Asking a VLM to simultaneously find coordinates and judge functional meaning fails spectacularly. Letting deterministic browser geometry propose candidate boxes—and restricting the VLM to semantic Select/Merge/Remove decisions—more than doubles recovery performance.
  • Repetition vs. Big Blobs: Standard visual grouping tools tend to merge three adjacent statistic cards into one giant rectangle because they sit close together. Grounding the VLM in a design-system taxonomy allows DesignEvo to keep them as three distinct instances of the same Card variant.
  • Shared styles aren't a simple union: If you just collect every computed CSS value in a repo, one-off chart colors and local margin tweaks drown out the real design tokens. Frequency weighting is essential—removing it caused style-recovery precision to plummet from 0.98 to 0.46.
  • Tracking families beats tracking DOM nodes: Element-level matchers get confused when pages are refactored or new routes appear. Comparing repository-level UI families and style conventions makes it much easier to tell whether a component was genuinely Changed or newly Introduced.

Key Results

  • UI Group Recovery: DesignEvo (using GPT-5.5) achieved an F1 score of 0.8510 and mean bounding-box IoU of 0.9791, beating the strongest MLLM grouping baseline (GUIGroup at 0.7664 F1) and crushing unconstrained VLM localization (0.4223 F1).
  • Lifecycle Tracking: DesignEvo reached 0.84 overall accuracy across commits, outperforming the closest web-evolution baseline, WebEvo (0.71), as well as test-repair matchers like VISTA (0.68) and WATER (0.68). Gains were sharpest on Introduced (0.89 vs. 0.61) and Removed (0.88 vs. 0.36) states.
  • Model Sensitivity: Swapping GPT-5.5 for Qwen2.5-VL still yielded solid results (0.7362 F1 on recovery; 0.74 overall lifecycle accuracy), showing that the programmatic candidate constraints carry heavy structural weight, even when a smaller model struggles with trickier merge decisions.

Limitations and Future Work

DesignEvo recovers empirical patterns—what the code actually does, not what designers intended. Because it observes rendered pages, it cannot automatically reverse-engineer underlying semantic token names if two distinct styles happen to compute to similar hex values, nor does it capture unvisited responsive breakpoints, canvas-rendered UIs, or hidden interaction states. Furthermore, commits that fail to build cannot be analyzed. Finally, while DesignEvo surfaces structured evidence of UI drift, it doesn't judge whether a drift is a bug or a welcome innovation; the authors point to user studies with human code reviewers as a key next step.

Summary updated

Abstract

Modern frontend applications rely on design systems to maintain consistency across pages and releases. However, documentation and component libraries do not fully capture how interface patterns are implemented, reused, and adapted in practice. Existing UI analysis techniques focus on visual defects, interface structure, or element correspondences, providing limited support for automatically recovering and tracking implemented design systems at the repository level. To bridge this gap, we present DesignEvo, which combines screenshots, DOM structure, element geometry, and style values to recover functional UI groups. DesignEvo constrains vision-language model judgments to program-generated candidate regions, aggregates recovered groups and styles into repository-level records, and infers lifecycle states across adjacent commits. We evaluate DesignEvo on 10 open-source repositories comprising 317 page-version instances, 3,478 annotated functional UI groups, and 2,435 lifecycle-state labels. DesignEvo achieves an F1 score of 0.85 for group recovery and an overall lifecycle-state accuracy of 0.84, compared with 0.71 for the strongest lifecycle baseline. Ablations demonstrate the contributions of candidate constraints, functional categories, and style evidence. The resulting records provide structured, traceable evidence of recurring UI patterns and their evolution to support frontend maintenance and change auditing.
BibTeX
@misc{yuan2026designevo,
  author = {Mingyue Yuan and Jinbo Yang and Jieshan Chen and Aorui Yang and Aaron Quigley and Gelareh Mohammadi and Zhenchang Xing and Boxi Wu and Dehai Zhao},
  title = {{DesignEvo: Recovering and Tracking Repository-Level Implemented Design Systems Across Commits}},
  year = {2026},
  eprint = {2611.32020},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32020},
}
Figure