Driving with Prior Maps: Unified Vector Prior Encoding for Autonomous Vehicle Mapping

Shuang Zeng, Xinyuan Chang, Xinran Liu, Zheng Pan, Xing Wei

Abstract

High-Definition Maps (HD maps) are essential for the precise navigation and decision-making of autonomous vehicles, yet their creation and upkeep present significant cost and timeliness challenges. The online construction of HD maps using on-board sensors has emerged as a promising solution; however, these methods can be impeded by incomplete data due to occlusions and inclement weather. This paper proposes the PriorDrive framework to addresses these limitations by harnessing the power of prior maps, significantly enhancing the robustness and accuracy of online HD map construction. Our approach integrates a variety of prior maps, such as OpenStreetMap's Standard Definition Maps (SD maps), outdated HD maps from vendors, and locally constructed maps from historical vehicle data. To effectively encode this prior information into online mapping models, we introduce a Hybrid Prior Representation (HPQuery) that standardizes the representation of diverse map elements. At the core of PriorDrive is the Unified Vector Encoder (UVE), which employs a dual encoding mechanism to process vector data. Furthermore, we propose a segment-level and point-level pre-training strategy that enables the UVE to learn the prior distribution of vector data. Through extensive testing on the nuScenes dataset, we demonstrate that PriorDrive is highly compatible with various online mapping models and substantially improves map prediction capabilities.

Introduction

High-Definition (HD) maps are the bedrock of autonomous vehicle (AV) navigation, providing centimeter-level detail about lanes, boundaries, and traffic elements. However, traditional HD maps are incredibly expensive to maintain and often outdated by the time they reach the vehicle. While the industry has shifted toward online HD mapping—where the vehicle builds its own map in real-time using on-board sensors—these sensors have inherent "blind spots." Large vehicles can occlude lane lines, and inclement weather or night conditions can severely degrade visibility.

PriorDrive aims to bridge this gap by creating a unified way to ingest and exploit "messy" prior information, such as OpenStreetMap (SD maps) or historical vehicle logs. By providing a reliable "safety net" of prior knowledge, the framework allows AVs to maintain high-fidelity environmental awareness even when sensor data is incomplete.

Methodology

The PriorDrive framework introduces three core innovations to handle vectorized map data effectively:

  1. Unified Vector Encoder (UVE): Unlike previous methods that convert maps into images (rasterization), UVE treats map elements as pure vectors. It uses a dual encoding mechanism: intra-instance attention to refine features within a single map element and inter-instance attention to capture global context and relationships between different elements.
  2. Hybrid Prior Representation (HPQuery): This module standardizes diverse map elements into a format that can be seamlessly injected into existing query-based mapping models (like MapTR). It supports flexible integration operations including addition, replacement, and concatenation.
  3. Vector-Specific Pre-training: Borrowing from the success of Masked Autoencoders (MAE), the authors propose a pre-training paradigm specifically for vectors. By training the UVE to reconstruct original geometry from noisy or masked prior maps, the model learns the underlying "grammar" of road structures, making it robust to the noise found in real-world historical data.
Overview of the PriorDrive framework, illustrating the integration of diverse map priors through a Unified Vector Encoder to enhance online mapping.

Key Results and Insights

PriorDrive achieved substantial quantitative gains across major industry-standard datasets:

  • nuScenes: Improved the MapTR baseline by a massive 16 mAP. It also boosted the raster-based HDMapNet by 7.2 mIoU.
  • Argoverse 2: Achieved an 8.1 mAP improvement over previous state-of-the-art models.
  • OpenLane-V2: Reached a top score of 48.5 OLS, outperforming specialized topology models.

Qualitative results demonstrate that when a vehicle's view is blocked (e.g., by a bus), the model uses the prior map to accurately "hallucinate" hidden lane lines. Despite the added complexity, the system maintains a real-time-capable frame rate of approximately 10 FPS on an NVIDIA RTX A6000, with the UVE component accounting for only 15.3% of the total runtime.

Conclusion

PriorDrive demonstrates that keeping map data in vector format is superior to rasterization, as it preserves fine-grained instance-level information. By treating priors as a unified vector stream and utilizing specialized pre-training, the framework offers a robust solution to the challenges of single-perception data. Future work may explore the iterative use of historical predictions, where each drive progressively refines a self-healing mapping ecosystem.

Summary updated

Abstract

High-Definition Maps (HD maps) are essential for the precise navigation and decision-making of autonomous vehicles, yet their creation and upkeep present significant cost and timeliness challenges. The online construction of HD maps using on-board sensors has emerged as a promising solution; however, these methods can be impeded by incomplete data due to occlusions and inclement weather. This paper proposes the PriorDrive framework to addresses these limitations by harnessing the power of prior maps, significantly enhancing the robustness and accuracy of online HD map construction. Our approach integrates a variety of prior maps, such as OpenStreetMap's Standard Definition Maps (SD maps), outdated HD maps from vendors, and locally constructed maps from historical vehicle data. To effectively encode this prior information into online mapping models, we introduce a Hybrid Prior Representation (HPQuery) that standardizes the representation of diverse map elements. At the core of PriorDrive is the Unified Vector Encoder (UVE), which employs a dual encoding mechanism to process vector data. The intra-vector encoder captures fine-grained local features, while the inter-vector encoder integrates global context. Furthermore, we propose a segment-level and point-level pre-training strategy that enables the UVE to learn the prior distribution of vector data, thereby improving the encoder's generalizability and performance. Through extensive testing on the nuScenes dataset, we demonstrate that PriorDrive is highly compatible with various online mapping models and substantially improves map prediction capabilities. The integration of prior maps through the PriorDrive framework offers a robust solution to the challenges of single-perception data, paving the way for more reliable autonomous vehicle navigation.
BibTeX
@inproceedings{zeng2026driving,
  author = {Shuang Zeng and Xinyuan Chang and Xinran Liu and Zheng Pan and Xing Wei},
  title = {{Driving with Prior Maps: Unified Vector Prior Encoding for Autonomous Vehicle Mapping}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i15.38223},
}
Figure