Abstract
Data driven approaches for decision making applied to automated driving require appropriate generalization strategies, to ensure applicability to the world's variability. Current approaches either do not generalize well beyond the training data or are not capable to consider a variable number of traffic participants. Therefore we propose an invariant environment representation from the perspective of the ego vehicle. The representation encodes all necessary information for safe decision making. To assess the generalization capabilities of the novel environment representation, we train our agents on a small subset of scenarios and evaluate on the entire diverse set of scenarios. Here we show that the agents are capable to generalize successfully to unseen scenarios, due to the abstraction. In addition we present a simple occlusion model that enables our agents to navigate intersections with occlusions without a significant change in performance.
Introduction
Navigating complex intersections remains a significant challenge for autonomous systems. While Deep Reinforcement Learning (DRL) has shown promise, it often struggles with generalization—the ability to apply learned behaviors to novel road geometries. An agent trained on a standard four-way stop might fail when encountering a Y-junction or a multi-lane merge because traditional "bird's-eye view" (BEV) grids or fixed-size vehicle lists are highly sensitive to geometric changes and do not scale well with the number of traffic participants.
This research proposes an Invariant Environment Representation (IER) to bridge this gap. By shifting the focus from raw map coordinates to a path-relative perspective, the agent learns universal driving logic that persists across diverse intersection layouts and occlusions.
Methodology: Invariant Environment Representation
The core innovation is the IER, which utilizes a Frenet coordinate system centered on the ego vehicle's intended path. Instead of a 2D grid, the environment is discretized into 50 "path patches," each 1 meter long.
For each patch, the system calculates two primary values:
- Time-To-Occupancy (TTO): The predicted time until another vehicle enters the patch.
- Time-To-Vacancy (TTV): The predicted time until that vehicle leaves the patch.
By unifying multiple vehicles into blocks of occupied time, the model handles an arbitrary number of traffic participants. Furthermore, the researchers implemented a "worst-case" occlusion model: if a lane segment is hidden, the AI assumes a vehicle is present at the speed limit, encoding this as a potential collision risk. The agent was trained using Deep Q-Learning (DQN) with Double-Q learning and Prioritized Experience Replay.
Experimental Setup and Generalization
The agents were trained and tested using the SUMO (Simulation of Urban MObility) simulator across 13 distinct scenarios, ranging from simple one-lane roads to complex multi-lane merges and Y-junctions. To test generalization, agents were trained on a small subset (e.g., only 3-lane intersections) and then evaluated on the entire diverse set.
Key Results and Insights
- High Generalization Success: Agents trained on complex 3-lane intersections achieved a mean success rate of 84.2% across all 13 unseen scenarios. This suggests that "harder" training data forces the AI to learn more robust, universal features.
- Occlusion Handling: With the occlusion model, the agent's success rate in blind-spot scenarios reached 87.5%, significantly outperforming standard Time-To-Collision (TTC) heuristic baselines.
- The Intersection Bit: A simple binary input indicating the start of an intersection proved critical, allowing the agent to "creep" forward to resolve occlusions safely.
- Human-like Velocity Control: Qualitatively, the agents demonstrated smooth control, slowing for intersections and accelerating into gaps rather than exhibiting binary "stop-go" behavior.
Conclusion
By representing the environment through time-based occupancy along a path rather than spatial coordinates, DRL agents can achieve remarkable generalization across varied road geometries. Future work will focus on relaxing the constant velocity assumption for other vehicles, moving toward continuous action spaces for even smoother control, and refining the occlusion model to be more probabilistic and less conservative in high-traffic areas.
Summary updated