Saved in:
Bibliographic Details
Main Authors: Hu, Zichao, Lucchetti, Francesca, Schlesinger, Claire, Saxena, Yash, Freeman, Anders, Modak, Sadanand, Guha, Arjun, Biswas, Joydeep
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2311.11183
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913238670639104
author Hu, Zichao
Lucchetti, Francesca
Schlesinger, Claire
Saxena, Yash
Freeman, Anders
Modak, Sadanand
Guha, Arjun
Biswas, Joydeep
author_facet Hu, Zichao
Lucchetti, Francesca
Schlesinger, Claire
Saxena, Yash
Freeman, Anders
Modak, Sadanand
Guha, Arjun
Biswas, Joydeep
contents 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/.
format Preprint
id arxiv_https___arxiv_org_abs_2311_11183
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Deploying and Evaluating LLMs to Program Service Mobile Robots
Hu, Zichao
Lucchetti, Francesca
Schlesinger, Claire
Saxena, Yash
Freeman, Anders
Modak, Sadanand
Guha, Arjun
Biswas, Joydeep
Robotics
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/.
title Deploying and Evaluating LLMs to Program Service Mobile Robots
topic Robotics
url https://arxiv.org/abs/2311.11183