PriorDrive: Enhancing Online HD Mapping with Unified Vector Priors

Shuang Zeng, Xinyuan Chang, Xinran Liu, Yujian Yuan, Shiyi Liang, Zheng Pan, Mu Xu, Xing Wei

TL;DR

PriorDrive is a plug-and-play framework that enhances online High-Definition (HD) mapping by seamlessly integrating diverse, vectorized prior maps (such as standard definition maps or outdated vendor data). By utilizing a Unified Vector Encoder and a novel geometry-focused pre-training strategy, it overcomes sensor limitations like occlusion and bad weather to produce significantly more accurate and complete real-time maps.

What Problem Does This Paper Address?

Autonomous vehicles rely heavily on HD maps for safe navigation and decision-making. While building these maps in real-time using on-board sensors (online mapping) avoids the high cost of manual curation, it frequently fails in tricky real-world conditions. Heavy rain, night conditions, or occlusions from large trucks can blind a vehicle's cameras and LiDARs. Furthermore, sensor resolution drops drastically at longer distances.

Prior maps—such as OpenStreetMap's standard definition (SD) maps, outdated vendor HD maps, or historical drive logs—contain valuable structural clues about the road ahead. However, integrating them is incredibly difficult. They come in varying formats (points, lines, polygons), have variable lengths, and often suffer from alignment errors or outdated information. PriorDrive tackles the challenge of uniformly encoding and fusing these messy, multi-source vector priors into existing online mapping pipelines.

Figure 1: Overview of PriorDrive. PriorDrive seamlessly integrates diverse vectorized prior maps into existing online mapping frameworks, making final predictions more complete and accurate than those generated without priors. The optimized predic- tions can be uploaded to cloud servers for other vehicles to download and use as prior maps.

Methods

The authors introduce three core components to handle and fuse vector priors:

  1. Unified Vector Encoder (UVE): Inspired by text models like BERT, UVE treats vector points as words and map elements as sentences. It uses a Fused Prior Embedding (FPE) to combine coordinates, directions, and map element types, followed by a Dual Encoding Mechanism (intra-vector and inter-vector attention layers) to handle variable-length inputs and output fixed-length features.
  2. Point- and Segment-Level Pre-training: To make the UVE robust against noisy or misaligned historical data, the authors introduce a self-supervised position modeling task. They randomly inject Gaussian noise or mask out points and segments, forcing the encoder to reconstruct the clean map structure.
  3. Hybrid Prior Representation (HPQuery): For query-based mapping models, HPQuery integrates prior features at both the instance and point levels via addition, replacement, or concatenation operations. For non-query models (like CNN-based segmentation), features are upsampled and concatenated directly with Bird's-Eye View (BEV) features.

Datasets

The framework was evaluated across three major autonomous driving benchmarks:

  • nuScenes: Used for standard evaluation and a challenging "new split" where training and validation data are strictly separated by geographic location.
  • Argoverse 2: Used to validate 3D vectorized map element prediction.
  • OpenLane-V2 (Subset A): Used to test the framework's capability in complex lane centerline perception and topology reasoning tasks.

Key Insights and Ideas

  • Vectors over Rasterization: Unlike previous methods that convert vector priors into lossy, computationally heavy raster images, PriorDrive processes vectors natively. This preserves fine-grained geometry, direction, and topology while aligning with the native storage format of maps.
  • The Power of Imperfect Priors: Even highly imperfect priors (like an SD map with low accuracy or an outdated HD map) provide massive structural anchors. Online sensors can easily refine these anchors rather than trying to predict complex geometry from scratch.
  • Crowdsourced Self-Improvement: The framework creates a virtuous cycle: a vehicle uses historical priors to make a better map prediction, which can then be uploaded back to a cloud server to serve as an improved prior for the next vehicle.

Key Results

PriorDrive acts as a universal booster across multiple architectures with minimal computational overhead:

  • Significant Performance Gains: On nuScenes, it boosted the raster-based HDMapNet by 7.2 mIoU and the query-based MapTRv2 by 14.3 mAP (reaching 75.8 mAP).
  • Long-Range Foresight: In large perception ranges (up to 240m × 120m), it significantly outperformed temporal-only mapping models, demonstrating excellent long-range forecasting.
  • Robustness to Weather and Occlusion: Qualitative results show it successfully recovers road elements completely hidden by occlusions or blurred by night/rain conditions.
Qualitative results comparison

Limitations and Future Work

The paper assumes access to some form of prior map data; performance gains might degrade in entirely unmapped or newly constructed rural areas where no historical data or SD maps exist. Additionally, while the paper demonstrates that the framework handles misalignments well, extremely large discrepancies between the prior map and reality (e.g., a completely redesigned intersection) could introduce conflicting information.

The authors suggest that the iterative use of historical prediction maps as priors will lead to progressively refined map outputs, providing a scalable solution for autonomous fleets.

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, while their performance in distant regions remains unsatisfying. This paper proposes PriorDrive to address these limitations by directly harnessing the power of various vectorized prior maps, significantly enhancing the robustness and accuracy of online HD map construction. Our approach integrates a variety of prior maps uniformly, such as OpenStreetMap's Standard Definition Maps (SD maps), outdated HD maps from vendors, and locally constructed maps from historical vehicle data. To effectively integrate such prior information into online mapping models, we introduce a Hybrid Prior Representation (HPQuery) that standardizes the representation of diverse map elements. We further propose a Unified Vector Encoder (UVE), which employs fused prior embedding and a dual encoding mechanism to encode vector data. To improve the UVE's generalizability and performance, 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, Argoverse 2 and OpenLane-V2, we demonstrate that PriorDrive is highly compatible with various online mapping models and substantially improves map prediction capabilities. The integration of prior maps through PriorDrive offers a robust solution to the challenges of single-perception data, paving the way for more reliable autonomous vehicle navigation. Code is available at https://github.com/MIV-XJTU/PriorDrive.
BibTeX
@inproceedings{zeng2026priordrive,
  author = {Shuang Zeng and Xinyuan Chang and Xinran Liu and Yujian Yuan and Shiyi Liang and Zheng Pan and Mu Xu and Xing Wei},
  title = {{PriorDrive: Enhancing Online HD Mapping with Unified Vector Priors}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i15.38223},
}
Figure