PlannerRFT: Reinforcing Diffusion Planners through Closed-Loop and Sample-Efficient Fine-Tuning

Hongchen Li, Tianyu Li, Jiazhi Yang, Haochen Tian, Caojun Wang, Lei Shi, Mingyang Shang, Zengrong Lin, Gaoqiang Wu, Zhihui Hao, Xianpeng Lang, Jia Hu, Hongyang Li

TL;DR

PlannerRFT introduces a sample-efficient reinforcement fine-tuning (RFT) framework for diffusion-based autonomous driving planners, overcoming the pervasive issue of mode collapse during training exploration. By pairing a dual-branch optimization strategy with a newly developed, GPU-accelerated simulator (nuMax), the framework achieves state-of-the-art closed-loop driving performance while accelerating simulation rollouts by 10×.

What Problem Does This Paper Address?

While diffusion models excel at generating human-like driving trajectories via imitation learning (IL), they frequently fail when deployed in closed-loop environments due to distributional shift—the compounding of small errors when the vehicle deviates from the training data.

Reinforcement fine-tuning (RFT) can bridge this gap, but standard diffusion planners face a fundamental bottleneck: modality collapse. During the denoising process, different random noise inputs tend to converge into nearly identical trajectories, severely limiting the model's ability to explore alternative maneuvers. Conversely, existing "anchor-based" fixes use fixed, scenario-agnostic paths that often conflict with the actual driving context, introducing noisy gradients that destabilize reinforcement learning.

Figure 1. Comparison to Denoising Strategies across various diffusion planning paradigms. (a) Vanilla diffusion planners suf- fer from mode collapse, offering limited exploration. (b) Anchor- based methods are oriented towards scenario-agnostic actions, leading to noisy interactions. (c) Our policy-guided denoising en- ables both multi-modal and scenario-adaptive sampling, yielding stable and efficient exploration for optimization.

Methods

The authors propose PlannerRFT, which introduces a dual-branch optimization framework to simultaneously refine trajectory generation and adaptively guide exploration without changing the original inference pipeline.

  1. Policy-Guided Denoising: Instead of relying on fixed anchors, a dedicated Exploration Policy learns to dynamically modulate lateral and longitudinal guidance scales based on the specific driving context and a frozen reference trajectory. This energy-based classifier guidance injects residual offsets into the denoising process, generating smooth, scene-compatible, and diverse trajectory options.
  2. Dual-Branch Optimization:
  3. Trajectory Optimization: Uses Group Relative Policy Optimization (GRPO) to fine-tune the core Diffusion Transformer (DiT) decoder.
  4. Exploration Optimization: Uses Proximal Policy Optimization (PPO) to train the Exploration Policy via closed-loop simulator interactions.
  5. Survival Reward Formulation: To prevent training stagnation in difficult scenarios (where all sampled trajectories might end in a collision and return a flat zero reward), the authors introduce a reward that accumulates non-terminal points, explicitly encouraging the planner to learn behaviors that delay or avoid failure.
  6. nuMax Simulator: To handle the massive throughput required for online RL, the authors built nuMax, a GPU-parallel simulator built on top of Waymax and calibrated specifically for the nuPlan benchmark.
Figure 2. Overview of PlannerRFT. We enhance multi-modality during RL sampling through Guided Denoising, with guidance scales modulated by the Exploration Policy to generate scenario-adaptive trajectories (Sec. 4.2). The planner gathers on-policy interaction data through Closed-Loop Rollout in simulation (Sec. 4.3). A dual-branch optimization framework performs Trajectory Optimization and Exploration Optimization to steer the denoising process (Sec. 4.4).

Datasets

The framework was trained and evaluated using the large-scale nuPlan benchmark:

  • Fine-tuning Dataset: 144,494 non-overlapping scenarios extracted from nuPlan. The authors segmented these into different mixes: Fail (collisions/off-road cases), Lt90 (low-scoring and failure cases), and All.
  • Evaluation Benchmarks: Tested across Val14 (general driving), Test14-hard (highly complex/interactive scenarios), and Test14-random (randomly selected challenges) under both non-reactive and reactive background traffic settings.

Key Insights and Ideas

  • Context-Aware Exploration is Mandatory: Agnostic or purely uniform exploration introduces massive reward variance, destabilizing the policy. Guiding the exploration based on the scene context yields stable training and higher performance ceilings.
  • The Danger of Over-Filtering Hard Cases: Intuitively, one might want to fine-tune a model only on scenarios where it fails. However, the authors found that training exclusively on collision cases (Fail) causes severe performance degradation across the board—the planner essentially "forgets" how to execute normal driving maneuvers. A balanced dataset combining low-score and failure cases (Lt90) yields the best results.
  • Survival Over Termination: Standard terminal rewards provide weak gradient signals in complex scenarios because all exploration paths collapse to zero upon failure. Rewarding the model for surviving longer provides a smoother optimization gradient.

Key Results

  • State-of-the-Art Performance: PlannerRFT achieved top-tier performance across nuPlan benchmarks, notably outperforming the baseline Diffusion Planner on the challenging Test14-hard reactive benchmark by +2.99 points (72.21 vs 69.22).
  • Emergent Human-like Behaviors: Qualitative evaluations showed that fine-tuned models successfully learned complex interactive behaviors, such as waiting for pedestrians at intersections or executing decisive lane changes around stationary vehicles, which the IL-pretrained models failed to handle.
  • 10× Simulation Speedup: The custom nuMax simulator achieved up to a tenfold increase in rollout speed compared to the native CPU-bound nuPlan simulator, making large-scale distributed RL fine-tuning practical.
Illustration of the nuMax simulator architecture, showing the scenario cache, JAX-based LQR tracker, and distributed RL training pipeline.

Limitations and Future Work

  • Abstract Inputs Only: PlannerRFT currently operates on structured, object-level abstract inputs (e.g., bounding boxes and vector maps) rather than raw sensory data like camera images or LiDAR point clouds. Extending this sample-efficient RFT framework to end-to-end vision-language-action (VLA) models remains an open challenge.
  • Traffic Simulation Simplification: To maintain high training speeds, the background traffic in nuMax during training relies on log-replay rather than fully reactive intelligent driver models (IDM), which can limit the complexity of multi-agent interactions during the fine-tuning phase.

Summary updated

BibTeX
@inproceedings{li2026plannerrft,
  author = {Hongchen Li and Tianyu Li and Jiazhi Yang and Haochen Tian and Caojun Wang and Lei Shi and Mingyang Shang and Zengrong Lin and Gaoqiang Wu and Zhihui Hao and Xianpeng Lang and Jia Hu and Hongyang Li},
  title = {{PlannerRFT: Reinforcing Diffusion Planners through Closed-Loop and Sample-Efficient Fine-Tuning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=vanxQGhwY6},
}
Figure