部署与评估用于服务移动机器人编程的大语言模型
Deploying and Evaluating LLMs to Program Service Mobile Robots
AI总结:
本文提出开源工具CodeBotler和基准RoboEval,用于从自然语言生成服务移动机器人程序并评估LLMs的程序生成正确性与鲁棒性,同时总结常见失败模式。
摘要:
大语言模型(LLMs)的最新进展激发了人们对其从自然语言生成机器人程序的兴趣,并取得了初步的良好结果。我们研究了利用LLMs为服务移动机器人生成程序的问题,这些机器人需要运用移动、感知和人机交互技能,其中动作的准确排序和顺序对任务成功至关重要。我们贡献了CodeBotler,一个开源的、与机器人无关的工具,用于从自然语言为服务移动机器人编程;以及RoboEval,一个用于评估LLMs生成程序以完成服务机器人任务能力的基准。CodeBotler通过使用Python中嵌入的领域特定语言(eDSL)对LLMs进行少样本提示来生成程序,并利用技能抽象将生成的程序部署到任何通用移动机器人上。RoboEval通过检查从多个初始状态开始的执行轨迹,并检查这些轨迹是否满足编码每个任务正确性的时序逻辑属性,来评估生成程序的正确性。RoboEval还为每个任务包含多个提示,以测试程序生成的鲁棒性。我们使用RoboEval基准评估了多个流行的最先进LLMs,并对失败模式进行了深入分析,得出一个分类体系,突出显示了LLMs在生成机器人程序时的常见缺陷。我们在https://amrl.cs.utexas.edu/codebotler/ 发布了代码和基准。
英文摘要:
Recent advancements in large language models (LLMs) have spurred interest in using them for generating robot programs from natural language, with promising initial results. We investigate the use of LLMs to generate programs for service mobile robots leveraging mobility, perception, and human interaction skills, and where accurate sequencing and ordering of actions is crucial for success. We contribute CodeBotler, an open-source robot-agnostic tool to program service mobile robots from natural language, and RoboEval, a benchmark for evaluating LLMs' capabilities of generating programs to complete service robot tasks. CodeBotler performs program generation via few-shot prompting of LLMs with an embedded domain-specific language (eDSL) in Python, and leverages skill abstractions to deploy generated programs on any general-purpose mobile robot. RoboEval evaluates the correctness of generated programs by checking execution traces starting with multiple initial states, and checking whether the traces satisfy temporal logic properties that encode correctness for each task. RoboEval also includes multiple prompts per task to test for the robustness of program generation. We evaluate several popular state-of-the-art LLMs with the RoboEval benchmark, and perform a thorough analysis of the modes of failures, resulting in a taxonomy that highlights common pitfalls of LLMs at generating robot programs. We release our code and benchmark at https://amrl.cs.utexas.edu/codebotler/.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。