EmbedGenius: 面向通用嵌入式物联网系统的自动化软件开发
EmbedGenius: Towards Automated Software Development for Generic Embedded IoT Systems
AI总结:
EmbedGenius通过结合大语言模型和嵌入式系统知识,实现了通用嵌入式物联网系统的自动化软件开发,显著提升了代码生成准确率和任务完成成功率。
摘要:
嵌入式物联网系统开发对于实现广泛应用场景中的无缝连接和功能至关重要。然而,这种复杂过程需要硬件和软件的跨领域知识,因此往往需要直接开发者参与,使其变得劳动强度大、耗时且易出错。为了解决这一挑战,本文介绍了一个全新的全自动化软件开发平台EmbedGenius,用于通用目的的嵌入式物联网系统。其核心思想是利用大语言模型(LLMs)的推理能力和嵌入式系统专业知识,自动化硬件在环的开发过程。主要方法包括组件感知的库解析方法,用于解决硬件依赖问题;库知识生成方法,将实用领域知识注入LLMs;以及自动编程方法,确保成功部署。我们评估了EmbedGenius在71个模块和四个主流嵌入式开发平台上的性能,超过350个物联网任务。实验结果表明,EmbedGenius能够生成准确度为95.7%的代码,并完成任务的成功率为86.5%,超过了人类参与的基线方法15.6%至37.7%和25.5%至53.4%。我们还通过环境监控和远程控制系统开发的案例研究展示了EmbedGenius的潜力。
英文摘要:
Embedded IoT system development is crucial for enabling seamless connectivity and functionality across a wide range of applications. However, such a complex process requires cross-domain knowledge of hardware and software and hence often necessitates direct developer involvement, making it labor-intensive, time-consuming, and error-prone. To address this challenge, this paper introduces EmbedGenius, the first fully automated software development platform for general-purpose embedded IoT systems. The key idea is to leverage the reasoning ability of Large Language Models (LLMs) and embedded system expertise to automate the hardware-in-the-loop development process. The main methods include a component-aware library resolution method for addressing hardware dependencies, a library knowledge generation method that injects utility domain knowledge into LLMs, and an auto-programming method that ensures successful deployment. We evaluate EmbedGenius's performance across 71 modules and four mainstream embedded development platforms with over 350 IoT tasks. Experimental results show that EmbedGenius can generate codes with an accuracy of 95.7% and complete tasks with a success rate of 86.5%, surpassing human-in-the-loop baselines by 15.6%--37.7% and 25.5%--53.4%, respectively. We also show EmbedGenius's potential through case studies in environmental monitoring and remote control systems development.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。