UI2App
收藏资源简介:
UI2App是首个专注于‘交互推断’的基准测试数据集,其核心任务是从静态的用户界面(UI)截图出发,无需任何文本提示或行为描述,生成可运行、支持多路径交互的Web应用程序。与以往仅评估视觉保真度的图像到Web基准不同,UI2App旨在评估模型能否仅从视觉证据中推断并恢复出应用程序的交互行为。该数据集包含45个状态一致的可运行Web应用,共计327张UI截图,平均每个应用包含约7.3张截图。应用涵盖内容型(35.6%)、管理型(35.6%)、交易型(13.3%)和专业型(15.6%)等多种类别。每张截图均在1440×900的视口下,通过无头Chrome浏览器在页面水化后采集,并移除了开发工具覆盖层,同时使用感知哈希技术进行了去重处理。每个应用以目录形式组织,包含一系列PNG格式的截图文件和一个关键的`manifest.json`文件,后者记录了项目元数据、视口信息以及每张截图对应的路由、标签和类型。数据集通过一个严谨的三阶段流程构建:首先通过GitHub查询获取候选仓库,然后经过自动化过滤(包括许可证、结构有效性、可构建性和认证墙检测),最后通过专家根据页面级、应用级和语料库级标准进行筛选。该数据集适用于图像到文本、文本生成、代码生成、Web开发、UI到代码转换、视觉语言模型以及交互推断等研究任务。
UI2App is the first benchmark dataset focused on interaction inference, with the core task of generating runnable, multi-path interactive web applications from static user interface (UI) screenshots, without any textual prompts or behavior descriptions. Unlike previous image-to-web benchmarks that only evaluate visual fidelity, UI2App aims to assess whether models can infer and recover the interactive behavior of applications solely from visual evidence. The dataset contains 45 state-consistent runnable web applications, totaling 327 UI screenshots, with an average of about 7.3 screenshots per application. Applications cover various categories, including content-based (35.6%), management-based (35.6%), transaction-based (13.3%), and professional-based (15.6%). Each screenshot is captured at a viewport of 1440×900 using a headless Chrome browser after page hydration, with developer tool overlays removed, and deduplicated using perceptual hashing techniques. Each application is organized as a directory containing a series of PNG screenshot files and a key `manifest.json` file, which records project metadata, viewport information, and the route, label, and type for each screenshot. The dataset is constructed through a rigorous three-stage process: first, candidate repositories are obtained via GitHub search; then, automated filtering is applied (including license checks, structural validity, buildability, and authentication wall detection); finally, experts screen them based on page-level, application-level, and corpus-level criteria. This dataset is suitable for research tasks such as image-to-text, text generation, code generation, web development, UI-to-code conversion, visual language models, and interaction inference.
数据集概述:UI2App
UI2App 是一个用于评估视觉交互推理能力的基准数据集,旨在测试模型能否仅从UI截图生成可运行的多路由Web应用程序。
- 核心任务:交互推理(Interaction Inference),即从静态截图恢复应用程序的交互行为,无需文本提示或行为描述。
- 独特价值:区别于仅评估视觉保真度的传统图像到Web基准,UI2App侧重于模型对交互行为的推理能力。
数据集规模与结构
- 总截图数量:327张
- 截图集合:45个状态一致的截图集,每个集合对应一个可运行的参考Web应用。
- 单应用截图数:4至14张,平均每应用7.3张。
数据格式与内容
每个应用包含一个目录,内含:
- PNG截图文件:如
img_00_home.png、img_01_shop.png - manifest.json:记录项目信息、视口尺寸(1440×900)、每张截图的路径、标签和类型。
- 截图采集:使用无头Chromium浏览器,在页面加载完成后、无开发覆盖层状态下捕获,并经过感知哈希去重。
应用分类
45个应用分为四类:
- 内容类:占比35.6%
- 管理类:占比35.6%
- 交易类:占比13.3%
- 专业类:占比15.6%
数据集构建过程
采用三阶段流水线构建:
- 候选获取:通过24个架构感知的GitHub查询,获得2,013个候选仓库。
- 自动筛选:经过四阶段自动过滤(许可证、结构有效性、可构建性、认证墙检测),得到164个可用仓库。
- 专家选择:通过三级专家评审(页面级、应用级、语料级标准),最终确定45个应用。
许可与引用
- 许可协议:CC-BY-4.0(评估代码另行以MIT协议发布)。
- 引用:
@article{chen2026ui2app, title={UI2App: Benchmarking Visual Interaction Inference in Executable Web Application Generation}, author={Chen, Grace Man and Guo, Litao and Wu, Yifan and Chen, Yiyu and Tseng, Yenchi and Liu, Sicheng and Luo, Yuyu and Chen, Ying-Cong}, journal={arXiv preprint}, year={2026}}
数据集状态
- 完整数据集即将发布,当前为官方基准页面,数据文件和加载脚本正在最终完善中。




