cs.CVOct 1, 2026

MapLightning: Online Vectorized HD Map Construction with 1D Map Tokens

Authors: Shen Zheng, Anurag Ghosh, Mani Ramanagopal, Srinivasa Narasimhan

Organizations: Carnegie Mellon University

Abstract

Online vectorized HD map construction is essential for scaling safe autonomous driving and requires accurate, real-time inference. Prior methods typically rely on dense bird's-eye-view (BEV) grids as the intermediate representation. We propose \textit{MapLightning}, which replaces the dense BEV grid with a compact set of 1D learnable map tokens. To construct map tokens from image features, we choose self-attention over vanilla cross-attention because it enables joint interactions and contextual aggregation among image and map tokens. Our transformer-based mapper concatenates map and image tokens, applies full self-attention, discards the image tokens, and retains the updated map tokens for decoding. This design offers three advantages. First, our representation is efficient, using fewer tokens, consuming less memory, and running faster. Second, the lightweight design allows the map decoder to use full rather than deformable cross-attention for better global context. Third, unlike BEV-based methods, our network does not use camera projection parameters, making it robust to camera-extrinsic perturbations. MapLightning uses up to 16.7×\times fewer intermediate tokens than dense BEV-based methods and achieves state-of-the-art accuracy and efficiency on nuScenes and Argoverse2. Its lightweight variant surpasses MapTRv2 by +10.1 mAP on nuScenes and +16.2 mAP on Argoverse2, while delivering 1.73×\times faster inference (40+ FPS) with 53% less memory. We further show improvements on uncertainty-aware map construction and downstream trajectory prediction. Code and models will be released.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. GaussianMap: Learning Gaussian Representation for Multi-Sensor Online HD Map Construction

    Jun 30, 2026Hongyu Lyu, Julie Stephany Berrio Perez, Mao Shan +1Lane-Level Map GenerationBird'S-Eye View

  2. GSMap: 2D Gaussians for Online HD Mapping

    May 10, 2026Zhenxuan Zeng, Lingxuan Wang, Sheng Yang +4Lane-Level Map Generation3D Gaussian Primitives

  3. OptiMVMap: Offline Vectorized Map Construction via Optimal Multi-vehicle Perspectives

    Apr 18, 2026Zedong Dan, Zijie Wang, Wei Zhang +6Lane-Level Map GenerationBird'S-Eye View