Litcius/Paper detail

ProgPrompt: program generation for situated robot task planning using large language models

Ishika Singh, Valts Blukis, Arsalan Mousavian, Ankit Goyal, Danfei Xu, Jonathan Tremblay, Dieter Fox, Jesse Thomason, Animesh Garg

2023Autonomous Robots68 citationsDOIOpen Access PDF

Abstract

Abstract Task planning can require defining myriad domain knowledge about the world in which a robot needs to act. To ameliorate that effort, large language models (LLMs) can be used to score potential next actions during task planning, and even generate action sequences directly, given an instruction in natural language with no additional domain information. However, such methods either require enumerating all possible next steps for scoring, or generate free-form text that may contain actions not possible on a given robot in its current context. We present a programmatic LLM prompt structure that enables plan generation functional across situated environments, robot capabilities, and tasks. Our key insight is to prompt the LLM with program-like specifications of the available actions and objects in an environment, as well as with example that can be executed. We make concrete recommendations about prompt structure and generation constraints through ablation experiments, demonstrate state of the art success rates in VirtualHome household tasks, and deploy our method on a physical robot arm for tabletop tasks. Website and code at progprompt.github.io

Topics & Concepts

Computer scienceSituatedTask (project management)RobotContext (archaeology)Human–computer interactionDomain (mathematical analysis)Action (physics)Plan (archaeology)Code (set theory)Natural languageKey (lock)Artificial intelligenceProgramming languageComputer securitySystems engineeringArchaeologyMathematical analysisPaleontologySet (abstract data type)Quantum mechanicsHistoryEngineeringPhysicsMathematicsBiologyMultimodal Machine Learning ApplicationsTopic ModelingNatural Language Processing Techniques
ProgPrompt: program generation for situated robot task planning using large language models | Litcius