potentialpaper

Render Structure Uncertainty for HTML Repair in MLLM-based UI-to-Code Generation

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:40 UTC · 34e5ae49f2f8 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,26 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "AW3Yb9jstt"
- }
- ],
- "title": "Render Structure Uncertainty for HTML Repair in MLLM-based UI-to-Code Generation",
- "authors": [
- "Haoran Ma",
- "Jiechao Gao",
- "Shisong Tang",
- "bing han",
- "Jifeng Hu",
- "Hechang Chen"
- ],
- "abstract": "Existing MLLM-based UI-to-Code generation methods can generate complete HTML/CSS codes through end-to-end or multi-stage pipelines, yet the generated codes often contain structural errors such as incorrect repeated layouts, wrong component boundaries, or missing interaction slots.\nSubsequent generations may continue along the erroneous structure, causing the error to propagate and amplify.\nThis paper studies post-generation repair: how can we locate and repair unreliable local DOM structures?\nWe observe that this repair process is ambiguous in two ways: a mismatch between the target screenshot and the output may correspond to multiple plausible DOM subtrees, and a single DOM subtree may admit multiple repairs with different rendered behaviors.\nWe propose Render Structure Uncertainty (RSU)for partial DOM repair, a browser grounded uncertainty layer that can be attached to any base HTML generator. \nRSU parses the target screenshot into a visual structure graph and converts the browser execution trace of the generated code into a DOM-anchored render structure graph. \nBy matching these graphs, RSU yields structural mismatches and a small set of candidate DOM holes, preserving error attribution uncertainty. \nFor each hole, RSU generates multiple local candidates, renders them in the full page context, and clusters them using render-structure signatures that encode layout relations, repeated patterns, content slots, semantic roles, and invalid states, thereby modeling repair uncertainty. \nThe retained representative candidates form a compact Partial DOM candidate set, over which we perform global reranking to produce the final HTML code. \nIn this way, RSU reframes HTML repair into uncertainty-guided search in render-structure space, avoiding premature commitment to either a single error location or a single local repair.\nExperiments show that RSU improves the generation quality of base models, producing higher-quality HTML with better layout consistency and fewer local structural errors.",
- "year": 2026,
- "venue": "NeurIPS 2026",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "12cfa40a-da45-4d34-aebc-d5141120ffb9"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,16 @@
+{
+ "title": "Render Structure Uncertainty for HTML Repair in MLLM-based UI-to-Code Generation",
+ "authors": [
+ "Haoran Ma",
+ "Jiechao Gao",
+ "Shisong Tang",
+ "bing han",
+ "Jifeng Hu",
+ "Hechang Chen"
+ ],
+ "abstract": "Existing MLLM-based UI-to-Code generation methods can generate complete HTML/CSS codes through end-to-end or multi-stage pipelines, yet the generated codes often contain structural errors such as incorrect repeated layouts, wrong component boundaries, or missing interaction slots.\nSubsequent generations may continue along the erroneous structure, causing the error to propagate and amplify.\nThis paper studies post-generation repair: how can we locate and repair unreliable local DOM structures?\nWe observe that this repair process is ambiguous in two ways: a mismatch between the target screenshot and the output may correspond to multiple plausible DOM subtrees, and a single DOM subtree may admit multiple repairs with different rendered behaviors.\nWe propose Render Structure Uncertainty (RSU)for partial DOM repair, a browser grounded uncertainty layer that can be attached to any base HTML generator. \nRSU parses the target screenshot into a visual structure graph and converts the browser execution trace of the generated code into a DOM-anchored render structure graph. \nBy matching these graphs, RSU yields structural mismatches and a small set of candidate DOM holes, preserving error attribution uncertainty. \nFor each hole, RSU generates multiple local candidates, renders them in the full page context, and clusters them using render-structure signatures that encode layout relations, repeated patterns, content slots, semantic roles, and invalid states, thereby modeling repair uncertainty. \nThe retained representative candidates form a compact Partial DOM candidate set, over which we perform global reranking to produce the final HTML code. \nIn this way, RSU reframes HTML repair into uncertainty-guided search in render-structure space, avoiding premature commitment to either a single error location or a single local repair.\nExperiments show that RSU improves the generation quality of base models, producing higher-quality HTML with better layout consistency and fewer local structural errors.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}