P-MapNet: Far-Seeing Map Generator Enhanced by Both SDMap and HDMap Priors

Zhou Jiang, Zhenxin Zhu, Pengfei Li, Huan-ang Gao, Tianyuan Yuan, Yongliang Shi, Hang Zhao, Hao Zhao

TL;DR

P-MapNet bridges the gap between onboard perception and expensive offline High-Definition Maps (HDMaps) by incorporating two ubiquitous map priors: weakly aligned Standard-Definition Maps (SDMaps from OpenStreetMap) and structural HDMap distribution priors via a Masked Autoencoder (MAE). This dual-prior strategy dramatically expands the vehicle's effective perception horizon—delivering up to a +18.7% mIoU boost on long-range perception benchmarks.

What Problem Does This Paper Address?

Modern autonomous driving stacks rely heavily on pre-built HDMaps for centimeter-level lane boundaries, dividers, and crosswalks. However, building and updating offline HDMaps is notoriously tedious, capital-intensive, and fails to scale globally.

While recent research aims to build HDMaps online using onboard sensors (cameras and LiDAR), current online constructors hit two fundamental roadblocks:

  1. Distant invisibility: Sensor accuracy degrades sharply over long distances due to occlusions, weather, and sensor resolution limits.
  2. Structural fragmentation: Standard dense Bird’s-Eye-View (BEV) segmentation decodes maps pixel-by-pixel, leading to broken lane lines, disconnected crosswalks, and unnatural artifacts.

Methods

P-MapNet tackles these problems by infusing two complementary priors into the online map estimation pipeline:

[Cameras / LiDAR] ──> [BEV Extractor] ──┐
                                       ├──> [Cross-Attention Fusion] ──> [Initial HDMap] ──> [MAE ViT Refiner] ──> [Final HDMap]
 [OpenStreetMap]  ──> [SDMap CNN]     ──┘
  1. SDMap Prior via Cross-Attention:
  2. The authors extract road centerline skeletons from freely available OpenStreetMap (OSM) data and rasterize them into BEV.
  3. Because standard consumer GPS signals and OSM entries suffer from spatial misalignment, directly concatenating features degrades performance.
  4. Instead, P-MapNet downsamples BEV sensor features into BEV queries and runs multi-head cross-attention over the SDMap prior features, allowing the model to adaptively "snap" to the true road alignment.
  5. HDMap Prior via Masked Autoencoding (MAE):
  6. To teach the model what real-world road networks look like (e.g., parallel lanes, continuous curves, standard intersection geometries), the authors pretrain a Vision Transformer (ViT) on masked HDMap layouts.
  7. During inference, this module acts as a plug-and-play refinement network, taking the initial noisy pixel-wise predictions and inpainting missing segments while pruning artifacts.

Datasets

The authors evaluated P-MapNet across two leading autonomous driving benchmarks, augmenting both with aligned OpenStreetMap data:

  • nuScenes: 1,000 driving scenes in Boston and Singapore equipped with 6 cameras and LiDAR.
  • Argoverse 2: 1,000 scenarios across 6 US cities evaluated using multi-camera setups.
  • Augmented SDMap Data: The authors processed and released OSM road centerlines covering both datasets' operational design domains (filtering out non-main service roads to avoid noise).

Key Insights and Ideas

  • SDMaps act as "long-range vision": Standard onboard perception drops in fidelity after 30–50 meters. Because SDMaps cover global topologies regardless of distance, their relative performance contribution increases dramatically the farther out you predict.
  • Attention solves weak GPS alignment: Simple concatenation of misaligned maps misleads the network. Cross-attention acts as an elastic alignment mechanism, letting sensor evidence verify and shift SDMap road skeletons.
  • Generative priors fix perceptual fragmentation: Pixel-wise cross-entropy losses fail to enforce topological connectivity. Training a Transformer to reconstruct randomly masked road patches (with an optimal 50% mask ratio) injects structural connectivity directly into the model.
  • More data isn't always better (The Service Road Trade-off): Including secondary service roads/alleys from OSM actually lowered mIoU by ~2%, as dataset ground truths often omit informal roads, causing the model to treat real paths as noise.

Key Results

  • nuScenes Long-Range (240m × 60m):
  • Camera + LiDAR: P-MapNet achieved 49.93% mIoU, outperforming the baseline HDMapNet (36.47%) by +13.46% mIoU.
  • Camera-only: Jumped from 26.77% to 45.50% mIoU (+18.73% margin).
  • In instance vectorization, average precision (mAP) increased from 17.25 to 26.61 mAP.
  • Argoverse 2 (120m × 60m, Camera-only):
  • Improved baseline mIoU from 33.73% to 42.53% (+8.80%).
  • Broad Applicability: Integrating the SDMap prior module into end-to-end vectorized frameworks like MapTR boosted performance at 240m range from 8.03 to 16.53 mAP (+8.50).
  • Perceptual Realism: Refinement lowered LPIPS perceptual error by up to 9.5%, confirming fewer broken lane artifacts.

Limitations and Future Work

  • Inference Latency: The HDMap prior refinement Transformer is computationally heavy, consuming ~66.1 ms (66.9%) of the total 98.9 ms pipeline runtime on an RTX 3090, reducing overall throughput to 6.6–9.6 FPS.
  • Vulnerability to Map Discrepancies: If a real-world fork or minor lane is missing from OpenStreetMap trunk data, the model can sometimes over-rely on the prior and suppress valid near-range road detections observed by onboard sensors. Future work could investigate adaptive weighting between sensor confidence and prior reliance.

Summary updated

BibTeX
@article{jiang2024p,
  author = {Zhou Jiang and Zhenxin Zhu and Pengfei Li and Huan-ang Gao and Tianyuan Yuan and Yongliang Shi and Hang Zhao and Hao Zhao},
  title = {{P-MapNet: Far-Seeing Map Generator Enhanced by Both SDMap and HDMap Priors}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2024},
  url = {https://openreview.net/forum?id=yENU0A8YOH},
}
Figure