Abstract: Understanding which traffic light controls which lane is crucial to navigate intersections safely. Autonomous vehicles commonly rely on High Definition (HD) maps that contain information about the assignment of traffic lights to lanes. The manual provisioning of this information is tedious, expensive, and not scalable. To remedy these issues, our novel approach derives the assignments from traffic light states and the corresponding motion patterns of vehicle traffic. This works in an automated way and independently of the geometric arrangement. We show the effectiveness of basic statistical approaches for this task by implementing and evaluating a pattern-based contribution method. In addition, our novel rejection method includes accompanying safety considerations by leveraging statistical hypothesis testing. Finally, we propose a dataset transformation to re-purpose available motion prediction datasets for semantic map learning. Our publicly available API for the Lyft Level 5 dataset enables researchers to develop and evaluate their own approaches.
Introduction
Autonomous vehicles (AVs) rely on High Definition (HD) maps to navigate safely. A critical but often overlooked component of these maps is the Traffic Light to Lane Assignment (TL2LA)—knowing exactly which bulb controls which lane. Traditionally, this is done manually or through geometric heuristics (e.g., "the light closest to the lane probably controls it"). However, intersections are complex; lights are often placed far from the lanes they control, and "arrow" inlays are hard for sensors to detect reliably. Manual annotation is expensive and doesn't scale. This paper proposes a behavior-based approach: if cars consistently stop when a specific light is red and move when it's green, that light likely controls that lane.
Methodology
The authors propose two main statistical methods to derive TL2LA from temporal correspondences between vehicle trajectories and traffic light states:
- Pattern-based Contribution Method: A heuristic "voting" system where vehicle behaviors (velocity, acceleration, distance to intersection) at specific times add or subtract "points" toward an assignment.
- Rejection Method: A safety-prioritized approach using a binomial hypothesis test. It starts with the null hypothesis that every light controls every lane and only removes an assignment if a statistically significant number of vehicles pass the intersection while that specific light is red.
Dataset Transformation
A key contribution is a framework to re-purpose standard motion prediction datasets (like Argoverse 2.0, nuScenes, Waymo, and Lyft Level 5) for semantic map learning. By appending future trajectories to past ones, the authors create "complete" vehicle paths necessary for training. They have released a publicly available API for the Lyft Level 5 dataset to facilitate benchmarking in this domain.
Key Results and Insights
The methods were evaluated on the Lyft dataset across 271 traffic light-to-lane pairs.
- Safety and Recall: The Rejection Method achieved a 98.3% recall and an 87.2% F1-score. In AV mapping, missing a traffic light assignment (False Negative) is more dangerous than stopping for an irrelevant light (False Positive).
- Correcting the Ground Truth: The algorithm identified 20 incorrect labels in the original, manually annotated Lyft HD map, demonstrating that behavior-based systems can exceed human reliability.
- Data Efficiency: Performance stabilizes as the number of observed scenes increases, indicating that a moderate amount of traffic data is sufficient for accurate mapping.
Limitations and Future Work
The system's primary limitation is data dependency; it cannot map lanes with low traffic or lights that rarely change state during observation. Additionally, perfectly synchronized lights cannot be distinguished by motion data alone, suggesting a need for hybrid models that combine motion data with geometric priors. Future work will also address rare edge cases like emergency vehicles or illegal maneuvers.
The project's code and API are available at: https://github.com/map-learning/tl2la
Summary updated