Introduction
Training autonomous driving agents using Reinforcement Learning (RL) often encounters a fundamental bottleneck: the difficulty of the training environment. Scenarios that are too simple lead to overfitting and poor generalization, while overly chaotic environments result in training instability and failure to converge. This paper introduces a novel Automatic Curriculum Learning (ACL) framework designed to navigate this "Goldilocks zone" of difficulty. By utilizing a teacher-student architecture that dynamically generates and mutates driving scenarios based on an agent’s current "learning potential," the approach improves success rates by up to 21% in high-traffic environments compared to standard domain randomization.
The Challenge of End-to-End Training
Training "End-to-End" (E2E) driving agents—where a neural network maps raw sensor data directly to control commands like steering and acceleration—is notoriously difficult. Current training methodologies generally fall into three categories, each with significant drawbacks:
- Fixed Scenarios: The agent trains on a static set of maps, leading to high performance in simulation but catastrophic failure in real-world, unseen environments due to overfitting.
- Domain Randomization (DR): The simulator randomly samples environment parameters. While this improves generalization, it is highly inefficient; the agent wastes computational resources on scenarios that are either trivial or impossibly complex.
- Manual Curricula: Human experts design a sequence of increasingly difficult levels. This process is labor-intensive, difficult to scale, and often introduces human bias that may not align with the agent's actual learning needs.
Proposed Methodology
The authors propose an automated teacher-student framework based on the ACCEL algorithm, optimized for the spatial complexities of driving.
Graph-Based Environment Representation
Instead of relying on dense image-based maps for scenario generation, the framework utilizes a directed graph representation. Nodes represent potential positions for the agent, NPCs (Non-Player Characters), or obstacles, while edges define the road topology. This abstraction allows the teacher to precisely place actors in valid, feasible positions without the need for complex masking or manual validation.
The Teacher: Generator and Editor
The "teacher" component consists of two modules:
- Random Generator: Creates diverse new scenarios by sampling road layouts and actor configurations to ensure broad coverage of the state space.
- Editor: Identifies scenarios where the agent shows high "learning potential" and applies mutations—such as adjusting vehicle speeds or adding obstacles—to refine the challenge and keep the agent at the frontier of its capabilities.
Quantifying Learning Potential
The framework uses Positive Value Loss (derived from the Generalized Advantage Estimator) as its primary metric. If the agent’s value function (its internal estimate of expected reward) has a high error in a specific scenario, it indicates that the agent has not yet mastered that environment but is capable of learning from it. These high-potential scenarios are stored in a Scenario Buffer for prioritized replay and mutation.
Experimental Results
Experiments were conducted in the CARLA simulator, focusing on complex, unsignalized T-intersections and 4-way intersections. The ACL framework was compared against "Fixed" training and standard "Domain Randomization" (DR) baselines.
Key Performance Metrics
- Generalization: In hold-out intersections never seen during training, the ACL agent achieved a 9% higher success rate in low traffic and a 21% higher success rate in high traffic compared to DR.
- Safety and Robustness: Collision rates were significantly reduced. In high-density traffic, the ACL agent maintained a 44% collision rate, whereas the DR baseline suffered a 65% rate and the Fixed baseline reached 83%.
- Training Efficiency: As shown in the performance plots, the ACL agent (Ours) scales to handle a significantly higher number of actors much faster than the DR baseline, demonstrating superior sample efficiency.
Discussion and Insights
The core "aha" moment of this research is the efficiency gained by explicitly excluding scenarios the agent has already mastered or those that are currently too overwhelming. By using an evolutionary mutation strategy via the "Editor," the curriculum evolves smoothly. It is far more effective to find a "slightly harder" version of a known challenge than to randomly stumble upon a perfectly difficult new one.
Furthermore, by encoding the environment as a graph with rotation- and translation-invariant attributes, the deep-learning-based editor generalizes its mutation strategies across different road layouts, making the system highly adaptable.
Limitations and Future Work
While the results are promising, the authors note that the current study focuses primarily on vehicle-to-vehicle interactions. Future iterations will need to incorporate non-road-bound NPCs such as pedestrians and cyclists to capture the full unpredictability of urban environments. Additionally, while the framework improves sample efficiency, the computational overhead of evaluating learning potential for every scenario remains an area for optimization.
Summary updated