Skip to main content
QUICK REVIEW

[Paper Review] Improving the Generalization of End-to-End Driving through Procedural Generation

Quanyi Li, Zhenghao Peng|arXiv (Cornell University)|Dec 26, 2020
Autonomous Vehicle Technology and SafetyEngineering39 references9 citations
TL;DR

This paper introduces PGDrive, a procedurally generated, highly configurable driving simulator designed to improve the generalization of end-to-end deep learning-based driving agents. By dynamically generating diverse road networks from elementary blocks and varying traffic conditions, training on increasing procedural diversity significantly reduces collision rates and improves performance on unseen scenarios, demonstrating that procedural generation mitigates overfitting and enhances robustness in reinforcement learning agents.

ABSTRACT

Over the past few years there is a growing interest in the learning-based self driving system. To ensure safety, such systems are first developed and validated in simulators before being deployed in the real world. However, most of the existing driving simulators only contain a fixed set of scenes and a limited number of configurable settings. That might easily cause the overfitting issue for the learning-based driving systems as well as the lack of their generalization ability to unseen scenarios. To better evaluate and improve the generalization of end-to-end driving, we introduce an open-ended and highly configurable driving simulator called PGDrive, following a key feature of procedural generation. Diverse road networks are first generated by the proposed generation algorithm via sampling from elementary road blocks. Then they are turned into interactive training environments where traffic flows of nearby vehicles with realistic kinematics are rendered. We validate that training with the increasing number of procedurally generated scenes significantly improves the generalization of the agent across scenarios of different traffic densities and road networks. Many applications such as multi-agent traffic simulation and safe driving benchmark can be further built upon the simulator. To facilitate the joint research effort of end-to-end driving, we release the simulator and pretrained models at https://decisionforce.github.io/pgdrive

Motivation & Objective

  • Address the overfitting and poor generalization of end-to-end driving agents trained on limited, fixed simulator environments.
  • Develop a scalable, open-ended simulator that supports high diversity in road networks and traffic scenarios to evaluate and improve model generalization.
  • Investigate the impact of procedural generation on safety generalization and robustness across varying traffic densities, friction coefficients, and map complexities.
  • Enable benchmarking of end-to-end driving policies under controlled, reproducible, and diverse simulation conditions for future research.

Proposed method

  • Define elementary road blocks (e.g., Straight, Ramp, Fork, Roundabout, Curve, Intersection) with configurable parameters to form the basis of procedural map generation.
  • Implement a Block Incremental Generation algorithm that assembles random combinations of these blocks into executable, interactive driving environments.
  • Integrate realistic vehicle kinematics and multi-modal observations (Lidar-like point clouds, RGB/depth cameras, bird’s-eye semantic maps, scalar data) to simulate diverse sensory inputs.
  • Use reinforcement learning (PPO) with both standard reward shaping and Lagrangian constrained optimization to train agents under safety constraints.
  • Systematically vary training environments by increasing the number of procedurally generated scenes and controlling factors like traffic density and friction coefficient.
  • Evaluate generalization performance on unseen test scenarios with diverse map structures, traffic flows, and environmental conditions.

Experimental results

Research questions

  • RQ1To what extent does procedural generation of training environments improve the generalization of end-to-end driving agents across unseen road networks and traffic densities?
  • RQ2How does training diversity affect the safety generalization of deep reinforcement learning agents, particularly in terms of collision avoidance?
  • RQ3Can agents trained on isolated road block types generalize to complex, multi-block environments, or is joint training on composite maps necessary?
  • RQ4How do environmental hyperparameters such as traffic density and surface friction influence the generalization performance of trained policies?

Key findings

  • Training on an increasing number of procedurally generated environments significantly reduces collision rates and improves performance on unseen scenarios, demonstrating improved generalization.
  • The Lagrangian method for constrained reinforcement learning reduced test episode cost by approximately 50% compared to standard reward shaping, especially when training data was limited.
  • Agents trained with randomized traffic density across [0.0, 0.4] generalizes better to higher densities (e.g., 0.5–0.6) than agents fixed at 0.1 density, indicating the benefit of input diversity.
  • Agents trained on maps with multiple block types (e.g., 3-block combinations) generalize significantly better than agents trained on single-block environments, even when the latter are trained on 300 separate environments.
  • Policies trained on limited scenarios exhibit overfitting in safety performance, with high crash rates in unseen environments, highlighting the risk of real-world deployment without diverse training.
  • PGDrive achieves up to 500 simulation steps per second on a single PC, enabling efficient training and evaluation, and supports parallelization for scalability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.