Control Map Distribution using Map Query Bank for Online Map Generation

Ziming Liu, Leichen Wang, Ge Yang, Xinrun Li, Xingtao Hu, Hao Sun, Guangyu GaoarXiv 2025 · OpenReview

Abstract

Reliable autonomous driving systems require high-definition (HD) maps containing detailed information for planning and navigation. However, pre-building HD maps is costly. Visual-based Online Map Generation (OMG) has emerged as a low-cost alternative. Current query-based BEV Transformers learn HD map predictions from an initial map query distribution obtained via offline optimization. However, this distribution is limited by query count and often fails to adapt to specific scenarios. This paper proposes decomposing the HD map distribution into point representations called the Map Query Bank (MQBank). By leveraging low-cost Standard Definition (SD) maps as prior knowledge, MQBank generates scenario-specific initial distributions. Furthermore, MQBank maintains point-level information during interaction with dense BEV feature maps, preserving geometric detail. Experiments on the OpenLane-V2 benchmark demonstrate state-of-the-art performance, achieving 40.5% and 45.7% mAP on vehicle lanes and pedestrian areas, respectively.

Introduction

High-definition (HD) maps provide centimeter-level detail essential for autonomous vehicle navigation. Despite their utility, the high cost of manual annotation and maintenance limits their scalability. Online Map Generation (OMG) addresses this by constructing local HD maps in real-time from onboard camera feeds. State-of-the-art OMG models typically utilize Bird’s-Eye View (BEV) Transformers.

These models rely on "queries"—learnable embeddings that represent potential map elements. However, current approaches suffer from two main issues:

  1. Generic Initialization: Models often use a fixed set of queries learned from the entire training set, which represents a "mean" road structure that struggles with complex or unique intersections.
  2. Granularity Mismatch: Most models process map elements as whole instances, while visual BEV features are dense and point-level. This mismatch leads to a loss of fine-grained geometric detail.

Methodology

We introduce the Map Query Bank (MQBank) framework to address these limitations by rethinking query initialization and interaction.

SD Map as a Prior

Standard Definition (SD) maps, such as those from OpenStreetMap (OSM), are widely available and low-cost. Although they lack the precision of HD maps (often exhibiting 5–10 meter offsets), they provide critical topological priors. MQBank uses SD map coordinates to retrieve relevant feature embeddings from a learnable matrix, creating a scenario-specific "rough draft" for the model.

Figure 1: The MQBank pipeline integrates SD map priors to generate scenario-specific map query distributions for the decoder network.

Point-Level Interaction

Unlike instance-level methods, MQBank updates queries at the individual point level. This allows for more effective cross-attention with dense BEV features, ensuring that sharp geometric details, such as curves and lane shifts, are preserved in the final HD map prediction.

Experimental Setup

Evaluation was performed on the OpenLane-V2 benchmark (Subset A), comprising approximately 32,000 frames across 1,000 scenes. We integrated OSM data as the SD prior. To investigate the impact of prior quality, we developed a data rectification toolchain to correct misalignments and semantic errors in the raw OSM data, creating a "rectified" SD dataset.

Results and Discussion

The MQBank method significantly outperforms existing baselines, setting new records on the OpenLane-V2 benchmark.

Initialization and Distribution

A key insight is that controlling the initial query distribution drastically simplifies the learning task. By starting "in the ballpark" for specific intersections, the model converges more effectively.

Figure 4: Comparison of query distributions. MQBank (center) produces scenario-specific clusters compared to the generic "average" distribution of standard deep network encoding (right) or random initialization (left).

Quantitative Performance

MQBank achieved 40.5% mAP for vehicle lanes (up from a 33.9% baseline) and 45.7% mAP for pedestrian areas. Topology accuracy (TOPll) also improved to 38.4%. Notably, the model is highly efficient; MQBank with 200 queries outperforms baseline models using 800 queries, demonstrating that a well-initialized search space is more valuable than a high volume of generic queries.

Conclusion

MQBank demonstrates that low-cost SD maps can effectively guide the generation of high-fidelity HD maps. By shifting from instance-level to point-level queries and utilizing scenario-specific initialization, we achieve superior accuracy and efficiency. Future work will focus on optimizing the query bank to handle increasingly sparse or noisy SD data, further enhancing the system's global robustness.

Summary updated

BibTeX
@misc{liu2025control,
  author = {Ziming Liu and Leichen Wang and Ge Yang and Xinrun Li and Xingtao Hu and Hao Sun and Guangyu Gao},
  title = {{Control Map Distribution using Map Query Bank for Online Map Generation}},
  year = {2025},
  eprint = {2504.03868},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.03868},
}
Figure