arXiv:2610.06290cs.ROOct 2026

Manuscript Offprint

arXiv:2610.06290

GAMBIT: Learning to Plan Continuous Multi-Robot Trajectories

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

Rishabh Jain 1^{1}, Akmaral Moldagalieva 2^{2}, Lorenzo Magnino 1^{1}, Michael Amir 1^{1}, Keisuke Okumura 1,3^{1,3}, Ajay Shankar 1^{1}, Wolfgang Hönig 2^{2} and Amanda Prorok 1^{1}

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 dynamics, this work studies how to learn such coordinated heuristics over motion primitives for multi-robot trajectory execution. Our framework, GAMBIT, first learns coordinated motion-primitive selection through imitation learning and subsequently fine-tunes the policy through reinforcement learning. We further introduce a safeguarded rollout mechanism with backup trajectories that guarantees collision-free execution at all times. Experiments demonstrate that GAMBIT substantially outperforms a range of baselines, including centralised motion planners and decentralised reactive planners, while exhibiting strong scalability. In particular, it coordinates over a thousand robots with planning latency below a few hundred milliseconds in continuous domains.

I. INTRODUCTION

Generating trajectory plans using motion primitives has been a successful paradigm for deriving potentially long-horizon, feasible motions to steer a robot—with applications ranging from autonomous driving to manoeuvres of aerial robots [1]–[3]. While its multi-robot counterpart has also been studied [4], [5], a critical challenge in achieving fast and scalable planning remains the design of effective heuristics that evaluate how “good” each primitive is. Designing such a heuristic is challenging even in the single-robot case, as accurate cost-to-go estimates become difficult to obtain for higher-order dynamics beyond simple point-mass models; the multi-robot case further requires reasoning about coordination among agents. One could design a trivial heuristic based on an interaction-agnostic single-robot heuristic, but such approximations can get significantly distorted in interaction-rich multi-agent environments, where effective coordination may require non-greedy motions, such as temporarily moving away from the goal to accommodate other agents.

Using naïve or inaccurate heuristics for motion primitives can misguide the planning process, resulting in either considerable computational effort or highly suboptimal robot trajectories. Manually capturing such coordination requires substantial engineering effort that scales poorly with the complexity of interactions. This makes automatically learning these heuristics particularly attractive. This study investigates how to realise this idea.

Learning agent-wise heuristics to synthesise coordination has proven effective in the discrete-state, grid-world multi-agent pathfinding (MAPF) domain [6]–[8], where the objective is to find conflict-free paths for multiple agents on a four-connected grid. Recent work has developed high-performing heuristics using decentralised neural MAPF policies [9], where each agent receives an observation and outputs an action distribution, trained using either reinforcement learning (RL) or imitation learning (IL) from expert data. A natural question then arises: can we effectively transfer this knowledge to continuous state spaces?

With some adaptation, this transfer appears possible using action synthesis based on motion primitives; however, the transition to continuous state spaces introduces fundamental challenges. In the context of IL, acquiring a substantial amount of expert data for scenarios involving many agents is considerably more difficult than in MAPF, where established and reliable planners are readily available [10], a challenge we hereinafter refer to as data scarcity. The multi-modality of solutions poses another challenge: trajectories belonging to different homotopy classes can have comparable costs, making it difficult to assign a unique target action to imitate. The safeguarding gap in rollouts—i.e., the lack of mechanisms that clamp collision-causing actions and facilitate learning in strong neural MAPF policies [11]–[13]—weakens the reward signal, making training more difficult, particularly for RL. Along with difficulties in scenario generation for providing informative training signals, these challenges collectively make it difficult to design advanced heuristics for multi-robot motion primitives.

We address these challenges with a framework we term GAMBIT: Graph-Attentive Motion primitives with Backup for Interactive Trajectories. Following the success of neural MAPF policies, our backbone architecture is based on a graph neural network (GNN) that outputs a categorical action distribution [8], [14], exploiting geometric locality to enable training on small-scale instances and deployment to larger teams. The model is first pretrained via IL on instances with a small number of agents, using solutions generated by a centralised kinodynamic multi-robot motion planner [5], as sufficient data are attainable at this scale to overcome data scarcity. The model is then fine-tuned via RL to mitigate

This study was partially supported by Trinity College, Cambridge, European Research Council (ERC) Project 949940 (gAIa), JST PRESTO (JPMJPR2513) and the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) - 448549715.

1^{1}University of Cambridge, UK {rj412, 1m2183, ko393, ma2151, as3233, asp45}@cst.cam.ac.uk

2^{2}Technical University of Berlin, Germany {moldagalieva, hoenig}@tu-berlin.de

3^{3}National Institute of Advanced Industrial Science and Technology (AIST), Japan

Figure

(a) pretraining by imitation learning

Figure

(b) fine-tuning by reinforcement learning

Fig. 1. GAMBIT framework overview. We aim to learn a coordination-aware GNN policy that provides heuristic preferences over motion primitives. The framework consists of (a) imitation pretraining and (b) RL fine-tuning. The former step learns from demonstration trajectories by treating motion-primitive selection as a classification task. The latter uses multi-agent RL to maximise multi-robot navigation performance through our safeguarded rollout mechanism. The resulting policy, combined with the safeguarded rollout, enables collision-free execution while retaining high scalability.

the multi-modality problem by biasing the policy towards consistent action choices. RL training uses newly developed safety-preserving rollouts with backup trajectories that overcome the safeguarding gap and stabilise the learning process. Effective learning is further facilitated by carefully designed scenario generation that ensures agent interactions in every training instance. Figure 1 illustrates this pipeline.

The resulting GAMBIT policy, combined with motion primitives and our specialised rollout, synthesises safe continuous actions for hundreds of robots at sub-hundred-millisecond latency, while producing substantially better-coordinated trajectories in densely populated environments than reactive planners [15], [16], computationally intensive centralised planners [5], [17], and existing learning-based approaches [18]. We further validate GAMBIT through a physical deployment of eight multirotors [19] with closed-loop control. Across both simulated and real-robot deployments, our backup mechanism guarantees safe and feasible execution at all times.

As a motion-primitive heuristic constitutes a lightweight and modular planning component, we view GAMBIT as a promising building block for designing capable planners beyond what we present here. Furthermore, as policy rollout relies only on local interactions between robots, this scheme is also amenable to decentralised deployment. In what follows, we present the problem formulation, training pipeline, safeguarding rollout, and experimental evaluation, in order.

References (36)