# Expand-and-Prune: Test-Time Candidate-Space Adaptation for End-to-End Autonomous Driving

Robotics.world

> Many end-to-end driving planners work by proposing a finite set of possible future trajectories ("candidates"), scoring them, and executing the best one. The paper argues that this set is often too…

**arXiv**: 2610.23262 · Preprint · not peer-reviewed

**Published**: 2026-10-16

**Authors**: Fabian Schmidt, Karol Fedurko, Markus Enzweiler, Abhinav Valada

## In plain words

Many end-to-end driving planners work by proposing a finite set of possible future trajectories ("candidates"), scoring them, and executing the best one. The paper argues that this set is often too sparse to cover the maneuver the scene actually calls for, and that the fixed number of candidates passed downstream ignores how confident or uncertain the planner currently is.

## AI summary

## Overview

**Research area:** Robotics / autonomous driving — end-to-end motion planning, specifically test-time adaptation of candidate-based planners.

**Technical level:** Intermediate. The core idea is intuitive (add more trajectory options, then keep only the promising ones), but the adaptive budget mechanisms rely on entropy and softmax formulations that assume familiarity with planner architectures.

**Scope:** A test-time framework that widens and then adaptively trims the set of trajectory candidates a frozen pretrained driving planner considers, evaluated on four candidate-based planners across closed-loop CARLA benchmarks and NAVSIMv2.

## What This Paper Is About

Many end-to-end driving planners work by proposing a finite set of possible future trajectories ("candidates"), scoring them, and executing the best one. The paper argues that this set is often too sparse to cover the maneuver the scene actually calls for, and that the fixed number of candidates passed downstream ignores how confident or uncertain the planner currently is. Expand-and-Prune addresses both issues at inference time — adding semantically and temporally relevant candidates, then pruning them by prediction uncertainty — without retraining or altering the planner's scoring procedure.

## Key Contributions

1. **Test-time candidate-space adaptation:** A framework that modifies only the candidate collection inside a pretrained planner's native inference pipeline, leaving all learned parameters and the scoring function untouched — distinguishing it from online parameter updates (e.g., Centaur) and from external trajectory optimizers (e.g., TOAD, Diffusion-ES).
2. **Intent-guided candidate expansion:** Offline-built "action banks" of clustered expert trajectories, one bank per semantic intent (six meta-actions for LAD-Drive), sampled at test time in proportion to the planner's probabilistic intent belief, so candidate density follows the scene's likely maneuver.
3. **Entropy-adaptive temporal memory:** Trajectories from the immediately preceding frame are carried forward, with the number retained interpolated between a minimum and maximum budget according to the normalized entropy of the previous frame's score distribution, then transformed into the current ego frame.
4. **Confidence-aware adaptive pruning:** Instead of a static Top-K, the number of candidates forwarded to later refinement stages is interpolated between minimum and maximum pruning budgets using normalized entropy of intermediate trajectory scores — so confident frames prune aggressively and ambiguous frames keep alternatives.

## Main Findings

- **State of the art on LangAuto:** Applying Expand-and-Prune to an unchanged LAD-Drive raises mean Driving Score from 68.2 to 75.9, Route Completion from 74.5 to 81.1, and Infraction Score from 0.90 to 0.93 — surpassing LMGenDrive (74.5 mean DS), which uses a generative world model and multi-stage training.
- **Gains grow with route length:** DS improves by 1.9 points on Tiny routes (83.5 to 85.4), 12.1 points on Short (71.3 to 83.4), and 9.1 points on Long (49.8 to 58.9), with Route Completion up 9.3 points on Short and 9.4 on Long.
- **Component progression (LAD-Drive ablations):** 20 native anchors alone give 68.2 DS; adding 30 intent-guided candidates gives 72.1; adding entropy-adaptive temporal memory with bounds (1, 5) gives 73.4; adding entropy-adaptive pruning with bounds (4, 12) gives 75.9. Replacing rather than augmenting the native anchors degrades DS to 62.8 (30 intent-only candidates) and 64.4 (50 intent-only), showing the two sources are complementary.
- **Fixed budgets are not equivalent:** On LangAuto, Top-5 temporal memory *reduced* both DS and RC versus no temporal memory, so more capacity is not uniformly better. A matched fixed-capacity baseline (Top-5 temporal memory, Top-8 pruning, nearest integers to the empirical averages of 4.6 and 8.1) reaches 74.0 DS / 80.2 RC / 0.90 IS, versus 75.9 / 81.1 / 0.93 for the adaptive version.
- **Most selections come from new candidates:** Only 27.5% of selected trajectories originate from LAD-Drive's native anchors, versus 31.3% from intent-guided candidates and 41.2% from temporal memory — 72.5% combined. Temporal candidates are about 8.3% of the expanded set on average yet account for more than 40% of selections, rising from 34.9% on Tiny to 43.4% on Long routes.
- **Transfer to BridgeDrive:** On Bench2Drive, the baseline already scores 95.9 DS / 88.2 SR; temporal memory plus pruning reaches 96.5 DS / 88.7 SR. On Fail2Drive, the combination lifts the harmonic mean from 93.6 to 95.5 (base split) and from 76.4 to 80.5 (generalization split), including +2.9 DS and +5.0 SR in the generalization setting.
- **Transfer to selection-based planners on NAVSIMv2:** Pruning alone raises EPDMS from 83.07 to 83.67 for DriveSuprim with a ResNet-34 backbone, from 87.03 to 87.27 with ViT-L, and from 87.04 to 87.37 for SparseDriveV2.
- **Latency does not necessarily increase:** On an NVIDIA L40S, LAD-Drive's head latency goes from 6.0 ms to 9.2 ms after expansion, then adaptive pruning brings it down to 8.2 ms (−11%), with total latency rising only 2.2 ms (45.0 to 47.2 ms) for the full framework. BridgeDrive total latency slightly *decreases* from 95.3 to 94.9 ms; SparseDriveV2 total latency from 23.8 to 22.0 ms; DriveSuprim (R34) refinement latency from 2.0 to 1.6 ms.

## Methodology in Plain English

The authors leave a trained planner alone and intervene only in the list of trajectories it considers.

First, **expansion.** They mine an expert trajectory dataset offline: each trajectory is labelled with a rough maneuver (using cues like lateral displacement and heading change), the trajectories are grouped by label, and k-means clustering produces a small bank of representative prototypes per maneuver. At test time, the planner's own probability distribution over maneuvers decides how many prototypes to sample from each bank — a total budget shared out in proportion to the belief, so a scene that is 70% "turn left" receives mostly left-turn candidates while other options stay represented. A second expansion source reuses the top trajectories from the previous frame, transformed into the current ego frame to compensate for the ego vehicle's motion; how many are reused is set by how uncertain the previous frame's scores were.

Second, **pruning.** Once the planner produces intermediate trajectory scores, the authors convert them to a probability distribution, measure normalized entropy, and interpolate the number of candidates to keep between a minimum and maximum budget. Low entropy means the planner is already confident, so few candidates are forwarded; high entropy means alternatives are kept. Both mechanisms sit at boundaries that already exist in the planner, which is how the same idea ports to different architectures.

The instantiation is planner-dependent: LAD-Drive (which exposes an explicit six-way action belief and 20 diffusion anchors refined over two denoising steps) gets all three components; BridgeDrive gets temporal memory plus pruning; DriveSuprim and SparseDriveV2, which select from dense fixed vocabularies rather than refining geometry, get pruning only. Evaluation uses Driving Score, Route Completion and Infraction Score on LangAuto, Bench2Drive and Fail2Drive, and Extended PDM Score on NAVSIMv2, comparing against official checkpoints reproduced under the authors' setup.

## Why This Matters

Planners are typically improved by retraining or redesigning the architecture, which is expensive and requires the original training pipeline. This paper shows that a meaningful chunk of the remaining performance — 7.7 Driving Score points on LangAuto — is recoverable by reshaping what the planner is *given to choose from*, at inference, on a frozen model. That reframes candidate-set design as a deployment-time lever rather than a training-time one, and the finding that 72.5% of final selections come from added candidates suggests the native candidate sets of current planners are genuinely under-supporting the maneuvers scenes demand.

**Real-world applications:**

- **Post-deployment improvement of shipped driving stacks:** a fleet vehicle's planner could gain robustness without a full retrain or revalidation of learned weights.
- **Safety under distribution shift:** the largest gains appear in the Fail2Drive generalization split (harmonic mean 76.4 to 80.5), which targets out-of-distribution conditions — the regime where deployed systems most often fail.
- **Long-route / long-horizon driving:** improvements concentrate on Short and Long LangAuto routes, relevant to highway and intercity driving where errors compound over closed-loop horizons.
- **Compute-constrained platforms:** adaptive pruning reduced latency on LAD-Drive, DriveSuprim and SparseDriveV2, so adaptation can be paired with efficiency rather than traded against it.

**Industry relevance:** the method requires no access to training data pipelines or gradients, integrates at existing candidate-processing boundaries, and is validated across four architectures spanning sparse diffusion and dense selection paradigms — properties that matter for teams trying to squeeze gains out of third-party or already-frozen checkpoints. The published code (github.com/iis-esslingen/Expand-and-Prune) lowers the barrier to reproduction.

## Future Directions

1. **Extending intent guidance beyond explicit action beliefs:** the authors note intent-guided expansion was evaluated only on LAD-Drive, the sole planner in the study exposing a probabilistic action-belief state. Mapping categorical navigation commands or continuous goal points onto the discrete intent space is proposed as a route to broader applicability.
2. **Longer temporal context:** temporal memory currently draws only on the immediately preceding frame. Trajectory histories or planner-native latent representations are suggested as ways to capture longer-horizon structure.
3. **Validating on planners with different candidate representations:** whether expansion helps dense selection-based planners (DriveSuprim, SparseDriveV2 received pruning only, on the argument that extra trajectories would duplicate existing geometry) remains untested, leaving open how much of the framework's benefit is architecture-dependent.
4. **Whether the entropy criterion is the right uncertainty signal:** the paper shows entropy-based adaptation beats fixed Top-K and Top-p on LangAuto, but the mechanism is not compared against alternative uncertainty measures, and hyperparameters such as temperature and the min/max budgets are set per planner.

## Target Audience

Graduate students and research engineers working on end-to-end autonomous driving and motion planning, particularly those interested in inference-time adaptation, candidate/proposal-set design, and closed-loop benchmark evaluation on CARLA and NAVSIM. It is also useful for practitioners seeking low-cost performance gains on frozen pretrained planners, and for readers wanting a clear example of how a small, well-placed inference-time intervention can be validated across heterogeneous architectures rather than a single model.

## Authors’ abstract

Candidate-based end-to-end driving planners reason over a finite set of trajectory hypotheses. However, for sparse planners, a limited candidate set may provide insufficient support for scene-relevant maneuvers, while fixed downstream candidate budgets do not account for prediction uncertainty. To address these challenges, we introduce Expand-and-Prune, a test-time framework that jointly adapts candidate support and capacity without updating learned parameters. The framework…

[The full abstract on arXiv](https://arxiv.org/abs/2610.23262)

[Read the original paper](https://arxiv.org/abs/2610.23262)

## Related papers

- [RiSE-Drive: Risk-Sensitive Long-Horizon Candidate Evaluation for End-to-End Autonomous Driving](https://robotics.world/paper/rise-drive-risk-sensitive-long-horizon-candidate-evaluation-for-end-to-2611.13790) 2026-11-10 · cs.RO · Key terms of the title in common
- [SafeDriveVLA: Navigation-Conditioned World Model Dreaming for Conflict-Aware End-to-End Autonomous Driving](https://robotics.world/paper/safedrivevla-navigation-conditioned-world-model-dreaming-for-conflict-2610.20609) 2026-10-14 · cs.RO · Key terms of the title in common
- [SDPAD: A Fully Spike-Driven Pipeline for End-to-End Autonomous Driving](https://robotics.world/paper/sdpad-a-fully-spike-driven-pipeline-for-end-to-end-autonomous-driving-2610.11583) 2026-10-08 · cs.RO · Key terms of the title in common
- [Do Better Visual Representations Always Lead to Better End-to-End Autonomous Driving?](https://robotics.world/paper/do-better-visual-representations-always-lead-to-better-end-to-end-2610.09695) 2026-10-07 · cs.RO · Key terms of the title in common
- [Closed-Loop Aware Planning via Imitation-Free Speed Scoring for End-to-End Autonomous Driving](https://robotics.world/paper/closed-loop-aware-planning-via-imitation-free-speed-scoring-for-end-to-2610.36079) 2026-10-26 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/expand-and-prune-test-time-candidate-space-adaptation-for-end-to-end-2610.23262
