# 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*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152356) · [OpenReview](https://openreview.net/forum?id=TgXR6fi9CK) · [Open on the map](../papers.html#p152356)

Category: [Robotics, VLA & World Models](../pcat/4.md) › [Vision-Language-Action Autonomous Driving](../pgroup/88.md) · Type: new method · Keywords: discrete diffusion planning, self-editing trajectories, reinforcement learning for driving, autonomous driving, efficient decoding

Areas: [AI Agents](../areas/agents.md) › Vision-Language-Action Systems › Vision-language-action planning; [Multimodal](../areas/multimodal.md) › Action and World Models › Vision-language-action reasoning; [RL for LLMs & Agents](../areas/llm-rl.md) › Language Model Reinforcement Learning › Policy Optimization for Vision-Language-Action

## Summary
ReflectDrive-2 is a masked discrete diffusion planner with a self-editing capability that uses reinforcement learning to improve trajectory planning for autonomous driving.

## Explained to a 5-year-old
A self-driving car needs to know where to move at each moment. It makes a plan by breaking the road into small steps. These steps are like words in a sentence, so they can be changed easily. When the car is driving, it can edit some steps if it sees something unexpected. It learns to edit by first practicing with a teacher who shows the right steps.

## Explained to a 5-year-old, longer
A self-driving car needs to know where to move at each moment. It makes a plan by breaking the road into small steps. These steps are like words in a sentence, so they can be changed easily. When the car is driving, it can edit some steps if it sees something unexpected. It learns to edit by first practicing with a teacher who shows the right steps. Then it gets a small reward when the final plan is good. It also learns from the whole journey, not just the last step. To make decisions fast, it reuses information it already knows. It also uses a clever way to decode steps one by one. This helps it run quickly on the car's computer. The result is a car that can plan and adjust its route smoothly and safely.

## For a technical reader
The system generates driving trajectories as discrete tokens using a masked diffusion model, allowing in-place edits without an extra refinement network. It is trained in two stages: first with structure-aware perturbations to recover expert trajectories, then with full-rollout reinforcement learning that assigns a terminal reward and propagates policy gradients. An efficient decoding stack reuses key-value caches, uses alternating step decoding, and fuses unmasking to achieve low latency.

## Problem
Autonomous driving systems need to generate safe and accurate trajectory plans that can be revised efficiently during inference. Existing diffusion planners often require separate refinement networks, making editing costly and less integrated.

## Method
The approach uses a masked discrete diffusion model that generates trajectory plans as discrete tokens via parallel decoding, and incorporates an in-place editing mechanism that rewrites selected tokens without an extra network. Training proceeds in two stages: first, structure-aware perturbations of expert trajectories are used to supervise recovery of the original trajectory, then the full decision-draft-reflect rollout is fine-tuned with reinforcement learning, assigning a terminal driving reward and propagating policy-gradient credit through the entire rollout. An efficient reflective decoding stack is co-designed, leveraging shared-prefix key-value reuse, alternating step decoding, and fused on-device unmasking.

## Results
The approach reaches 91.0 PDMS on camera-only inputs and 94.8 PDMS in a best-of-6 oracle setting on NAVSIM, while operating at an average latency of 31.8 ms on NVIDIA Thor hardware.

## Contributions
It introduces a discrete diffusion planner with an in-place self-editing capability that eliminates the need for a separate refinement network, and demonstrates that full-rollout reinforcement learning significantly improves editing gains over purely supervised training. The paper also presents an efficient reflective decoding stack that reduces latency for real-time autonomous driving.

## Research questions this paper is counted under

- [How can autonomous driving systems incorporate explicit future reasoning to generate safe, coordinated, and interpretable trajectories?](../q/8.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152356)
