Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2507.16208v1

帮助 | 高级搜索

计算机科学 > 软件工程

arXiv:2507.16208v1 (cs)
[提交于 2025年7月22日 ]

标题: LOCOFY 大型设计模型 -- 设计到代码转换解决方案

标题: LOCOFY Large Design Models -- Design to code conversion solution

Authors:Sohaib Muhammad, Ashwati Vipin, Karan Shetti, Honey Mittal
摘要: 尽管大型语言模型和多模态大型语言模型(LLMs)取得了快速进展,但在可解释性、可扩展性、资源需求和可重复性方面仍存在许多与它们在设计到代码领域应用相关的问题。 为了解决这些问题,我们引入了大型设计模型(LDMs)范式,专门针对设计和网页进行训练,以实现从设计到代码的无缝转换。 我们通过结合数据工程和适当的模型架构修改,开发了一个训练和推理管道。 训练管道包括以下内容:1)设计优化器:使用专有的真实数据集开发,用于解决次优设计问题;2)标记和特征检测:使用预训练和微调模型,这使得能够准确检测和分类用户界面元素;3)自动组件:将重复的用户界面结构提取为可重用组件,从而实现模块化代码的创建,减少冗余同时提高代码可重用性。 以这种方式,每个模型解决了设计到代码转换中的不同但关键的问题。 此外,我们的推理管道处理现实世界的设计,生成精确且可解释的代码生成指令,并确保可靠性。 此外,我们的模型使用一种新颖的预览匹配评分指标,在端到端的设计到代码转换准确性方面表现出色。 比较实验表明,LDMs在节点定位准确性、响应性和可重复性方面优于LLMs。 此外,我们的自定义训练的标记和特征检测模型在识别广泛测试设计中的用户界面元素方面表现出高精度和一致性。 因此,我们提出的LDMs是一种可靠且优越的解决方案,用于理解设计,从而实现高效且可靠的生产就绪代码的生成。
摘要: 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.
主题: 软件工程 (cs.SE) ; 人工智能 (cs.AI)
引用方式: arXiv:2507.16208 [cs.SE]
  (或者 arXiv:2507.16208v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2507.16208
通过 DataCite 发表的 arXiv DOI

提交历史

来自: Ashwati Vipin [查看电子邮件]
[v1] 星期二, 2025 年 7 月 22 日 03:54:57 UTC (1,619 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • 其他格式
许可图标 查看许可
当前浏览上下文:
cs.SE
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-07
切换浏览方式为:
cs
cs.AI

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号