arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.23178cs.SEcs.AI
收藏

AutoBridge:通过集中式平台自动化智能设备集成

AutoBridge: Automating Smart Device Integration with Centralized Platform

The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));ShanghaiTech University(上海科技大学)

Siyuan Liu, Zhice Yang, Huangxun Chen

AI总结:

针对物联网设备与集中式平台集成需大量人工编写代码的问题,提出AutoBridge分治式自动生成集成代码方案,搭配多阶段调试流水线,在基准测试中实现高成功率与功能覆盖率,效率远超专业程序员。

摘要:

多模态物联网系统协调各类物联网设备以提供以人为本的服务。将新的物联网设备纳入集中式平台管理是一项核心需求。然而,编写复杂的物联网集成代码以使平台能够理解并控制设备功能,需要大量专业知识与人力投入。为此,我们提出AutoBridge以实现物联网集成代码生成的自动化。具体而言,AutoBridge采用分治策略:首先通过逐步检索设备专属知识生成设备控制逻辑,随后利用平台专属知识合成符合平台规范的集成代码。为确保正确性,AutoBridge配备多阶段调试流水线,包含用于虚拟物联网设备测试的自动化调试器,以及仅需用户二元反馈(是/否)即可完成真实设备验证的交互式硬件在环调试器。我们在两个开源物联网平台的34台物联网设备基准测试集上评估AutoBridge。结果表明,在无需任何人工参与的情况下,AutoBridge的平均成功率达93.87%,平均功能覆盖率达94.87%;借助用户最少的二元是/否反馈修订代码后,功能覆盖率可达到100%。一项包含15名参与者的用户研究进一步显示,即便允许专业程序员使用商用代码大语言模型,AutoBridge的代码准确率仍比他们高出50%至80%。

英文摘要:

Multimodal IoT systems coordinate diverse IoT devices to deliver human-centered services. The ability to incorporate new IoT devices under the management of a centralized platform is an essential requirement. However, it requires significant human expertise and effort to program the complex IoT integration code that enables the platform to understand and control the device functions. Therefore, we propose AutoBridge to automate IoT integration code generation. Specifically, AutoBridge adopts a divide-and-conquer strategy: it first generates device control logic by progressively retrieving device-specific knowledge, then synthesizes platformcompliant integration code using platform-specific knowledge. To ensure correctness, AutoBridge features a multi-stage debugging pipeline, including an automated debugger for virtual IoT device testing and an interactive hardware-in-the-loop debugger that requires only binary user feedback (yes and no) for real-device verification. We evaluate AutoBridge on a benchmark of 34 IoT devices across two open-source IoT platforms. The results demonstrate that AutoBridge can achieves an average success rate of 93.87% and an average function coverage of 94.87%, without any human involvement. With minimal binary yes and no feedback from users, the code is then revised to reach 100% function coverage. A user study with 15 participants further shows that AutoBridge outperforms expert programmers by 50% to 80% in code accuracy, even when the programmers are allowed to use commercial code LLMs.

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

↑