Why Perfect Robot Plans Fail in the Real World — And How a Little Slack Fixes Everything

In one congested warehouse simulation, 80% of robot movements ended in gridlock — not because the paths were wrong, but because they were too perfect. When robots were scheduled to pass each other within milliseconds and millimeters, even tiny control errors snowballed into collisions, delays, and cascading failures. Yet adding just a 0.5-second buffer between agents at shared locations — a temporal margin — boosted execution success from 20% to over 90%, with only a 6% increase in total travel cost (Roselli et al., 2026). This narrow gap between theoretical optimality and physical feasibility isn’t a bug. It’s a fundamental law of real-world autonomy: perfect plans break. Robustness requires slack.
The study, led by Sabino Roselli, Alvin Combrink, and Ze Zhang, exposes a critical blind spot in multi-agent pathfinding (MAPF) — the algorithmic backbone of automated warehouses, drone swarms, and urban air mobility. For years, researchers have optimized for the lowest sum-of-costs: the total time or distance agents spend moving from start to goal. Continuous-time solvers like AOC-CBS have pushed this metric to its theoretical limits, scheduling agents with near-zero separation in both space and time. But these elegant, tightly packed schedules assume flawless execution — a world without sensor noise, actuator lag, or communication delays. When the researchers plugged AOC-CBS into a realistic fleet coordination framework, where each robot tracked its path using model predictive control (MPC), the results were stark: most plans failed.
The Science
The team evaluated AOC-CBS — an anytime-optimal continuous-time MAPF solver — on high-density scenarios from the MovingAI benchmark suite, simulating fleets of 21 to 40 agents navigating complex, obstacle-rich environments. Unlike discrete-time MAPF, which assumes agents move in fixed time steps, continuous-time solvers allow for arbitrarily precise scheduling. This enables more efficient use of space and time, often yielding lower sum-of-costs. But efficiency comes at a price: the solver can schedule two robots to occupy adjacent positions at times differing by mere milliseconds.
To test how well these schedules held up under real-world conditions, the researchers embedded them in a closed-loop control system. Each agent was equipped with an MPC controller — a feedback-based algorithm that continuously adjusts the robot’s trajectory to stay on its assigned path. MPC is widely used in robotics and autonomous vehicles because it can handle dynamic environments and constraints. But it’s not perfect: it reacts to disturbances with delay, and its predictions are only as good as its model.
The simulation tracked each agent’s actual position over time and compared it to the idealized schedule. The discrepancy — the deviation between planned and actual position — became the key metric for execution fidelity. The researchers then introduced two types of margin to improve robustness: temporal and spatial.
Temporal margin, or T-robustness, enforces a minimum time gap between agents at shared locations. For example, if two robots must pass through the same corridor, the second is delayed by at least seconds after the first clears it. Spatial margin inflates the physical footprint of each agent — effectively treating them as larger than they are — which increases clearance and reduces the risk of collision.
Both are forms of conservative scheduling, but they operate on different dimensions and have distinct consequences. The study systematically varied from 0 to 1.0 seconds and spatial inflation from 0 to 0.4 meters, measuring their impact on execution success, schedule cost, and tracking error.
What They Found
Without any margins, execution success was dismal. Only 20% of the 40-agent instances completed without a collision or deadlock. The mean position deviation — the average distance each robot strayed from its scheduled location — was high, and small errors quickly propagated. A robot arriving 0.3 seconds late could block a crossing, forcing others to reroute or stop, which in turn disrupted downstream movements.
But with a temporal margin of just 0.5 seconds, success rates jumped to over 90%
Execution Success Rate vs. Temporal Margin
| Label | Value |
|---|---|
| 0.0 s | 20 |
| 0.25 s | 55 |
| 0.5 s | 92 |
| 1.0 s | 98 |
. The sum-of-costs — the traditional metric of optimality — increased by only 6%, a small price for near-total reliability. At 1.0 second, success approached 100%, though the cost penalty rose to 12%.
Execution Success Rate vs. Temporal Margin
| Label | Value |
|---|---|
| 0.0 s | 20 |
| 0.25 s | 55 |
| 0.5 s | 92 |
| 1.0 s | 98 |
Figure 1: Execution success rate vs. temporal margin
| Temporal Margin (s) | Success Rate (%) |
|---|---|
| 0.0 | 20 |
| 0.25 | 55 |
| 0.5 | 92 |
| 1.0 | 98 |
Source: Roselli et al. (2026), aggregated from MovingAI benchmarks with 21–40 agents.
Spatial inflation had a different effect. Expanding agent footprints by 0.4 meters — roughly 20% of a standard robot width — increased clearance and reduced physical conflicts. But it did little to improve tracking accuracy. The mean position deviation remained high, meaning robots still drifted off schedule. However, because they had more room to maneuver, small deviations no longer resulted in blocking stalls. Execution success improved, but only to about 50% — and further gains plateaued quickly.
More strikingly, spatial and temporal margins were not additive. Once a temporal margin was in place, adding spatial inflation provided almost no additional benefit. The two acted as substitutes: either could improve robustness, but combining them didn’t compound the effect.
The researchers also measured adherence to the schedule using mean position error. Here, temporal margin shone. At , the average robot was meters off its ideal position at any given time. At s, that dropped to meters — a 62% reduction
Mean Position Deviation vs. Temporal Margin
| Label | Value |
|---|---|
| 0.0 s | 0.8 |
| 0.25 s | 0.55 |
| 0.5 s | 0.3 |
| 1.0 s | 0.2 |
. Spatial inflation, by contrast, reduced error by only 15%, even at maximum inflation.
Mean Position Deviation vs. Temporal Margin
| Label | Value |
|---|---|
| 0.0 s | 0.8 |
| 0.25 s | 0.55 |
| 0.5 s | 0.3 |
| 1.0 s | 0.2 |
Figure 2: Mean position deviation vs. temporal margin
| Temporal Margin (s) | Mean Deviation (m) |
|---|---|
| 0.0 | 0.80 |
| 0.25 | 0.55 |
| 0.5 | 0.30 |
| 1.0 | 0.20 |
Source: Roselli et al. (2026), average across all agents and time steps.
This suggests a crucial insight: temporal margin doesn’t just prevent collisions — it gives the controller breathing room to correct errors. With a buffer, a robot that lags slightly can accelerate to catch up, or decelerate without blocking others. Without it, every deviation risks a chain reaction.
The paper includes visualizations of agent trajectories under different margin settings
, showing how tightly packed schedules lead to near-misses and stoppages, while margin-enriched plans unfold smoothly. In one instance, a 0.5-second gap allowed a delayed robot to slip through an intersection just as another cleared it — a maneuver impossible under zero-margin scheduling.
Why This Changes Things
This work reframes the goal of multi-agent coordination. For decades, the field has treated pathfinding as a static optimization problem: find the shortest, fastest, most efficient set of paths. But in dynamic, real-world systems, efficiency without robustness is fragile — and fragility is expensive.
Consider a fulfillment center where hundreds of robots ferry goods between shelves and packing stations. A 6% increase in travel time might mean a few extra seconds per robot per hour. But an 80% reduction in gridlock? That could mean the difference between on-time deliveries and cascading delays. In high-stakes environments like hospital logistics or emergency response drones, reliability isn’t just a performance metric — it’s a safety imperative.
The finding that small temporal margins yield outsized gains in robustness has immediate practical implications. It suggests that planners should optimize not for minimal sum-of-costs, but for executability — the likelihood that a plan will succeed under realistic control. This shifts the design philosophy from “squeeze every millisecond” to “build in resilience.”
It also challenges the assumption that tighter integration between planning and control is always better. In theory, a planner that knows the exact dynamics of each controller could generate paths that are both optimal and robust. But this study shows that a simple, planner-level intervention — a time buffer — can achieve most of the benefit without requiring complex co-design.
Moreover, the substitutability of spatial and temporal margins has economic consequences. Spatial inflation — making robots behave as if they’re larger — is nearly free in terms of schedule cost. But it requires more physical space, which in a warehouse translates to fewer storage units or narrower aisles. Temporal margin, while slightly more costly in time, doesn’t require infrastructure changes. For space-constrained facilities, this trade-off is decisive.
The results also resonate beyond robotics. In air traffic management, for instance, flight paths are tightly scheduled, but air traffic controllers already use temporal separation — minimum time or distance between aircraft — to manage uncertainty. This study provides a formal, quantitative basis for those margins, showing how small buffers can prevent systemic failure.
Even in urban planning, the lesson holds: transportation networks function best not when they’re maximally utilized, but when they have slack. Rush-hour congestion isn’t just a result of too many cars — it’s a failure to account for variability in driver behavior, signal timing, and incident response. Building in temporal or spatial margins — dedicated bus lanes, adaptive traffic signals, or staggered work hours — can improve flow more than adding capacity.
What's Next
The study opens several avenues for future work. First, the optimal margin may not be uniform. Instead of applying a fixed everywhere, planners could use adaptive margins — larger gaps at high-risk intersections, smaller ones on open corridors. This could preserve robustness while minimizing cost.
Second, the interaction between margin type and environment structure deserves deeper exploration. In narrow, linear corridors, temporal margin may dominate. In open plazas with many crossing paths, spatial inflation might be more effective. A hybrid approach, tuned to local topology, could outperform both.
Third, the role of the controller itself needs reevaluation. The study used a standard MPC, but more advanced controllers — those with explicit uncertainty models or learning-based corrections — might reduce the need for planner-level margins. However, this would shift complexity from planning to control, potentially making the system harder to verify and certify.
Finally, the findings raise questions about evaluation metrics in robotics research. If 80% of theoretically optimal plans fail in execution, then sum-of-costs is a misleading benchmark. The field may need new standards — such as execution success rate or schedule adherence under disturbance — to reflect real-world performance.
One limitation of the study is its simulation-based setting. Real robots face additional challenges: wheel slip, sensor occlusion, wireless latency. Future work should validate these findings on physical testbeds, where the cost of failure is tangible.
Still, the core message is clear: in complex, multi-agent systems, perfection is the enemy of reliability. The most efficient plan is not the best plan — the most executable plan is. And sometimes, the best way to move faster is to slow down a little.
As autonomous systems scale — from robot fleets to drone highways to self-driving cities — we’ll need to design not just for efficiency, but for resilience. This paper shows that a small amount of slack, thoughtfully applied, can transform a brittle system into a robust one. In a world racing toward automation, that might be the most important speed bump we ever install.