Paper deep dive
TaoD2C-Bench: Benchmarking MLLMs for Industrial UI Code Generation Beyond Visual Fidelity
Chengwei Shi, Yunnong Chen, Tingting Zhou, Qiang Lu, Shiyu Yue, Xinyuan Hu, Jianfang Ru, Liuqing Chen
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 93%
Last extracted: 10/11/2026, 4:33:16 AM
Summary
The paper introduces TaoD2C-Bench, a benchmark for evaluating Multimodal Large Language Models (MLLMs) on industrial Design-to-Code (D2C) tasks. It addresses the gap in evaluating MLLMs' ability to generate UI code that satisfies specific implementation requirements (component types, grouping, alignment, positioning) rather than just visual fidelity. The dataset, TaoD2C, contains 2,861 production designs from 17 commercial platforms with 97,652 expert annotations. The benchmark defines three tasks: End-to-End UI Code Generation (T1), Requirement Inference (T2), and Requirement Realization (T3). Experiments on eight MLLMs reveal significant gaps in generating code that meets implementation requirements, particularly in alignment and positioning, and show that visual reconstruction ability does not correlate with requirement satisfaction.
Entities (16)
Relation Signals (13)
TaoD2C-Bench â usesdataset â TaoD2C
confidence 98% · we present TaoD2C-Bench... The TaoD2C dataset consists of 2,861 production designs...
TaoD2C-Bench â definestask â T2
confidence 95% · TaoD2C-Bench defines three tasks: ... requirement inference ... T2: Requirement Inference.
TaoD2C-Bench â definestask â T1
confidence 95% · TaoD2C-Bench defines three tasks: end-to-end UI code generation... T1: End-to-End UI Code Generation.
TaoD2C-Bench â definestask â T3
confidence 95% · TaoD2C-Bench defines three tasks: ... requirement realization ... T3: Requirement Realization.
TaoD2C â hasannotationcategory â Position
confidence 95% · 97,652 expert annotations across four categories: Component, Group, Alignment, and Position.
TaoD2C â hasannotationcategory â Component
confidence 95% · 97,652 expert annotations across four categories: Component, Group, Alignment, and Position.
TaoD2C â hasannotationcategory â Group
confidence 95% · 97,652 expert annotations across four categories: Component, Group, Alignment, and Position.
TaoD2C â hasannotationcategory â Alignment
confidence 95% · 97,652 expert annotations across four categories: Component, Group, Alignment, and Position.
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:A key challenge for multimodal large language models (MLLMs) is moving beyond visual recognition to constraint-aware cross-modal reasoning. This involves combining visual cues with information from other modalities to understand elements' relationships under domain-specific rules. This challenge is acutely evident in industrial design-to-code (D2C), which converts user interface (UI) designs into code and requires MLLMs to connect design images with disorganized layer metadata, infer component and layout implementation requirements, and realize them in code under target-library constraints. However, these capabilities remain insufficiently evaluated in realistic industrial settings. To fill this gap, we present TaoD2C-Bench, a benchmark for evaluating MLLMs' ability to generate UI code that satisfies implementation requirements in industrial applications. The TaoD2C dataset consists of 2,861 production designs from 17 commercial platforms with 97,652 expert annotations across four categories: Component, Group, Alignment, and Position. These annotations distinguish required constraints from permitted implementation choices. TaoD2C-Bench defines three tasks: end-to-end UI code generation, requirement inference, and requirement realization. Evaluating eight MLLMs reveals substantial gaps in generating UI code that satisfies implementation requirements, alongside distinct performance profiles in inference and realization. We further show that MLLMs' visual reconstruction ability does not necessarily imply an ability to generate code that meets these requirements. We release TaoD2C to support research on industrial UI code generation.
Tags
Links
- Source: https://arxiv.org/abs/2610.10374v1
- Canonical: https://arxiv.org/abs/2610.10374v1
Trouble viewing inline? Open PDF directly â
Full Text
69,984 characters extracted from source content.
Expand or collapse full text
TaoD2C-Bench: Benchmarking MLLMs for Industrial UI Code Generation Beyond Visual Fidelity Chengwei Shi 1,â Yunnong Chen 2,1,â Tingting Zhou 2 Qiang Lu 2 Shiyu Yue 2 Xinyuan Hu 2 Jianfang Ru 2 Liuqing Chen 1,â 1 Zhejiang University 2 Taobao & Tmall Group of Alibaba chen yn@zju.edu.cn chenlq@zju.edu.cn Abstract A key challenge for multimodal large language models (MLLMs) is moving beyond visual recognition to constraint-aware cross-modal reasoning. This involves combining visual cues with information from other modalities to understand elementsâ relationships under domain-specific rules. This challenge is acutely evident in industrial design-to-code (D2C), which converts user interface (UI) designs into code and requires MLLMs to connect design images with disorganized layer metadata, infer component and layout implementation requirements, and realize them in code under target-library constraints. However, these capabilities remain insufficiently evaluated in realistic industrial settings. To fill this gap, we present TaoD2C-Bench, a benchmark for evalu- ating MLLMsâ ability to generate UI code that satisfies implementation requirements in industrial applications. The TaoD2C dataset consists of 2,861 production designs from 17 commercial platforms with 97,652 expert annotations across four categories: Component, Group, Alignment, and Position. These annotations distinguish required constraints from permitted implementation choices. TaoD2C-Bench defines three tasks: end-to-end UI code generation, requirement infer- ence, and requirement realization. Evaluating eight MLLMs reveals substantial gaps in generating UI code that satisfies implementation requirements, alongside distinct performance profiles in inference and realization. We further show that MLLMsâ visual reconstruction ability does not necessarily imply an ability to generate code that meets these requirements. We release TaoD2C to support research on industrial UI code generation (https://taod2c-bench.github.io/). Figure 1: Two capabilities in UI code generation: (1) inferring positioning requirements and (2) realizing them in code. 1 Introduction Industrial design-to-code (D2C) aims to automate frontend development by translating UI designs into executable code (Xu et al., 2025; Xiao et al., 2025a). Although multimodal large language models (MLLMs) have improved the visual fidelity of generated interfaces (Si et al., 2025), visually similar outputs can still fail to meet the implementation requirements of the specific design, such as which components and properties to use and how elements should be grouped, aligned, and positioned, or to follow frontend coding standards (React, n.d.; Google, n.d.; Airbnb, n.d.). Such generated code can degrade user experience and require manual rework before deployment (Moran et al., 2018; Walsh et al., 2017; Mahajan & Halfond, 2015). As illustrated in Figure 1, generating code that meets these implementation requirements depends on two MLLM capabilities: inferring them from designs and realizing them in code. Inference requires cross-modal reasoning to â Work done during internship at Alibaba. â Corresponding authors. 1 arXiv:2610.10374v1 [cs.SE] 7 Oct 2026 TaoD2C-Bench| Under review Figure 2: Overview of TaoD2C-Bench. We collect 2,861 production UI designs in TaoD2C and annotate their implementation requirements across Component, Group, Alignment, and Position. These annotations provide a shared evaluation reference for UI code generation (T1), requirement inference (T2), and realization with expert requirements supplied (T3). associate disorganized layer metadata with UI images despite visual complexity and limited semantic cues (Chen et al., 2024). Realization requires generating code under complex constraints imposed by these requirements and frontend coding standards. Generated code alone cannot reveal which of these two capabilities limits MLLM performance in UI code generation. Evaluating them requires datasets that pair UI designs with their implementation requirements. However, datasets pairing industrial UI designs with implementation requirements remain scarce. Existing evalua- tions also have three limitations. (a) Visual evaluation compares rendered appearance but does not verify whether the code uses the intended components and layout structure (Xu et al., 2026). (b) Heuristic evaluation favors coding practices that may conflict with a designâs implementation requirements. For example, Figma2Code favors a lower absolute-positioning ratio, even when absolute positioning is appropriate for overlapping elements (Gui et al., 2026). (c) Single-reference structural comparison may penalize valid code that differs from the reference, overlooking multiple implementations that satisfy the same requirements (Guo et al., 2025). To fill this gap, we introduce TaoD2C-Bench (Figure 2), a benchmark for evaluating MLLMsâ ability to generate UI code that satisfies implementation requirements in industrial applications. We collect 2,861 production UI designs from 17 commercial platforms, spanning diverse consumer-facing and business-facing scenarios. Each design includes an image, layer metadata, and its target component library. To associate designs with implementation requirements, we collaborated with frontend engineering experts to produce 97,652 layer-level annotations across four key categories: Component, Group, Alignment, and Position. Required annotations specify requirements for the generated code, while optional annotations describe implementation choices that are allowed but not required. These annotations provide a shared evaluation reference for three tasks. End-to-End UI Code Generation (T1) evaluates MLLMsâ overall ability to generate code that satisfies implementation requirements. Requirement Inference (T2) and Requirement Realization (T3) separately assess MLLMsâ abilities to infer implementation requirements and realize them in code, helping distinguish limitations in these two capabilities. 2 TaoD2C-Bench| Under review Our experiments with eight MLLMs reveal notable limitations in their ability to generate UI code that satisfies implementation requirements, alongside distinct performance profiles in requirement inference and realization. We further show that MLLMsâ visual reconstruction ability does not necessarily imply an ability to generate code that meets these requirements. Our analysis highlights the need for design-specific evaluation: implementation requirements vary across designs, and a single design can admit multiple valid implementations. These insights provide a foundation for future research on improving MLLMsâ ability to generate UI code. Our main contributions are as follows: âą Expert-Annotated Industrial Dataset. We introduce TaoD2C, a large-scale, high-quality industrial UI dataset comprising 2,861 designs. It pairs production designs from 17 commercial platforms across consumer-facing and business-facing applications with expert annotations of layer-level implementation requirements, ensuring industrial realism, application diversity, and access to expert knowledge. âą Implementation-Requirement Evaluation Framework. We develop TaoD2C-Bench, an evaluation framework based on expert-annotated implementation requirements across four key categories. Its three tasks evaluate MLLMsâ abilities to generate UI code that satisfies these requirements, infer them from designs, and realize them in code when supplied. âąEmpirical Findings. Through extensive experiments on eight MLLMs, we reveal critical failures in generating UI code that satisfies implementation requirements, while characterizing MLLM performance profiles in requirement inference and realization. We further show that MLLMsâ visual reconstruction ability does not necessarily imply an ability to generate code that meets these requirements. 2 Related Work UI-to-Code Generation.Early UI-to-code systems reconstructed interfaces from screenshots (Nguyen & Csallner, 2015; Beltramelli, 2018; Chen et al., 2018; Moran et al., 2020). Recent MLLM-based methods employ synthetic data and feedback-based finetuning (Laurenc ̧on et al., 2024; Ge et al., 2025; Wu et al., 2024; Zheng et al., 2026). Decomposition and layout reasoning organize complex interfaces into manageable regions (Wan et al., 2025; Wu et al., 2025; Gui et al., 2025b; Jiang et al., 2026; Zhou et al., 2025). Hierarchical generation (Gui et al., 2025c; Chen et al., 2026) and iterative visual refinement (Yue et al., 2025; Sansford et al., 2026; Yang et al., 2025; Deng et al., 2026; Xiong et al., 2026) further improve reconstruction. Beyond image-only generation, recent work leverages multimodal design inputs, including images, metadata, and assets, to support higher-quality UI code generation (Xiao et al., 2024). Overall, despite these advances, generating production-ready UI code for industrial applications remains challenging (Xiao et al., 2026b). UI Code Generation Evaluation. UI code generation evaluation considers appearance, coding practices, and structure. Visual evaluation compares rendered outputs with target images through image and layout similarity (Xiao et al., 2025b; Lai et al., 2025; Li et al., 2025; Zhang et al., 2026), using metrics such as SSIM, CLIP, and LPIPS (Wang et al., 2004; Radford et al., 2021; Zhang et al., 2018). WebUIBench extends evaluation to element attributes and spatial layouts (Lin et al., 2025). Heuristic evaluation, exemplified by Figma2Code, summarizes practices such as relative-unit and absolute-positioning usage as proxies for code quality (Gui et al., 2026). Single-reference structural comparison assesses agreement with a reference implementation (Sun et al., 2025; Xiao et al., 2026a). However, visual similarity does not establish requirement satisfaction. Aggregate coding statistics cannot determine whether a practice suits a specific design, while differences from one reference can reflect valid implementations. Overall, evaluation has expanded beyond appearance to code quality, but assessing implementation requirement satisfaction while accommodating multiple valid implementations remains an open challenge. 3 TaoD2C-Bench 3.1 Dataset Construction We constructed TaoD2C through four stages: design collection, filtering and normalization, expert annotation, and evaluation subset selection. Figure 3 summarizes the dataset composition, Figure 4 reports the per-design complexity and annotation counts, and Appendix A provides the full construction procedure. Design collection. To capture the complexity of real-world industrial UIs, we collected MasterGo design files from multiple product teams within a large-scale e-commerce ecosystem. With authorization from the owning teams, we assembled an initial pool of approximately 30,000 design pages from 17 commercial platforms. These designs span consumer-facing (C-end) interfaces for shopping, marketing, membership, content, and transaction flows, as well as business-facing (B-end) interfaces for merchant operations, data analytics, logistics management, and complex business workflows. For each design, we extracted its rendered image and layer metadata and retained a reference to its target component library. We then filtered, normalized, and quality-checked the extracted data 3 TaoD2C-Bench| Under review Figure 3: TaoD2C dataset composition by endpoint type and application scenario. 050100150200250 Count per design 0.00 0.01 0.02 Density 0 20k 40k 17,017 18,349 0 20k 40k 15,232 37,276 0 2k 4k 1,471 3,693 0 2k 4k 653 3,961 B-end Visible nodes Annotations C-end Visible nodes Annotations Mean nodes: B 82.5 / C 56.4 Mean annotations: B 40.02 / C 31.61 (a) (b) Number of annotations ComponentGroupAlignmentPosition Figure 4: Per-design node and annotation distributions (a) and annotation counts by category (b). to ensure data quality and remove duplicates. This collection captures diverse interface structures and business workflows encountered in industrial production. Implementation Requirement Annotation. To annotate the collected designs, we developed a platform that integrates their rendered images and parsed layer trees, allowing experts to select individual layers and annotate their requirements. Two senior frontend engineers with seven and five years of experience, respectively, annotated the designs. They inspected the source design, rendered image, layer metadata, and target component library documentation to specify component types and properties, container hierarchies, alignment relations, and positioning schemes. The annotations were based on W3C CSS layout and positioning specifications (W3C, 2025a;b), target- library definitions and APIs, and the annotatorsâ understanding of each design and frontend implementation experience. Each annotation is marked as required or optional. Required annotations specify constraints that an implementation must satisfy, while optional annotations record permitted implementation choices. A third expert iteratively reviewed all annotations, with identified errors corrected by the frontend experts and rechecked. The annotation and verification process spanned 18 months. We denote the four requirement categories as Component, Group, Alignment, and Position throughout the tables and analysis: 1.Component: component implementation, defined by the target-library component type and property configuration. For a set of layers that realizes a reusable component, annotators identify its type in the target library and configure the properties defined by its API, such as a switch state, button size, input placeholder, or a selectâs options and selected value. 2. Group: container nesting relations. Annotators mark the container regions, and member nodes are deterministically compiled from those regions and the layer tree. 3. Alignment: layout relations. For containers with specific alignment requirements, annotators identify the rule arranging their children along the main axis, such asspace-between,center,flex-start, flex-end, and other justify-content values. 4. Position: positioning schemes. Annotators specify positioning schemes for individual elements, such as absolute positioning relative to a containing block. 3.2 Dataset Characteristics 1 Industrial realism and complexity. TaoD2C captures the complexity of industrial UI development through 2,861 production designs from 17 commercial platforms spanning eight application scenarios (Figure 3). These designs encompass complex business forms and tables alongside image-rich consumer interfaces, averaging 64.2 visible layers per design. This structural and application diversity provides a challenging testbed for evaluating MLLMs under the heterogeneous component and layout requirements encountered in production. 2 Dense expert annotations.TaoD2C combines design images, layer metadata, and target component libraries with expert annotations of implementation requirements for layers and their relations, a combination unique among the compared benchmarks (Table 1). Its 97,652 annotations span Component, Group, Alignment, and Position, distinguishing required choices from optional alternatives. Building this resource involved 18 months of expert 4 TaoD2C-Bench| Under review Table 1: Comparison with existing design-to-code benchmarks. Implementation requirements are annotated by experts. BenchmarkData sourceScaleMetadata Implementation requirementsGranularity Design2Code (Si et al., 2025)Web pages484âPage Web2Code (Yun et al., 2024)Synthetic+web884.7KâPage/QA WebUIBench (Lin et al., 2025)Websites21.8K QAâQA/element IW-Bench (Guo et al., 2025)Generated+web1,200âDOM/layout WebCode2M (Gui et al., 2025a)Common Crawl2.56MâElement/layout Figma2Code (Gui et al., 2026)Figma Comm.3,055 (213 eval)ââPage 1D-Bench (Xu et al., 2026)Industrial984 (204 eval)ââInstance TaoD2C-Bench (ours)Industrial2,861âLayer/relation Figure 5: Three tasks and their evaluation. Expert annotations provide a shared reference for requirement prediction (T2) and code implementation (T1/T3); visual fidelity compares rendered pages with design images. annotation and iterative verification. Drawing on human frontend expertise, these annotations specify design-specific component and layout requirements for code implementation. They provide a shared reference for evaluating MLLMsâ abilities to infer these requirements and generate UI code that satisfies them. 4 Tasks and Metrics 4.1 Tasks We define three tasks to evaluate end-to-end UI code generation, requirement inference, and requirement realization (Figure 5). All three tasks use the same designs and expert annotations as a shared evaluation reference. T1: End-to-End UI Code Generation. Capability: Generating UI code that satisfies implementation requirements while reproducing the designâs appearance. Given a design image, layer metadata, and target-library documentation, the MLLM generates executable UI code. We assess requirement satisfaction through source-code and runtime analysis, and evaluate visual fidelity separately. 5 TaoD2C-Bench| Under review T2: Requirement Inference. Capability: Inferring implementation requirements from a design image, layer metadata, and target-library documentation. Given the same inputs as T1, the MLLM predicts structured requirements across Component, Group, Alignment, and Position without generating code. We compare these predictions with expert annotations to evaluate requirement inference separately from code implementation. T3: Requirement Realization. Capability: Realizing supplied implementation requirements in UI code under complex constraints imposed by these requirements and frontend coding standards. To evaluate MLLMsâ requirement realization ability, we supply the T1 inputs together with the expert annotations for the input design. The MLLM generates executable UI code from these inputs. We assess whether the generated code realizes the supplied requirements and evaluate visual fidelity using the same metrics as T1. 4.2 Metrics We evaluate the predicted requirements from T2 and the generated code from T1/T3 against shared expert annotations. We assess visual fidelity by comparing pages rendered from T1/T3 code with the design images (Figure 5). We account for required and optional annotations when computing the scores, with details provided in Appendix C. Requirement Prediction. For T2, we compare predicted requirements Ë R with expert annotationsR â through layer-level correspondences, checking both the associated design elements and category-specific attributes. This evaluates requirement inference separately from code implementation. We report micro-F1 for Component, Group, Alignment, and Position. Score pred =E pred ( Ë R, R â ).(1) Code Implementation. For T1 and T3, we bridge design-side annotationsR â and runtime implementations by establishing requirement-specific correspondences using source-code, structural, and geometric evidence. This enables requirement-level evaluation of generated codeCwithout reference code. We report micro-F1 for Type, Props, Group, Alignment, and Position; Props is evaluated only on type-matched components. Score impl =E impl ( Ί(C), R â ) .(2) Here,Ί(C)extracts source-code, structural, and geometric evidence, whichE impl matches againstR â to compute per-dimension scores. Visual Fidelity.For T1 and T3, we compareRender(C)with the design imageI(Si et al., 2025; Xu et al., 2026). We report 1D-Benchâs composite visual score (CV), visual element similarity (VES) using DINOv2 features (Oquab et al., 2023), and normalized RGB mean absolute error (MAE). Higher CV/VES and lower MAE indicate better visual fidelity. Appendix C.3 provides computation details. Score vis =E vis (Render(C), I).(3) 5 Experiments 5.1 Setup We evaluate eight MLLMs on a curated test set of 421 TaoD2C designs, comprising 152 B-end and 269 C-end designs, with all selected designs undergoing annotation review and deduplication. All MLLMs receive the same design context and task prompts. The evaluated MLLMs are GPT-5.6 Terra, GPT-5.4, Claude Sonnet 5, Qwen3.8-Max, Qwen3-VL-235B-A22B-Thinking, Gemini 3.5 Flash, Kimi K3, and Gemini 3.1 Pro Preview. Further experimental details are provided in the appendix. 5.2 Results Table 2 reports Code Implementation and Visual Fidelity scores for T1 and Requirement Prediction scores for T2 on TaoD2C-Bench, including per-MLLM results and averages across MLLMs. Table 3 reports Code Implementation and Visual Fidelity scores for Requirement Realization (T3). Values below each score show the change from T1. 6 TaoD2C-Bench| Under review Table 2: Main results for T1 and T2 on 421 designs. Code Implementation and Requirement Prediction scores are micro F1 (%). Higher CV/VES and lower MAE indicate better visual fidelity. Bold denotes the best result; shading indicates within-column rank. Model End-to-End UI Code Generation (T1) Requirement Inference (T2) Code ImplementationVisual Fidelity TypePropsGroupAlign.Pos.CVâVESâMAEâComp.GroupAlign.Pos. GPT-5.6 Terra62.4744.2556.8430.5336.4385.780.91740.116359.1560.9237.1147.68 GPT-5.460.1940.2956.4827.4833.4485.090.91830.107857.3260.9331.8848.85 Claude Sonnet 559.8940.3754.8223.5427.9378.820.89460.135058.3650.4834.8447.62 Qwen3.8-Max61.7738.8359.4626.4245.3585.530.91920.113458.8671.4029.4549.15 Qwen3-VL-235B31.6017.3430.536.727.6158.370.79190.180853.2521.3117.6826.75 Gemini 3.5 Flash62.0738.0351.2820.1029.4980.500.91120.119558.8051.4234.6147.55 Kimi K363.2541.5659.4127.0443.6884.400.91510.117859.6770.8433.3151.93 Gemini 3.1 Pro57.7436.8755.5224.5933.8183.000.91550.116658.6767.9620.6448.28 Mean57.3737.1953.0423.3032.2280.190.89790.125958.0156.9129.9445.98 Table 3: Results for Requirement Realization (T3) on 421 designs. Values below each score showâ = T3â T1. Purple and yellow denote gains and losses, respectively; bold marks the largest gain per column. Model Code ImplementationVisual Fidelity TypePropsGroupAlign.Pos.CVâVESâMAEâ GPT-5.6 Terra 81.72 +19.25 66.19 +21.94 61.11 +4.27 47.22 +16.69 51.03 +14.60 86.52 +0.74 0.9263 +0.0089 0.1016 â0.0147 GPT-5.4 75.75 +15.56 61.44 +21.15 64.54 +8.06 49.44 +21.96 58.43 +24.99 84.95 â0.14 0.9118 â0.0065 0.1088 +0.0010 Claude Sonnet 5 78.08 +18.19 63.99 +23.62 61.05 +6.23 35.16 +11.62 49.35 +21.42 79.40 +0.58 0.9003 +0.0057 0.1344 â0.0006 Qwen3.8-Max 79.99 +18.22 63.08 +24.25 64.79 +5.33 45.79 +19.37 64.82 +19.47 84.73 â0.80 0.9126 â0.0066 0.1139 +0.0005 Qwen3-VL-235B 42.83 +11.23 29.48 +12.14 30.73 +0.20 9.81 +3.09 13.45 +5.84 58.69 +0.32 0.7784 â0.0135 0.1782 â0.0026 Gemini 3.5 Flash 82.08 +20.01 67.49 +29.46 59.03 +7.75 37.00 +16.90 54.32 +24.83 80.58 +0.08 0.8944 â0.0168 0.1145 â0.0050 Kimi K3 79.42 +16.17 64.64 +23.08 66.29 +6.88 46.81 +19.77 62.13 +18.45 83.54 â0.86 0.9131 â0.0020 0.1149 â0.0029 Gemini 3.1 Pro 85.80 +28.06 75.11 +38.24 71.34 +15.82 57.82 +33.23 77.11 +43.30 84.53 +1.53 0.9154 â0.0001 0.1147 â0.0019 Mean 75.71 +18.34 61.43 +24.24 59.86 +6.82 41.13 +17.83 53.83 +21.61 80.37 +0.18 0.8940 â0.0039 0.1226 â0.0033 Finding 1. Current MLLMs exhibit limited capabilities in generating UI code that satisfies implementation requirements. Even the best end-to-end results in Table 2 reach only 63.25 F1 on component type (Kimi K3), 44.25 on properties (GPT-5.6 Terra), and 59.46 on grouping (Qwen3.8-Max). In the overall T1 results, Alignment scores lowest for all eight MLLMs, averaging 23.30 F1 and a best score of 30.53 (GPT-5.6 Terra). Positioning also remains challenging, with a mean F1 of 32.22 and a best score of 45.35 (Qwen3.8-Max). Taken together, these results indicate persistent gaps in component selection, property configuration, and layout relationships in generated code, highlighting barriers to generating production-ready UI code. Finding 2.MLLM performance varies across requirement categories, with alignment and positioning remaining key weaknesses. In T2, Alignment and Position average 29.94 and 45.98 F1, below Component (58.01) and Group (56.91) (Table 2). Alignment also has the lowest overall mean in T3 with supplied requirements (41.13 F1; Table 3). These results suggest that MLLMs struggle to reason about how elements relate to their containers and positioning references, and to translate spatial constraints into layout code. Finding 3. MLLMs exhibit distinct performance profiles in requirement inference and realization. GPT-5.6 Terra leads alignment inference at 37.11 F1, while Gemini 3.1 Pro ranks seventh at 20.64 (Table 2). When expert requirements are supplied in T3, Gemini 3.1 Pro leads alignment realization at 57.82, exceeding GPT-5.6 Terraâs 47.22 (Table 3). Grouping shows a similar contrast: Qwen3.8-Max leads inference at 71.40 F1, whereas Gemini 3.1 Pro leads realization at 71.34. These contrasting profiles suggest that MLLM improvement should target 7 TaoD2C-Bench| Under review Figure 6: Visually similar interfaces can violate implementation requirements. From left to right: incorrect component type, incorrect positioning, missing grouping container, and fixed spacing instead of space-between alignment. Code excerpts reveal these errors; bottom panels explain their potential impact on component integration, interaction handling, and layout adaptation. MLLM-specific weaknesses: strengthening cross-modal reasoning over design images and layer metadata for requirement inference, and the ability to translate component and layout constraints into code for requirement realization. Finding 4. MLLMsâ visual reconstruction ability does not necessarily imply an ability to generate UI code that satisfies implementation requirements. In T1, Kimi K3 ranks among the top three on all five code dimensions, but fourth on CV and fifth on VES/MAE (Table 2). From T1 to T3, all MLLMs improve on every code dimension (mean gains: 6.82â24.24 F1 points), while mean visual scores change little (CV: +0.18; VES:â0.0039; MAE: â0.0033; Table 3). Figure 6 further shows that generated code can contain errors even when the rendered interfaces closely resemble the designs. These results suggest limitations in relational abstraction and compositional reasoning when translating visual designs into code. Finding 5. Requirements depend on the specific design context, and a single design can allow multiple valid implementations. Absolute positioning is required for the filter in Figure 6 but violates normal-flow requirements for cards in another design, illustrating why heuristics favoring less absolute positioning cannot determine its appropriateness. The evaluation subset also contains 350 optional positioning, 170 optional alignment, and 49 optional grouping annotations, recording permitted implementation choices. For example, the same design may allow eitherjustify-content: space-betweenormargin-left: autoto achieve the required spacing. A single-reference comparison may penalize this difference even when both implementations satisfy the implementation requirements. 6 Conclusion TaoD2C-Bench pairs industrial UI designs with layer-level expert requirements to evaluate generated code. Its three tasks reveal limited capabilities in both inferring implementation requirements and implementing them in code, alongside distinct strengths across MLLMs and tasks. These findings provide insights for future research on UI code generation. 8 TaoD2C-Bench| Under review References Airbnb. Airbnb React/JSX style guide, n.d. URLhttps://github.com/airbnb/javascript/tree/master/ react. Accessed September 25, 2026. Tony Beltramelli. pix2code: Generating code from a graphical user interface screenshot. In Proceedings of the ACM SIGCHI Symposium on Engineering Interactive Computing Systems (EICS), 2018. doi: 10.1145/3220134. 3220135. Chunyang Chen, Ting Su, Guozhu Meng, Zhenchang Xing, and Yang Liu. From UI design image to GUI skeleton: A neural machine translator to bootstrap mobile GUI implementation. In Proceedings of the 40th International Conference on Software Engineering (ICSE), 2018. doi: 10.1145/3180155.3180240. Liuqing Chen, Yunnong Chen, Shuhong Xiao, Yaxuan Song, Lingyun Sun, Yankun Zhen, Tingting Zhou, and Yanfang Chang. EGFE: End-to-end grouping of fragmented elements in UI designs with multimodal learning. In Proceedings of the IEEE/ACM 46th International Conference on Software Engineering, p. 1â12. ACM, 2024. doi: 10.1145/3597503.3623313. Yunnong Chen, Xinyu Yu, Shixian Ding, Yingying Zhang, Chengwei Shi, Jingzhou Du, and Liuqing Chen. DesignCoder: Hierarchy-aware and self-correcting UI code generation with large language models. Information and Software Technology, 198:108214, 2026. doi: 10.1016/j.infsof.2026.108214. URLhttps://doi.org/10. 1016/j.infsof.2026.108214. Jie Deng, Kaichun Yao, and Libo Zhang. VisRefiner: Learning from Visual Differences for Screenshot-to-Code Generation. arXiv preprint, 2026. URL https://arxiv.org/abs/2602.05998. Tong Ge, Yashu Liu, Jieping Ye, Tianyi Li, and Chao Wang. Advancing vision-language models in front-end development via data synthesis, 2025. URL https://arxiv.org/abs/2503.01619. Google.Google HTML/CSS style guide, n.d.URLhttps://google.github.io/styleguide/ htmlcssguide.html. Accessed September 25, 2026. Yi Gui, Zhen Li, Yao Wan, Yemin Shi, Hongyu Zhang, Yi Su, Bohua Chen, Dongping Chen, Siyuan Wu, Xing Zhou, Wenbin Jiang, Hai Jin, and Xiangliang Zhang. WebCode2M: A real-world dataset for code generation from webpage designs. In Proceedings of the ACM Web Conference (W), 2025a. doi: 10.1145/3696410.3714889. Yi Gui, Zhen Li, Zhongyi Zhang, Guohao Wang, Tianpeng Lv, Gaoyang Jiang, Yi Liu, Dongping Chen, Yao Wan, Hongyu Zhang, Wenbin Jiang, Xuanhua Shi, and Hai Jin. LaTCoder: Converting webpage design to code with layout-as-thought. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining, p. 721â732, 2025b. doi: 10.1145/3711896.3737016. Yi Gui, Yao Wan, Zhen Li, Zhongyi Zhang, Dongping Chen, Hongyu Zhang, Yi Su, Bohua Chen, Xing Zhou, Wenbin Jiang, and Xiangliang Zhang. UICopilot: Automating UI synthesis via hierarchical code generation from webpage designs. In Proceedings of the ACM Web Conference, p. 1846â1855, 2025c. doi: 10.1145/3696410.3714891. Yi Gui, Jiawan Zhang, Yina Wang, Tianran Ma, Yao Wan, Shilin He, Dongping Chen, Zhou Zhao, Wenbin Jiang, Xuanhua Shi, Hai Jin, and Philip S. Yu. Figma2Code: Automating multimodal design to code in the wild. In International Conference on Learning Representations (ICLR), 2026. Hongcheng Guo, Wei Zhang, Junhao Chen, Yaonan Gu, Jian Yang, Junjia Du, Shaosheng Cao, Binyuan Hui, Tianyu Liu, Jianxin Ma, Chang Zhou, and Zhoujun Li. IW-Bench: Evaluating large multimodal models for converting Image-to-Web. In Findings of the Association for Computational Linguistics: ACL 2025, 2025. Yilei Jiang, Yaozhi Zheng, Yuxuan Wan, Jiaming Han, Qunzhong Wang, Michael R. Lyu, and Xiangyu Yue. Screencoder: Advancing visual-to-code generation for front-end automation via modular multimodal agents. Accepted to the Conference on Empirical Methods in Natural Language Processing (EMNLP), 2026. URL https://github.com/leigest519/ScreenCoder. Peichao Lai, Jinhui Zhuang, Kexuan Zhang, Ningchang Xiong, Shengjie Wang, Yanwei Xu, Chong Chen, Yilei Wang, and Bin Cui. WebRenderBench: Enhancing Web Interface Generation through Layout-Style Consistency and Reinforcement Learning. arXiv preprint, 2025. URL https://arxiv.org/abs/2510.04097. Hugo Laurenc ̧on, L Ì eo Tronchon, and Victor Sanh. Unlocking the conversion of web screenshots into html code with the websight dataset, 2024. URL https://arxiv.org/abs/2403.09029. Ryan Li, Yanzhe Zhang, and Diyi Yang. Sketch2code: Evaluating vision-language models for interactive web design prototyping. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), p. 3921â3955. Association for Computational Linguistics, 2025. doi: 10.18653/v1/2025.naacl-long.198. URL https://doi.org/10.18653/v1/2025.naacl-long.198. 9 TaoD2C-Bench| Under review Zhiyu Lin, Zhengda Zhou, Zhiyuan Zhao, Tianrui Wan, Yilun Ma, Junyu Gao, and Xuelong Li. WebUIBench: A comprehensive benchmark for evaluating multimodal large language models in WebUI-to-Code. In Findings of the Association for Computational Linguistics: ACL 2025, 2025. Sonal Mahajan and William G. J. Halfond. WebSee: A tool for debugging HTML presentation failures. In 2015 IEEE 8th International Conference on Software Testing, Verification and Validation, 2015. URLhttps: //viterbi-web.usc.edu/ Ì halfond/papers/mahajan15icst-tool.pdf. Kevin Moran, Boyang Li, Carlos Bernal-C Ì ardenas, Dan Jelf, and Denys Poshyvanyk. Automated reporting of GUI design violations for mobile apps. In Proceedings of the 40th International Conference on Software Engineering, 2018. doi: 10.1145/3180155.3180246. URL https://arxiv.org/abs/1802.04732. Kevin Moran, Carlos Bernal-C Ì ardenas, Michael Curcio, Richard Bonett, and Denys Poshyvanyk. Machine Learning-Based Prototyping of Graphical User Interfaces for Mobile Apps. IEEE Transactions on Software Engineering, 46(2):196â221, 2020. doi: 10.1109/TSE.2018.2844788. URLhttps://doi.org/10.1109/TSE. 2018.2844788. Tuan Anh Nguyen and Christoph Csallner. Reverse engineering mobile application user interfaces with REMAUI. In Proceedings of the 30th IEEE/ACM International Conference on Automated Software Engineering (ASE), 2015. doi: 10.1109/ASE.2015.32. Maxime Oquab, Timoth Ì e Darcet, Theo Moutakanni, Huy V. Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, Russell Howes, Po-Yao Huang, Hu Xu, Vasu Sharma, Shang-Wen Li, Wojciech Galuba, Mike Rabbat, Mido Assran, Nicolas Ballas, Gabriel Synnaeve, Ishan Misra, Herve Jegou, Julien Mairal, Patrick Labatut, Armand Joulin, and Piotr Bojanowski. DINOv2: Learning robust visual features without supervision. arXiv preprint arXiv:2304.07193, 2023. URLhttps://arxiv.org/abs/ 2304.07193. Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In International Conference on Machine Learning (ICML), 2021. React. Rules of React, n.d. URL https://react.dev/reference/rules. Accessed September 25, 2026. Hannah Sansford, Derek H. C. Law, Wei Liu, Abhishek Tripathi, Niresh Agarwal, and Gerrit J. J. van den Burg. Vision-guided iterative refinement for frontend code generation, 2026. URLhttps://arxiv.org/abs/2604. 05839. Chenglei Si, Yanzhe Zhang, Ryan Li, Zhengyuan Yang, Ruibo Liu, and Diyi Yang. Design2Code: Benchmarking multimodal code generation for automated front-end engineering. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), 2025. Haoyu Sun, Huichen Will Wang, Jiawei Gu, Linjie Li, and Yu Cheng. FullFront: Benchmarking MLLMs Across the Full Front-End Engineering Workflow. arXiv preprint arXiv:2505.17399, 2025. URLhttps: //arxiv.org/abs/2505.17399. W3C. CSS Flexible Box Layout Module Level 1. W3C specification, 2025a. URLhttps://w.w3.org/TR/ css-flexbox-1/. Accessed September 25, 2026. W3C. CSS Positioned Layout Module Level 3. W3C specification, 2025b. URLhttps://w.w3.org/TR/ css-position-3/. Accessed September 25, 2026. Thomas A. Walsh, Gregory M. Kapfhammer, and Phil McMinn.Automated layout failure detection for responsive web pages without an explicit oracle.In Proceedings of the 26th ACM SIGSOFT Interna- tional Symposium on Software Testing and Analysis, 2017. doi: 10.1145/3092703.3092712. URLhttps: //w.gregorykapfhammer.com/research/papers/walsh2017/. Yuxuan Wan, Chaozheng Wang, Yi Dong, Wenxuan Wang, Shuqing Li, Yintong Huo, and Michael R. Lyu. Automatically generating UI code from screenshot: A divide-and-conquer-based approach. In Proceedings of the ACM on Software Engineering (FSE), 2025. doi: 10.1145/3729364. Zhou Wang, Alan C. Bovik, Hamid R. Sheikh, and Eero P. Simoncelli. Image quality assessment: From error visibility to structural similarity. IEEE Transactions on Image Processing, 13(4):600â612, 2004. doi: 10.1109/ TIP.2003.819861. Fan Wu, Cuiyun Gao, Shuqing Li, Xin-Cheng Wen, and Qing Liao. MLLM-based UI2Code automation guided by UI layout information. In Proceedings of the 34th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA), 2025. doi: 10.1145/3728925. 10 TaoD2C-Bench| Under review Jason Wu, Eldon Schoop, Alan Leung, Titus Barik, Jeffrey Bigham, and Jeffrey Nichols. Uicoder: Finetuning large language models to generate user interface code through automated feedback. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), p. 7511â7525. Association for Computational Linguistics, 2024. doi: 10.18653/v1/2024.naacl-long.417. URL https://arxiv.org/abs/2406.07739. Jingyu Xiao, Yuxuan Wan, Yintong Huo, Zixin Wang, Xinyi Xu, Wenxuan Wang, Zhiyao Xu, Yuhang Wang, and Michael R. Lyu. Interaction2Code: Benchmarking MLLM-based Interactive Webpage Code Generation from Interactive Prototyping. In 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE), p. 241â253, 2025a. doi: 10.1109/ASE63991.2025.00028. URLhttps://doi.org/10. 1109/ASE63991.2025.00028. Jingyu Xiao, Ming Wang, Man Ho Lam, Yuxuan Wan, Junliang Liu, Yintong Huo, and Michael R. Lyu. DesignBench: A Comprehensive Benchmark for MLLM-based Front-end Code Generation. arXiv preprint arXiv:2506.06251, 2025b. URL https://arxiv.org/abs/2506.06251. Jingyu Xiao, Jiantong Qin, Shuoqi Li, Man Ho Lam, Yuxuan Wan, Jen-tse Huang, Yintong Huo, and Michael R. Lyu. Component-based Reusable UI Code Generation for Complex Websites via Semantic Segmentation and Fine-grained Feedback. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2, p. 5638â5649, 2026a. doi: 10.1145/3770855.3817689. URLhttps://doi.org/10.1145/ 3770855.3817689. Jingyu Xiao, Zhongyi Zhang, Yuxuan Wan, Yintong Huo, Yang Liu, and Michael R. Lyu. EfficientUICoder: A Bidirectional Token Compression Framework for Efficient MLLM-Based UI Code Generation. Proceedings of the ACM on Software Engineering, 3(FSE):2396â2418, 2026b. doi: 10.1145/3808114. URLhttps: //doi.org/10.1145/3808114. Shuhong Xiao, Yunnong Chen, Jiazhi Li, Liuqing Chen, Lingyun Sun, and Tingting Zhou. Prototype2Code: End-to-end front-end code generation from UI design prototypes. In Volume 2B: 44th Computers and Information in Engineering Conference (CIE), IDETC-CIE2024. American Society of Mechanical Engineers, 2024. doi: 10.1115/DETC2024-143139. Tianyi Xiong, Zhengyuan Yang, Xiaofei Wang, Chung-Ching Lin, Ruichun Ma, Kevin Lin, Zhendong Wang, Linjie Li, Chenxi Liu, Ruibo Chen, Ramani Duraiswami, Heng Huang, and Lijuan Wang. Rubrics as Visual-Repair Context for Self-Evolving UI-to-Code Generation. arXiv preprint, 2026. URLhttps://arxiv.org/abs/ 2608.24138. Mingde Xu, Zhen Yang, Wenyi Hong, Lihang Pan, Xinyue Fan, Yan Wang, Xiaotao Gu, Bin Xu, and Jie Tang. Web- VIA: A Web-based Vision-Language Agentic Framework for Interactive and Verifiable UI-to-Code Generation. arXiv preprint, 2025. URL https://arxiv.org/abs/2511.06251. Qiao Xu, Yipeng Yu, Chengxiao Feng, and Xu Liu. 1D-Bench: A benchmark for iterative UI code generation with visual feedback in real-world. arXiv preprint arXiv:2602.18548, 2026. Zhen Yang, Wenyi Hong, Mingde Xu, Xinyue Fan, Weihan Wang, Jiale Cheng, Xiaotao Gu, and Jie Tang. UI2Code N : Ui-to-code generation as interactive visual optimization, 2025. URLhttps://arxiv.org/abs/2511.08195. Chuhuai Yue, Jiajun Chai, Yufei Zhang, Zixiang Ding, Xihao Liang, Peixin Wang, Shihai Chen, Wang Yixuan, Wangyanping, Guojun Yin, and Wei Lin. UIOrchestra: Generating high-fidelity code from UI designs with a multi-agent system. In Findings of the Association for Computational Linguistics: EMNLP 2025, p. 2769â2782, 2025. doi: 10.18653/v1/2025.findings-emnlp.150. Sukmin Yun, Haokun Lin, Rusiru Thushara, Mohammad Qazim Bhat, Yongxin Wang, Zutao Jiang, Mingkai Deng, Jinhong Wang, Tianhua Tao, Junbo Li, Haonan Li, Preslav Nakov, Timothy Baldwin, Zhengzhong Liu, Eric P. Xing, Xiaodan Liang, and Zhiqiang Shen. Web2Code: A large-scale Webpage-to-Code dataset and evaluation framework for multimodal LLMs. In Advances in Neural Information Processing Systems (NeurIPS) Datasets and Benchmarks Track, 2024. Houston H. Zhang, Tao Zhang, Baoze Lin, Yuanqi Xue, Yincheng Zhu, Huan Liu, Li Gu, Lin- feng Ye, Ziqiang Wang, Xinxin Zuo, Yang Wang, Yuanhao Yu, and Zhixiang Chi.Wid- get2Code:From visual widgets to UI code via multimodal LLMs.In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), p. 20293â20302, 2026.URLhttps://openaccess.thecvf.com/content/CVPR2026/html/Zhang_Widget2Code_ From_Visual_Widgets_to_UI_Code_via_Multimodal_LLMs_CVPR_2026_paper.html. Richard Zhang, Phillip Isola, Alexei A. Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, p. 586â595, 2018. URL https://arxiv.org/abs/1801.03924. 11 TaoD2C-Bench| Under review Yaozhi Zheng, Yilei Jiang, Manyuan Zhang, Yuxuan Wan, Kaituo Feng, Tianshuo Peng, Bo Zhang, and Xiangyu Yue. Unicoder: Unified visual-to-code generation via symbolic rewards and reference-guided code optimization, 2026. URL https://arxiv.org/abs/2606.31732. Ting Zhou, Yanjie Zhao, Xinyi Hou, Xiaoyu Sun, Kai Chen, and Haoyu Wang. Declarui: Bridging design and development with automated declarative ui code generation. Proceedings of the ACM on Software Engineering, 2 (FSE), 2025. doi: 10.1145/3715726. URL https://arxiv.org/abs/2409.11667. 12 TaoD2C-Bench| Under review Appendix Contents SectionPage A Dataset and Annotation14 Industrial diversity and complexity Annotation platform, preprocessing, and quality control Evaluation subset and scoring references B Task Prompts17 Shared inputs, task instructions, and output formats C Evaluation Details21 Requirement prediction and implementation, visual fidelity Aggregation and failure handling D Experimental Settings22 Models, generation settings, and output validation E Domain-wise Results24 F License26 13 TaoD2C-Bench| Under review A Dataset and Annotation A.1 Industrial Realism and Application Diversity TaoD2C brings together production designs from 17 commercial platforms, pairing the diversity of real industrial interfaces with expert knowledge of their implementation requirements. The following statistics cover all 2,861 final designs, rather than only the evaluation subset. Table 4 summarizes the scale of this resource. Table 4: Overall scale of TaoD2C. StatisticCount Commercial platforms17 Designs2,861 Visible layers183,697 Expert annotation records97,652 Figure 7 summarizes eight application scenarios, including marketing, transactions, logistics, merchant operations, and analytics. These scenarios provide varied contexts for evaluating implementation requirement inference and realization. Marketing & membership921 E-commerce & transactions462 Logistics & supply chain418 General forms & other256 Merchant back-office254 Data & ad analytics231 Industry services184 Content & social135 02004006008001000 Number of designs Figure 7: Application scenarios across all 2,861 designs. Each design is counted once in its primary scenario. A.2 Structural Complexity and Annotation Coverage Table 5 summarizes visible layers and annotation records per design. The median design contains 43 visible layers and 23 annotations; the corresponding 90th percentiles are 146 and 81. These statistics describe the full dataset, rather than the compiled scoring references for the evaluation subset. Table 5: Per-design statistics across all 2,861 designs. P90 denotes the 90th percentile. QuantityMeanMedianP90MinimumMaximum Visible layers64.21431461776 Expert annotation records34.1323810270 14 TaoD2C-Bench| Under review A.3 Annotation Platform Experts annotate the original design alongside its rendered image and parsed layer tree (Figure 8). The platform links annotations to design layers and supports Component, Group, Alignment, and Position requirements. Each entry is marked as required or optional; acceptable alternative component types can also be recorded. Figure 8: The annotation platform. Experts inspect the design and its layers, overlay the four requirement categories, and review individual annotations in the adjacent panel. A.4 Layer Parsing and Normalization Each design is parsed into a layer tree containing node identifiers, geometry, names, component references, text, typography, visual styles, and image assets. Non-public links and redundant artboard images are removed. Nodes with non-positive area remain in the metadata but are excluded from member derivation and scoring. Each design is associated with the target-library documentation used for annotation and evaluation. The annotated pool is deduplicated by design URL, retaining the latest version of each design. This reduces 2,882 annotated design records to 2,861 final designs. A.5 Quality Control Annotations were produced by two senior frontend engineers with seven and five years of experience, respectively. A third expert reviewed every annotated sample over multiple rounds against the original design file, rendered image, and layer structure. The review covered component types and properties, grouping, arrangement, and positioning, and also checked for missing elements, position drift, and abnormal asset parsing. Samples with errors were returned to the frontend experts for revision and rechecked before inclusion in the final curated set. The annotation and verification process spanned 18 months. A.6 The Evaluation Subset The evaluation subset comprises 421 designs from five annotation collections designated for evaluation, including 152 B-end and 269 C-end designs. After removing six duplicate designs and seven designs withdrawn during data preparation, the subset was frozen before MLLM inference. Selection was performed at the collection level, without filtering individual designs by content, complexity, or MLLM performance. A.7 Scoring Reference Construction We convert expert annotations into a structured scoring referenceR â , linking each annotation to its design region and corresponding layers. Each annotation has a field indicating whether it is required or optional. Some optional annotations additionally specify alternative implementations in an associated field. The resulting reference covers Component, Group, Alignment, and Position and is shared across the three tasks: T1 and T3 evaluate generated 15 TaoD2C-Bench| Under review code against it, while T2 evaluates predicted requirements. T3 additionally receives the expert annotations for each input design. Table 6 summarizes the required and optional reference entries in the evaluation subset. Table 6: Required and optional reference entries in the 421-design evaluation subset. CategoryRequiredOptionalTotal Component7,976217,997 Group12,6584912,707 Alignment747170917 Position7113501,061 16 TaoD2C-Bench| Under review B Task Prompts Figures 9â11 present prompt summaries for the three tasks. Figure 12 presents their output formats. B.1 Shared Inputs and Prompt Design All three tasks receive design images, layer metadata, and target-library documentation, which provide visual appearance, layer structure and attributes, and available components and properties, respectively. T3 additionally receives the expert annotations for each input design. Within each task, all MLLMs use the same prompt template. B.2 T1: End-to-End UI Code Generation T1 generates a React page using TypeScript and CSS Modules from the shared design inputs. Figure 9 summarizes the generation instructions, and Figure 12 specifies the three-file output format. T1 End-to-End UI Code Generation Generate UI code from the design image, layer metadata, and target-library documentation. Role and task You are a senior frontend engineer. Implement the given design as a single React component using TypeScript and CSS Modules. Inputs Design image: the target visual appearance. Layer metadata: node identifiers, hierarchy, geometry, text, typography, and image URLs. Target-library documentation: component types, property definitions, and behavior. Use these sources for their specified roles. Do not invent missing information or mix inputs from different designs. Generation instructions 1. Reproduce the designâs layout, spacing, typography, backgrounds, borders, and images. 2. Implement recognized components using the corresponding target-library types and properties. 3. Base the implementation on the supplied design inputs and component documentation. 4. Keep page styles in CSS Modules and store mock data in valid JSON. 5. Implement all components and layout structures needed by the design, avoiding unnecessary components, containers, and layout rules. Output format Return exactly three files in this order: ===FILE: src/index.tsx=== ===FILE: src/index.module.css=== ===FILE: src/mock.json=== Figure 9: End-to-End UI Code Generation (T1) prompt summary, including the shared inputs, code output format, and generation constraints. 17 TaoD2C-Bench| Under review B.3 T2: Requirement Inference T2 infers structured implementation requirements from the shared design inputs without generating code. Figure 10 summarizes the task instructions, and Figure 12 specifies the output schema. T2 Requirement Inference Infer structured implementation requirements from the design image, layer metadata, and target-library documentation. Role and task You are a senior frontend engineer. Infer the designâs component and layout requirements and return them in the specified structured format without generating UI code. Inputs Design image: the target visual appearance. Layer metadata: node identifiers, hierarchy, geometry, text, typography, and image URLs. Target-library documentation: component types, property definitions, and behavior. Use the supplied layer identifiers to refer to design elements. Treat component names in the metadata as hints rather than expert- annotated labels. Four requirement categories Component Identify library component types, member layers, and configured properties. Group Identify layers that should share a container. Alignment Infer how elements should be aligned and spaced within a container. Position Infer which elements should be positioned independently of the normal document flow. Output format Return one JSON object with four arrays: "components": [], "groups": [], "arrangements": [], "stacks": [] See the Task output formats figure for entry fields. Figure 10: Requirement Inference (T2) prompt summary. The four requirement categories correspond to the components, groups, arrangements, and stacks arrays. 18 TaoD2C-Bench| Under review B.4 T3: Requirement Realization T3 extends T1 with the expert annotations for each input design (Figure 11). The MLLM implements the supplied requirements while using the original design inputs for text, images, geometry, and visual styles. Code output, rendering, and evaluation remain the same as in T1. T3 Requirement Realization Generate UI code from the design inputs and supplied expert requirements. Role and task You are a senior frontend engineer. Implement the given design as a single React component using TypeScript and CSS Modules, satisfying the supplied requirements. Expert implementation requirements Generation instructions Implement the supplied component and layout requirements in the generated code. Reproduce the designâs layout, spacing, typography, backgrounds, borders, and images using the original design inputs. Implement all components and layout structures needed by the design, avoiding unnecessary components, containers, and layout rules. Follow the same generation constraints as T1. Keep page styles in CSS Modules and mock data in valid JSON. Output format Use the same three-file format as T1: ===FILE: src/index.tsx=== ===FILE: src/index.module.css=== ===FILE: src/mock.json=== Inputs Design image: the target visual appearance. Layer metadata: node identifiers, hierarchy, geometry, text, typography, and image URLs. Target-library documentation: component types, property definitions, and behavior. Expert requirements: required annotations represented in the T2 schema, covering Component, Group, Alignment, and Position. The supplied requirements refer to the original layer identifiers. Figure 11: Requirement Realization (T3) prompt summary. T3 supplements the T1 inputs with the expert annotations for the input design while retaining the same code generation instructions and output format. 19 TaoD2C-Bench| Under review B.5 Output Formats Figure 12 summarizes the output contracts. T1 and T3 return three source files delimited by fixed file markers, whereas T2 returns one JSON object containing four arrays. The figure uses placeholders for generated file contents and schematic notation for JSON entry fields. Actual T2 responses contain valid JSON values and follow the output schema in Figure 12. The expert requirements supplied to T3 follow the same public schema as the T2 output. IO Task output formats T1 and T3 return UI source files. T2 returns structured implementation requirements. T1 / T3: three source files Return the file markers in this order, followed by the corresponding file contents. ===FILE: src/index.tsx=== <React component source> One React component for the entire page. ===FILE: src/index.module.css=== <CSS Modules styles> Styles used by the generated component. ===FILE: src/mock.json=== <valid JSON data> Mock data for text, images, and lists. Angle brackets denote file contents to generate. T2: one JSON object Entry fields (schematic notation) components: [ type, member_ids, rect, props ], groups: [ member_ids, rect ], arrangements: [ member_ids, rect, axis: "row", property: "justify-content", rule ], stacks: [ member_ids, rect, mode ] This field template is not a literal JSON response. Figure 12: Output formats for the three TaoD2C-Bench tasks. Left: ordered file blocks for T1 and T3. Right: the four arrays and their entry fields for T2. File contents and field notation are schematic, not an executable response or a complete JSON example. 20 TaoD2C-Bench| Under review C Evaluation Details Requirement Prediction and Code Implementation use the same four requirement categories but evaluate different outputs. The former evaluates T2âs structured requirements; the latter evaluates their implementation in T1/T3 code and its runtime DOM and CSS. Code Implementation reports component Type and Props separately, giving five F1 scores rather than four. Both use micro-averaged precision, recall, and F1, with F1 reported in the tables. For a dimension, letP s be the candidate predictions of samples,R req s its required reference entries,M s the number of matched candidates, andM req s the number of matched required entries. Counts are pooled across all samples before division: P = â s M s â s |P s | ,R = â s M req s â s |R req s | ,F1 = 2 P R P + R .(4) C.1 Requirement Prediction Scorer The scorer deterministically matches T2 predictions to expert annotations in each category. A match requires identical, non-empty derived member sets and agreement on the relevant attributes: component type for Component; axis, property, and rule for Alignment; and positioning mode for Position. Group requires member-set agreement only. Matching and optional entries. One-to-one maximum matching is performed first against required entries and then against optional entries using the remaining predictions. Thus,M = M req + M opt in Eq. 4. Unmatched predictions count as false positives; unmatched required entries count as false negatives. Optional matches contribute to precision but not recall, and omitting an optional entry incurs no penalty. Member sets and evaluation scope. Predicted component member sets are expanded to include descendants in the layer tree. For Group, Alignment, and Position, members are derived from predicted rectangles using the same procedure as the reference (Appendix A.7). The component evaluation excludesimage,icon, andavatarfrom both predictions and references. C.2 Code Implementation Scorer The scorer matches expert annotations to evidence from generated code and the rendered DOM. Generated pages are bundled with esbuild and rendered in Playwright. Runtime evidence includes bounding boxes, parentâchild relations, computed styles, and component types and properties associated with visual component roots. For two axis-aligned boxes a and b with areas|a| and|b|, the geometric tests use intersection-over-union and area ratio, IoU(a, b) = |aâ© b| |aâȘ b| ,AR(a, b) = min(|a|,|b|) max(|a|,|b|) .(5) Type and Props. Component types and properties are associated with their visual roots to define the runtime boundaries used for matching. A runtime component implementationuand a reference componentcform a legal edge when their component types agree under the target-library alias relationâĄand both their IoU and area similarity are at least 0.7, (u, c)â E comp ââ type(u)⥠type(c) â§ IoU(u, c)â„ 0.7 â§ AR(u, c)â„ 0.7.(6) Matching is one-to-one and maximizes the number of legal pairs. Component names are normalized using target- library-specific aliases. Plain containers and image types are excluded from component evaluation. Props are checked only on the component implementations whose type is already correct, and the two are reported as separate Type and Props columns. Group, Alignment, and Position. Group candidates are containers with at least two visible children, or single- child containers with adata-grounding-groupmarker or geometric agreement with a single-member ref- erence. In the latter case, the matched member node must be a descendant of the container when available. All candidates enter the precision denominator and must satisfy the same geometric matching criteria. Matching between a reference groupgand a candidate containercrequires both intersection-over-union and area similarity to be at least0.7. Area similarity is measured byAR(g, c)as defined above. A group with an empty member set has no structural identity and is excluded from the shared required denominator, with excluded counts recorded. Alignment requires both containerIoUâ„ 0.7and the same alignment type as the annotation. Position pairs atIoUâ„ 0.7and checks the positioning mode. These dimensions use one-to-one matching that maximizes the number of matches, with geometric scores used to resolve ties. Runtime bounding boxes are calibrated by the median anchor offset before the geometric tests, removing a global page shift without changing relative geometry. 21 TaoD2C-Bench| Under review C.3 Visual Fidelity LetIbe the design image andI C = Render(C)the rendered image. We report CV, VES, and MAE separately from Code Implementation and do not combine the three into an overall score. Composite visual score (CV).We adopt the visual similarity metric in Section 3.3 and Appendix B of 1D-Bench (Xu et al., 2026). It combines perceptual image similarityS img , element completenessS comp , and layout similarity S layout , each on [0, 1]. We report CV on a 0â100 scale: CV(I, I C ) = 100 0.5 S img + 0.3 S comp + 0.2 S layout .(7) The CV preprocessing handles transparency and aligns both images to widthw = min(w I , w I C )and height h = min(h I , h I C ) before detection and comparison. We follow its text and non-text matching procedures. Unavailable signals are omitted and the remaining weights are renormalized; when neither text nor non-text blocks are detected, CV reduces to100 S img . The pixel-difference term within CV is distinct from the separately reported MAE below. Visual element similarity (VES). VES compares the CLS-token embeddings produced by a DINOv2-base encoderÏ (Oquab et al., 2023): VES(I, I C ) = Ï(I) T Ï(I C ) â„Ï(I)â„ 2 â„Ï(I C )â„ 2 .(8) Higher CV and VES indicate better visual fidelity. Mean absolute error (MAE).For MAE, we crop the near-white borders of both images at threshold250, resize the render proportionally to the reference, and center-pad it with white. Let Ì I, e I C â [0, 255] HĂWĂ3 denote the resulting RGB images. The normalized error is MAE(I, I C ) = 1 255· 3HW H â i=1 W â j=1 3 â k=1 Ì I ijk â ( e I C ) ijk .(9) Lower MAE indicates better visual fidelity. All three metrics are reported as case means using one final output per design; failure handling and aggregation follow Appendix C.4. C.4 Aggregation and Failure Handling All eight models are evaluated on the same 421 designs for all three tasks, yielding 10,104 task outcomes. Results use the final output after the retries and repairs described in Appendix D.2, rather than first-attempt performance. A successful repair replaces the failed attempt. There are 10,101 successful outcomes and three failures: all three tasks for Qwen3-VL-235B on B-end design 629 exceed the providerâs 126,976-token input limit. Failures receive F1, CV, and VES of zero and MAE of one, where applicable. Required reference entries remain in the micro-recall denominator with zero matches; dimensions without reference entries receive no artificial reference count. Requirement scores pool counts across designs as defined in Eq. 4. CV, VES, and MAE are averaged across designs. Table Mean rows average model scores; they do not pool counts across models. Model means and T3âT1 differences use the reported precision: two decimals for F1 and CV, and four for VES and MAE. D Experimental Settings D.1 Models and Generation Settings Table 7 lists model-specific inference settings. GPT-5.6 Terra and GPT-5.4 use Codex CLI; the other models use an OpenAI-compatible gateway. The same 421 designs and task templates are used across all models. The task runner initially requests 32,000 output tokens. A response truncated at the length limit is retried once with a 48,000-token budget when the modelâs ceiling permits. These budgets are subject to the transport limits in Table 7; the Codex CLI transport does not pass an output-token cap. Qwen3.8-Max uses two gateway entries, Qwen3.8-Max and Qwen0902, for the same model; results are reported under its canonical name. D.2 Execution and Output Validation Requests contain the shared design inputs followed by the task instructions. T3 inserts its expert requirements after the layer tree. Supported models use prompt caching; cache controls do not change the task content. Experiment manifests record the input samples, component documentation, prompts, and references used for each run. 22 TaoD2C-Bench| Under review Table 7: Model-specific inference settings. A dash indicates that no setting is specified. HTTP caps are transport limits, not task-level budgets. ModelReasoning settingHTTP output cap GPT-5.6 TerraMediumâ GPT-5.4Mediumâ Claude Sonnet 5Adaptive, medium effort60,000 Qwen3.8-Maxâ60,000 Qwen3-VL-235B-A22B-Thinkingâ32,768 Gemini 3.5 FlashMedium60,000 Kimi K3Low60,000 Gemini 3.1 Pro Previewâ60,000 Retries and repair. Transient request failures allow at most five retries after the initial attempt. Deterministic request errors fail immediately. A timeout can trigger an identical request using streaming. Separately, invalid output triggers one repair request containing the original prompt and validation error. For T2, validation checks JSON parsing and schema compliance; a surrounding code fence is accepted. For T1/T3, repair is triggered by absent file blocks or a missing required file. Predictions are not manually edited, and retry outputs are not selected by their evaluation scores. Rendering and evaluation. Generated pages are built and rendered at the designâs root width. Failed renders retain an error record. T2 predictions are evaluated against the compiled reference; T3 uses the same rendering and evaluation as T1. The annotations supplied to T3 are recorded for each input design. Failure scoring and aggregation are specified in Appendix C.4. 23 TaoD2C-Bench| Under review E Domain-wise Results Tables 8â13 give all three tasks separately for the 152 B-end and 269 C-end designs. Each domain uses the same cases across all eight models, with terminal failures retained. F1 is micro-aggregated within each domain; the B+C F1 is pooled from counts and is not an average of the B-end and C-end F1 values. CV, VES, and MAE are case means. Model abbreviations follow Table 2. Table 8: B-end results for End-to-End UI Code Generation (T1) on the same 152 designs for all eight models. F1 is in percent. Bold marks the best value per column; Mean averages models. CV and VES are higher-better; MAE is lower-better. ModelTypePropsGroupAlign.Pos.CVâVESâMAEâ GPT-5.6 Terra67.7447.2141.8739.9523.6382.230.92250.1221 GPT-5.466.7543.4539.7837.9012.5683.120.94080.0991 Claude Sonnet 565.0441.7339.1929.6316.7076.030.90220.1462 Qwen3.8-Max69.1140.5739.0331.4716.9779.680.92400.1352 Qwen3-VL-235B30.6713.9526.539.6511.3861.400.87060.1824 Gemini 3.5 Flash66.4738.5133.0825.9824.7077.820.92780.1130 Kimi K368.5143.7040.1036.5828.0081.060.92580.1231 Gemini 3.1 Pro68.0441.5637.7732.2125.3980.140.92850.1177 Mean62.7938.8437.1730.4219.9277.690.91780.1299 Table 9: B-end results for Requirement Inference (T2) on the same 152 designs for all eight models. F1 is in percent. Bold marks the best value per column; Mean averages models. ModelComp.GroupAlign.Pos. GPT-5.6 Terra59.7056.9438.1725.19 GPT-5.459.6057.5929.8826.48 Claude Sonnet 558.6856.5135.5623.87 Qwen3.8-Max59.9761.1624.1521.57 Qwen3-VL-235B53.5437.0021.9116.05 Gemini 3.5 Flash59.6852.5132.2225.59 Kimi K360.0262.8232.2417.31 Gemini 3.1 Pro59.4760.3717.7316.39 Mean58.8355.6128.9821.56 Table 10: B-end results for Requirement Realization (T3) on the same 152 designs for all eight models. F1 is in percent. Bold marks the best value per column; Mean averages models. CV and VES are higher-better; MAE is lower-better. ModelTypePropsGroupAlign.Pos.CVâVESâMAEâ GPT-5.6 Terra85.0567.9448.3275.4460.3685.360.94470.0897 GPT-5.480.7866.7243.6966.2762.9084.260.93830.1013 Claude Sonnet 583.0466.0942.3055.2570.2378.470.91890.1400 Qwen3.8-Max81.3260.9139.1834.4736.6978.870.92260.1294 Qwen3-VL-235B39.4323.9729.238.2412.3361.830.85450.1787 Gemini 3.5 Flash85.8170.5339.5456.7265.6278.340.93330.0981 Kimi K383.0867.9546.1367.3668.9181.280.93150.1182 Gemini 3.1 Pro89.3078.5347.6677.0190.1681.870.93150.1071 Mean78.4862.8342.0155.1058.4078.790.92190.1203 24 TaoD2C-Bench| Under review Table 11: C-end results for End-to-End UI Code Generation (T1) on the same 269 designs for all eight models. F1 is in percent. Bold marks the best value per column; Mean averages models. CV and VES are higher-better; MAE is lower-better. ModelTypePropsGroupAlign.Pos.CVâVESâMAEâ GPT-5.6 Terra53.4539.1962.4428.0838.3487.780.91450.1129 GPT-5.448.9334.8863.5225.2438.4186.200.90560.1127 Claude Sonnet 551.6738.2060.9922.1029.5580.400.89030.1287 Qwen3.8-Max49.8536.0167.8925.1948.6688.830.91650.1010 Qwen3-VL-235B33.1022.8132.116.246.7356.660.74750.1799 Gemini 3.5 Flash54.5137.2158.9118.7130.0382.020.90190.1232 Kimi K354.2537.9067.2824.6345.0486.290.90900.1148 Gemini 3.1 Pro43.4530.3662.8022.6434.6084.610.90810.1161 Mean48.6534.5759.4921.6033.9281.600.88670.1237 Table 12: C-end results for Requirement Inference (T2) on the same 269 designs for all eight models. F1 is in percent. Bold marks the best value per column; Mean averages models. ModelComp.GroupAlign.Pos. GPT-5.6 Terra58.2361.9836.8550.87 GPT-5.453.4761.8732.6152.32 Claude Sonnet 557.8148.9034.8150.59 Qwen3.8-Max57.0273.9032.1853.28 Qwen3-VL-235B52.8617.2315.9428.14 Gemini 3.5 Flash57.2751.1835.3950.11 Kimi K359.0972.8333.8256.01 Gemini 3.1 Pro57.2769.9021.9053.12 Mean56.6357.2230.4449.31 Table 13: C-end results for Requirement Realization (T3) on the same 269 designs for all eight models. F1 is in percent. Bold marks the best value per column; Mean averages models. CV and VES are higher-better; MAE is lower-better. ModelTypePropsGroupAlign.Pos.CVâVESâMAEâ GPT-5.6 Terra75.5662.9565.8141.4750.1787.170.91580.1083 GPT-5.466.8952.1472.8546.6858.0585.340.89680.1130 Claude Sonnet 569.5660.3968.0631.9447.4879.930.88980.1312 Qwen3.8-Max77.5667.0174.9050.0068.0288.040.90700.1050 Qwen3-VL-235B49.5340.3731.3210.0813.5756.920.73540.1779 Gemini 3.5 Flash75.1861.8966.7033.9053.3881.840.87240.1238 Kimi K372.6458.5374.1343.5361.6184.810.90270.1130 Gemini 3.1 Pro79.6669.0880.3754.8875.9586.030.90630.1189 Mean70.8259.0566.7739.0653.5381.260.87830.1239 25 TaoD2C-Bench| Under review F License All designs in TaoD2C originate from the production archives of 17 commercial platforms, which retain copyright over the original design assets. The publicly available evaluation subset is released for non-commercial research use under the two sets of terms below. Benchmark-created materials. The expert annotations and compiled implementation requirements included in the public evaluation subset are distributed under the Creative Commons Attribution-NonCommercial 4.0 International (C BY-NC 4.0) license. This license permits sharing and adaptation for non-commercial purposes, provided that appropriate credit is given and changes are indicated. Platform-owned design assets. The original design files, rendered design images, extracted assets, and layer metadata remain the property of the originating platforms. Materials included in the public evaluation subset are provided under the accompanying non-commercial research data-use terms and may not be redistributed or sublicensed separately. Commercial use of these platform-owned assets requires prior permission from the originating platforms. 26