Large Language Models for Orchestrating Bimanual Robots

Kun Chu, Xufeng Zhao, Cornelius Weber, Mengdi Li, Wenhao Lu, Stefan Wermter

Abstract

Bimanual coordination represents a significant challenge in robotics due to high-dimensional action spaces and complex spatio-temporal dependencies. This paper introduces the LABOR (LAnguage-model-based Bimanual ORchestration) agent, a framework that leverages the reasoning capabilities of GPT-4o to coordinate dual-arm robots without the need for massive, task-specific datasets. By decomposing complex tasks into specific spatio-temporal patterns—such as synchronous "co-working" or independent "uni-manual" actions—the system achieves high success rates in long-horizon bimanual tasks. Our results demonstrate that LABOR significantly outperforms traditional LLM-based planning by explicitly managing spatial zones and temporal synchronization.

1. Introduction

While humans utilize two hands instinctively for daily tasks, bimanual coordination remains a "grand challenge" in robotics. Controlling two arms simultaneously is not merely twice as difficult as controlling one; it introduces a complex array of spatial constraints, such as collision avoidance, and intricate temporal dependencies, where one hand must stabilize an object while the other performs a manipulation.

Traditional approaches, including Reinforcement Learning (RL) and Imitation Learning (IL), often struggle in this domain because the combined action space is massive and the collection of human demonstrations for dual-arm tasks is labor-intensive. While Large Language Models (LLMs) have shown promise as high-level planners for single-arm robots, their capacity to manage the delicate "dance" of two arms working in a shared workspace has remained largely unexplored. This research presents the LABOR agent as a solution to bridge this gap.

2. Methodology

The LABOR agent utilizes a "divide and conquer" strategy to manage bimanual control through three primary components: spatio-temporal control patterns, LLM orchestration, and a specialized skill library.

2.1 Spatio-temporal Control Patterns

The framework defines how two hands interact within a shared environment. Control is categorized into:

  • Uncoordinated Control: Hands operate independently within their respective zones.
  • Coordinated Control: Hands work together in a designated "overlap area." This is further divided into Synchronous (simultaneous movement) and Asynchronous (sequential actions where one hand may wait for the other).

2.2 LLM Orchestration

Using GPT-4o via the LangChain framework, the agent processes a prompt containing the robot's "Background" (workspace coordinates), "Environment Setting" (object locations), and a "Skill Library." The LLM performs iterative reasoning, decomposing tasks into stages and generating commands for both hands. It receives feedback from the simulator and can self-correct if a command fails.

2.3 Skill Library

Instead of controlling raw motor torques, the LLM invokes high-level APIs. These include:

  • Manipulation Skills: move_and_grasp, pour_out, release, and a critical wait command.
  • Information Skills: get_arm_state and get_obj_position to maintain situational awareness.

3. Experimental Setup

The system was evaluated using the NICOL robot—a semi-humanoid equipped with two five-fingered hands—within a CoppeliaSim simulated environment. Two classes of long-horizon bimanual tasks were designed to test the agent:

  1. ServeWater: The robot must pick up a water-filled cup, pour it into a second cup held by the opposite hand, and then serve the second cup.
  2. ServeFruit: The robot must pick up multiple fruits, place them in a bowl, and serve the bowl using both hands.

Performance was benchmarked against a "Vanilla LLM" baseline that lacked the specific spatio-temporal coordination prompts.

4. Results and Discussion

The LABOR agent demonstrated a marked improvement over the baseline across all tasks:

Task Class Baseline Success Rate LABOR Success Rate
ServeWater 65.0% 77.5%
ServeFruit 45.0% 82.5%

4.1 Failure Analysis

Failures were primarily categorized into two types:

  • Temporal Failures: The LLM skipped essential steps, such as attempting to serve a bowl before the fruit had been placed inside.
  • Spatial Failures: The LLM misjudged distances, leading to errors like pouring water outside the target container.

4.2 Key Insights

A significant finding is the efficacy of language as a spatial coordinator. By explicitly defining "zones" (Left, Right, and Overlap) in the prompt, the researchers transformed a complex geometric problem into a logical one. Furthermore, the inclusion of an explicit wait() command proved vital for synchronization. Interestingly, the LABOR agent displayed emergent problem-solving; in several instances, it used the push_to skill to move objects into the overlap area so the other hand could reach them.

5. Conclusion and Future Work

The LABOR agent proves that high-level reasoning can effectively "stitch together" simple, hand-crafted primitive skills to solve complex bimanual problems. However, several limitations remain. The current study is limited to simulation, and the "sim-to-real gap" regarding physical friction and weight remains a challenge. Future iterations aim to integrate Vision-Language Models (VLMs) to allow the robot to "see" the scene directly, reducing reliance on text-based coordinates and improving robustness. Additionally, implementing a low-level reactive safety layer for self-collision detection is a priority for real-world deployment.

Summary updated

BibTeX
@inproceedings{chu2024large,
  author = {Kun Chu and Xufeng Zhao and Cornelius Weber and Mengdi Li and Wenhao Lu and Stefan Wermter},
  title = {{Large Language Models for Orchestrating Bimanual Robots}},
  booktitle = {Humanoids},
  year = {2024},
  url = {https://openreview.net/forum?id=BTR37hBG10},
}
Figure