Abstract
High Definition (HD) maps are maps with precise definitions of road lanes with rich semantics of the traffic rules. They are critical for several key stages in an autonomous driving system, including motion forecasting and planning. However, there are only a small amount of real-world road topologies and geometries, which significantly limits our ability to test out the self-driving stack to generalize onto new unseen scenarios. To address this issue, we introduce a new challenging task to generate HD maps. In this work, we explore several autoregressive models using different data representations, including sequence, plain graph, and hierarchical graph. We propose HDMapGen, a hierarchical graph generation model capable of producing high-quality and diverse HD maps through a coarse-to-fine approach. Experiments on the Argoverse dataset and an in-house dataset show that HDMapGen significantly outperforms baseline methods. Additionally, we demonstrate that HDMapGen achieves high efficiency and scalability.
1. Introduction
High Definition (HD) maps are the lifeblood of autonomous vehicles (AVs), providing centimeter-level precision of lane boundaries, intersections, and traffic rules. However, creating these maps is a significant bottleneck, requiring expensive sensor fleets and painstaking manual annotation. Furthermore, the scarcity of real-world road topologies limits the ability to test self-driving software in novel environments. Existing procedural modeling is often too rigid, while previous generative models for city layouts lack the fine-grained lane-level details necessary for safe navigation.
HDMapGen addresses these challenges as the first deep generative model designed to produce high-quality, vectorized HD maps. By utilizing a hierarchical graph representation, it separates high-level road topology from fine-grained lane geometry, enabling the generation of diverse and realistic road networks.
2. Methodology
HDMapGen employs an autoregressive hierarchical graph generative model using a coarse-to-fine approach. The generation process is divided into three distinct stages:
- Global Graph Generation: The model first generates a "skeleton" of the map where nodes represent key points (intersections or lane endpoints) and edges represent lanes. This keeps the adjacency matrix small and dense, facilitating the learning of complex topologies via a Recurrent Graph Attention Network.
- Local Graph Generation: For every edge created in the global graph, a local generator (an MLP-based decoder) produces a sequence of control points that define the lane's specific curvature and geometry.
- Semantic Tagging: A specialized decoder predicts attributes for these lanes, such as traffic light controls.
3. Key Insights: Hierarchy and Complexity
A primary innovation of HDMapGen is the use of hierarchy to reduce computational complexity. Representing a map as a single sequence of points is inefficient because intersections require "revisiting" the same point multiple times, leading to sparse and difficult-to-learn adjacency matrices. In contrast, a hierarchical graph treats an intersection as a single node shared by multiple edges.
As shown in the comparison above, the hierarchical approach results in a much more compact adjacency matrix (23 nodes vs. 97 in a sequence model), which significantly improves scalability and generation speed. Furthermore, by using a graph-based structure, the model inherently enforces road network continuity, avoiding the "dead-end" problems common in sequence-to-sequence models like SketchRNN.
4. Experimental Results
The model was evaluated on the public Argoverse dataset and a large-scale in-house dataset covering San Francisco. Key findings include:
- Superior Fidelity: HDMapGen significantly outperformed baselines (SketchRNN and PlainGen) across urban planning metrics, such as connectivity and reachability.
- Efficiency: The model generates a 200m x 200m map in just 0.20 seconds, representing a 10x speedup over sequence-based models.
- Diversity and Scalability: By adjusting a sampling temperature parameter, the model generates a wide variety of novel road layouts. It successfully scales to 400m x 400m areas, providing meaningful environments for AV simulation.
5. Conclusion and Future Work
HDMapGen represents a major step forward in synthetic map generation for autonomous driving. While currently focused on lanes and traffic lights, future work will aim to incorporate broader semantic features like crosswalks and stop signs. The ultimate goal is to integrate these synthetic maps into end-to-end simulation loops to improve the generalization of autonomous driving agents in the real world.
Summary updated