图像到代码生成综述:从视觉理解到代码验证的统一流程与五阶段演进
A Survey of Image-to-Code Generation for Software Engineering
一篇综述系统梳理了面向软件工程的图像到代码生成研究,覆盖前端与UI代码、UML与流程图代码恢复、视觉驱动的程序修复与测试代码等任务。该综述提出视觉理解、组件识别、布局推理、代码规划、代码生成与验证的统一处理流程,并划分从规则逆向工程到智能体生成的五个重叠阶段。文章还整合了数据集、基准与评价指标,指出设计系统泛化、长程交互生成、跨框架部署、无障碍、幻觉组件与评估不可靠等开放挑战。
arXiv:2611.18575v1 Announce Type: cross Abstract: 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org