RLGF: Reinforcement Learning with Geometric Feedback for Autonomous Driving Video Generation

Tianyi Yan, Wencheng Han, xia zhou, Xueyang Zhang, Kun Zhan, Cheng-zhong Xu, Jianbing Shen

Abstract

Current generative models can produce visually stunning driving videos, yet they often fail "3D sanity tests," introducing geometric distortions that hinder downstream autonomous driving (AD) tasks. We introduce RLGF (Reinforcement Learning with Geometric Feedback), a framework that optimizes video generation using specialized perception models to provide hierarchical geometric rewards. By addressing the "geometric domain gap," RLGF ensures synthetic data maintains spatial consistency in vanishing points, lane topology, and depth. Evaluated on the nuScenes dataset, RLGF significantly improves 3D object detection performance and reduces geometric errors, narrowing the gap between synthetic and real-world training data.

Introduction: The Geometric Domain Gap

While state-of-the-art models like Sora or Stable Video Diffusion generate videos that appear realistic to humans, they often lack the underlying 3D structure required for autonomous vehicle training. Standard training objectives, such as pixel-wise Mean Squared Error (MSE), prioritize visual appearance over spatial accuracy. This results in "hallucinated" geometry—shifting vanishing points, misaligned lanes, and physically impossible depth maps. For AD systems, these subtle errors are catastrophic, making synthetic data unreliable for 3D perception tasks.

Comparison between original video generation models and RLGF. RLGF corrects geometric distortions such as misaligned planes, lines, and perspectives, while showing how geometric structure emerges during the denoising process.

Methodology: RLGF Framework

RLGF treats video generation as a Reinforcement Learning problem where the generation model is the agent and the environment provides feedback on geometric accuracy.

Hierarchical Geometric Reward (HGR)

RLGF employs pre-trained AD perception models to evaluate generated videos across multiple geometric levels:

  • Point-level: Ensures vanishing point consistency.
  • Line-level: Validates lane topology and alignment.
  • Plane-level: Maintains depth coherence for road surfaces.
  • Scene-level: Enforces 3D occupancy and volumetric consistency.

Latent-Space Windowing

To manage the computational cost of training on long diffusion chains, RLGF utilizes a "sliding window" approach. Rewards are applied to noisy latent features within randomly sampled windows of the denoising process. This allows the model to receive targeted feedback: early steps focus on global perspective, while later steps refine local geometric details.

Key Insights: Progressive Geometry

A critical observation in this work is that geometric structures emerge progressively during diffusion. Global features like vanishing points settle in the early stages, whereas fine details like lane markings are refined toward the end. RLGF’s windowed optimization exploits this temporal hierarchy, effectively "distilling" 3D spatial knowledge from specialized perception models (e.g., DINOv2, SAM-2) into the generative model without requiring architectural changes.

Experimental Results

The researchers evaluated RLGF by fine-tuning two state-of-the-art baselines, MagicDrive-v2 and DiVE, on the nuScenes dataset.

3D Detection and Geometric Fidelity

RLGF demonstrated substantial improvements in the utility of synthetic data for downstream tasks. Notably, applying RLGF to the DiVE model increased the 3D object detection mean Average Precision (mAP) from 25.75% to 31.42%, significantly closing the gap to real-world performance (35.53%).

Quantitative comparison on nuScenes: RLGF significantly enhances 3D object detection (3DOD) and reduces geometric errors (GeoScore) across multiple baselines.

Beyond detection metrics, RLGF drastically reduced geometric errors as measured by the new GeoScore suite:

  • Vanishing Point (VP) error decreased by 21%.
  • Depth error was reduced by 57%.
  • Lane Topology scores improved by approximately 11%.

Conclusion and Future Work

RLGF proves that visual realism does not equate to geometric integrity. By incorporating geometric feedback, generative models can produce data that is not only visually plausible but also mathematically sound for 3D perception. Future work will focus on expanding these rewards to include LiDAR consistency and exploring performance under adverse weather and complex urban conditions.

Summary updated

BibTeX
@inproceedings{yan2025rlgf,
  author = {Tianyi Yan and Wencheng Han and xia zhou and Xueyang Zhang and Kun Zhan and Cheng-zhong Xu and Jianbing Shen},
  title = {{RLGF: Reinforcement Learning with Geometric Feedback for Autonomous Driving Video Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=EATkC9iHE3},
}
Figure