In the quiet, fog-shrouded streets of San Francisco, a peculiar sight began to emerge in late 2021 and continued through subsequent years: a procession of driverless Jaguar I-PACE SUVs, equipped with spinning LiDAR sensors and an array of cameras, lining up one after another in residential cul-de-sacs. This phenomenon, which observers and tech enthusiasts quickly dubbed “stacking,” represents one of the most fascinating “edge cases” in the development of autonomous vehicle (AV) technology. While Waymo, the Alphabet-owned self-driving subsidiary, has successfully logged millions of miles, the sight of a dozen multi-million dollar robots seemingly confused by a simple dead-end street highlights the immense complexity of the software and hardware integration required for Level 4 autonomy.

To understand what stacking is, one must look beyond the physical line of vehicles and into the underlying architecture of the Waymo Driver—the artificial intelligence system responsible for navigating complex urban environments. Stacking is not merely a parking issue; it is a manifestation of algorithmic decision-making, fleet management logic, and the limitations of current urban mapping.
The Mechanics of the “Stacking” Phenomenon
At its core, stacking occurs when multiple autonomous vehicles are routed to the same geographical coordinate or restricted pathing area simultaneously. In the most famous instances, residents of San Francisco’s 15th Avenue witnessed Waymo cars turning into a dead-end street, performing a multi-point turn, and then being immediately followed by another Waymo car doing the exact same thing. At peak times, as many as 50 cars were reportedly cycling through a single residential block.
Algorithmic Routing and the “Dead-End” Loop
The primary technical driver behind stacking is the routing engine. Waymo’s software utilizes a combination of real-time traffic data, historical patterns, and high-definition (HD) maps to determine the most efficient path from point A to point B. However, these algorithms are often programmed to avoid high-traffic arteries or specific unprotected left turns during peak hours to minimize risk.
In some cases, the “cost function” of the routing algorithm—the mathematical weight assigned to different pathing options—incorrectly identifies a quiet residential street as a high-utility bypass. When one car identifies this path as optimal, the fleet-wide intelligence may propagate this decision to other vehicles in the area. If the street ends in a cul-de-sac or a restricted zone that the vehicle’s vision system perceives as a temporary obstacle rather than a permanent barrier, the cars “stack” as they wait for the “obstacle” to clear or as they sequentially execute the necessary turnaround maneuvers.
Fleet Management and Strategic Staging
Not all stacking is accidental. Waymo utilizes a sophisticated fleet management system that predicts rider demand using machine learning. To minimize wait times (the “latency” of the service), the system must distribute vehicles across a city so they are ready to respond to a hail within minutes.
Stacking can occur when the fleet management software designates a specific area as a “staging zone.” In these scenarios, vehicles are instructed to wait in low-traffic areas until a ride request is triggered. If the software identifies a specific neighborhood as a high-demand zone but lacks designated private depots in the immediate vicinity, the robots will naturally cluster on public streets. This is a deliberate “stack” intended to optimize service efficiency, though it often results in unintended friction with local residents and infrastructure.
The Role of AI and Machine Learning in Fleet Coordination
The intelligence behind Waymo is not a singular program but a massive stack of neural networks and sensor processing pipelines. To prevent stacking and resolve it when it happens, Waymo relies on the continuous interplay between on-board processing and off-board cloud computing.
Sensor Occlusion and Multi-Agent Perception
One of the technical hurdles in stacking scenarios is “sensor occlusion.” When five or six autonomous vehicles are lined up closely, the LiDAR and camera systems of the trailing vehicles are partially blocked by the lead vehicle. While Waymo cars are equipped with a 360-degree vision system that can see hundreds of yards in all directions, they still struggle with “seeing through” other large objects.
In a stacking event, the trailing cars must rely on “multi-agent perception.” This involves the vehicles sharing data about their environment. If the lead car sees a dead-end, it can communicate that information to the cars behind it via a dedicated short-range communication (DSRC) or cellular network (V2V – Vehicle to Vehicle communication). However, if the network latency is high or if the cars are programmed to prioritize their own sensor data over external signals (a safety feature to prevent spoofing), they may continue to stack until the physical space is no longer navigable.
Edge Cases and Reinforcement Learning
Stacking is considered a “long-tail” edge case. In the world of AI, 90% of the problems are solved relatively quickly, but the remaining 10%—the rare, weird, and unpredictable events—take the longest to master. Waymo uses a process called Reinforcement Learning (RL) to train its drivers. In a simulated environment called “Carcraft,” Waymo creates thousands of variations of a single street to see how the software reacts.

The stacking events in San Francisco provided “ground truth” data that was fed back into the simulator. Engineers can now simulate “The 15th Avenue Scenario” with 100 variations: what if there’s a delivery truck blocking the turn? What if a pedestrian is walking a dog in the middle of the stack? By training the neural networks on these specific failure points, the software learns to recognize the “signature” of a potential stack before the vehicle enters the street, allowing it to reroute proactively.
Urban Infrastructure and the Autonomous Integration Challenge
The phenomenon of stacking highlights the tension between 20th-century urban design and 21st-century autonomous technology. Our cities were built for human drivers who use intuition, social cues, and a general understanding of neighborhood layouts—qualities that are difficult to codify into software.
The Problem with High-Definition Maps
Waymo vehicles do not drive like humans; they don’t just “see” the road; they compare what they see to a pre-existing High-Definition (HD) map that is accurate down to the centimeter. These maps include the height of curbs, the position of every stop sign, and the slope of the road.
Stacking often occurs when there is a discrepancy between the HD map and the real-world environment. If a map update hasn’t reflected a new “No Thru Traffic” sign or a change in a cul-de-sac’s accessibility, the AI may believe the path is valid. Because the AI is programmed to follow the map with high precision, it may ignore the “social cue” that five other cars of the same make are already stuck there, leading to a mechanical, repetitive pile-up.
Curbside Management and Public Space
The “stacking” of Waymo cars has sparked a broader debate in the tech world about “curbside management.” As autonomous fleets scale, they require space to idle, turn around, and drop off passengers. Most city streets are designed for through-traffic or long-term parking, not the “continuous flow” model of an autonomous taxi fleet.
When Waymo cars stack, they effectively “monopolize” public infrastructure. This presents a technical challenge for developers: how to program a car to be “polite.” Engineers are now working on “socially aware” navigation, where the AI considers the impact of its presence on the local environment. This involves penalizing routes that go through narrow residential streets or limiting the number of fleet vehicles allowed in a specific geofenced block at any given time.
Solving the Stack: Software Iteration and the Future of AV Efficiency
Waymo’s response to the stacking issue has been a masterclass in rapid software iteration. The solution to stacking isn’t a mechanical fix; it’s an update to the “global planner”—the high-level brain that coordinates the entire fleet.
Over-the-Air (OTA) Updates and Confidence Scores
When a stacking incident is identified, Waymo engineers can push an Over-the-Air (OTA) update to the fleet. One of the primary fixes involves adjusting the “confidence score” required for a route. If the car’s internal sensors detect a high density of other Waymo vehicles in a confined space, the software now triggers a “stacking alert.” This alert lowers the confidence score of that specific route, forcing the global planner to find an alternative, even if it is technically longer or slower.
This dynamic rerouting is similar to how Waze or Google Maps operates, but with a much higher level of granularity. Waymo’s system can now “black-list” specific coordinates in real-time if a cluster begins to form, effectively dispersing the fleet before it becomes a nuisance to the neighborhood.
Predictive Demand and Proactive Rebalancing
To eliminate the need for cars to idle or “stack” in residential areas, Waymo is shifting toward more sophisticated “proactive rebalancing” models. Using deep learning, the system analyzes years of ride data to predict where the next passenger will be before they even open the app.
Instead of having ten cars wait in a single cul-de-sac, the AI distributes them across a wider radius, moving them like pieces on a chessboard to ensure they are always in motion or parked in designated, non-disruptive areas. This reduces the “density” of the fleet in any one location, mitigating the visual and physical impact of stacking.

The Path to Seamless Autonomy
The “stacking Waymo cars” phenomenon is a reminder that the transition to an autonomous future is not just about building a car that can see; it’s about building a system that can think within the context of a complex, human-centric world. Each time a line of Waymo cars gathers in a San Francisco dead-end, it provides the vital data necessary to ensure it never happens again.
As the “Waymo Driver” evolves from its current version to future iterations, the lessons learned from stacking will be baked into the foundational code of autonomous transport. The goal is a fleet that is invisible—one that moves through a city like water, filling gaps without ever causing a dam. While the sight of a dozen robots in a line may seem like a glitch in the matrix today, it is actually a crucial stepping stone toward a more efficient, AI-driven urban landscape. Through sensor fusion, fleet-wide communication, and refined routing logic, the industry is moving past these growing pains, ensuring that the “stack” becomes a relic of the early days of autonomous experimentation.
aViewFromTheCave is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. Amazon, the Amazon logo, AmazonSupply, and the AmazonSupply logo are trademarks of Amazon.com, Inc. or its affiliates. As an Amazon Associate we earn affiliate commissions from qualifying purchases.