REVIEW 5 major objections 5 minor 7 references
LOCOFY Large Design Models -- Design to code conversion solution
T0 review · 5 major / 5 minor · reviewed 2026-08-06 · deepseek-v4-flash
Pith's one-line read Large Design Models, trained on designs rather than text, can convert UI mockups into accurate, reusable front-end code.
desk verdict A product announcement with one solid subcomponent evaluation, but the headline fidelity claim rests on an undefined metric and invisible baselines. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing mechanism is the deterministic inference pipeline, which separates 'understanding the design' from 'generating code.' Rather than asking a generative model to synthesize HTML/CSS directly, the LDM converts design metadata, layer structure, and visual context into a set of explicit, interpretable layout instructions that a deterministic code-generation engine executes identically every time. Supporting that pipeline are three trained components: the Design Optimizer, a supervised model that groups layers and restores best-practice structure such as Auto Layout; the Tagging and feature-detection model, an object-detection backbone pre-trained on UI-specific data under the 'Jasmine' strategy and fine-tuned to classify and group UI elements; and the Auto Components module, which finds repeated UI structures across screens and abstracts them into reusable components with automatically inferred props. The authors' evaluation instrument is the Preview Match Score, defined narratively as a node-level comparison of rendered output to the source design on width, height, and absolute $(x, y)$ coordinates, with 95% as the near-perfect threshold.
What would settle it
Run the same node-level comparison the paper describes—width, height, and absolute (x, y) coordinates of rendered nodes against source designs—on an independently assembled public set of 1,000 designs, with the LLM baseline given a fixed optimized prompt; if that baseline reaches a ≥95% match on more than a small handful of screens, the claim that LDMs are superior in node positioning and visual fidelity is falsified.
Extended reading notes
Core claim
The central claim is that the design-to-code problem is better solved by models that ingest design structure natively than by text-trained or general multimodal LLMs. The paper calls this paradigm the Large Design Model (LDM) and describes it as a multimodal system trained on over one million web and design nodes. Its training pipeline combines a Design Optimizer (supervised on expert-annotated transformations via a gradient-boosted tree model), a UI tagging and feature-detection model built on an object-detection backbone pre-trained with the custom 'Jasmine' strategy, and an Auto Components module that detects repeated UI groups and abstracts them into reusable components with inferred props. The inference pipeline is deliberately deterministic: it converts a design into structured, interpretable instructions that a code-generation engine renders, so the same design always yields the same code. The authors' evaluation reports that 89.6% of 1,000 community-collected real-world screens exceeded a 95% Preview Match Score—a node-level comparison of width, height, and x,y coordinates—and that their tagging model reached macro-average F1 scores of 86.07% for small tags and 77.22% for large tags, while LLM baselines scored lower on positioning, responsiveness, and reproducibility.
Load-bearing premise
The load-bearing premise is that the proprietary Preview Match Score, applied to the authors' own 1,000-design community test set without independent validation, genuinely measures design-to-code quality; if the metric or the test designs are biased, the reported superiority of LDMs over LLMs collapses.
Editorial extensions
If this is right
- Design-to-code conversion can be made deterministic: the same design file will produce identical code, which is what version control and professional workflows require.
- Repeated UI patterns can be abstracted into single component definitions, so generated front-ends carry less redundancy and are easier to maintain.
- Well-structured designs can be converted at production fidelity without a generative model re-rolling the layout each time, removing the prompt-sensitivity that affects LLM approaches.
- The reported tagging F1 scores imply that interactive elements such as buttons, inputs, and headers can be recognized and grouped automatically, a prerequisite for generating semantic rather than purely visual code.
- Because the inference step produces interpretable instructions, an engineer can audit and edit the intermediate representation before code is generated.
Reading between the lines
- A testable extension: replace the self-defined Preview Match Score with independent human perceptual ratings or a standard pixel-level similarity measure on a public benchmark; the reported 89.6% figure is only as strong as that metric's validity.
- If the deterministic instruction-based approach is the source of the reproducibility advantage, one could separate the 'understanding' and 'rendering' stages and reuse the instruction format to drive multiple target frameworks, an architectural consequence the paper only hints at.
- The authors acknowledge that free-form and AI-generated designs perform poorly; this suggests the approach is most effective when design files already follow structured conventions, and a plausible next step is a normalization module that pre-processes arbitrary designs before optimization.
- Given the paper's caveat that its model parameters are 'hundreds of millions' and may not qualify as truly large, one could test whether the reported preview match scores improve with dataset and parameter scale.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript introduces 'Large Design Models' (LDMs), a set of proprietary, design-specific models and a deterministic inference pipeline for converting UI design files into front-end code. The proposed system comprises a Design Optimizer (XGBoost-based), a UI element tagging and feature detection model (YOLO backbone pretrained on UI-specific data, called Jasmine), an Auto Components module for reusable component extraction, and a deterministic code generation engine. The paper claims that on 1,000 community-collected real-world designs, 89.6% of screens achieved a Preview Match Score exceeding 95%, that LDMs outperform general-purpose and fine-tuned LLMs on node positioning, responsiveness, and reproducibility, and that the tagging model attains macro-average F1 scores up to 86.07% for small tags and 77.22% for large tags. The central contribution is an empirical superiority claim for the proprietary LDM system over LLM-based alternatives, supported by the 'novel' Preview Match Score metric.
Significance. If the central claims were properly supported, the work would be practically significant: a deterministic design-to-code pipeline with high visual fidelity and reusable component extraction could offer meaningful engineering value for front-end production workflows. The authors also deserve credit for building a large UI-specific pretraining corpus (over one million web and design nodes), for articulating a concrete modular architecture, and for making an explicit design choice to separate model outputs from a deterministic code generation engine, which is a sensible way to address reproducibility. However, the paper as submitted does not establish scientifically testable evidence for its headline claims. The Preview Match Score is not formally defined, no LLM baseline scores are reported numerically, the test sets and their construction are not described, and the limitations section itself concedes that free-form and AI-generated designs 'do not work well,' which raises serious concerns about selection bias. Consequently, the significance is currently more industrial than scientific, and the manuscript would need substantial new material to support its empirical assertions.
major comments (5)
- [End-to-end design to code conversion accuracy] The Preview Match Score, the load-bearing metric of the paper, is never formally defined. The text states only that comparisons were made 'at a node-level granularity, assessing discrepancies in width, height, and absolute (x, y) coordinates,' but it does not specify how nodes are matched between the source design and rendered output, what tolerance is used for coordinate or dimension differences, how coordinates are normalized across viewports or devices, or how per-node discrepancies are aggregated into a per-screen score. Without this algorithmic definition, the headline result that 89.6% of 1,000 screens achieved a score above 95% cannot be checked, reproduced, or meaningfully compared across systems. The metric is also not validated against human judgment or an external benchmark. Please provide the full scoring algorithm and a validation study, or remove or reframe the quantitative claims.
- [End-to-end design to code conversion accuracy] The comparative claims against LLMs are unsupported by any reported numbers. The text asserts that 'alternative LLMs consistently underperformed, exhibiting significantly lower preview match scores,' but no table, figure, or numerical baseline for any LLM is included anywhere in the manuscript. To make the comparison testable, the authors must report per-model preview match scores, sample sizes, and measures of variance, along with the exact evaluation protocol used for each baseline. At present, the superiority claim rests entirely on an unreported comparison.
- [End-to-end design to code conversion accuracy / Limitations and Future Work] The test set of 1,000 designs is described only as 'real-world designs collected from the community,' with no inclusion or exclusion criteria, no distribution over design tools, screen types, or complexity levels, and no description of how ground truth was obtained. This omission is especially serious because the Limitations section concedes that 'free-form designs and designs generated by AI do not work well for code generation.' If the test suite was implicitly filtered to well-structured designs, the reported 89.6% figure would not generalize to the broad claim made in the abstract. Please provide a detailed description of the test-set construction, a breakdown of its properties, and, ideally, evaluation on a public benchmark such as the Design2Code benchmark cited as reference [7].
- [Design Optimizer] The comparative evaluation of the Design Optimizer is only qualitative. The text reports that LLaMA, T5, Gemini 1.5 Pro, and ChatGPT-4o 'struggled to produce coherent outputs' as nesting increased from 2 to 3 layers, and that the LDM 'demonstrated strong performance,' but no quantitative metrics for node positioning accuracy, structural validity, or hierarchy reconstruction are given. There is also no description of the benchmark's composition or size. Please provide quantitative scores, error bars, and the full set of test inputs and outputs, or limit the claims to what the presented figures actually support.
- [Tagging and feature detection performance] The tagging results in Table 2 report macro-average F1 scores but omit essential context: the number of tag categories in the 'small' and 'large' sets, per-class precision/recall/F1, the distribution of tags in the test set, and any measure of variance across runs or model checkpoints. The statement that the chosen model was tested 'across a wide range of 5,000 test designs' is not accompanied by a description of how those designs were selected or labeled. Without this information, the 86.07% and 77.22% F1 scores cannot be assessed for significance or generalizability.
minor comments (5)
- [Abstract vs Conclusions] The abstract states that 89.6% of screens exceeded a 95% Preview Match Score, while the conclusion says '90% of screens achieving a >95% match score.' Please make the numbers consistent.
- [Introduction] There is a typo in the first paragraph: 'Comb at these gaps' should read 'combat these gaps.' In addition, the manuscript uses 'LMMs' and 'LLMs' inconsistently to refer to multimodal language models; please settle on a single abbreviation.
- [Tagging and feature detection performance] The prose referring to tagging results says 'see Table 1,' but the tagging table is labeled Table 2, while Table 1 describes the LLM fine-tuning setup. Please correct the cross-reference.
- [LLM model finetuning] The fine-tuning experiment is described as evaluating 'cost per node,' but Table 1 lists only epochs, adapter size, and dataset size, with no compute cost or token conversion numbers. Please report the cost and token metrics in a table or define how they were calculated.
- [Overall presentation] Figure 11 (next token prediction accuracy) lacks axis labels and a description of how the accuracy was computed. Please provide a caption with definitions, units, and model names. More generally, several figures (Figures 4-8) are presented as screenshots without detailed captions explaining the transformation being illustrated; adding explicit captions would improve reproducibility and accessibility.
Circularity Check
No equation-level circularity in the LDM pipeline; one supporting evaluation is circular because the tagging model was selected on the same test set used to report its F1 scores, and the central end-to-end superiority claim rests on an unspecified self-defined metric.
-
fitted input called prediction
[Tagging and feature detection performance]
"Nevertheless, the best results were achieved with the post-processed Jasmine model, which reached macro-average F1-scores of 86.07% for small tags and 77.22% for large tags (Table 2). This model was selected as the final version for our tagging and feature detection pipeline. Across a wide range of 5,000 test designs, the chosen model demonstrated high precision, strong generalization, and consistent performance."
The post-processed Jasmine variant was selected because it scored highest on the 5,000-design evaluation, and those same test-design scores are then reported as evidence of the chosen model's precision and generalization. The reported F1 is therefore the selection criterion restated: choosing the variant that maximizes the score on a set and then citing that score as an independent prediction is statistically forced. This is a concrete circular step, though it concerns the tagging submodule rather than the central end-to-end design-to-code claim.
full rationale
The paper's main derivation chain is not circular in the equation-level sense: the LDM components are trained on in-house data and then evaluated on community/curated sets, and the Preview Match Score, though unspecified, is presented as a measurement rather than as an input that defines the predicted quantity. The single concrete circularity is the tagging model selection on the 5,000-design test set, which contaminates the reported F1 as an independent estimate. The larger concern is evaluability, not circularity: the Preview Match Score is never given a formula, no LLM baseline scores appear anywhere, and the test-set curation criteria are absent. Those issues undermine the strength of the central superiority claim but are correctness and reproducibility risks, not demonstrations that the result is equivalent to its inputs by construction.
Assumptions & free parameters
free parameters (1)
- Preview Match Score success threshold =
95%
assumptions (5)
- domain assumption Design metadata, layer structure, and visual context contain sufficient signal to infer UI semantics and layout behavior.
- domain assumption Expert-annotated design transformations represent objectively correct 'best-practice' ground truth.
- ad hoc to paper A Preview Match Score above 95% (computed on node width, height, and coordinates) indicates near-perfect visual fidelity.
- domain assumption Deterministic output (same design to same code) is a sufficient basis for reliability claims.
- domain assumption The LLM baselines were evaluated under fair and equivalent conditions.
Cite this review
Pith. "Pith review of LOCOFY Large Design Models -- Design to code conversion solution." pith.science (2026). https://pith.science/paper/RSDWKYDW
@misc{pith2026250716208,
author = {Pith},
title = {Pith review of: LOCOFY Large Design Models -- Design to code conversion solution},
year = {2026},
howpublished = {\url{https://pith.science/paper/RSDWKYDW}},
note = {Machine review of arXiv:2507.16208}
}
read the original abstract
Despite rapid advances in Large Language Models and Multimodal Large Language Models (LLMs), numerous challenges related to interpretability, scalability, resource requirements and repeatability remain, related to their application in the design-to-code space. To address this, we introduce the Large Design Models (LDMs) paradigm specifically trained on designs and webpages to enable seamless conversion from design-to-code. We have developed a training and inference pipeline by incorporating data engineering and appropriate model architecture modification. The training pipeline consists of the following: 1)Design Optimiser: developed using a proprietary ground truth dataset and addresses sub-optimal designs; 2)Tagging and feature detection: using pre-trained and fine-tuned models, this enables the accurate detection and classification of UI elements; and 3)Auto Components: extracts repeated UI structures into reusable components to enable creation of modular code, thus reducing redundancy while enhancing code reusability. In this manner, each model addresses distinct but key issues for design-to-code conversion. Separately, our inference pipeline processes real-world designs to produce precise and interpretable instructions for code generation and ensures reliability. Additionally, our models illustrated exceptional end-to-end design-to-code conversion accuracy using a novel preview match score metric. Comparative experiments indicated superior performance of LDMs against LLMs on accuracy of node positioning, responsiveness and reproducibility. Moreover, our custom-trained tagging and feature detection model demonstrated high precision and consistency in identifying UI elements across a wide sample of test designs. Thus, our proposed LDMs are a reliable and superior solution to understanding designs that subsequently enable the generation of efficient and reliable production-ready code.
Figures
Figures from the paper (8 more)
Reference graph
Works this paper leans on
-
[7]
Design2Code: Benchmarking Multimodal Code Generation for Automated Front -End Engineering
Chenglei Si, Yanzhe Zhang, Ryan Li, Zhengyuan Yang, Ruibo Liu, Diyi Yang. Design2Code: Benchmarking Multimodal Code Generation for Automated Front -End Engineering. arXiv:2403.03163 (2024)
arXiv 2024
-
[1]
Year’s Top Web Development Stats You Can’t Ignore
“Year’s Top Web Development Stats You Can’t Ignore”, https://www.pixelcrayons.com/blog/software-development/web-development-stats/
-
[2]
A Survey on Large Language Models: Applications, Challenges, Limitations, and Practical Usage
Muhammad Usman Hadi, Qasem Al Tashi, Rizwan Qureshi, et al. A Survey on Large Language Models: Applications, Challenges, Limitations, and Practical Usage. TechRxiv. July 10, 2023. DOI: 10.36227/techrxiv.23589741.v1
-
[3]
Jia Li, Yunfei Zhao, Yongmin Li, Ge Li, and Zhi Jin. 2023d.Towards enhancing in - context learning for code generation.arXiv preprint arXiv:2303.17780 (2023)
arXiv 2023
-
[4]
2021.Evaluating large language models trained on code.arXiv preprint arXiv:2107.03374 (2021)
Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde De Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. 2021.Evaluating large language models trained on code.arXiv preprint arXiv:2107.03374 (2021)
arXiv 2021
-
[5]
Challenges and Applications of Large Language Models
Jean Kaddour, Joshua Harris, Maximilian Mozes, Herbie Bradley, Roberta Raileanu, Robert McHardy. Challenges and Applications of Large Language Models. arXiv:2307.10169 (2023)
arXiv 2023
-
[6]
Testing LLMs on Code Generation with Varying Levels of Prompt Specificity
Lincoln Murr, Morgan Grainger, David Gao. Testing LLMs on Code Generation with Varying Levels of Prompt Specificity. arXiv:2311.07599 (2023)
arXiv 2023
Reviewed August 6, 2026 · model on record in the stance chip above.
Discussion (0). Sign in to comment.