Toward Executable Multi-framework Front-end Code Generation with Self-Correction
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:39 UTC · e0afd7e70998 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,26 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "HRgXvqgzeg"- }- ],- "title": "Toward Executable Multi-framework Front-end Code Generation with Self-Correction",- "authors": [- "Linxiao Li",- "Haoran Ma",- "Chenyue Wang",- "Jiaye Lin",- "Haochen Sui",- "Jiechao Gao"- ],- "abstract": "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. \nHowever, 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.\nTo address this problem, we study executable multi-framework front-end code generation and propose MESCoder, a tree-structured self-corrective generation framework.\nOur 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. \nOn 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. \nFor 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. \nThe 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.\nExperiments show that our method improves executability, while narrowing the visual-fidelity gap to HTML-based generation.",- "year": 2026,- "venue": "NeurIPS 2026",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "57caac8d-1f88-4c10-bbcb-426fae0d4560"}
paper.json added
+++ b/paper.json@@ -0,0 +1,16 @@+{+ "title": "Toward Executable Multi-framework Front-end Code Generation with Self-Correction",+ "authors": [+ "Linxiao Li",+ "Haoran Ma",+ "Chenyue Wang",+ "Jiaye Lin",+ "Haochen Sui",+ "Jiechao Gao"+ ],+ "abstract": "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. \nHowever, 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.\nTo address this problem, we study executable multi-framework front-end code generation and propose MESCoder, a tree-structured self-corrective generation framework.\nOur 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. \nOn 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. \nFor 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. \nThe 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.\nExperiments show that our method improves executability, while narrowing the visual-fidelity gap to HTML-based generation.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}