Introduction
Autonomous vehicles require high-definition (HD) maps for precise localization and path planning. While traditional HD maps are pre-built and manually maintained—a process that is both costly and difficult to scale—"online" map construction aims to build these maps in real-time using onboard sensors. However, current Transformer-based models often treat road elements as generic instances, ignoring the inherent geometric logic of road structures, such as the parallelism between lane dividers and road boundaries. This leads to issues with accuracy and geometric consistency.
Methodology
RelMap addresses these challenges by incorporating two structural priors into the standard Transformer decoder:
1. Class-aware Spatial Relation Prior
This module explicitly models the relative distance, scale, and orientation between map elements. By utilizing a learnable "Class Relation Matrix," the model's attention is modulated to prioritize relevant nearby structures. For instance, it encourages the model to associate a lane divider more closely with its adjacent road boundary than with a distant crosswalk.
2. MoE-based Semantic Prior
Recognizing that different road elements (e.g., linear lanes vs. rectangular crosswalks) have distinct geometric properties, RelMap employs a Mixture-of-Experts (MoE) architecture. Features are routed to specialized sub-networks based on predicted class probabilities from previous decoder layers. This "soft routing" approach improves stability and efficiency without requiring complex router networks or additional loss functions.
Experimental Results
RelMap was evaluated on the nuScenes and Argoverse 2 datasets, achieving state-of-the-art performance.
- Performance Benchmarks: On nuScenes, RelMap-TF (Temporal-Frame) achieved a record 77.1 mAP, significantly outperforming previous leaders like MapTracker. On Argoverse 2, RelMap-SF (Single-Frame) demonstrated superior 2D and 3D map construction capabilities.
- Data Efficiency: A key finding was RelMap's remarkable data efficiency; when trained on only 50% of the nuScenes dataset, it matched the performance of MapTRv2 trained on the full dataset.
- Qualitative Quality: Visually, RelMap produces cleaner and more regularized maps, maintaining parallel structures and clear boundaries where baseline models often fail.
Conclusion
RelMap demonstrates that explicitly modeling geometric relationships and semantic categories significantly enhances online HD map construction. By integrating structural priors, the framework achieves higher accuracy and better data efficiency while maintaining real-time performance (~16-20 FPS). Future work may involve integrating external structured knowledge, such as SD maps, to further improve long-range topological consistency.
Summary updated