FlexMap: Robust HD Map Construction under Flexible Camera Configurations

Run Wang, Chaoyi Zhou, Amir Salarpour, Xi Liu, Zhi-Qi Cheng, Feng Luo, Mert D. Pesé, Siyu HuangarXiv 2026

TL;DR

FlexMap is a novel vectorized HD mapping framework that eliminates the need for explicit camera calibration parameters or rigid 2D-to-BEV projections. By leveraging a geometry foundation model and a camera-aware decoder, a single shared model can robustly construct high-definition maps across diverse, changing camera configurations—even when camera views are missing or pose estimates are highly inaccurate.

What Problem Does This Paper Address?

High-definition (HD) maps provide critical semantic information about road structures (like lane dividers and pedestrian crossings) to help autonomous vehicles navigate safely. However, current state-of-the-art online mapping methods rely heavily on fixed, fully calibrated multi-camera rigs. They use explicit 2D-to-Bird's-Eye-View (BEV) geometric projections that require exact camera intrinsics and extrinsics.

In real-world crowdsourced fleets, this setup is brittle. Vehicles have heterogeneous camera configurations, and sensors frequently suffer from miscalibration, transient occlusions, or outright failure (missing views). When camera poses are noisy or views disappear, traditional projection-based pipelines break down, leading to fragmented or missing map elements. FlexMap addresses this gap by decoupling HD map construction from explicit camera parameters, allowing a single model to operate robustly across flexible camera setups.

Figure 1. FlexMap uses one shared model to construct HD maps from single-, paired-, and surround-view camera configurations.

Methods

FlexMap replaces explicit geometric projection with a feed-forward pipeline consisting of three main stages:

  1. Geometry Transformer: Instead of using camera matrices to project pixels into a BEV grid, FlexMap adopts a pre-trained feed-forward Geometry Foundation Model (GFM), specifically VGGT (built on DINOv2). This backbone extracts dense, cross-view 3D structurally grounded features directly from images without requiring any camera parameters as input.
  2. Spatial-Temporal Enhancement: To adapt the foundation model to dynamic driving scenes, FlexMap introduces a module that decouples spatial and temporal reasoning. It separately processes cross-view attention (connecting spatial features across different cameras at the same timestamp) and temporal attention (tracking features from the same camera across timestamps). This separation prevents spatial and temporal relationships from conflating, preserving static road structures under temporary occlusions.
  3. Camera-Aware Decoder: Different camera angles naturally observe different road geometries. To handle this without explicit pose data, the decoder utilizes a learned "camera token" produced for each view. This token conditions both the query initialization (predicting initial reference points) and the attention mechanism (modulating sampling offsets and attention sharpness), allowing the decoder to adapt to the specific orientation of each active camera view.

Datasets

The authors evaluated FlexMap on two major autonomous driving benchmarks:

  • nuScenes: Contains 1,000 driving scenes with synchronized images from 6 cameras. The authors tested four distinct camera configurations: Front-only, Back-only, Front+Back, and the full 6-view suite.
  • Argoverse 2: Contains 1,000 driving logs utilizing a different 7-camera arrangement, serving as a validation of the model's robustness across entirely different sensor layouts.

Key Insights and Ideas

  • Ditching the BEV Grid: Traditional methods force multi-view features into a unified ego-centric BEV grid, making them highly sensitive to calibration drift. FlexMap shows that maintaining features in perspective-view space and decoding them into camera-centric BEV polylines is a much more robust alternative.
  • Cameras Have "Personalities": The authors quantified that different camera perspectives exhibit systematic geometric differences. For instance, front and rear cameras observe long, longitudinal lane structures, while side cameras primarily capture fewer, shorter, lateral segments.
Camera-specific map element statistics
  • Leveraging Camera Tokens: By conditioning transformer queries on a view-specific camera token, the model automatically learns view-specific initialization and sampling patterns. This allows a single model to seamlessly adapt to varying view counts and orientations without needing configuration-specific retraining.

Key Results

  • Superiority Under Noisy Poses: When evaluated using realistic, estimated camera poses rather than perfect ground-truth calibration, standard baselines degrade drastically. On nuScenes (6-view setup), FlexMap achieves 44.8 mAP, vastly outperforming MapTRv2, which drops to 13.3 mAP (or 30.8 mAP even when specifically retrained on noisy poses).
  • Consistency Across Configurations: FlexMap maintains stable per-view mapping quality regardless of the active camera count. On nuScenes, it achieves 45.3 mAP for Front-only, 43.1 mAP for Back-only, and 44.1 mAP for Front+Back using the exact same shared model weights.
  • Scene-Level Consistency: When per-view camera-centric predictions are stitched together into a global map, FlexMap achieves 47.30% mIoU on nuScenes front-only inputs, significantly outperforming GeMap (38.10% mIoU), proving that its local predictions align cleanly into globally coherent maps.

Limitations and Future Work

  • Computational Overhead: While highly flexible, FlexMap runs at ~12 FPS for a single perspective view but drops to ~2 FPS when processing all six surrounding views on an NVIDIA RTX 4090. This latency presents a challenge for real-time deployment on edge hardware.
  • Frozen Geometry Backbone: The geometry foundation model (VGGT) remains frozen during training. The authors note that fine-tuning or co-designing the GFM specifically for semantic driving tasks could unlock further accuracy gains.
  • Downstream Integration: The current work focuses purely on map generation; validating how these pose-independent, camera-centric maps interface with downstream motion planning algorithms remains an open avenue for research.

Summary updated

BibTeX
@misc{wang2026flexmap,
  author = {Run Wang and Chaoyi Zhou and Amir Salarpour and Xi Liu and Zhi-Qi Cheng and Feng Luo and Mert D. Pesé and Siyu Huang},
  title = {{FlexMap: Robust HD Map Construction under Flexible Camera Configurations}},
  year = {2026},
  eprint = {2601.22376},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.22376},
}
Figure