RIFT: Group-Relative RL Fine-Tuning for Realistic and Controllable Traffic Simulation

Keyu Chen, Wenchao Sun, Hao Cheng, Sifa Zheng · Submission to ICLR 2026 · Rejected

TL;DR

Balancing human-like realism and controllable behavior in closed-loop traffic simulation has long been an either/or compromise between data-driven imitation and physics-based reinforcement learning. RIFT bridges this gap using a two-stage paradigm: pre-training an autonomous vehicle (AV) planner via imitation learning on real-world data, followed by group-relative reinforcement learning fine-tuning inside a physics engine. By fine-tuning only the trajectory-scoring head with an equal-weight, dual-clipped surrogate objective, RIFT mitigates covariate shift and controls driving style without collapsing trajectory diversity or realism.

What Problem Does This Paper Address?

Reliable closed-loop evaluation of autonomous vehicles requires traffic agents that are both realistic (resembling natural human driving) and controllable (steerable into specific driving styles and routes).

Existing approaches struggle to deliver both:

  1. Data-driven imitation learning (IL) models mimic human trajectories well in open-loop settings, but suffer from severe covariate shift and simplified dynamics when deployed in closed-loop simulators, often leading to unrealistic long-term behaviors like phantom braking or stalling.
  2. Physics-based reinforcement learning (RL) supports interactive, high-fidelity dynamics, but often lacks expert human demonstrations—resulting in unnatural, overly aggressive, or gamey behaviors.
  3. Standard closed-loop RL fine-tuning typically updates only the single best action or trajectory, collapsing multimodal behavioral diversity.

Methods

RIFT introduces an AV-centric "pre-train then fine-tune" framework combining a data-driven model with a physics simulator:

[Real-World Data (nuPlan)] 
       │
       ▼ (Imitation Learning Pre-training)
[Pluto Planner: Generation Head (Frozen) + Scoring Head]
       │
       ▼ (Closed-loop Interaction in CARLA)
[Identify Critical Background Vehicles (CBVs)]
       │
       ▼ (Forward Simulation of G Candidates)
[Group-Relative RL Fine-Tuning (RIFT on Scoring Head)]
  • Two-Stage Architecture: The policy builds on Pluto, an IL planner pre-trained on real-world trajectories to establish route-level control and trajectory realism.
  • Critical Background Vehicle (CBV) Selection: To avoid simulating every agent exhaustively, RIFT uses route-level interaction analysis (measuring relative distance-to-goal differences along intersecting paths) to dynamically identify which background vehicles are most likely to interact with the ego AV.
  • Asymmetry-Aware Fine-Tuning: Because route-conditioned trajectory generators remain structurally sound while trajectory scoring heads degrade under covariate shift, RIFT freezes the trajectory generation head and only fine-tunes the scoring head.
  • Equal-Weight Group-Relative Objective: Rather than using standard GRPO (which weights updates by the old policy's probabilities and biases learning toward frequent modes), RIFT assigns equal weights to all $G$ candidate rollouts. This maintains multimodal diversity and rewards rare, high-performing candidates.
  • Dual-Clip Optimization Without KL Anchor: To prevent anchoring the policy to a biased pre-trained reference, RIFT removes the explicit KL-divergence penalty. To maintain stability, it introduces a dual-clip surrogate loss that lower-bounds clipped negative advantages.
  • Forward Simulation Rollouts: Instead of evaluating raw planned waypoints, candidate paths are tracked via a PID controller and kinematic bicycle model in CARLA, capturing true dynamic feasibility before computing state-wise rewards.

Datasets

  • nuPlan: Used for Stage-1 imitation learning pre-training of the Pluto planning backbone.
  • Bench2Drive / CARLA: Used for closed-loop physics simulation, training (Bench2Drive220), and evaluation (dev10).
  • Target AV Planners: Evaluated against multiple autonomous driving agents, including PDM-Lite (privileged rule-based expert), PlanT, UniAD, and VAD.

Key Insights and Ideas

  • Covariate shift degrades components asymmetrically: Generating diverse path geometries is robust; judging which path is safe during long closed-loop rollouts is fragile. Decoupling generation from scoring prevents RL from destroying human-like trajectory geometry.
  • Old-policy weighting hurts multimodality: In discrete candidate selection, importance sampling ratios weighted by $\pi_{\text{old}}$ suppress rare but valuable maneuvers. Uniform weighting treats the candidate pool as a listwise ranking problem, preserving behavioral variety.
  • The "Feasibility vs. Naturalness" stress test: Good test traffic should not cause artificial gridlocks (measured by low Blocked Rate under a privileged planner like PDM-Lite), yet should challenge learning-based policies. RIFT achieves both: a 0.00% blocked rate under PDM-Lite while precipitating performance drops in end-to-end models.

Key Results

  • Realism & Kinematics: Under the PDM-Lite AV setting, RIFT achieved the highest speed normality score (S-SW: 0.97) and lowest Wasserstein distance to target speed (S-WD: 4.46 vs. 5.81 for base Pluto).
  • Interactivity: RIFT achieved a Route Progress of 995.33 m (compared to 564.14 m for Pluto and 780.48 m for supervised fine-tuning) while maintaining superior safety margins (2D-TTC: 2.74 s, ACT: 2.71 s).
  • Exposing Weaknesses in AVs: When tested against learning-based autonomous driving systems, RIFT-generated traffic triggered significant driving score degradations ($\Delta\text{DS}$ of -50.50 on PlanT, -20.99 on UniAD, and -26.54 on VAD) without producing unfeasible or invalid scenarios.

Limitations and Future Work

  • Bounded Candidate Expressiveness: Because the generation head is frozen, RIFT cannot recover if all generated reference-line candidates are blocked (e.g., severe gridlock or obstacle-narrowed corridors).
  • Route-Overlap Reliance: CBV selection depends on geometric path overlap, which can miss non-overlapping cross-traffic conflicts at complex intersections. Constant-velocity TTC filtering also proved prone to false positives.
  • Tracking Instabilities: Low-level PID controllers introduce discontinuities and abrupt accelerations, leading to relatively high driving discomfort metrics (UCR and Jerk) across simulated agents.

Summary updated

BibTeX
@misc{chen2025rift,
  author = {Keyu Chen and Wenchao Sun and Hao Cheng and Sifa Zheng},
  title = {{RIFT: Group-Relative RL Fine-Tuning for Realistic and Controllable Traffic Simulation}},
  year = {2025},
  eprint = {2505.03344},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.03344},
}
Figure