# GAMBIT: Learning to Plan Continuous Multi-Robot Trajectories

Robotics.world

> Planning with motion primitives reduces an infinite control space to a finite set of candidate actions, but it requires a heuristic that judges how good each primitive is — and designing that…

**arXiv**: 2610.06290 · Preprint · not peer-reviewed

**Published**: 2026-10-05

**Authors**: Rishabh Jain, Akmaral Moldagalieva, Lorenzo Magnino, Michael Amir, Keisuke Okumura, Ajay Shankar, Wolfgang Hönig, Amanda Prorok

## In plain words

Planning with motion primitives reduces an infinite control space to a finite set of candidate actions, but it requires a heuristic that judges how good each primitive is — and designing that heuristic by hand becomes very hard when many robots must coordinate, because good teamwork sometimes requires a robot to temporarily move away from its goal (the "gambit" of the title).

## AI summary

## Overview

**Research area:** Multi-robot motion planning — specifically, learning coordination-aware heuristics for selecting motion primitives under double-integrator dynamics in 2D and 3D.

**Technical level:** Advanced. The paper assumes familiarity with multi-agent pathfinding (MAPF), graph neural networks, imitation and reinforcement learning, and kinodynamic motion planning.

**Scope:** A learned, GNN-based policy that ranks motion primitives for each robot, trained via imitation learning then RL fine-tuning and wrapped in a provably collision-free rollout scheme, evaluated in simulation up to 1,024 robots and on eight physical multirotors.

## What This Paper Is About

Planning with motion primitives reduces an infinite control space to a finite set of candidate actions, but it requires a heuristic that judges how good each primitive is — and designing that heuristic by hand becomes very hard when many robots must coordinate, because good teamwork sometimes requires a robot to temporarily move *away* from its goal (the "gambit" of the title). The authors ask whether such a heuristic can be *learned* for continuous double-integrator robots, transferring ideas that already work well in grid-world MAPF. The goal is a planner that is fast and scalable, produces well-coordinated trajectories in dense environments, and is guaranteed never to collide.

## Key Contributions

1. **The GAMBIT framework**: a graph-attention policy (≈1.4M parameters) that outputs a categorical distribution over a discrete set of motion primitives, pretrained by imitation learning on demonstrations from an adapted centralized planner (db-LaCAM with an enhanced PIBT procedure), then fine-tuned with multi-agent RL (MAPPO).
2. **A safeguarded rollout with backup trajectories**: a stopping-trajectory construction combined with PIBT collision shielding that, per Theorem 1, finds a safe action assignment in finite time provided the input backup trajectories are jointly collision-free, and per Theorem 2, keeps multi-robot trajectories collision-free for all time. This converts the "stay" action of grid-world PIBT into a velocity-aware backup for kinodynamic robots.
3. **Targeted scenario generation for training**: two instance families, *Blocked Random* (a wall of obstacles placed across each start–goal segment) and *Forest* (regular obstacles forming narrow passages), designed so that every training instance forces interaction and coordination, plus an IL formulation that treats primitive selection as classification rather than continuous regression.
4. **Empirical validation**: comparison against centralized planners (db-LaCAM, MMD-XECBS, D4ORM) and reactive planners (RVO, EGO-Swarm), ablation of each component, scaling to 1,024 robots, and a physical deployment of eight multirotors with closed-loop control.

## Main Findings

- **Strongest overall performance:** GAMBIT achieves high complete success rates (CSR) across all tested scenarios, including the out-of-distribution *Conveyor* scenario, while remaining competitive on sum-of-costs (SOC) and computation time.
- **Learning is essential:** replacing the learned policy with a hand-designed greedy heuristic (distance-to-goal plus velocity) substantially reduces success rate; both the IL and RL stages each contribute improvement.
- **The safeguarded rollout is critical:** the variant that samples directly from the policy without PIBT/backup shielding (with a collision penalty added to the reward instead) performs poorly. The authors conjecture that the safety layer frees the policy from learning collision avoidance and lets it focus on goal-directed coordination.
- **Baseline behaviour:** the centralized, domain-independent planners db-LaCAM and D4ORM struggle to scale; MMD-XECBS plans well but at high computational cost; decentralized reactive planners RVO and EGO-Swarm struggle in dense, interaction-heavy instances where collision avoidance alone is insufficient.
- **Practical latency:** even with 32 robots, GAMBIT needs only about 1 s to derive feasible trajectories.
- **Failures are livelocks, not collisions:** residual failures are attributed to robots repeatedly executing the same actions near obstacles (e.g., narrow gaps blocked by safety margins, or goals on the far side of an obstacle). No observed failure was caused by a collision.
- **Scalability:** at 1,024 robots in the *Forest* scenario, none of the baseline methods solved the instances, so the comparison reduces to GAMBIT versus its non-learning variant. The abstract reports coordination of over a thousand robots with planning latency below a few hundred milliseconds, and the introduction reports sub-hundred-millisecond latency for hundreds of robots. Exact per-instance ISR curves and latency distributions for the 1,024-robot study appear only as a figure, whose numeric values are not given in the text available here (the paper content is truncated mid-sentence in Section IV-C).
- **Hardware validation:** eight multirotors were flown with closed-loop control; the backup mechanism is claimed to guarantee safe, feasible execution at all times.
- **Protocol details:** 32 test instances per scenario with 4 to 32 robots; all planners given a 1-minute time limit; SOC and time reported only where success rate exceeds 50%.

## Methodology in Plain English

Each robot is a sphere with double-integrator dynamics, so its control input is directly an acceleration command. Instead of outputting accelerations continuously, the policy chooses among a small fixed menu: 9 primitives in 2D (8 directions at the maximum acceleration of 2 m/s² plus zero) and 27 in 3D (26 directions at 5 m/s² plus zero). Because each robot only needs to pick from a menu, the problem becomes ranking rather than regression, which the authors say trains more stably.

Each robot sees a local observation: its own velocity, the vector to its goal, an 11×11 grid field of view at 0.25 m cell resolution encoding obstacles, other robots, and the goal, and an embedding summarising what each candidate primitive would do. Robots within 3 m of one another are connected in a communication graph, and attention-based graph neural network layers exchange information along those edges. Because the network is local, it can be trained on four-robot instances and still applied to a thousand robots.

Training happens in two stages. First, 60K demonstrations — half from *Blocked Random*, half from *Forest*, all with four agents — are generated by a centralized kinodynamic planner, and the policy learns to imitate the nearest available primitive by cross-entropy. Second, MAPPO fine-tunes the policy with a simple reward: a bonus when every robot reaches its goal, minus a per-robot penalty for each robot not yet at its goal. Deliberately, there is no collision penalty in this reward.

Safety is handled algorithmically instead. For any candidate primitive, the robot computes a stopping trajectory: execute the primitive, then brake as hard as possible to a full stop. Primitives whose stopping trajectories hit obstacles are discarded, leaving a safe set. If at some step no safe primitive exists, the robot continues the leftover backup trajectory it committed to earlier, which is guaranteed collision-free. This backup plays the role that the "stay" action plays in grid-world PIBT: robots are resolved in sequence, each checking that its chosen primitive *and its stopping trajectory* avoid robots already assigned, recursively asking conflicting robots to replan, and falling back to backups if no assignment is possible. An auxiliary reward term penalises the policy when its preferred actions get overridden by this shielding. Training cost was about 22 wall-clock hours on Intel Xeon Platinum 8452Y CPUs for data collection (24 parallel runs), ~40 GPU hours on NVIDIA L40S GPUs for imitation learning, and a further ~25 GPU hours for RL; pure RL from scratch took ~65 h.

## Why This Matters

The paper shows that the heuristic-learning recipe that made neural MAPF policies dominant in grid worlds can be carried into continuous, kinodynamic settings — provided you solve data scarcity (small-instance training plus locality), multi-modality (IL then RL), the safeguarding gap (backup trajectories), and scenario generation (interaction-forcing instance families). It also gives safety guarantees that are usually absent from learned multi-robot controllers, which is a prerequisite for hardware deployment.

Real-world applications:

- **Drone swarms and aerial shows:** coordinated flight of many multirotors in shared airspace, with the paper's own eight-drone deployment as a first step.
- **Warehouse and logistics fleets:** dense AMR traffic where robots must yield, detour, and temporarily retreat to keep the fleet moving.
- **Delivery drones in cluttered airspace:** 3D navigation through narrow passages around buildings and vegetation, matching the *Forest-3D* scenario.
- **Search and rescue or inspection with robot teams:** rapid replanning in obstacle-rich spaces where centralized computation is unavailable or too slow.

**Industry relevance:** the policy is a lightweight, modular plug-in heuristic that runs at sub-second latency for large teams, exports to C++ for inference, and relies only on local interactions — making it amenable to decentralized deployment on real fleets rather than requiring a central planner.

## Future Directions

- **Reducing livelocks:** the dominant residual failure mode is robots looping near obstacles; the authors propose stronger architectures and improved training pipelines as one remedy.
- **Coupling the heuristic to global search:** embedding the learned primitive ranking inside long-horizon search planners (in the spirit of D4ORM and db-LaCAM) rather than using it purely reactively.
- **Longer motion primitives:** the current work sets primitive length to a single acceleration command (l = 1) and notes the framework can be extended to larger l.
- **Scaling the physical demonstration:** the hardware result covers eight multirotors; extending to decentralized, larger-team field deployments remains open, as does closing the gap between 2D and 3D benchmark coverage (EGO-Swarm is evaluated only in 3D, RVO only in obstacle-free 2D, and MMD-XECBS only on *Empty* and *Conveyor* because it must be trained per map).

## Target Audience

Robotics and multi-agent systems researchers working on multi-robot motion planning, learning-based control, and safe RL; practitioners building drone swarms or AMR fleets who need fast, scalable, collision-safe coordination; and readers already familiar with neural MAPF who want to see how far those ideas extend into continuous, kinodynamic domains. Readers without background in MAPF, GNNs, or trajectory optimization will find the paper dense.

## Authors’ abstract

GAMBIT is an opening chess move in which a player sacrifices a piece, typically a pawn, to gain a positional advantage later in the game. Analogously, in multi-robot coordination, individual robots may need to forgo locally reward-maximising behaviours to improve overall team performance. Such self-sacrificial behaviours are difficult to capture with manually designed heuristics, particularly in dense, interaction-rich environments. Focusing on double-integrator continuous…

[The full abstract on arXiv](https://arxiv.org/abs/2610.06290)

[Read the original paper](https://arxiv.org/abs/2610.06290)

## Related papers

- [Denoising Multi-Robot Trajectories](https://robotics.world/paper/denoising-multi-robot-trajectories-2609.35651) 2026-09-28 · cs.RO · Also by Ajay Shankar, Amanda Prorok +1
- [Remotely Detectable Keyed Communication through Motion](https://robotics.world/paper/remotely-detectable-keyed-communication-through-motion-2609.08920) 2026-09-08 · cs.RO · Also by Amanda Prorok, Michael Amir
- [Socially Consistent Multi-Robot Navigation Using Decoupled Planning and Trajectory Coordination](https://robotics.world/paper/socially-consistent-multi-robot-navigation-using-decoupled-planning-and-2607.20772) 2026-07-22 · cs.RO · Key terms of the title in common
- [Learning Coordinated Visuomotor Box-Pushing from Solo Demonstrations](https://robotics.world/paper/learning-coordinated-visuomotor-box-pushing-from-solo-demonstrations-2610.05677) 2026-10-05 · cs.RO · Also by Keisuke Okumura
- [Verifier-Mediated Multi-LLM Coordination for Multi-Robot Path Planning](https://robotics.world/paper/verifier-mediated-multi-llm-coordination-for-multi-robot-path-planning-2610.12761) 2026-10-08 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/gambit-learning-to-plan-continuous-multi-robot-trajectories-2610.06290
