December 2, 2026  ·  Autonomous driving

In the last post a behaviour planner squeezed past one oncoming car on a narrow street by reading the driver, not just the car. A planner that works in one scenario has not learned much yet, so I dropped it into an unsignalised Indian crossroads without changing a single line or parameter. This post shows the run, the numbers across 12 random versions of the junction (which are much less flattering than the run), and a view from inside the planner that explains a moment where it predicted the right thing for the wrong reason.

TL;DR

  • Same planner, same settings, new scene: crowds crossing on both zebras, people at the kerb who may or may not cross, someone on their phone stepping out, people walking in the road, a scooter close behind, and a crossing car that will not wait.
  • When the crossing cars give way: 12 of 12 runs through with no contact. When one car refuses: contact in 5 of 12, and a motion-only planner also has contact in 5 of 12. This scene is not solved.
  • Four of the five failures are pedestrians. The planner reads drivers, but assumes pedestrians keep walking the way they are walking; someone who freezes mid-road or steps back is not one of the futures it plans for.
  • Inside the planner, its read of the oncoming driver moved the wrong way: it correctly predicted that they would stop, but concluded they were cautious when they were bold and had stopped because the junction was blocked.

The scene

The ego car starts about 24 m before an unmarked four-way junction and drives straight through. Everything in it was designed to be hard to read:

  • people crossing on both sides of the junction, some in a group, some stopping halfway;
  • people standing at the kerb, some of whom will cross and some never will, with no way to tell from where they stand;
  • someone on their phone stepping out mid-block;
  • people walking in the road because the footpath is full;
  • an aggressive scooter rider close behind;
  • a pushy oncoming driver with the same psychology model as before;
  • and, in the hard version, a crossing car that will not yield, timed to reach the junction just as the ego does.

Perception is the same noisy, occluded, tracked view as before, and the car follows its plan through the same controller. The planner was built and tuned only on the narrow-road scene.

Video 1 — The hard junction, seed 1. The strip on the right compares, for the four nearest road users, what the planner predicts each one will do with what the simulator knows they will do, including intent nobody can see yet ("standing, will cross in 3 s"). This run gets through without contact; the closest it came was 25 cm.

The honest numbers

I ran 12 random versions of the junction (crowd positions, timings and intents drawn per seed), with and without the car that refuses to yield, for the intent-aware planner with the learned driver model and for a motion-only baseline using the same 810-path sampler [2].

junction intent-aware planner motion-only baseline
crossing cars give way 0 / 12 with contact 0 / 12 with contact
one crossing car won’t yield 5 / 12 with contact 5 / 12 with contact

So the clip above is a good run, not a solved problem, and on this scene reading drivers buys nothing measurable over predicting motion. Twelve seeds is small, but a tie at 5 against 5 does not hide a large effect.

The failures taught me more than the success. Of the five contacts with the intent-aware planner, four were with pedestrians and one with the crossing car. The planner gives drivers a model of what they might do next, but pedestrians get constant-velocity prediction: it assumes they keep walking the way they are walking. A person who hesitates mid-road, stops, or steps back is simply not among the futures it checks its paths against [1]. Reading intent only helps for the people you actually model.

Inside the planner

To see why it does what it does, I recorded the planner’s internals on the same run and drew them next to a top view (Video 2).

Video 2 — The same run from inside the planner. Left: every candidate path, coloured by the road user who would be hit first if it were taken (green is allowed, thick teal is chosen). Right, top to bottom: who constrains the plan, the particle belief over the oncoming driver's personality (the pink ring is the truth), the planner's prediction of how they will respond if it edges out, and its one-second prediction error per object.

The “who constrains the plan” panel is the share of candidate paths each road user rules out right now, a live answer to “who is the car worried about?”. Around 4 s the crossing car that will not wait rules out about two thirds of all paths; at 6 to 8 s a single pedestrian can rule out three quarters or more on their own; from 12 s the oncoming driver takes over, peaking at about 80% (Figure 1).

Line chart over 20 seconds of the share of 810 candidate paths ruled out by the worst crossing car, the worst pedestrian and the oncoming driver. Pedestrians dominate early and around 7 seconds, the crossing car between 3 and 10 seconds, and the oncoming driver between 12 and 16 seconds.

Figure 1 — Who constrains the plan over the run. For the crossing cars and the pedestrians, the line follows whichever single road user rules out the most paths at that moment.

</figure>

I checked that the colouring agrees with the planner’s own safe/unsafe decisions, and it does on 99.9% of 29,560 path evaluations.

The most interesting moment is at 14 s. The planner predicts the oncoming driver will stop, and the probability rises from 0.48 to 0.76 to 0.93 between 12 and 16 s while the real driver sits nearly stopped. Right prediction. But the particle cloud drifts towards “cautious” (inferred risk 0.51 falling to 0.32) when the real driver is bold and selfish (0.68). They had stopped because the junction was blocked, not out of caution. The model explains stopping with personality because personality is the only explanation it has.

Frame at 14 seconds: top view of the junction with candidate paths fanning out, and panels on the right showing the oncoming driver ruling out 49 percent of paths, a particle cloud over the driver's personality sitting low on the bold axis while the true-person ring sits high, and the predicted stop probability rising.
Figure 2 — t = 14 s. The oncoming driver rules out 49% of paths. The planner is confident they will stop, which is correct, but its belief about who they are (the dots) sits on the cautious side, far from the true, bold driver (the ring).

That gap, between predicting what someone will do and understanding who they are, matters for anything that uses a personality estimate beyond the next few seconds: whether to trust that same driver at the next junction, or how hard to probe them. A trait estimate needs to account for the situation that produced the behaviour.

What I am changing

Two things follow directly. Pedestrians need the same “what might they do next” treatment the drivers get, with hesitation, stopping and stepping back as explicit futures. And trait inference should only update on behaviour the situation does not already explain. The first is engineering; the second is the interesting research question.

Caveats

Everything is simulated, including the pedestrians and their hidden intents, which I wrote. Twelve seeds per condition is enough to see that the hard junction is unsolved, not to rank planners finely.

References

  1. Rudenko, A., Palmieri, L., Herman, M., Kitani, K. M., Gavrila, D. M. and Arras, K. O. Human motion trajectory prediction: a survey. The International Journal of Robotics Research, 2020.
  2. Werling, M., Ziegler, J., Kammel, S. and Thrun, S. Optimal trajectory generation for dynamic street scenarios in a Frenet frame. ICRA, 2010.

← Back to all posts