Grounding LLMs For Robot Task Planning Using Closed-loop State Feedback
Vineet Bhat, Ali Umut Kaypak, Prashanth Krishnamurthy, Ramesh Karri, Farshad Khorrami
TL;DR
This work addresses the fragility of LLM-based robotic task planning by grounding high-level reasoning in the robot’s environment through a two-LLM, brain–body architecture (Brain-LLM and Body-LLM) with closed-loop state feedback. The approach uses environmental state representations and runtime error feedback to iteratively revise plans, reducing hallucinations and increasing task success across VirtualHome simulations and Franka Arm experiments, with GPT-4 generally performing best. Key contributions include the BrainBody-LLM framework, a structured planning/execution/feedback prompting setup, and extensive evaluation showing improved SR and GCR over baselines, plus practical guidelines for adapting to diverse robotic settings. The results highlight the potential of learning from simulator/controller errors to achieve more reliable, autonomous robot task execution and pave the way for safer, grounded LLM-driven autonomy in real-world robotics.
Abstract
Planning algorithms decompose complex problems into intermediate steps that can be sequentially executed by robots to complete tasks. Recent works have employed Large Language Models (LLMs) for task planning, using natural language to generate robot policies in both simulation and real-world environments. LLMs like GPT-4 have shown promising results in generalizing to unseen tasks, but their applicability is limited due to hallucinations caused by insufficient grounding in the robot environment. The robustness of LLMs in task planning can be enhanced with environmental state information and feedback. In this paper, we introduce a novel approach to task planning that utilizes two separate LLMs for high-level planning and low-level control, improving task-related success rates and goal condition recall. Our algorithm, \textit{BrainBody-LLM}, draws inspiration from the human neural system, emulating its brain-body architecture by dividing planning across two LLMs in a structured, hierarchical manner. BrainBody-LLM implements a closed-loop feedback mechanism, enabling learning from simulator errors to resolve execution errors in complex settings. We demonstrate the successful application of BrainBody-LLM in the VirtualHome simulation environment, achieving a 29\% improvement in task-oriented success rates over competitive baselines with the GPT-4 backend. Additionally, we evaluate our algorithm on seven complex tasks using a realistic physics simulator and the Franka Research 3 robotic arm, comparing it with various state-of-the-art LLMs. Our results show advancements in the reasoning capabilities of recent LLMs, which enable them to learn from raw simulator/controller errors to correct plans, making them highly effective in robotic task planning.
