Your Diffusion-Based Driving Planner Only Needs a Nudge
Organizations: BOLD, University of Oxford · Nanyang Technological University · Delft University of Technology · Motional
Abstract
Diffusion-based planners capture the multimodality of human driving behavior well, yet covariate shift in closed-loop driving can lead them to generate trajectories that result in collisions or road departures. Reinforcement learning (RL) finetuning offers a promising way to tackle this issue, but applying it to diffusion-based planners is complicated by their iterative denoising process and receding-horizon execution. We find that small adjustments to the planned trajectories can prevent many of these unsafe outcomes. Motivated by this observation, we propose PlanNudge, which preserves the learned planning capabilities of a pretrained diffusion-based planner by freezing it and trains a lightweight policy that we call the nudge policy. At each planning step, the nudge policy outputs a nudge, a two-dimensional adjustment of the speed and curvature of the plan from the frozen planner. The nudge policy is a multilayer perceptron that predicts the nudge in a single forward pass, and both dimensions directly change the motion of the vehicle, so standard off-policy RL can train it in closed-loop simulation. We evaluate PlanNudge on nuPlan, a large-scale autonomous driving benchmark based on real-world driving data. In all six settings, PlanNudge matches or exceeds the final scores of the previous state-of-the-art RL finetuning method while using about one sixth as many environment steps and less than one fifth as much model compute. We also provide guidelines for reward shaping, value learning, and exploration when using off-policy RL to post-train autonomous driving planners. Our results are reported with means and standard deviations over six training runs. Project page: https://zerlinwang.github.io/plannudge/
Figures & tables
| Val14 | Test14-hard | Test14-random | RL | |||||
| Type | Method | NR | R | NR | R | NR | R | steps |
| Expert | Log replay | 93.53 | 80.32 | 85.96 | 68.80 | 94.03 | 75.86 | – |
| Imitation learning | PLUTO [ 7 ] | 88.89 | 78.11 | 70.03 | 59.74 | 89.90 | 78.62 | – |
| Diffusion Planner [ 60 ] | 89.87 | 82.80 | 75.99 | 69.22 | 89.19 | 82.93 | – | |
| Flow Planner [ 49 ] | 90.43 | 83.31 | 76.47 | 70.42 | 89.88 | 82.93 | – | |
| DFP [ 58 ] | 90.33 | 79.97 | 76.91 | 63.56 | 90.69 | 81.96 | – | |
| Terminal score | + Safety penalty (ours) | |||
|---|---|---|---|---|
| Change on Val14 | NR | R | NR | R |
| Collision | +0.3 | +0.3 | +0.5 | +0.7 |
| Time-to-collision | +0.7 | +0.5 | +1.1 | +1.0 |
| Drivable | +0.4 | +0.8 | +0.5 | +0.9 |
| Score | +0.79 0.14 | +1.62 0.13 | +1.09 0.26 | +1.78 0.27 |
| Change on Test14-hard R | Without events | + Speed events (ours) |
|---|---|---|
| Stalls released | 9% | 29% |
| Progress gate | −0.1 | +0.9 |
| Progress | +0.2 | +0.3 |
| Collision | +1.2 | +1.7 |
| Time-to-collision | +1.9 | +2.1 |
| Score | +3.25 0.34 | +4.55 0.64 |
| Parameter | Value | Parameter | Value | Parameter | Value |
| Nudge policy | RL | Data collection | |||
| Input: pooled encoder tokens | 192 | Critics | 10 | Environments | 32 |
| Input: ego state | 10 | Target subset | 2 | Episodes per iteration | 32 |
| Input: first 2 s of the plan | Discount | 0.99 | Episode length | at most 150 steps | |
| Speed bound | 1.0 m/s | -step | 10 | Control rate | 10 Hz |
| Curvature bound | 0.05 m -1 | Batch size | 2,048 | Warm-up transitions | 20,000 |
| Val14 | Test14-hard | Test14-random | RL | ||||
| Method | NR | R | NR | R | NR | R | steps |
| HDP [ 61 ] (our evaluation) | 89.74 | 82.18 | 75.91 | 69.06 | 88.02 | 81.94 | – |
| PlanNudge, trained with non-reactive traffic | 91.62 0.28 (+1.88) | 83.41 0.15 (+1.23) | 78.41 0.58 (+2.50) | 69.77 0.44 (+0.71) | 90.78 0.88 (+2.76) | 83.36 0.36 (+1.42) | 4.6 M |
| PlanNudge, trained with reactive traffic | 91.61 0.28 (+1.87) | 83.49 0.24 (+1.31) | 78.59 0.30 (+2.68) | 70.46 0.27 (+1.40) | 91.35 0.48 (+3.33) | 83.94 0.48 (+2.00) | 8.9 M |
| Diffusion Planner, DDIM (our evaluation) | 90.00 | 83.22 | 75.74 | 68.93 | 89.99 | 82.70 | – |
| PlanNudge, trained with non-reactive traffic | 91.72 0.37 (+1.72) | 84.47 0.28 (+1.25) | 78.16 0.71 (+2.42) | 72.00 0.92 (+3.07) | 91.38 0.53 (+1.39) | 85.37 0.51 (+2.67) | 7.7 M |
| Val14 | Test14-hard | Test14-random | ||||
| Variant | NR | R | NR | R | NR | R |
| PlanNudge (ours) | +1.09 0.26 (19.8 / 5.5) | +1.78 0.27 (28.8 / 6.5) | +1.63 0.27 (7.8 / 3.5) | +4.55 0.64 (16.2 / 1.3) | +1.17 0.58 (5.0 / 3.3) | +3.45 0.52 (9.8 / 0.3) |
| (a) Reward | ||||||
| Terminal score only | +0.79 0.14 (13.5 / 4.0) | +1.62 0.13 (24.0 / 4.3) | +1.64 0.42 (5.8 / 1.8) | +3.57 0.81 (12.2 / 1.3) | +1.14 0.72 (4.0 / 1.7) | +3.38 0.28 (10.3 / 0.5) |
| (b) Value learning | ||||||
| 1-step returns | +0.08 0.12 (4.0 / 3.0) | +0.34 0.28 (6.7 / 2.2) | +0.65 0.25 (1.8 / 0.2) | +0.70 0.30 (2.5 / 0.7) | +0.44 0.30 (1.5 / 0.7) | +0.93 0.73 (2.5 / 0.0) |
| Method | R score | Collision | TTC | Drivable | Progress gate | Progress | Speed | Comfort | NR score |
|---|---|---|---|---|---|---|---|---|---|
| Log replay | 68.80 | 77.02 | 69.85 | 95.96 | 100.00 | 98.48 | 94.12 | 99.26 | 85.96 |
| Pretrained planner | 68.93 | 88.02 | 80.57 | 95.28 | 91.24 | 75.59 | 97.55 | 87.44 | 75.74 |
| Open-loop finetuning from logs | 70.42 0.20 ( +1.49 ) | 86.76 0.17 ( −1.26 ) | 79.29 0.30 ( −1.28 ) | 95.41 0.31 (+0.13) | 94.24 0.19 ( +3.00 ) | 78.67 0.42 ( +3.08 ) | 97.53 0.13 ( −0.02 ) | 88.66 0.28 ( +1.22 ) | 76.39 0.89 (+0.65) |
| PlanNudge (ours) | 73.44 0.63 ( +4.51 ) | 90.04 0.47 ( +2.02 ) | 83.58 0.68 ( +3.01 ) | 97.00 0.15 ( +1.72 ) | 93.32 0.43 ( +2.08 ) | 76.18 0.31 (+0.59) | 97.58 0.05 (+0.03) | 87.69 0.39 (+0.25) | 77.16 0.32 ( +1.42 ) |
| Measured cost | FLOPs |
| Diffusion Planner, outside the denoising loop ( ) | 2.52 G |
| Diffusion Planner, one DDIM step of the DiT decoder ( ) | 0.117 G |
| Nudge agent, actor forward, one sample ( ) | 2.24 M |
| Nudge agent, one critic forward, one sample ( ) | 8.68 M |
| Per environment step | GFLOPs |
| PlanNudge: collection ( ) | 3.1 |
Autonomous Driving Planning
Autonomous driving planning selects safe, feasible vehicle actions and trajectories amid traffic, uncertainty, road rules, and changing goals.
See all 455 papers