arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2611.18575cs.SEcs.CV
收藏

面向软件工程的图像到代码生成综述

A Survey of Image-to-Code Generation for Software Engineering

Licheng Zhang, Xihong Wu, Dingsheng Luo, Siew-Kei Lam

AI总结:

本综述梳理软件工程领域图像到代码生成的相关研究,提出统一处理流程,调研各阶段与任务,整合数据集等资源并指出开放挑战。

摘要:

在软件实现前,大部分软件意图以视觉形式表达:设计师将截图或Figma原型交给前端工程师,架构师绘制UML图或流程图,缺陷报告附带出错画面。因此,将这类视觉产物直接转换为可执行软件,成为计算机视觉与软件工程交叉领域的活跃问题。本综述梳理软件工程领域的图像到代码生成文献,该类方法输入包含视觉模态,输出为工程师需手动编写的软件代码。本综述限定研究范围为软件工程代码,具体包括用户界面与前端代码、从UML和流程图等软件图中恢复的代码、由视觉信号驱动的程序修复与测试代码,以及通用软件代码目标,排除图表绘制脚本、矢量图形程序、硬件描述语言、机器人策略等其他领域的代码生成。本综述未孤立罗列系统,而是提出统一处理流程:视觉理解、组件识别、布局推理、代码规划、代码生成与验证,并围绕该流程各阶段组织内容。本综述梳理了从基于规则的逆向工程到智能体生成的五个重叠时代,深入调研各流程阶段及各软件工程任务,结合各系统实际运行情况,整合数据集、基准与指标,指出设计系统泛化、长时序与交互式生成、跨框架部署、可访问性、组件幻觉、评估不可靠等开放挑战。

英文摘要:

A large fraction of software intent is expressed visually before it is implemented. A designer hands a screenshot or a Figma mockup to a front-end engineer, an architect sketches a UML diagram or a flowchart, and a bug report ships with a picture of what went wrong. Turning such visual artifacts directly into executable software has therefore become an active problem at the intersection of computer vision and software engineering. The present survey organizes the literature on image-to-code generation for software engineering, defined as the family of methods whose input contains a visual modality and whose output is software an engineer would otherwise write by hand. We deliberately scope the survey to software-engineering code, namely user-interface and front-end code, code recovered from software diagrams such as UML and flowcharts, program repair and test code driven by visual signals, and general software-code targets, and we exclude adjacent code-generation domains whose home communities lie elsewhere, such as chart plotting scripts, vector-graphics programs, hardware description languages, and robot policies. Rather than cataloguing systems in isolation, we introduce a unified processing pipeline of visual understanding, component recognition, layout reasoning, code planning, code generation, and verification, and organize the survey around its stages. We trace five overlapping eras from rule-based reverse engineering to agentic generation, survey each pipeline stage and each software-engineering task in depth grounded in what individual systems actually do, consolidate the datasets, benchmarks, and metrics, and lay out the open challenges of design-system generalization, long-horizon and interactive generation, cross-framework deployment, accessibility, hallucinated components, and unreliable evaluation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑