TL;DR
What do autonomous driving and Google Search have in common? More than you might think. By recasting trajectory planning as a classic "retrieve-then-rerank" search problem, the authors slash the inference latency of an end-to-end driving model by nearly 7x—from 163.4 ms down to a zippy 23.9 ms—while actually improving driving safety and quality in tough scenarios.
What Problem Does This Paper Address?
End-to-end autonomous driving models generally fall into two camps: regression-based planners (predicting a single path directly from sensor inputs) and vocabulary-based planners. Vocabulary-based planners work like choosing from a massive menu: they maintain a fixed "vocabulary" of thousands of pre-defined future trajectories (say, 16,384 paths) and score each one against the current camera views to pick the safest, smoothest option.
There is a glaring inefficiency in how existing vocabulary-based planners operate. Even though the 16,384-trajectory menu is completely static—it never changes from Tuesday to Wednesday, or from a highway to a parking lot—current models re-encode every single trajectory from scratch at every decision step. Worse yet, they run expensive, camera-conditioned neural evaluation on the entire list, wasting precious milliseconds carefully scoring sharp left-turn trajectories when the navigation system clearly says "turn right," or evaluating high-speed highway curves while crawling at 1.4 m/s.
Methods
Taking a page directly out of modern information retrieval (think search engines and RAG pipelines), the authors build on the existing Hydra-MDP++ planner and reorganize inference into Decoupled Retrieval-Style Inference (DRSI):
- Offline Candidate Indexing (OCI) [New]: Since the trajectory vocabulary is static, the model runs all candidate trajectories through a Transformer encoder once, offline, and caches their rich geometric embeddings in an index. Zero online compute spent encoding the menu.
- Scene-aware Candidate Retrieval (SCR) [New]: Online, before touching heavy camera features, SCR uses cheap, instant cues—the navigation command and the car's current velocity—to filter the index in two steps:
- Global Route Compliance (GRC): Grabs only the cluster of trajectories matching the high-level command (left, straight, or right).
- Dynamic Reachability Compliance (DRC): Applies a physics-inspired feasibility score to toss out trajectories requiring impossible acceleration or braking from the vehicle's current speed.
- Cross-Attention Reranker [Modified]: Standard evaluators use Transformer decoders with candidate-to-candidate self-attention, which gets bogged down by set size. DRSI swaps this for a pure cross-attention block (conditioning each retrieved candidate strictly on camera tokens) while keeping the standard Hydra-MDP++ scoring heads and training losses (imitation learning + rule-based distillation) completely intact. Notably, training still uses the full vocabulary to avoid introducing retrieval bias.
Datasets
The authors evaluate their work on the NAVSIM benchmark (built upon real-world driving data from OpenScene and nuPlan), where planners must predict a 4-second future trajectory from multi-view cameras, ego motion status, and navigation commands:
navtrain&navtest: Standard training and held-out non-reactive evaluation splits.navhard(NAVSIM v2): A challenging two-stage pseudo-simulation benchmark featuring synthetic observations around plausible future states to stress-test planner robustness.
No new datasets were introduced in this paper.
Key Insights and Ideas
- The Asymmetry Aha-Moment: Recognizing that candidate trajectories are scene-invariant while camera inputs are scene-dependent unlocks massive free speedups. Caching the static side offline alone cuts latency from 163.4 ms to 93.2 ms with zero change in output quality.
- Less Noise = Better Decisions in Hard Scenes: Filtering out physically unreachable and off-route paths doesn't just save compute—it boosts scores on the difficult
navhardsplit. By clearing away implausible clutter, the reranker focuses solely on viable contenders.
- Dropping Self-Attention Enables Subset Scoring: Removing candidate-to-candidate self-attention in the evaluator means a trajectory's score depends only on how well it fits the scene, not on what other trajectories are in the shortlist. Bonus: swapping the decoder for pure cross-attention drops latency from 93.2 ms down to 34.1 ms, and results in an embedding space that better preserves physical trajectory geometry (0.825 vs. 0.710 Spearman correlation).
Key Results
Measured on a single RTX 4090 GPU (batch size 1) using the official EPDMS (Extended PDM Score, combining hard safety penalties like collisions with comfort/progress metrics):
- Massive Speedup: With 16,384 candidates,
Ours (Large)slashes latency from 163.4 ms to 23.9 ms—a 6.8x speedup.Ours (Small)(8,192 candidates) hits 21.3 ms. - Stronger Under Pressure: On the tough
navhardbenchmark,Ours (Large)improves EPDMS from 37.6 to 40.2 over the Hydra-MDP++ baseline. - Minimal Trade-off on Standard Splits: On
navtest,Ours (Large)scores 86.1 EPDMS vs. the baseline's 86.9. Crucially, hard safety metrics like No at-fault Collision (98.5) and Driving Direction Compliance (99.6) remain completely unchanged, while Ego Progress actually ticks up from 88.4 to 89.1.
Limitations and Future Work
Not discussed in the paper. (Note: While the experimental results reveal a minor 0.8-point EPDMS dip on the standard navtest split—stemming mainly from softer behavioral submetrics like Lane Keeping and Extended Comfort—the main paper does not include a dedicated section discussing formal limitations or future research directions.)
Summary updated