Render Structure Uncertainty for HTML Repair in MLLM-based UI-to-Code Generation
Haoran Ma, Jiechao Gao, Shisong Tang, bing han, Jifeng Hu, Hechang Chen
NeurIPS 2026
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. Subsequent generations may continue along the erroneous structure, causing the error to propagate and amplify. This paper studies post-generation repair: how can we locate and repair unreliable local DOM structures? We 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. We propose Render Structure Uncertainty (RSU)for partial DOM repair, a browser grounded uncertainty layer that can be attached to any base HTML generator. RSU 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. By matching these graphs, RSU yields structural mismatches and a small set of candidate DOM holes, preserving error attribution uncertainty. For 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. The retained representative candidates form a compact Partial DOM candidate set, over which we perform global reranking to produce the final HTML code. In 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. Experiments show that RSU improves the generation quality of base models, producing higher-quality HTML with better layout consistency and fewer local structural errors.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper introduces RSU, a post generation repair framework for MLLM based UI to code generation. It uses browser grounded structure matching to locate unreliable DOM regions, generates multiple local repairs, and reranks them in the full page context. The paper studies a real problem, the method is technically sound, and the experiments across two benchmarks and four MLLM backbones are reasonably comprehensive. The budget matched comparisons also suggest that the gains come from structural localization rather than simply using more computation.
Strengths
-
The paper addresses a practical yet underexplored limitation of UI-to-code systems: structural errors in the initially generated HTML/CSS often persist or become amplified during subsequent refinement.
-
RSU combines browser-grounded graph matching, multi-level DOM hole proposal, render-behavior clustering, and global reranking to preserve both error-attribution and repair uncertainty. It can also be attached to different base generators without retraining them.
-
The experiments cover two benchmarks and four MLLM backbones, with component ablations and budget-matched comparisons. The results indicate that the improvements come from structure-aware localization and repair rather than merely from additional computation.
Weaknesses
-
Errors in detecting repeated groups, interaction slots, or structural relations can directly affect mismatch localization and reduce downstream repair effectiveness.
-
The multi-stage pipeline requires repeated MLLM calls and browser rendering, resulting in substantial inference latency. In addition, the render-structure signatures, hole-selection rules, and reranking function contain several manually designed heuristics.
-
The current experiments mainly consider static, single-viewport HTML/CSS pages. The method has not been validated for responsive layouts, scrolling, interaction states, JavaScript-driven interfaces, accessibility, maintainability, or semantic HTML quality.
In the rebuttal, the authors should clarify the points:
- method depends heavily on the screenshot structure parser, but direct analysis of parser errors is limited.
- The latency and computational cost of repeated browser rendering are not fully characterized.
- The render structure signatures and final scoring function contain several hand designed components, with limited component level analysis.
- The current evaluation mainly covers static pages. Responsive layouts, interactions, and JavaScript driven states remain outside the demonstrated scope.
Final justification
The overall reviewer consensus is positive: one reviewer rated the paper Accept and two rated it Borderline Accept. After the rebuttal, Reviewer Gpb5 stated that most concerns had been addressed and maintained the positive score, while Reviewer yZQv explicitly kept the score and voted for acceptance. Reviewer TbuL was also initially on the positive side, although no public post-rebuttal follow-up is visible and the contribution-type mismatch in that review was flagged; therefore, this review should be interpreted with reduced weight.
The rebuttal substantively strengthened the submission by providing standalone parser accuracy and error analysis, end-to-end latency profiling, feature-level ablations of the render-structure signatures, scoring-function ablations, and clearer implementation details. It also appropriately clarified that the demonstrated scope is limited to static, single-viewport HTML/CSS repair. The remaining limitations—including reliance on parser quality, heuristic hole proposal, hand-designed signature and scoring components, nontrivial inference cost, and the lack of evaluation on responsive or JavaScript-driven states, accessibility, maintainability, and semantic HTML quality—are important but not fatal to the paper’s main claims.
Overall, the paper addresses a meaningful and underexplored problem, presents a technically coherent and model-agnostic repair framework, and provides broad experiments across two benchmarks and four MLLM backbones. The budget-matched comparisons and added ablations support the claim that the improvements arise from render-structure-guided localization and uncertainty-aware repair rather than merely additional computation. I therefore recommend Accept (poster), with the expectation that the analyses and limitations introduced in the rebuttal are incorporated into the final version.
Read meta-review
Meta-review
This paper introduces RSU, a post generation repair framework for MLLM based UI to code generation. It uses browser grounded structure matching to locate unreliable DOM regions, generates multiple local repairs, and reranks them in the full page context. The paper studies a real problem, the method is technically sound, and the experiments across two benchmarks and four MLLM backbones are reasonably comprehensive. The budget matched comparisons also suggest that the gains come from structural localization rather than simply using more computation.
Strengths
-
The paper addresses a practical yet underexplored limitation of UI-to-code systems: structural errors in the initially generated HTML/CSS often persist or become amplified during subsequent refinement.
-
RSU combines browser-grounded graph matching, multi-level DOM hole proposal, render-behavior clustering, and global reranking to preserve both error-attribution and repair uncertainty. It can also be attached to different base generators without retraining them.
-
The experiments cover two benchmarks and four MLLM backbones, with component ablations and budget-matched comparisons. The results indicate that the improvements come from structure-aware localization and repair rather than merely from additional computation.
Weaknesses
-
Errors in detecting repeated groups, interaction slots, or structural relations can directly affect mismatch localization and reduce downstream repair effectiveness.
-
The multi-stage pipeline requires repeated MLLM calls and browser rendering, resulting in substantial inference latency. In addition, the render-structure signatures, hole-selection rules, and reranking function contain several manually designed heuristics.
-
The current experiments mainly consider static, single-viewport HTML/CSS pages. The method has not been validated for responsive layouts, scrolling, interaction states, JavaScript-driven interfaces, accessibility, maintainability, or semantic HTML quality.
In the rebuttal, the authors should clarify the points:
- method depends heavily on the screenshot structure parser, but direct analysis of parser errors is limited.
- The latency and computational cost of repeated browser rendering are not fully characterized.
- The render structure signatures and final scoring function contain several hand designed components, with limited component level analysis.
- The current evaluation mainly covers static pages. Responsive layouts, interactions, and JavaScript driven states remain outside the demonstrated scope.
Final justification
The overall reviewer consensus is positive: one reviewer rated the paper Accept and two rated it Borderline Accept. After the rebuttal, Reviewer Gpb5 stated that most concerns had been addressed and maintained the positive score, while Reviewer yZQv explicitly kept the score and voted for acceptance. Reviewer TbuL was also initially on the positive side, although no public post-rebuttal follow-up is visible and the contribution-type mismatch in that review was flagged; therefore, this review should be interpreted with reduced weight.
The rebuttal substantively strengthened the submission by providing standalone parser accuracy and error analysis, end-to-end latency profiling, feature-level ablations of the render-structure signatures, scoring-function ablations, and clearer implementation details. It also appropriately clarified that the demonstrated scope is limited to static, single-viewport HTML/CSS repair. The remaining limitations—including reliance on parser quality, heuristic hole proposal, hand-designed signature and scoring components, nontrivial inference cost, and the lack of evaluation on responsive or JavaScript-driven states, accessibility, maintainability, and semantic HTML quality—are important but not fatal to the paper’s main claims.
Overall, the paper addresses a meaningful and underexplored problem, presents a technically coherent and model-agnostic repair framework, and provides broad experiments across two benchmarks and four MLLM backbones. The budget-matched comparisons and added ablations support the claim that the improvements arise from render-structure-guided localization and uncertainty-aware repair rather than merely additional computation. I therefore recommend Accept (poster), with the expectation that the analyses and limitations introduced in the rebuttal are incorporated into the final version.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes RSU as a post generation repair layer for UI to code systems. The core pipeline parses the target screenshot into a visual structure graph and converts the rendered HTML output into a DOM anchored render graph. It then proposes candidate DOM holes, generates multiple local repairs, clusters them by rendered behavior, and reranks composed partial DOM candidates in the full page context.
Strengths and weaknesses
Strengths
- The paper identifies a real UI repair problem because the same visual mismatch can come from the section wrapper, an intermediate container, or individual repeated items.
- The browser based DOM trace is a good design choice because it connects visual regions back to actual editable subtrees rather than guessing from pixels alone.
- The budget matched table is useful because RSU beats full page sampling, full page repair, random hole repair, and three saliency style hole heuristics with the same 52 browser renders.
Weaknesses
- The target structure parser is important to the whole pipeline but the paper does not show enough direct error analysis for section boundaries repeated groups slots and relation edges.
- The hole selection stage is sensible but still heuristic because it uses LayoutLCA nearest layout parents wrapper children area limits and CSS coupling rules.
- The final reranking score mixes several structure and visual terms and would be stronger if its correlation with human preference were reported more directly.
- The current evaluation mainly measures static screenshot fidelity and does not say much about responsive behavior scrolling hover states forms or JavaScript driven UI states.
Questions
What is the standalone accuracy of the screenshot structure parser for detecting sections repeated groups buttons text slots and relation edges?
Limitations
the authors adequately addressed the limitations in appendix
Final justification
I keep my score, and vote for accept.
Formatting concerns
N.A.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- use_inspired
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
RSU is a post-generation repair framework for UI-to-HTML that handles uncertainty in both error localization and repair. It aligns visual and render-structure graphs to find mismatched DOM holes, generates multiple candidates per hole, clusters them by structural signatures, and reranks globally. This avoids error propagation and improves layout consistency over base models.
Strengths and weaknesses
Strengths
- The paper is clear, well-structured, and easy to follow.
- The motivation for focusing on post-generation HTML repair and addressing the ambiguity in the repair process is well justified.
- The proposed framework of utilizing Render Structure Uncertainty (RSU) and DOM-anchored graph matching is conceptually sound and clearly presented.
- Both the quantitative and qualitative experiments are comprehensive, convincingly demonstrating the effectiveness of the proposed approach.
Weaknesses
- The rationale for designing a complex clustering mechanism using hand-crafted render-structure signatures appears incremental.
- The latency and computational overhead introduced by the multi-stage browser rendering, graph matching, and candidate clustering processes appear significantly high. A clear trade-off analysis between the performance gain and the extra inference time cost is missing.
- The paper lacks an ablation study on the specific features used in the render-structure signatures (e.g., layout relations, semantic roles, and invalid states), which would be necessary to demonstrate their individual contributions and effectiveness.
- There is no analysis on handling dynamic interactions and JavaScript logic, which leaves the limitations of the proposed method in terms of real-world dynamic webpage repair insufficiently explored.
Questions
See the above weaknesses.
Limitations
yes
Formatting concerns
None
1 comment
Thank you for the constructive review and positive score. We address the four concerns below.
Q1. The hand-crafted render-signature clustering mechanism appears complex and incremental.
The agglomerative clustering itself is standard, and we will not present the clustering algorithm as an independent novelty. Its task-specific purpose is to allocate a small retention budget to distinct browser behaviors, rather than to syntactically distinct code. Two HTML/CSS edits can be far apart in source space but render equivalently; conversely, a small CSS change can switch wrapping, grid structure, visibility, or overflow. Token probability and source edit distance therefore do not directly capture the alternatives that matter for repair.
The six signature families provide a transparent behavioral representation: geometry (boxes), topology and alignment (relations), visible functional content (slots), semantics (roles), repeated-layout regularity (repeat structure), and hard failures (invalid states). With only candidates per hole, clustering is small and deterministic once candidates are rendered; it is not an additional learned model. The empirical cluster frequencies are used as finite candidate-set diversity, not claimed as a calibrated posterior probability.
Q2. The performance–latency and computation trade-off is missing.
The original budget analysis varies , , and , and Table 4 controls browser renders, but neither is a substitute for end-to-end timing and model cost.
Profiled on GPT-4o + Design2Code, single-node, 8-way render parallelism, Playwright/Chromium on a 16-vCPU / 64GB host:
| Stage | Time (p50, s) | Time (p95, s) |
|---|---|---|
| Parser + graph construction | 1.2 | 1.9 |
| Matching + hole proposal | 0.3 | 0.5 |
| MLLM candidate generation ( calls) | 38.6 | 61.2 |
| Local rendering () | 4.8 | 7.1 |
| Clustering | 0.2 | 0.3 |
| Global composition + reranking ( renders) | 5.4 | 8.0 |
| End-to-end | 50.5 | 79.0 |
Q3. Each render-signature feature family needs an individual ablation.
Reusing the identical candidate pool (GPT-4o, Design2Code), removing each signature component before clustering:
| Removed component | Position | Block | CLIP | Regression rate | Avg. #clusters | No-op rate |
|---|---|---|---|---|---|---|
| RSU (full signature) | 0.942 | 0.876 | 0.924 | 0.4% | 3.4 | 29% |
| w/o layout relations () | 0.917 | 0.860 | 0.917 | 1.1% | 2.6 | 24% |
| w/o repeat structure () | 0.921 | 0.863 | 0.918 | 0.9% | 2.8 | 25% |
| w/o content slots () | 0.930 | 0.868 | 0.920 | 0.6% | 3.0 | 27% |
| w/o semantic roles () | 0.935 | 0.871 | 0.921 | 0.5% | 3.1 | 28% |
| w/o bounding boxes () | 0.926 | 0.865 | 0.919 | 0.7% | 2.9 | 26% |
| w/o invalid states () | 0.937 | 0.873 | 0.922 | 1.3% | 3.3 | 30% |
Q4. Dynamic interactions and JavaScript logic are not analyzed.
We argue that these behaviors are outside the demonstrated scope. RSU observes the DOM, computed styles, geometry, roles, visibility, and clickability for one browser state. This is sufficient for the static fixed-viewport task studied here, but it does not model the transition relation between states or prove that a local rewrite preserves JavaScript event listeners, asynchronous updates, form state, focus behavior, or responsive logic.
Applying RSU independently to a screenshot of a dynamic state would only repair that observation; it could create conflicts with other states. A principled extension would jointly collect traces over an interaction/viewport state set, preserve listener and state dependencies, and optimize a cross-state consistency objective. We will add this concrete limitation and future direction.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies post-generation repair for MLLM-based UI-to-code. Given a target screenshot and an initial HTML/CSS page produced by a base generator, the task is to identify and correct local structural errors at test time. The authors formulate repair as an uncertainty-guided search problem and distinguish two sources of ambiguity: attribution uncertainty (where error comes from) and repair uncertainty (how error can be fixed). RSU executes the generated code in a browser. Then, it converts the screenshot and the rendered page into comparable structure graphs, compares them to find mismatches, and traces these mismatches back to a small set of candidate ``DOM holes'' using greedy set cover. For each hole, RSU generates several local repair candidates, renders each candidate in the full-page context, and clusters the results by render-structure signatures. It keeps representative candidates from these clusters together with a no-op option. A structure-oriented scoring function then reranks the resulting Partial DOM candidates and selects the final page. Experiments on Design2Code and ScreenBench with four backbone MLLMs (GPT-4o, Claude-3.5-Sonnet, Gemini-2.5-Pro, and Qwen2.5-VL) show that RSU improves over direct generation and structured pipelines (Direct, DCGen, UICopilot, and ScreenCoder). Budget-matched comparisons and component ablations further suggest that the gains come mainly from structural localization rather than from additional computation.
Strengths and weaknesses
Strengths:
Quality:
a. The paper studies a real limitation of current UI to code systems: once the initial HTML structure is wrong, later generation or refinement often preserves the same structural error.
b. The proposed RSU pipeline is technically sound and well motivated. Matching target visual structures with DOM anchored render structures is a reasonable way to localize repair targets.
c. The experiments are solid. The paper evaluates on two benchmarks and four MLLM backbones, and includes ablations for hole proposal, repair uncertainty modeling, hyperparameters, and budget matched comparisons.
Clarity:
a. The paper is clearly written and easy to follow.
b. The distinction between attribution uncertainty and repair uncertainty is intuitive and helps explain the method.
c. The figures and case studies are useful for understanding why local structural repair is needed.
Significance:
a. Post generation repair is an important problem for UI to code generation, but is less studied than direct generation.
b. RSU is useful because it can be attached to different base generators without retraining them.
c. The improvements on Position and Block metrics are meaningful, since these metrics are closely related to layout structure errors.
Originality:
a. Modeling HTML repair through render structure uncertainty is an interesting idea.
b. The combination of browser grounded structure matching, DOM hole proposal, render behavior clustering, and global reranking is novel and well suited to this task.
Weaknesses:
Quality:
a. The method depends on the quality of the visual structure parser and DOM anchoring. More analysis of parser errors would make the method more convincing.
b. The cost analysis is still somewhat limited.
Clarity:
a. Some implementation details could be clearer, especially the training of the structure parser, the candidate generation prompts, and the exact scoring function Q.
b. The main result table is dense. Reporting variance or confidence intervals would make the improvements easier to judge.
Significance:
a. The current setting mainly focuses on static single viewport HTML/CSS pages. It is less clear how well RSU handles responsive layouts, interaction states, multi page websites, or globally coupled CSS failures.
b. The paper does not fully discuss code maintainability, accessibility, or semantic HTML quality, which are important for real frontend development.
Originality:
a. Some components, such as candidate generation and reranking, are based on familiar ideas. The novelty mainly comes from how these components are combined for render structure guided repair.
b. The paper would be stronger with more direct comparison to other test time repair or self refinement methods under the same budget.
Overall:
I recommend acceptance. The paper identifies a meaningful problem.
Questions
please see weakness
Limitations
YES
Formatting concerns
NA
4 comments
Thank you for the detailed and encouraging review. We appreciate your recognition of our paper. We address each weakness below.
Q1. Parser and DOM-anchoring errors need direct analysis because both affect localization.
The target parser may miss, merge, split, or misclassify a target structure; these errors alter and can suppress or create mismatches. DOM anchoring starts from the executed page rather than a predicted source tree, but the editable cause of a visual region can still be ambiguous—for example, a repeated-layout error may originate in an item, its grid/flex wrapper, or a higher layout ancestor. RSU therefore retains several attribution levels rather than assuming that one anchor is causally correct.
On a held-out set of 200 pages, achieves macro node F1 0.86 and macro edge F1 0.79. By node type, F1 is highest for section/card/image (0.90–0.93, [email protected] AP 0.88) and lowest for repeat group 0.71 and input/interaction slot 0.74; by edge type, inside and same-row are highest (0.85–0.88), while repeat is lowest (0.68). Dominant errors: under-segmenting nested cards into one block (FN on repeat group) and mis-splitting a single wrapper into two siblings (FP on section).
Q2. Actual inference latency and resource overhead should be reported in addition to browser renders.
Table 4 is a controlled render-budget comparison, not a complete compute-equivalence claim. Its result remains informative: under 52 browser renders, RSU reaches Block/Text/Position/Color/CLIP of 0.876/0.966/0.942/0.891/0.924, versus the best non-RSU value on each metric of 0.860/0.964/0.916/0.880/0.917. However, different methods can incur different generation, token, parsing, and orchestration costs.
Profiled on GPT-4o + Design2Code, single-node, 8-way render parallelism, Playwright/Chromium on a 16-vCPU / 64GB host:
| Stage | Time (p50, s) | Time (p95, s) |
|---|---|---|
| Parser + graph construction | 1.2 | 1.9 |
| Matching + hole proposal | 0.3 | 0.5 |
| MLLM candidate generation ( calls) | 38.6 | 61.2 |
| Local rendering () | 4.8 | 7.1 |
| Clustering | 0.2 | 0.3 |
| Global composition + reranking ( renders) | 5.4 | 8.0 |
| End-to-end | 50.5 | 79.0 |
Q3. More implementation detail.
These details are necessary for reproduction. We will add the following items to the appendix and anonymized release.
Q4. Main results need variance or confidence intervals.
Because every method is evaluated on the same pages, the primary uncertainty analysis should preserve that pairing rather than report an unpaired standard deviation across pages. We will include this in final version.
Q5. The scope for responsive layouts, interaction states, multi-page sites, and globally coupled CSS is unclear.
The current scope is deliberately narrower: static HTML/CSS at one fixed viewport. RSU operates on an observed render state and local DOM replacements. This limitation is structural rather than a wording detail. Responsive or stateful repair would require matching a set of state-conditioned graphs and selecting code under cross-state constraints. Multi-page or global-CSS repair would require dependency tracking beyond the selected subtree and conflict-aware edits to shared resources. Processing a screenshot from one of these states is not equivalent to validating the transition system that produced it.
Q6. Screenshot fidelity does not establish maintainability, accessibility, or semantic HTML quality.
RSU’s roles, slots, clickability checks, and invalid-state gate help prevent certain visibly or structurally invalid repairs, but they are not substitutes for accessibility auditing, semantic-markup assessment, keyboard-navigation tests, or maintainability analysis. A page can match a screenshot while using poor element semantics, redundant wrappers, overly specific CSS, or inaccessible interaction patterns.
Our contribution and evaluation concern rendered structural fidelity, not general frontend code quality. RSU also constrains edits to selected subtrees and preserves key text/assets/interaction slots, which limits unnecessary changes, but this does not constitute a formal maintainability or accessibility guarantee.
Q7. The novelty lies mainly in the task-specific integration of familiar components.
Candidate sampling, agglomerative clustering, and reranking are established tools. The methodological contribution is the way they are coupled around browser-executed structure for post-generation HTML repair:
- target/render graph mismatches are mapped back to multiple plausible editable DOM subtrees, preserving attribution uncertainty;
- source-diverse local edits are compared by their rendered structural behavior, so equivalent code variants can be collapsed while distinct layout outcomes are retained; and
- retained local alternatives, including no-op, are jointly composed and reranked in full-page context, allowing dependencies across holes to be resolved before selection.
The distinction matters because source-level similarity does not reliably predict browser behavior, and choosing a single hole or local top-1 repair prematurely removes alternatives needed by the global page. Existing Table 2 supports DOM-anchored multi-level localization, and Table 3 supports render-space clustering and joint selection; E3/E4 provide finer component evidence.
Q8. Stronger same-budget test-time repair or self-refinement comparisons would strengthen the evaluation.
We agree with the motivation, and we will make the coverage and boundary of the existing comparison clearer. Table 4 already tests the most direct generic alternatives under the same 52-render budget: full-page best-of-, full-page self-repair, random-hole repair, and hole selection based on pixel residual, token entropy, or DOM complexity. RSU improves over the strongest alternative on all five reported metrics, with the largest gap in Position (0.942 vs. 0.916). These controls isolate the paper’s central question: whether explicitly preserving uncertainty over structural locations and rendered local behaviors is more effective than spending the same render budget on global or heuristic repair.
Some related UI-to-code systems are not drop-in post-hoc repair rules: they alter the base generation pipeline, require method-specific intermediate representations or training, or use a different number and type of model/browser calls. Treating such numbers as same budget without a faithful reimplementation would be misleading.
Thanks for your reply and additional exps. It has addressed most concerns, I will maintain my positive scores.
Thank you for your response and for your high evaluations. Thank you again for your time. Best wishes.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you for the careful review and for recognizing our paper. We address the four concerns below.
Q1. What is the standalone accuracy of the screenshot parser for sections, repeated groups, buttons, text slots, and relation edges?
On a held-out set of 200 pages, Pθ achieves macro node F1 0.86 and macro edge F1 0.79. By node type, F1 is highest for section/card/image (0.90–0.93, [email protected] AP ≈ 0.88) and lowest for repeat group (0.71) and input/interaction slot (0.74); by edge type, inside and same-row are highest (0.85–0.88), while repeat is lowest (0.68). Dominant errors: under-segmenting nested cards into one block (FN on repeat group) and mis-splitting a single wrapper into two siblings (FP on section).
We additionally asks whether these errors matter downstream. Grouping Design2Code test pages by parser node/edge F1 and reporting RSU − Direct on GPT-4o:
Q2. Hole selection remains heuristic because it uses LayoutLCA, parents/wrapper children, area limits, and CSS coupling.
this stage is heuristic. It is designed as a high-recall proposal mechanism, not as a learned causal localizer or a proof that one DOM node uniquely caused a visual mismatch. The ambiguity is precisely why RSU retains multiple levels:
The greedy set-cover stage then chooses at most B=3 holes that explain the largest number of uncovered mismatches. Ties prefer a relation mismatch’s LayoutLCA, then smaller visible area, then lower CSS coupling. We exclude
html,body, and the global root wrapper, retain holes covering 1%–50% of visible page area, and use full-page fallback when mismatch coverage is below κ=0.6. We will specify the operational definitions and all thresholds in pseudocode.Q3. The final score Q would be stronger if its correlation with human preference were reported.
We agree that human judgment would be required if Q were claimed as a calibrated human-preference model. The present claim is narrower: Q is an internal, structure-oriented search objective used to rank a finite set of rendered candidates. Instead, we report scoring function Q ablation. Fixed Partial DOM candidate set (GPT-4o, Design2Code):
Q4. Static screenshot fidelity does not establish responsive, scrolling, hover, form, or JavaScript-state behavior.
The evaluated protocol fixes Chromium/Playwright, viewport 1440×900, device scale factor 1, animations, and random seed; it therefore measures a single static render state.
RSU’s browser trace provides a possible foundation for future state-aware repair, but the current unit of matching is one rendered graph. A correct extension would need multiple viewport/state traces, event and shared-style dependency preservation, and joint selection across states; simply applying the present method once per screenshot could produce mutually inconsistent edits.