Optimal and Scalable MAPF via Multi-Marginal Optimal Transport and Schrödinger Bridges
Usman A Khan (Amazon Scholar and Professor of Computer Science · Amazon Robotics and Boston College), Joseph Durham (Amazon Robotics)
Overview
This talk addresses the massive combinatorial challenge of multi-agent pathfinding (MAPF) in high-density environments, specifically motivated by the operational constraints of Amazon fulfillment centers. In a typical Amazon warehouse, up to 15,000 robotic units navigate across graphs with roughly 30,000 vertices, tasked with retrieving inventory pods, transporting packages, and avoiding collisions under strict temporal and spatial limitations. Usman A Khan and Joseph Durham present a principled, scalable mathematical framework that tackles this joint allocation, pathfinding, and scheduling problem by formulating it through multi-marginal optimal transport and Schrödinger bridges.

Key moments
- 0:00 Introduction to multi-agent pathfinding in Amazon warehouses
- 2:00 Problem formulation and probabilistic relaxation approach
- 4:00 Multi-marginal optimal transport and Schrödinger bridges
- 6:00 Main results on total unimodularity and integer solutions
- 8:00 Grid simulations and large-scale performance comparisons
- 10:00 Audience Q&A on heterogeneous agents and scalability trade-offs
Optimal and Scalable MAPF via Multi-Marginal Optimal Transport and Schrödinger Bridges
Speakers: Usman A Khan (Amazon Scholar and Professor of Computer Science, Amazon Robotics and Boston College); Joseph Durham (Amazon Robotics)
Conference: ICML
YouTube: https://slideslive.com/39083552
Overview
This talk addresses the massive combinatorial challenge of multi-agent pathfinding (MAPF) in high-density environments, specifically motivated by the operational constraints of Amazon fulfillment centers. In a typical Amazon warehouse, up to 15,000 robotic units navigate across graphs with roughly 30,000 vertices, tasked with retrieving inventory pods, transporting packages, and avoiding collisions under strict temporal and spatial limitations. Usman A Khan and Joseph Durham present a principled, scalable mathematical framework that tackles this joint allocation, pathfinding, and scheduling problem by formulating it through multi-marginal optimal transport and Schrödinger bridges.
The core contribution bridges exact combinatorial optimization with probabilistic relaxations. While exact integer-programming formulations of MAPF are notoriously NP-hard, the authors demonstrate that an anonymous variant of the problem yields a constraint polyhedron that is totally unimodular. This structural property permits polynomial-time linear programming solutions that are guaranteed to be integer-valued. Furthermore, to scale to industrial-sized warehouse graphs containing tens of millions of variables, the authors introduce a shadow transport mechanism leveraging Schrödinger bridges and Sinkhorn-type algorithms, drastically cutting computation times while maintaining collision-free, integer-feasible trajectories.
Background
▶ Watch: Introduction to multi-agent pathfinding in Amazon warehouses (0:00)
Multi-agent pathfinding is a foundational problem in robotics, automated warehousing, and systems engineering, characterized by the need to navigate numerous agents from starting locations to target destinations without collisions. In industrial robotics deployments like Amazon Robotics, the problem scale is immense: graphs routinely exceed 30,000 vertices with thousands of active robots operating in tight, obstacle-dense corridors. Mathematically, MAPF decomposes into three coupled sub-problems: task allocation, path generation, and real-time collision-avoidance scheduling.
Historically, optimal MAPF is modeled using integer linear programming (ILP) or mixed-integer programming, where binary variables indicate whether a robot traverses a specific edge at a given time step. Although these exact formulations guarantee optimal makespan or minimum movement costs, the underlying combinatorial explosion renders them NP-hard and computationally intractable for graphs with thousands of agents over extended time horizons. Conversely, continuous relaxations yield polynomial-time linear programs (LPs), but their solutions are fractional—implying that robots split into fractional components across edges, rendering the outputs physically unexecutable. Balancing rigorous integer optimality with industrial scalability has remained a central bottleneck in the ML and systems optimization literature.
Key Findings
▶ Watch: Multi-marginal optimal transport and Schrödinger bridges (4:00)
The talk highlights several theoretical and empirical breakthroughs in scaling MAPF for anonymous robotic fleets:
- Total Unimodularity of Anonymous MAPF: For the anonymous case—where any robot can service any destination—the constraint polyhedron of the continuous linear program is shown to be totally unimodular. This guarantees that polynomial-time continuous LPs yield exact integer solutions natively, ensuring conflict-free, integral paths without resorting to combinatorial search.
- Cost-Function Control over Objectives: By carefully formulating edge traversal costs, the framework can be tuned to minimize either total robot movement steps or the overall makespan (the latest arrival time across all robots) without altering the underlying constraint polyhedron or losing total unimodularity.
- Schrödinger Bridge Scaling: Utilizing a Gibbs kernel formulation, the multi-marginal optimal transport problem is cast as an entropic regularization of linear programming. This maps directly to a Schrödinger bridge, enabling the use of lightning-fast Sinkhorn algorithms.
- Shadow Transport Pruning: The probabilistic "shadow transport" generated via entropic relaxation acts as a spatial guide. When projected back onto the totally unimodular polyhedron, it prunes the search space, yielding significant computational speedups.
- Empirical Speedups: On massive simulation graphs comprising 22,500 vertices and 34 million variables, an exact polynomial-time LP solver required 478 seconds, whereas the proposed Sinkhorn-plus-shadow-transport pipeline solved the problem in 67 seconds.
Technical Deep Dive
▶ Watch: Main results on total unimodularity and integer solutions (6:00)
The technical architecture conceptualizes MAPF as an optimal transport problem defined over a tensor path space. Over a discrete time horizon $T$, the path space tensor captures all possible locations and trajectories agents can take. Although this tensor scales exponentially with the time horizon, the problem's Markovian factorization—governed by the constraint that a robot at a given grid cell can only transition to immediate neighboring vertices—reduces the state space variables to polynomial complexity.
The mathematical formulation is structured around two core problems:
- Problem P1 (Multi-Marginal Optimal Transport with Total Unimodularity):
The objective minimizes total transport cost subject to three primary constraints: boundary marginals (respecting robot starting and ending locations), vertex/edge capacity limits (no vertex or edge can host more than one robot simultaneously), and temporal consistency (Markovian transition dynamics). Because the problem is anonymous, the constraint matrix is totally unimodular, ensuring that solving the relaxed linear program naturally returns integral, collision-free paths in polynomial time.
- Problem P2 (Schrödinger Bridge & Entropic Regularization):
Originating from Erwin Schrödinger's 1930s formulation of gas particle diffusion, a Schrödinger bridge minimizes the Kullback-Leibler (KL) divergence between a target path space distribution $P$ and a reference distribution $G$. By choosing $G$ to be the Gibbs kernel, this minimization becomes equivalent to the entropic regularization of the optimal transport problem.
The regularization parameter $\epsilon$ (temperature) controls the diffusion of the transport plan:
- As $\epsilon \to 0$, the entropic regularization converges to the strict minimum-cost linear program.
- As $\epsilon$ increases, the transport diffuses into a maximum entropy solution, where a single agent's probability mass distributes across multiple potential target destinations.
The complete algorithmic pipeline first solves the relaxed convex problem rapidly using a Sinkhorn-type algorithm (yielding the shadow transport). This shadow solution is then projected back onto the totally unimodular polyhedron to prune the graph, securing rapid integer-feasible solutions.
Experimental Setup & Results
▶ Watch: Grid simulations and large-scale performance comparisons (8:00)
The empirical evaluation focuses on grid-based warehouse topologies, scaling from small 10x10 verification grids up to industrial-scale graphs:
- Grid Configurations: Tested on 10x10 grids with mixed obstacles, robots, and target destinations, where agents successfully coordinate and reach targets within 3 to 4 steps.
- Large-Scale Benchmark: Evaluated on large infrastructure graphs featuring 22,500 vertices and 34 million variables, representing densities comparable to active fulfillment centers.
- Baseline Comparison: Compared against exact polynomial-time linear programming solvers.
- Headline Numbers: The standard optimal LP solver required 478 seconds on the large-scale graph, whereas the proposed Schrödinger bridge (Sinkhorn) guided pipeline reduced compute time to 67 seconds, achieving an approximate 7x speedup. While a minor optimality gap is introduced via the entropic regularization parameter $\epsilon$, this tradeoff is formally bounded and directly controllable by tuning the temperature parameter.
Practical Implications
▶ Watch: Audience Q&A on heterogeneous agents and scalability trade-offs (10:00)
For infrastructure teams, roboticists, and systems deployers, this work establishes a rigorous pathway for scaling multi-agent coordination without relying on heuristic approximations that break down in dense environments.
- Tradeoffs in Entropic Regularization: Practitioners must tune the regularization parameter $\epsilon$. Lower values preserve strict cost optimality but require more compute, while higher values improve solver convergence speed by diffusing probability masses (causing agents to temporarily split into fractional paths before coalescing at targets).
- Limitations with Heterogeneity: The total unimodularity property relies heavily on the anonymity of agents. When extending the framework to heterogeneous agent fleets—where specific robot types must service distinct commodity classes—the constraint polyhedron loses unimodularity, necessitating integer programming solvers rather than relaxed linear programs.
- Deployment Status: While validated extensively in high-fidelity simulation environments mirroring Amazon warehouse dynamics, direct physical robot deployment requires handling real-world sensor noise and unmodeled kinematic constraints outside the grid-based abstraction.
Key Takeaways
- Path-Space Formulation: MAPF can be efficiently modeled as a multi-marginal optimal transport problem over a Markovian path space, reducing exponential tensor complexities to polynomial time.
- Total Unimodularity Guarantee: Anonymous MAPF constraint polyhedra are totally unimodular, permitting polynomial-time linear programs to yield guaranteed integer solutions without combinatorial search.
- Schrödinger Bridge Acceleration: Utilizing Gibbs kernels allows the optimal transport problem to be cast as an entropically regularized problem solvable via ultra-fast Sinkhorn algorithms.
- Shadow Transport Pruning: Using the probabilistic shadow transport as a spatial guide prunes large graphs, yielding dramatic runtime speedups (e.g., dropping from 478s to 67s on 34-million-variable instances).
- Controllable Optimality Gaps: The entropic parameter $\epsilon$ provides a direct knob to balance maximum-entropy diffusion against strict minimum-cost path optimality.
About the Speaker(s)
- Usman A Khan (Amazon Scholar and Professor of Computer Science, Amazon Robotics and Boston College): Usman Khan is an Amazon Scholar with Amazon Robotics in Boston, Massachusetts, and a professor of computer science at Boston College. His work focuses on multi-agent pathfinding problems.
- Joseph Durham (Amazon Robotics): Joseph Durham is a colleague at Amazon Robotics and collaborator on multi-agent pathfinding research.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026