ReflectDrive-2: Reinforcement-Learning-Aligned Self-Editing for Discrete Diffusion Driving

Huimin Wang, Yue Wang, Bihao Cui, Pengxiang Li, Ben Lu, Mingqian Wang, Tong Wang, Chuan Tang, Teng Zhang, Kun Zhan

TL;DR

Autonomous driving planners usually get one shot at drawing a path—if they make a mistake, they have to start over from scratch. ReflectDrive-2 treats driving like writing: it uses a discrete diffusion model to sketch a rough draft of a trajectory in parallel, and then uses a built-in editor (AutoEdit) to fix mistakes in place. By coupling the drafter and editor together using reinforcement learning, it achieves state-of-the-art camera-only driving performance in just 31.8 milliseconds.

What Problem Does This Paper Address?

When imitation-learned driving policies mess up, their errors aren't random static—they are structured mistakes, like going slightly too fast (longitudinal error) or drifting out of a lane (lateral heading drift).

Existing planners struggle to fix these errors efficiently:

  • Autoregressive Vision-Language-Action (VLA) models generate trajectories token-by-token. Latency scales with path length, and fixing an early mistake requires regenerating the entire sequence.
  • Continuous diffusion planners generate paths in parallel, which is great, but they are built to remove random Gaussian noise across many slow denoising steps, not fix structured driving errors.

What if a planner could generate a trajectory in a few parallel steps and surgically rewrite specific waypoints in place? Even better: how do you make sure the "drafter" and the "editor" actually cooperate instead of working at cross-purposes?

Methods

ReflectDrive-2 reframes driving as a unified decision–draft–reflect loop operating in a shared discrete token space (where an 8-waypoint, 4-second plan is represented as 16 coordinate tokens).

ReflectDrive-2 plans through a decision-draft-reflect process, shifting a blue draft trajectory left into a safer green plan around a stopped school bus.

Here is how the pipeline works:

  1. Decision & Draft (Masked Discrete Diffusion): Taking surround-view camera frames, navigation instructions, and vehicle state, the model predicts a probability distribution over final "goal points" (behavioral hypotheses like changing lanes vs. staying put). Once a goal is chosen, non-goal tokens start as [MASK] and are decoded in parallel over a few rounds.
  2. Reflect (AutoEdit): Using the exact same model (no separate refiner network needed), AutoEdit looks at the drafted tokens and rewrites flawed ones directly in place.
  3. Two-Stage Training (The Secret Sauce):
  4. Supervised Fine-Tuning (SFT): Alongside standard masked token prediction and a drivable-area boundary loss, the authors synthetically stretch, shrink, and rotate expert trajectories to mimic real speed and steering errors, training AutoEdit to snap them back into place.
  5. Full-Rollout Reinforcement Learning (RL): Supervised training leaves the drafter ignorant of the editor. The authors run RL across the entire draft-then-edit sequence, scoring only the final trajectory and propagating credit back through both stages.
  6. Efficient Runtime Stack: To run on vehicle hardware, they combine a compact "Action-expert" feed-forward network, shared-prefix KV-cache reuse, and Alternating Step Decode—running the full pipeline on odd frames, and merely shifting the previous frame's plan forward for a quick AutoEdit touch-up on even frames.

Datasets

The authors train and evaluate on NAVSIM, a closed-loop autonomous driving benchmark built on nuPlan. Models take sensor history and predict 4-second trajectories at 2 Hz, trained on navtrain (1,192 scenes) and tested on navtest (136 scenes). No new datasets are introduced.

Key Insights and Ideas

  • An editor is useless if the drafter doesn't know it exists: Under supervised training alone, turning on AutoEdit at test time barely moves the needle (+0.3 PDMS score), even when explicitly trained on synthetic driving errors. Once RL couples the two stages under a single terminal reward, AutoEdit's boost jumps more than sixfold to +1.9 PDMS. The drafter learns to tee up drafts the editor knows how to perfect.
  • Self-editing doubles as temporal smoothing: Because AutoEdit is just a token-to-token trajectory refiner, you don't have to plan from scratch on every single video frame. Projecting the last frame's trajectory into the current coordinate space and running a lightweight AutoEdit pass slashes latency in half on alternating frames with minimal quality loss.
  • Goal tokens capture genuine multimodality: Sampling top-6 goals (with non-maximum suppression) yields distinct, valid driving maneuvers (e.g., yielding vs. nudging around an obstacle), rather than jittery duplicates of the same path.

Key Results

Performance on NAVSIM is measured by the Predictive Driver Model Score (PDMS), which combines collision avoidance, drivable-area compliance, time-to-collision, comfort, and ego progress:

  • State-of-the-art Camera-Only Planning: ReflectDrive-2 hits 91.0 PDMS using cameras alone, edging out top camera-only VLA baselines like ReCogDrive (90.8) and even beating camera+LiDAR planners like GoalFlow (90.3). Its edge comes primarily from superior Ego Progress (89.4) while maintaining 100.0 comfort.
  • Human-Level Oracle Potential: In a best-of-6 goal-sampling oracle setup, ReflectDrive-2 reaches 94.8 PDMS, tying the NAVSIM human reference score.
  • Real-Time Embedded Speed: On an automotive-grade NVIDIA Thor chip, the system averages 31.8 ms latency per frame (alternating between 45.0 ms full-steps and 18.6 ms lite-steps).

Limitations and Future Work

  • Open-Loop RL Training: While evaluated on a closed-loop benchmark, the RL fine-tuning itself is open-loop—meaning the model doesn't experience how its actions dynamically alter the environment over time, leaving it vulnerable to compounding errors.
  • Proxy Rewards: The RL stage optimizes a lightweight proxy metric rather than full real-world driving objectives.
  • Next Steps: The authors plan to move to true closed-loop RL and integrate learned world models so the planner can simulate environmental feedback and better correct its own biases.

Summary updated

Abstract

We introduce ReflectDrive-2, a masked discrete diffusion planner with a separate action expert for autonomous driving that represents plans as discrete trajectory tokens and generates them through parallel masked decoding. This discrete token space enables in-place trajectory revision: AutoEdit rewrites selected tokens using the same model, without requiring an auxiliary refinement network. To train this capability, we use a two-stage procedure. First, we construct structure-aware perturbations of expert trajectories along longitudinal progress and lateral heading directions and supervise the model to recover the original expert trajectory. We then fine-tune the full decision--draft--reflect rollout with reinforcement learning (RL), assigning terminal driving reward to the final post-edit trajectory and propagating policy-gradient credit through full-rollout transitions. Full-rollout RL proves crucial for coupling drafting and editing: under supervised training alone, inference-time AutoEdit improves PDMS by at most $0.3$, whereas RL increases its gain to $1.9$. We also co-design an efficient reflective decoding stack for the decision--draft--reflect pipeline, combining shared-prefix KV reuse, Alternating Step Decode, and fused on-device unmasking. On NAVSIM, ReflectDrive-2 achieves $91.0$ PDMS with camera-only input and $94.8$ PDMS in a best-of-6 oracle setting, while running at $31.8$ ms average latency on NVIDIA Thor.
BibTeX
@inproceedings{wang2026reflectdrive,
  author = {Huimin Wang and Yue Wang and Bihao Cui and Pengxiang Li and Ben Lu and Mingqian Wang and Tong Wang and Chuan Tang and Teng Zhang and Kun Zhan},
  title = {{ReflectDrive-2: Reinforcement-Learning-Aligned Self-Editing for Discrete Diffusion Driving}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=TgXR6fi9CK},
}
Figure