TL;DR
E2E-CDiff is an end-to-end conditional diffusion framework that simultaneously generates realistic trajectories and low-level control signals for background vehicles in autonomous driving simulations. By unifying planning and control into a single diffusion process and utilizing adaptive guidance, it eliminates the classic "planning-control mismatch" to create highly controllable, safety-critical testing scenarios.
What Problem Does This Paper Address?
To rigorously test and evaluate autonomous driving (AD) systems, researchers rely heavily on closed-loop simulations. However, creating background traffic that is both realistic (behaving like real human drivers) and controllable (able to be steered into specific interactive or hazardous scenarios) remains a major challenge.
Existing learning-based traffic generators often suffer from a planning-control mismatch. Traditional pipelines use a two-stage architecture: a high-level model plans geometric trajectory waypoints, and a separate low-level controller (like a PID controller) attempts to execute them. Because the low-level controller operates independently of the planner, the generated motions can be physically infeasible, causing vehicles to lag, deviate from their lanes, or drive off-road entirely.
Methods
The authors introduce E2E-CDiff (End-to-End Conditional Diffusion Planner), which unifies future state prediction and control execution into a single generative process.
Key components include:
- State-Action Joint Diffusion: Conditioned on front-view camera observations, the model directly denoises a combined sequence of future states (2D position, heading, speed) and executable actions (throttle, steering, braking).
- Decoupled Action-State Head: To prevent unstable gradient coupling during training, the network predicts low-level controls first, detaches them from the computational graph to predict the corresponding state rollout, and then recombines them.
- Adaptive Conditional Guidance: During the reverse diffusion (denoising) phase, the model uses gradients from differentiable objectives to steer the behavior of Critical Background Vehicles (CBVs). These objectives can be blended and weighted to enforce speed limits, ensure drivable-area compliance, or dictate interaction risks (collision avoidance vs. collision seeking).
Datasets
The framework was evaluated using the Bench2Drive benchmark, a closed-loop autonomous driving platform built on the CARLA (v0.9.15) simulator. The model was trained on data spanning 220 routes and evaluated across 10 distinct testing routes against multiple established ego-vehicle planners.
Key Insights and Ideas
- Closing the Execution Gap: By generating low-level actuator commands simultaneously with spatial trajectories, the model ensures that the background vehicle's behavior is always physically executable within the simulator, drastically reducing unrealistic off-road anomalies.
- Guidance as a Behavioral Dial: Rather than retraining models for different behaviors, the exact same diffusion model can transition from a safe, rule-abiding driver to an aggressive, adversarial agent simply by flipping the mathematical sign of the collision guidance objective.
- Generalized Capability: Because E2E-CDiff outputs direct control signals, it isn't limited to background traffic generation; it can also function directly as an ego-vehicle driving planner, demonstrating the versatility of end-to-end state-action diffusion.
Key Results
- Controllability vs. Realism Trade-off: E2E-CDiff achieved superior realism metrics (such as Shapiro-Wilk normality tests for speed and acceleration distributions) compared to reinforcement learning (PPO) and imitation learning (Pluto) baselines. It also significantly reduced the Off-Road Rate (ORR) to 1.26% under the PDM-Lite ego planner, compared to PPO's 8.82%.
- Effective Stress-Testing: The collision-seeking variant (
E2E-CDiff w/ coll) successfully exposed vulnerabilities in advanced ego-planners. For example, it raised the Collisions Per Kilometer (CPK) against the robust, rule-based PDM-Lite planner from 5.68 to 20.77 by injecting highly plausible, accident-prone interactions.
- Competitive Ego-Planning: When deployed as the primary ego-vehicle planner, E2E-CDiff outperformed end-to-end baselines like UniAD and VAD, achieving a higher Driving Score (79.96 vs 76.14 and 78.76, respectively).
Limitations and Future Work
The primary bottleneck of E2E-CDiff is inference latency. Due to the iterative nature of diffusion models requiring 100 denoising steps, the model takes an average of 856.66 ms to produce a control decision.
While this latency is perfectly acceptable for offline or synchronized traffic scenario generation (where the simulator can wait for the model), it is too slow for real-time, on-vehicle deployment where delayed responses can be catastrophic. The authors note that accelerating the sampling process—potentially through consistency models or distillation techniques—is a vital direction for future work.
Summary updated