mlsanityData to 7 Oct 2026

WebCode2M: A Real-World Dataset for Code Generation from Webpage Designs

arXiv 2404.06369 ↗First posted 9 Apr 2024cs.CV cs.AI cs.SEcited by 43

Not on the map. Why?

Abstract (arXiv)

Automatically generating webpage code from webpage designs can significantly reduce the workload of front-end developers, and recent Multimodal Large Language Models (MLLMs) have shown promising potential in this area. However, our investigation reveals that most existing MLLMs are constrained by the absence of high-quality, large-scale, real-world datasets, resulting in inadequate performance in automated webpage code generation. To fill this gap, this paper introduces WebCode2M, a new dataset comprising 2.56 million instances, each containing a design image along with the corresponding webpage code and layout details. Sourced from real-world web resources, WebCode2M offers a rich and valuable dataset for webpage code generation across a variety of applications. The dataset quality is ensured by a scoring model that filters out instances with aesthetic deficiencies or other incomplete elements. To validate the effectiveness of WebCode2M, we introduce a baseline model based on the Vision Transformer (ViT), named WebCoder, and establish a benchmark for fair comparison. Additionally, we introduce a new metric, TreeBLEU, to measure the structural hierarchy recall. The benchmarking results demonstrate that our dataset significantly improves the ability of MLLMs to generate code from webpage designs, confirming its effectiveness and usability for future applications in front-end design tools. Finally, we highlight several practical challenges introduced by our dataset, calling for further research. The code and dataset are publicly available at our project homepage: https://webcode2m.github.io.

Key facts. Cited by 43 papers in the map (data through 7 Oct 2026). Builds on 26 of its 49 references that are in the map. First posted on arXiv 9 Apr 2024.

Builds on

26 of 49 references.

References · 26

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  6. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
  7. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  8. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
  9. 2013Rich feature hierarchies for accurate object detection and semantic segmentationcited by 2,160
  10. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  11. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  12. 2014Show and Tell: A Neural Image Caption Generatorcited by 877
14 more
  1. 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 740
  2. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  3. 2023CogAgent: A Visual Language Model for GUI Agentscited by 692
  4. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  5. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  6. 2024MLLM-as-a-Judge: Assessing Multimodal LLM-as-a-Judge with Vision-Language Benchmarkcited by 362
  7. 2022Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understandingcited by 360
  8. 2024Unlocking the conversion of Web Screenshots into HTML Code with the WebSight Datasetcited by 126
  9. 2017pix2code: Generating Code from a Graphical User Interface Screenshotcited by 113
  10. 2018Improving Automatic Source Code Summarization via Deep Reinforcement Learningcited by 99
  11. 2019Multi-Modal Attention Network Learning for Semantic Source Code Retrievalcited by 40
  12. 2021Screen Parsing: Towards Reverse Engineering of UI Models from Screenshotscited by 32
  13. 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
  14. 2019Sketch2code: Generating a website from a paper mockupcited by 20

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 22; 2026: 19.

43 papers.

Sort:

By area:

  1. 2024Interaction2Code: Benchmarking MLLM-based Interactive Webpage Code Generation from Interactive Prototypingcited by 50
  2. 2025DesignBench: A Comprehensive Benchmark for MLLM-based Front-end Code Generationcited by 41
  3. 2025FullFront: Benchmarking MLLMs Across the Full Front-End Engineering Workflowcited by 25
  4. 2024MRWeb: An Exploration of Generating Multi-Page Resource-Aware Web Code from UI Designscited by 23
  5. 2025nvAgent: Automated Data Visualization from Natural Language via Collaborative Agent Workflowcited by 21
  6. 2025VinciCoder: Unifying Multimodal Code Generation via Coarse-to-fine Visual Reinforcement Learningcited by 18
  7. 2026Vision2Web: A Hierarchical Benchmark for Visual Website Development with Agent Verificationcited by 16
  8. 2025P2P: Automated Paper-to-Poster Generation and Fine-Grained Benchmarkcited by 15
  9. 2025VisCodex: Unified Multimodal Code Generation via Merging Vision and Coding Modelscited by 13
  10. 2025UI2Code^N: UI-to-Code Generation as Interactive Visual Optimizationcited by 12
  11. 2025WebGen-Agent: Enhancing Interactive Website Generation with Multi-Level Feedback and Step-Level Reinforcement Learningcited by 11
  12. 2025WebVIA: A Web-based Vision-Language Agentic Framework for Interactive and Verifiable UI-to-Code Generationcited by 8
31 more
  1. 2025Widget2Code: From Visual Widgets to UI Code via Multimodal LLMscited by 8
  2. 2025JanusCoder: Towards a Foundational Visual-Programmatic Interface for Code Intelligencecited by 7
  3. 2025Large Language Model for Verilog Code Generation: Literature Review and the Road Aheadcited by 7
  4. 2025EfficientUICoder: A Bidirectional Token Compression Framework for Efficient MLLM-Based UI Code Generationcited by 4
  5. 20253D Software Synthesis Driven by Constraint-Expressive Intermediate Representationcited by 3
  6. 2025UI-Bench: A Benchmark for Evaluating Design Capabilities of AI Text-to-App Toolscited by 3
  7. 2025StarFlow: Generating Structured Workflow Outputs From Sketch Imagescited by 2
  8. 2025CANVAS: A Benchmark for Vision-Language Models on Tool-Based User Interface Designcited by 2
  9. 2026FullStack-Agent: Enhancing Agentic Full-Stack Web Coding via Development-Oriented Testing and Repository Back-Translationcited by 2
  10. 2026SVRepair: Structured Visual Reasoning for Automated Program Repaircited by 2
  11. 2026Cookie-Bench: Continuous On-screen Key Interaction Evaluation for Web Generationcited by 2
  12. 2026Rubrics as Visual-Repair Context for Self-Evolving UI-to-Code Generationcited by 2
  13. 2025InteractScience: Programmatic and Visually-Grounded Evaluation of Interactive Scientific Demonstration Code Generationcited by 1
  14. 20261D-Bench: A Benchmark for Iterative UI Code Generation with Visual Feedback in Real-Worldcited by 1
  15. 2026Benchmarking Multimodal LLMs on Code Generation for Complex Interactive Webpagescited by 1
  16. 2026Self-Distillation Policy Optimization via Visual Feedback: Bridging Code and Visual Artifactscited by 1
  17. 2026RecreationWorld: Scalable and Verifiable Environments for Hybrid Computer-Use Agentscited by 1
  18. 2025Reverse Browser: Vector-Image-to-Code Generatorcited by 0
  19. 2025Paper2Web: Let's Make Your Paper Alive!cited by 0
  20. 2025Context-Aware Visual Prompting: Automating Geospatial Web Dashboards with Large Language Models and Agent Self-Validation for Decision Supportcited by 0
  21. 2025Beyond Prototyping: Autonomous, Enterprise-Grade Frontend Development from Pixel to Production via a Specialized Multi-Agent Frameworkcited by 0
  22. 2026CodeMMR: Bridging Natural Language, Code, and Image for Unified Retrievalcited by 0
  23. 2026ProductWebGen: Benchmarking Multimodal Product Webpage Generationcited by 0
  24. 2026UI2App: Benchmarking Visual Interaction Inference in Executable Web Application Generationcited by 0
  25. 2026Looks Right, Works Right: A Project-Level Benchmark for Multi-Screen Mobile App Generationcited by 0
  26. 2026MT-Web2Code: Benchmarking Coding Agents on Multi-Turn Regional Reconstruction and Localized Modificationcited by 0
  27. 2026From Visual Widgets to UI Code: Efficient Tool-Grounded Generationcited by 0
  28. 2026Who Leads Now? Token-Level Modality Arbitration for Chart-to-Code Generationcited by 0
  29. 2026Signal or Noise? A Benchmark Study of Agent Skills in Web Developmentcited by 0
  30. 2026Enabling Creative Exploration for Vibe Design Agentscited by 0
  31. 2026AUV-Bench: Aesthetic Understanding and Generation Evaluation for User Interfacescited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024Web2Code: A Large-scale Webpage-to-Code Dataset and Evaluation Framework for Multimodal LLMs
  2. 2024Automatically Generating UI Code from Screenshot: A Divide-and-Conquer-Based Approach
  3. 2025MLLM-Based UI2Code Automation Guided by UI Layout Information
  4. 2024Design2Code: Benchmarking Multimodal Code Generation for Automated Front-End Engineering
  5. 2026WebCoderBench: Benchmarking Web Application Generation with Comprehensive and Interpretable Evaluation Metrics
  6. 2025WebRenderBench: Enhancing Web Interface Generation through Layout-Style Consistency and Reinforcement Learning
  7. 2025WebGen-V Bench: Structured Representation for Enhancing Visual Design in LLM-based Web Generation and Evaluation
  8. 2025ArtifactsBench: Bridging the Visual-Interactive Gap in LLM Code Generation Evaluation