mlsanityData to 24 Nov 2026

Toward Executable Multi-framework Front-end Code Generation with Self-Correction

arXiv 2611.01383 ↗Submitted 1 Nov 2026cs.LG cs.AI cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

Generating codes from UI screenshots has recently benefited from MLLMs, yet existing methods centered on HTML targets and transfer poorly to multi-frameworks such as React, Vue, and Angular. However, unlike HTML, which does not entail compilation issues, generating executable code in multi-framework settings is more challenging due to framework-specific differences in syntax and failure modes, as well as the need to maintain global consistency across files. To address this problem, we study executable multi-framework front-end code generation and propose MESCoder, a tree-structured self-corrective generation framework. Our method first extracts a structural scaffold from the screenshot and then constructs sub-trees and assembly relations step by step, transforming large project generation into a sequence of localized decisions. On top of this scaffold, we introduce a unified Project Agent that continuously revises its own partial project under runtime sandbox feedback and dynamically chooses between local repair and cluster level repair. For training, we adopt a two-stage strategy that first initializes the policy offline to learn basic multi-framework generation and repair priors, and then refines it with online reinforcement learning to optimize long horizon executability and final page quality. The resulting framework models multi-framework executability as a conditioned project state transition process and improves the stability and quality of complex front end generation through self correction. Experiments show that our method improves executability, while narrowing the visual-fidelity gap to HTML-based generation. Code is available at https://github.com/leo-lilinxiao/MESCoder.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 30 of its 36 references that are in the map. Submitted 1 Nov 2026.

Builds on

30 of 36 references.

References · 30

  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
  2. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
  3. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,170
  4. 2023Teaching Large Language Models to Self-Debugcited by 1,049
  5. 2024Training Language Models to Self-Correct via Reinforcement Learningcited by 456
  6. 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 377
  7. 2023Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategiescited by 249
  8. 2024Design2Code: Benchmarking Multimodal Code Generation for Automated Front-End Engineeringcited by 182
  9. 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 166
  10. 2024Unlocking the conversion of Web Screenshots into HTML Code with the WebSight Datasetcited by 141
  11. 2017pix2code: Generating Code from a Graphical User Interface Screenshotcited by 125
  12. 2024Code Generation with AlphaCodium: From Prompt Engineering to Flow Engineeringcited by 106
18 more
  1. 2024Web2Code: A Large-scale Webpage-to-Code Dataset and Evaluation Framework for Multimodal LLMscited by 84
  2. 2024Interaction2Code: Benchmarking MLLM-based Interactive Webpage Code Generation from Interactive Prototypingcited by 58
  3. 2025DesignBench: A Comprehensive Benchmark for MLLM-based Front-end Code Generationcited by 56
  4. 2024WebCode2M: A Real-World Dataset for Code Generation from Webpage Designscited by 54
  5. 2024CodeTree: Agent-guided Tree Search for Code Generation with Large Language Modelscited by 39
  6. 2018Machine Learning-Based Prototyping of Graphical User Interfaces for Mobile Appscited by 37
  7. 2024Sketch2Code: Evaluating Vision-Language Models for Interactive Web Design Prototypingcited by 34
  8. 2025ScreenCoder: Advancing Visual-to-Code Generation for Front-End Automation via Modular Multimodal Agentscited by 33
  9. 2025Multi-Turn Code Generation Through Single-Step Rewardscited by 30
  10. 2024Automatically Generating UI Code from Screenshot: A Divide-and-Conquer-Based Approachcited by 28
  11. 2024MRWeb: An Exploration of Generating Multi-Page Resource-Aware Web Code from UI Designscited by 26
  12. 2025UICopilot: Automating UI Synthesis via Hierarchical Code Generation from Webpage Designscited by 26
  13. 2025MLLM-Based UI2Code Automation Guided by UI Layout Informationcited by 23
  14. 2024IW-Bench: Evaluating Large Multimodal Models for Converting Image-to-Webcited by 17
  15. 2025DesignCoder: Hierarchy-Aware and Self-Correcting UI Code Generation with Large Language Modelscited by 12
  16. 2024WAFFLE: Finetuning Multi-Modal Models for Automated Front-End Developmentcited by 7
  17. 2025Self-Correcting Code Generation Using Small Language Modelscited by 6
  18. 2026MulFCoder: Framework-conditioned Multi-agent for MLLM-based Multi-framework Front-end Code Generationcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Phase-wise MLLM Tuning for Multi-framework WebUI Code Generation
  2. 20261D-Bench: A Benchmark for Iterative UI Code Generation with Visual Feedback in Real-World
  3. 2026Vision-Guided Iterative Refinement for Frontend Code Generation
  4. 2025Advancing vision-language models in front-end development via data synthesis
  5. 2026LiveEvalBench: Toward Open-World Evaluation for Web Generation
  6. 2026WebDesignIter: Co-Evolving Design Knowledge for Repository-Level Front-End Code Generation
  7. 2025RA-Gen: A Controllable Code Generation Framework Using ReAct for Multi-Agent Task Execution
  8. 2026TICoder: A Repository-Level Code Generation Framework with Test-Driven Planning and Implementation-Aware Reuse ↗