Introduction
High-definition (HD) maps are a cornerstone of modern autonomous driving systems, providing critical geometric and semantic information about the road environment. However, the traditional process of creating and maintaining these maps offline is labor-intensive and prohibitively expensive. Consequently, "online" map perception—generating vectorized map elements in real-time from onboard sensors—has emerged as a vital research area.
Despite its potential, online map perception faces significant challenges in reliability. Environmental factors such as sensor occlusion (e.g., a large vehicle blocking the camera) or adverse weather conditions (e.g., heavy rain or low light) often lead to fragmented or inaccurate map predictions. While existing methods utilize short-term temporal information from recent frames, they lack a robust long-term "memory" of the environment.
To address these limitations, we present HRMapNet, a novel framework that enhances online vectorized map perception by leveraging a lightweight, historical rasterized map. By integrating past perception results into the current frame's processing, HRMapNet achieves substantial improvements in accuracy and robustness.
The HRMapNet Framework
The core innovation of HRMapNet is the maintenance of a Global Historical Rasterized Map. Unlike previous attempts that stored high-dimensional Bird's-Eye-View (BEV) features—which can consume gigabytes of memory—HRMapNet stores semantic labels in a compact grid format. This approach is highly efficient, requiring only approximately 1 MB of memory per kilometer.
System Architecture
The framework operates through a continuous feedback loop consisting of three primary stages:
- Map Maintenance and Update: As the vehicle traverses an environment, its vectorized map predictions (lane dividers, pedestrian crossings, road boundaries) are converted into a rasterized format. These local snapshots are then merged into the global historical map using a simple yet effective update rule.
- BEV Feature Aggregation: During the perception of a new frame, a local slice of the historical map is retrieved based on the vehicle's current pose. This historical data is processed by a Map Encoder to generate features ($F_M$), which are then aggregated with image-based BEV features ($F_I$). This spatial prior guides the model's attention toward regions where map elements were previously observed.
- Query Initialization: In transformer-based map decoders, queries are typically initialized as learnable parameters. HRMapNet instead uses the historical map to provide a "prior" for these queries. By initializing queries with embeddings derived from the historical map, the model starts with a strong spatial and semantic hypothesis, significantly accelerating convergence and improving accuracy.
Experimental Evaluation
HRMapNet was evaluated on two large-scale autonomous driving benchmarks: nuScenes and Argoverse 2. To test the model's generalization capabilities, the authors also utilized a specific data split where training and validation locations are strictly separated.
Key Results
Integrating HRMapNet into state-of-the-art (SOTA) baselines like MapTRv2 and StreamMapNet yielded significant performance gains:
- Accuracy: On the nuScenes dataset, HRMapNet improved StreamMapNet by +5.9 mAP and MapTRv2 by +5.7 mAP.
- Efficiency: The system maintains real-time performance, achieving 17.0 to 21.1 FPS on an NVIDIA A100 GPU. The rasterized storage is exceptionally efficient, taking only 120 MB for an entire city's map data.
- Robustness: The framework proves resilient to localization noise. Even with simulated GPS/SLAM errors (0.1m translation and 0.01 rad rotation), the performance drop remained negligible (~1 mAP).
- Challenging Conditions: Qualitative analysis demonstrates that HRMapNet excels in scenarios where single-frame models fail, such as nighttime scenes or heavy rain, by "remembering" road structures from previous passes.
Discussion and Future Work
HRMapNet demonstrates that a lightweight historical prior can act as a powerful "cheat sheet" for online perception, effectively overcoming sensor limitations. The rasterized format not only ensures memory efficiency but also simplifies the merging of data from multiple passes or even multiple vehicles, hinting at the potential for crowdsourced mapping.
However, several areas for improvement remain. The current update logic uses a basic occupancy-grid style; future iterations could employ more sophisticated temporal modeling, such as recurrent neural networks, to improve consistency. Additionally, while the current focus is on static road elements, adapting the framework to handle dynamic environmental changes (e.g., road construction) is a critical next step for long-term deployment.
Summary updated