Reproduce “MRWeb: An Exploration of Generating Multi-Page Resource-Aware Web Code from UI Designs” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yuxuan Wan, Yi Dong, Jingyu Xiao, Yintong Huo, Wenxuan Wang, Michael R. Lyu

A new framework, MRWeb, enables the generation of multi-page web applications from UI designs, incorporating internal/external navigation, real images, and backend routing. The approach utilizes explicit resource lists to achieve higher functional and visual accuracy and establishes that pixel-based metrics best reflect human perception of web UI similarity.

Key insights

  • Pixel-based visual similarity metrics like MAE and NEMD showed the highest correlation (SROCC of 0.542 for MAE) with human perception of web UI similarity, especially for low-to-medium similarity cases.
  • Providing MLLMs with explicit `resource lists` dramatically improved functional similarity (RER jumped from ~0% to 66-80%) and enhanced visual fidelity by enabling the incorporation of exact images and functional links.
  • State-of-the-art MLLMs exhibit strong color and text recognition but struggle with precise visual grounding, demonstrating average positional shifts of 21.5% and area differences of 35.6% for generated elements.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.