Enhancing the LLM-Based Robot Manipulation Through Human-Robot Collaboration

Haokun Liu, Yaonan Zhu, Kenji Kato, Atsushi Tsukahara, Izumi Kondo, Tadayoshi Aoyama, Yasuhisa Hasegawa · DOI

Abstract

This paper presents a hierarchical Human-Robot Collaboration (HRC) framework designed to bridge the gap between high-level symbolic reasoning and low-level physical execution in robotics. While Large Language Models (LLMs) excel at task decomposition, they often struggle with the nuances of physical manipulation in unstructured environments. By integrating GPT-4 for hierarchical planning, YOLOv5 for environmental perception, and Dynamic Movement Primitives (DMP) for learning from human teleoperation, the proposed system enables robots to acquire new physical skills from a single human demonstration. Experimental results using a Toyota Human Support Robot (HSR) demonstrate that this approach significantly improves success rates in complex, long-horizon tasks, such as opening non-standard doors and manipulating kitchen appliances.

Introduction

Recent advancements in Large Language Models (LLMs) have provided robots with unprecedented capabilities in understanding natural language commands and decomposing them into logical sub-tasks. However, a significant "reality gap" remains: while an LLM can logically plan the steps to "warm up lunch," it lacks the physical intuition required to execute those steps in a messy, real-world environment. Most current frameworks rely on a static library of pre-programmed motion primitives. These systems fail when encountering objects or trajectories not explicitly defined in their library, such as a microwave with a unique hinge mechanism or a cabinet with a specific press-pull structure.

This research addresses the limitations of static motion libraries by introducing a seamless way for human operators to intervene and "teach" the robot new trajectories during execution. By combining the reasoning power of GPT-4 with human-in-the-loop teleoperation and mathematical trajectory encoding, the framework allows for "one-shot" skill acquisition, transforming a robot's failure into a learning opportunity.

The HRC Framework

The proposed hierarchical framework consists of four integrated pillars that facilitate the transition from natural language to physical action.

1. Hierarchical Planning via GPT-4

The system utilizes GPT-4 to interpret complex natural language instructions. To minimize hallucinations and errors in long-sequence generation, the authors employ a hierarchical prompting strategy. The LLM first determines if a long-horizon task can be subdivided into smaller, manageable sub-tasks. These sub-tasks are then mapped to specific motion functions or DMP-based skills.

2. Environmental Perception

For the LLM's code generation to be "grounded" in reality, the system incorporates a vision module using YOLOv5 and a depth camera. This module detects objects in the environment and calculates their 3D coordinates. This spatial data is fed back into the LLM's prompt, allowing it to generate precise commands such as move_to_position(target_object) based on real-time environmental feedback.

3. Human-in-the-Loop Teleoperation

When the robot encounters a task for which it lacks a suitable motion primitive, a human operator can intervene. Using a VR headset and controllers, the human demonstrates the required motion. This teleoperation allows the robot to navigate complex physical constraints that are difficult to program manually or solve via standard path-planning algorithms.

4. Trajectory Learning with Dynamic Movement Primitives (DMP)

The human demonstration is recorded and encoded using Dynamic Movement Primitives (DMP). DMP is a mathematical framework that captures the essential "shape" of a motion while remaining robust to changes in starting or ending positions. Once a motion is encoded as a DMP, it is stored in a "DMP Library," which the LLM can subsequently call as a new skill in future tasks.

Experimental Evaluation

The framework was evaluated using a Toyota Human Support Robot (HSR) in a simulated kitchen environment. The setup included various challenges, such as a microwave with a vertical hinge, an oven with a horizontal pull-down door, and a cabinet with a press-pull mechanism. The researchers conducted 161 trials across seven distinct tasks, including the complex "Roast Apple" task, which required a multi-step sequence of opening the oven, placing the object, and closing the door.

Key Results

The system demonstrated high logical reliability and a significant performance boost following human intervention:

  • Executability: The code generated by the LLM was valid and runnable in 99.4% of trials.
  • Skill Acquisition: For tasks like "Open Oven" and "Open Cabinet," the success rate was 0% using the base library. However, after a single human demonstration was added to the DMP library, the success rates jumped to 91.3% and 87.0%, respectively.
  • Overall Performance: Across all 161 trials, the system achieved an average success rate of 79.5%.

Discussion and Limitations

While the framework successfully bridges the symbolic-subsymbolic gap, certain limitations were identified. The primary cause of failure was not the LLM's logic, but rather perception inaccuracies. Small jitters or errors in the YOLOv5 bounding boxes could lead to the robot missing a handle or misplacing an object. Additionally, "token variability" occasionally caused the LLM to use synonymous but technically incorrect function names, leading to execution errors.

Future work will focus on improving robustness by integrating LiDAR-derived point clouds and tactile sensing. These additions aim to reduce the system's reliance on purely visual inputs, making manipulation more reliable under varying lighting conditions or in the presence of occlusions.

Conclusion

This research demonstrates that human-robot collaboration is a powerful catalyst for enhancing LLM-based robotics. By allowing a human to provide physical intuition where symbolic reasoning falls short, the framework enables robots to learn and adapt to complex environments with minimal demonstration. This approach moves us closer to versatile service robots capable of operating in the unpredictable settings of daily life.

Summary updated

BibTeX
@article{liu2024enhancing,
  author = {Haokun Liu and Yaonan Zhu and Kenji Kato and Atsushi Tsukahara and Izumi Kondo and Tadayoshi Aoyama and Yasuhisa Hasegawa},
  title = {{Enhancing the LLM-Based Robot Manipulation Through Human-Robot Collaboration}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2024},
  doi = {10.1109/lra.2024.3415931},
}
Figure