Abstract
Recent advancements in Large Language Models (LLMs) have opened new avenues for high-level robotic task planning. However, multi-robot coordination in dynamic environments remains a significant challenge due to the limitations of open-loop "plan-then-execute" strategies. This paper discusses a novel retrospective actor-critic framework that enables multi-robot teams to identify, analyze, and correct execution failures in real-time. By leveraging verbal feedback and dual-model retrospection, the system achieves higher success rates and improved efficiency across complex collaborative tasks without the need for task-specific fine-tuning.
Introduction
While LLMs excel at generating logical sequences of actions, their application in robotics often falters when faced with physical uncertainty. In multi-robot scenarios, a single missed grasp or a minor collision can derail an entire plan. Most existing systems lack a robust mechanism for closed-loop coordination; when a failure occurs, they either persist in a failing state or require a computationally expensive full-system restart.
The core challenge lies in enabling robots to understand why a specific action failed and how to adjust their strategy immediately. This research introduces a "self-reflection" mechanism that allows robots to analyze past interactions and refine future behavior through natural language feedback.
The Retrospective Actor-Critic Framework
Inspired by the "Reflexion" architecture used in software engineering agents, the proposed framework splits responsibilities between two distinct LLM roles:
- The Actor (LLM1): This model serves as the primary decision-maker. It processes the global task goal, current environmental observations, and peer-to-peer communication to generate specific action plans (e.g., "Agent A: Pick Cube 1").
- The Critic (LLM2): This model performs a "post-mortem" analysis on attempted actions. It reviews validation data—such as collision checks or kinematic reachability failures—and generates a verbal critique. For instance, the Critic might observe: "The path for Agent A is too low; it collided with the other agent; please increase the height next time."
The Operational Loop
The system operates in a continuous cycle designed to minimize repetitive errors:
- Collaborative Discussion: Robots (simulated by the Actor) communicate to agree on subgoals and task allocation.
- Validation: A physics-based checker evaluates the proposed plan for potential collisions or physical impossibilities.
- Retrospection: If a failure is detected, the Critic reviews the trajectory and provides specific, actionable advice.
- Memory Management: The framework maintains a Short-term Memory for the current round and a Long-term Memory that stores the retrospection from the previous two rounds. This historical context is crucial for the Actor to refine its next planning phase.
In implementation, the researchers utilized Llama 3.1-70B as the Actor and the more compact Llama 3.1-8B as the Critic, demonstrating that a smaller model can effectively provide corrective feedback to a larger, more complex model.
Experimental Evaluation
The framework was evaluated using RoCoBench, a standardized benchmark for multi-robot collaboration. The evaluation covered six diverse manipulation tasks requiring high degrees of coordination:
- Arrange Cabinet: Two robots coordinate to open a door while a third places a cup inside.
- Sweep Floor: One robot stabilizes a dustpan while another sweeps debris.
- Make Sandwich: A collaborative task involving the sequential stacking of ingredients.
- Sort Cubes: Sorting colored cubes into designated zones.
- Move Rope: Two robots must coordinate their movements to transport a flexible object.
Key Insights
Verbal Reinforcement vs. Numeric Rewards
Unlike traditional Reinforcement Learning (RL) which relies on scalar reward signals, this framework utilizes "verbal" reinforcement. Natural language feedback allows robots to understand the semantic reason for failure, which is significantly more sample-efficient than the trial-and-error approach of numeric RL.
The Importance of Hindsight
The retrospective phase acts as an "aha moment" for the system. By forcing the model to analyze a failed trajectory before attempting a re-plan, the system avoids the common LLM pitfall of repeating the same logical error in a loop.
Context and Model Sensitivity
Ablation studies revealed that context length is a critical performance factor. Reducing the background history to a single round of failure significantly degraded the success rate, suggesting that robots need at least two rounds of "memory" to maintain stability. Furthermore, while the framework is model-agnostic, performance varied when switching the Actor to other models like NVIDIA’s Nemotron-70B, indicating that model-task compatibility remains an important variable.
Results
The retrospective framework consistently outperformed the baseline (RoCo) across multiple metrics:
- Success Rates: In the Arrange Cabinet task, success rates increased from 27% to 40%. Similarly, Sort Cubes improved from 33% to 40%.
- Operational Efficiency: Robots completed tasks in fewer steps. In the Arrange Cabinet task, the average steps required dropped from 8.9 to 8.1.
- Stability: The number of required "re-plans" decreased, particularly in the Move Rope task, indicating more stable and reliable coordination.
Limitations and Future Directions
Despite its success, the framework faces several challenges. Hallucinations remain a concern, where LLMs propose physically impossible actions. Additionally, the inference latency of the multi-step "discuss-act-critique" loop, even when powered by multiple NVIDIA A100 GPUs, may be too slow for high-speed industrial applications. Future work will focus on fine-tuning LLMs specifically on robotic trajectory data to reduce hallucinations and optimize the feedback loop for real-time deployment.
Summary updated