ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsMaterial3 min readDisconfirmAI Editorial

How Treating Robots as Gas Makes Warehouse Pathfinding Tractable

Amazon Robotics researchers show that modeling thousands of warehouse robots as particles of gas — cold and lazy for exact solutions, hot and jittery for fast approximations — converts an NP-hard pathfinding problem into a tractable linear program, reducing computation from 478 seconds to 67 while staying within 6.5% of optimal.

2026-11-25 01:49 GMT+8

Amazon Robotics operates over a million robots across more than 300 fulfillment centers. Inside a single warehouse, thousands of robots share the floor, and finding efficient collision-free paths for all of them simultaneously is a problem that grows combinatorially: on a 150×150 grid with 1,125 robots over a 30-step horizon, the naive formulation involves 3.4 million binary decision variables. The problem is NP-hard in general, and in practice the standard integer-programming approach often fails to find even a single feasible solution within 12 hours.

Usman Khan, a professor of computer science at Boston College and an Amazon Scholar, and his colleagues presented a paper at ICML 2026 that routes around this intractability by borrowing a framework from physics: treat the robots as a gas. The key insight is that if you model the fleet as a cold, lazy gas whose particles expend only the minimum energy to reach their destinations, the trajectory-planning problem becomes equivalent to a multimarginal optimal transport (MMOT) problem. Kantorovich's classical relaxation of Monge's transport formulation — allowing mass from one source to split among multiple destinations — converts a difficult nonlinear optimization into a linear program. Khan's team extends this to multiple time steps and proves that their formulation preserves total unimodularity of the constraint matrix, which guarantees that every vertex of the feasible polyhedron has integer coordinates. A linear program then finds an optimal integer solution in polynomial time.

Total unimodularity is the technical lever. Without it, an LP might return a fractional solution — half a robot going left, half going right — which is physically meaningless. The authors structure their constraints so the matrix remains totally unimodular across all time steps, yielding provably optimal collision-free paths. On their benchmark, this MMOT solver produces optimal trajectories in 478 seconds. That is a dramatic improvement over the NP-hard baseline, but 478 seconds is still impractical for real-time warehouse coordination.

Sign in / Sign up
ReadingResearchRadarInvestment framework

The next step introduces the hot-gas model. Schrödinger's 1931 question — given observed distributions of gas particles at two times, what was the most likely evolution between them? — maps directly onto the problem. A Schrödinger bridge casts robot transport as a "shadow": the most likely way for robot mass to flow from one state to another, with particles jittering randomly along the way. This is equivalent to an entropic relaxation of the MMOT problem, and the amount of entropy added is analogous to gas temperature. The team solves this relaxation via Sinkhorn iterations, which are extremely fast. The shadow, however, is probabilistic — it divides each robot's mass across possible destinations, so it cannot be executed directly.

The projection step recovers integrality. The shadow reveals where optimal paths concentrate — the important corridors. By removing decision variables where mass is small or travel is unlikely, and re-solving the reduced MMOT, the team recovers executable integer trajectories. In raw numbers, for the 150×150 grid with 1,125 robots, the full Schrödinger pipeline reduces runtime from 478 seconds to 67 seconds while staying within 6.5% of optimal. The pipeline scales nearly linearly at O(n^1.15), versus O(n^1.68) for the direct MMOT solver.

Two boundaries deserve emphasis. First, all reported runtimes and quality gaps are first-party benchmarks on a single grid configuration; sensitivity to the temperature parameter and the aggressiveness of projection pruning are not characterized. Second, the current formulation handles only anonymous MAPF, where any robot can go to any destination. Labeled MAPF (fixed destinations) and lifelong MAPF (continuous task streams) are listed as future work. The gas analogy is a transferable mental model for speed-quality tradeoffs in constrained optimization, but the specific numbers apply to this one warehouse-scale instance.

Sources

  • amazon.scienceAmazon Science↗
Continue researching →