Abstract
Training multi-agent systems for complex cooperative tasks, such as object manipulation, remains a significant challenge due to the high dimensionality of coordination and the scarcity of expert data. This paper introduces a "retrieve-and-learn" framework that leverages a Multi-Agent Coordination Skill Database to improve data efficiency. By retrieving relevant behaviors from large-scale, unlabeled past experiences, the system can augment training for new tasks with only a handful of demonstrations. Experimental results demonstrate that this approach significantly outperforms standard few-shot imitation learning, particularly as the number of agents increases, and provides a viable path for sim-to-real transfer.
Introduction
Cooperative manipulation—where multiple mobile robots must work in concert to move an object—requires a sophisticated blend of local collision avoidance and global strategic alignment. Traditional Reinforcement Learning (RL) and Imitation Learning (IL) methods often struggle with these tasks because they require massive amounts of high-quality, labeled data. In practice, available datasets are often unlabeled, sub-optimal, or collected under different configurations (e.g., different robot counts or object shapes).
This research addresses the challenge of "recycling" diverse, unlabeled past experiences to learn specific new tasks efficiently. The proposed framework shifts the focus from learning from scratch to retrieving and adapting existing coordination skills from a comprehensive database.
The Retrieval-Augmented Framework
The authors propose a three-stage pipeline designed to extract and utilize latent coordination skills:
1. Database Construction and Skill Encoding
The foundation of the system is a Transformer-based coordination skill encoder. Unlike simple classifiers, this encoder is trained as a predictive model: it processes a window of past trajectories to predict future actions. This objective forces the latent "skill vector" to capture the underlying spatio-temporal dynamics of agent interaction. To ensure the system can handle varying numbers of robots, the architecture employs a symmetric average pooling function, making the representation permutation-invariant.
2. Coordination Skill Retrieval
When a new "target" task is introduced, the user provides a small set of demonstrations. These are encoded into sequences of skill vectors. The system then employs FastDTW (Dynamic Time Warping) and cosine similarity to identify the most relevant sequences within a massive prior database ($D_{prior}$). DTW is critical here, as it allows the system to match behaviors that may have different temporal lengths or execution speeds.
3. Retrieval-Augmented Policy Training
The final policy is trained using a mixture of the limited target demonstrations and the high-quality retrieved data. To maintain safety and feasibility, the framework uses a hierarchical policy structure: a high-level learned policy generates target velocities, while a low-level Reciprocal Velocity Obstacles (RVO) algorithm manages immediate collision avoidance and kinematic constraints.
Experimental Evaluation
Datasets
The framework was evaluated using several data sources:
- Prior Dataset ($D_{prior}$): 30,000 simulated demonstrations involving 2 to 4 robots pushing "stick" and "block" objects. This dataset intentionally includes a mix of "best," "average," and "worst" policy performances to simulate real-world noise.
- Target Dataset ($D_{target}$): A small set of 250 expert demonstrations used as queries for specific tasks.
- Real-World Data: Sim-to-real validation was performed using a Leap Motion hand-gesture system to generate queries, which then retrieved clean simulated data to train real wheeled microrobots.
Key Results
The proposed method achieved a success rate of 56.9%, a substantial improvement over standard Few-Shot Imitation Learning (30.6%) and Agent-wise Trajectory Matching (52.1%).
One of the most significant findings was that the performance gap between the retrieval-augmented method and baselines widened as the number of robots increased. This suggests that the retrieval mechanism is particularly effective at managing the exponential complexity of high-dimensional coordination problems.
Discussion and Insights
Coordination as a Latent Feature
A central insight of this work is that coordination is better represented by "intent" and "skill" rather than raw trajectories. By training the encoder to predict future actions, the resulting latent space captures how agents react to one another and the object, rather than just their absolute positions. This allows the system to distinguish between agents that look similar locally but are contributing differently to the global task.
Robustness and Sim-to-Real
The retrieval mechanism acts as a filter, selectively pulling relevant and high-performing demonstrations even when the broader database contains sub-optimal data. Furthermore, the framework facilitates sim-to-real transfer by allowing noisy real-world inputs (like human gestures) to query a structured simulation database, effectively using simulation as a source of "cleaned" training data.
Conclusion and Future Work
While the framework shows great promise, the authors identified limitations in handling complex, tight-space collisions that the RVO layer could not always resolve. Future research will focus on improving physical parameter identification (such as friction) and scaling the system to larger swarms and more complex mobile-arm manipulation tasks. By treating coordination as a retrievable skill, this work provides a scalable path toward more capable and data-efficient multi-agent systems.
Summary updated