A smarter crossing order could keep autonomous intersections moving
A car that reaches an intersection last may still be the right one to send through first. That is the counterintuitive premise behind a new coordination method for autonomous vehicles: instead of letting arrival order dictate crossing order, let the vehicles’ needs help decide. In simulations, the approach recovered more than 85% of the optimality gap left by a simple first-in-first-out rule, even in traffic streams involving several hundred heterogeneous vehicles (Shahi et al., 2026).
The problem is not just to avoid collisions. Vehicles approaching from different directions must also decide who crosses when, while each vehicle chooses how quickly to travel and whether to accelerate or slow down. A fixed order can force some vehicles into costly speed changes, even when a different sequence would let traffic flow more smoothly. But searching every possible order quickly becomes impractical: with each additional vehicle, the number of possible sequences grows factorially.
Shahi, Fabiani and Zanon propose a compromise. Their system solves the continuous motion-planning problem for a given crossing order, uses information from that optimization to identify promising neighboring swaps, and tests those swaps before accepting them. It does not promise a mathematically guaranteed global optimum. Instead, it offers a computationally lighter way to improve on a rigid queue while traffic keeps changing.
The Science
An unsignalized intersection has no traffic light assigning turns. In the setting studied here, cooperative autonomous vehicles approach on fixed paths, communicate through a coordination system, and can adjust their speeds. The system must plan both their trajectories—their positions, velocities and control inputs over time—and their crossing order.
Those decisions affect each other. If one vehicle is scheduled before another, the second must wait until the first has exited the intersection’s conflict zone. That waiting may be harmless for one vehicle and expensive for another. In the paper’s simulations, vehicles differ in how strongly their costs penalize acceleration and deviation from a preferred speed. A schedule that works well for one mix of vehicles may therefore work poorly for another.
For a fixed order, the authors formulate a nonlinear optimization problem, or NLP. It chooses vehicle trajectories and crossing times while respecting vehicle dynamics, operating constraints and precedence rules that prevent overlapping occupation of the intersection. The objective adds up each vehicle’s costs. A mixed-integer formulation could choose the order and the trajectories jointly, but the paper notes that such formulations become much slower; exhaustively trying all orders is practical only for a small number of vehicles.
The key to narrowing the search comes from the NLP’s Lagrange multipliers. In constrained optimization, a multiplier measures how much the objective would change if a particular constraint were loosened slightly. Here, the relevant constraint says one vehicle must cross before the next. A large multiplier signals that this ordering constraint may be costly—and that reversing the pair could be worth investigating.
That signal is a clue, not a verdict. The method considers adjacent vehicles in the current sequence, prioritizes the pair with the strongest multiplier, swaps them, and solves the trajectory optimization again. It accepts the new order only if the resulting total cost is lower. This verification step matters: a first-order sensitivity can point toward an opportunity, but the actual change in cost depends on the full, nonlinear problem.
The algorithm runs in two layers. At the outer level, it maintains the vehicles currently inside the coordination area, removes those that have left, and notices new arrivals. A new vehicle joins at the end of the current order—a natural starting point because it has just entered the area and is usually behind the vehicles already approaching the intersection. At the inner level, the schedule-refinement procedure tests potentially useful adjacent swaps.
Replanning is triggered by arrivals rather than every simulation time step. Between arrivals, the controller applies the first action from the most recent plan and advances the vehicles’ states. This is an arrival-triggered version of receding-horizon control: repeatedly plan ahead, act on the immediate part of the plan, and update when the traffic situation changes. The paper notes an implementation wrinkle: optimization takes time, so a real controller must plan from the state vehicles will have when that computation finishes, not from a state that has already become stale.
To avoid doing the same work twice, the method remembers swaps it has already evaluated. The authors examine two memory variants, H1 and H2. H1 never retests a pair throughout the simulation, including after an accepted swap. H2 clears its memory when a new vehicle arrives, allowing previously rejected pairs to be reconsidered in the changed traffic context. H1 generally requires fewer optimization solves; the two strategies can nonetheless end with different orders and costs.
What They Found
The headline result is that the method recovers, on average, more than 85% of the optimality gap incurred by FIFO scheduling. The optimality gap here is the cost difference between a schedule and the best available reference solution. The authors use small randomized problems, where all crossing orders can be enumerated, to assess how close the heuristic comes to the best schedule. For larger, sustained streams, enumeration is no longer feasible, so the comparisons focus on the practical scheduling alternatives.
The testing spans several scales. The paper shows illustrative cases with six and nine vehicles, then reports randomized six- and nine-vehicle scenarios, and finally considers streams of several hundred heterogeneous vehicles. The authors say the advantage over FIFO persists as congestion increases, while the number of NLP solves per arrival remains small. The supplied paper text does not include the exact tables of costs, detailed congestion levels, or solver counts, so those quantities cannot be reported more precisely here.
Illustrative fleet sizes tested
Vehicle counts in the paper’s two illustrative scenario groups; this is not a performance comparison.
| Label | Value |
|---|---|
| Scenario group 1 | 6 vehicles |
| Scenario group 2 | 9 vehicles |
The central mechanism is visible in the schedule diagrams referenced by the paper’s illustrative experiments. A new arrival is initially placed at the tail of the queue; multiplier-guided swaps can then move it forward if the resulting trajectory plan is cheaper. This is not simply “let the fastest car go first.” The cost depends on the vehicles’ different preferences and constraints, as well as on how a change in one vehicle’s timing affects others.
The two memory variants expose a trade-off between thoroughness and computational effort. Since H2 can revisit rejected pairs after an arrival changes the problem, it explores more possibilities. H1 avoids more repeated evaluations and, in the reported simulations, generally produces solutions of equal or lower cost than H2 with fewer NLP solves. This is not an obvious outcome: allowing more reconsideration sounds like it should help, but the search path, local sensitivity rankings and available computation all shape the result. The paper does not claim one variant is universally superior.
The reported “more than 85%” is an average result, not a promise for every arrival or traffic pattern. It measures recovery relative to FIFO’s gap in the settings tested; it does not mean that travel times fall by 85%, or that the system eliminates 85% of crashes, delay or emissions. The result is about how much of a particular optimization-cost disadvantage the heuristic recovers.
FIFO optimality gap recovered
The paper reports recovery of more than 85% of the optimality gap incurred by FIFO scheduling. The plotted 85% is the stated lower-bound threshold, not an exact measured estimate.
| Label | Value |
|---|---|
| Reported lower-bound threshold | 85 % |
Why This Changes Things
First-in-first-out has an appealing civic logic: whoever arrives first goes first. That makes it predictable and relatively simple to administer. But it is a crude proxy for what is efficient when vehicles behave differently. A heavy vehicle, an electric vehicle with a particular energy objective, or a vehicle already moving near its desired speed may face a different cost from a vehicle that can comfortably accelerate. The study’s model makes those differences explicit through vehicle-specific penalties on acceleration and speed deviation.
The larger point is that autonomous coordination could turn an intersection from a place where each driver reacts locally into a shared scheduling problem. If vehicles can exchange timing information and adjust their motion, the system may reduce unnecessary braking and acceleration while maintaining collision-free separation. Earlier research has explored both fixed-order trajectory optimization and more complex joint optimization of order and motion. This paper’s contribution is to make schedule refinement work in a changing stream of arrivals, rather than in a one-time snapshot of a fixed group.
That dynamic setting matters. A schedule designed for the vehicles present now can become outdated as soon as another car arrives or one clears the intersection. Re-solving everything from scratch at every change would waste computation; keeping the order frozen would miss new opportunities. The proposed method carries the prior schedule forward, appends the new arrival, and searches locally for a better order. Its memory of tested pairs is a practical attempt to keep each update manageable.
There is also a useful design lesson beyond traffic. Optimization systems often have a costly discrete choice wrapped around a continuous control problem. Exact search can be too expensive, while rigid rules leave performance on the table. Here, the solver’s own sensitivity information guides a modest search, and a full re-evaluation guards against trusting that signal too much. That pattern—use a cheap local clue to select candidates, then verify them with the more expensive model—could be useful wherever decisions must be revised online.
Still, a lower modeled cost is not automatically a better intersection for people. The paper optimizes a sum of individual costs, but a real deployment would need to establish who chooses those costs, how fairness is protected, and whether a vehicle can be disadvantaged repeatedly because its preferences or capabilities differ. It would also need to reconcile cooperative autonomous traffic with human-driven vehicles, emergency vehicles, pedestrians and cyclists. The simulation assumes vehicles follow predefined paths and participate in a common coordination scheme; streets do not always grant those assumptions.
What’s Next
The evidence is promising but bounded. These are simulations, not trials on public roads. The modeled vehicles use a discrete-time double-integrator dynamic model, and the crossing setup assigns fixed paths and entry and exit points. Real vehicles have richer dynamics, imperfect sensing, uncertain communication, changing road conditions and hard safety obligations even when software or networks fail. The paper does not establish how the method performs under those disruptions.
The algorithm itself is a heuristic. Adjacent swaps can improve an order, but they do not guarantee that the search will find the globally best permutation. Its decisions also depend on the quality of the NLP solutions and the sensitivity information available from them. The authors describe a computationally efficient implementation as outside this paper’s scope and refer to a companion paper for those details. That leaves an important engineering question: how reliably can a full system finish its calculations before vehicles reach the intersection?
Further work should test the approach against uncertainty and mixed traffic, and report end-to-end timing under realistic hardware constraints. Researchers would also need to examine safety margins, fairness across vehicle types, and behavior when a new arrival appears after a plan has effectively been committed. More detail on the experiments—exact costs, solver counts and performance across congestion conditions—would help readers judge how robust the reported gains are.
Even with those caveats, the study makes a concrete case for moving beyond the queue as the only organizing principle. It suggests that a modest, arrival-aware search can capture much of the value of optimized crossing order without attempting to solve an intractable problem exactly. If future work can make the method dependable under real-world uncertainty, unsignalized intersections may become places where vehicles coordinate not just to avoid one another, but to waste less time and motion doing so.