NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Global Representation from Queries for Vectorized HD Map Construction

Shoumeng Qiu, Xinrun Li, Yang Long, Xiangyang Xue, Varun Ojha, Jian Pu

Introduction: The Challenge of Online HD Mapping

For an autonomous vehicle to navigate safely and effectively, it requires a High-Definition (HD) map of its environment. While traditional HD maps are pre-built, static, and expensive to maintain, modern autonomous driving research has shifted toward online HD map construction. In this paradigm, the vehicle builds a vectorized map of its surroundings in real-time using on-board sensors like cameras and LiDAR.

Currently, the state-of-the-art approach to online mapping utilizes the DETR (Detection Transformer) framework. In this setup, learnable vectors known as "queries" are trained to detect specific map elements, such as a single lane line, a road boundary, or a pedestrian crossing. However, while DETR has revolutionized object detection, applying it directly to map construction introduces a fundamental architectural blind spot.

The Core Problem: "Streaks" vs. "Spikes"

DETR was originally designed for traditional object detection—finding isolated, "spiky" distributions like cars, pedestrians, or traffic cones. HD maps, however, are composed of "streaks": continuous, interconnected geometric structures.

By treating map elements as independent objects, current DETR-based models inherently ignore the global context of the scene. Queries only focus on their local "patch" of the environment. This localized perspective frequently results in jagged lines, disconnected lanes, and a failure to capture the inherent, smooth geometry of complex road structures like roundabouts or winding intersections.

The MapGR Solution: A Global Perspective

To bridge this gap, researchers have proposed MapGR (Global Representation learning for HD Map construction). MapGR shifts the model's focus from local instance detection to a holistic structural understanding through two synergistic, plug-and-play modules:

1. Global Representation Learning (GRL)

Instead of allowing queries to operate in complete isolation, the GRL module aggregates all queries into a single "global embedding." This comprehensive embedding is then used to predict a holistic, rasterized (pixel-based) version of the entire map. Supervised by a segmentation loss, this task forces the model to ensure that the collective set of queries accurately represents the entire scene, rather than just disjointed fragments.

2. Global Representation Guidance (GRG)

Once the global representation is learned, the GRG module feeds this macro-level information back into each individual query. By endowing every query with explicit global-level contextual information, the queries can optimize their local predictions based on the broader layout of the map.

Crucially, MapGR is designed to be highly adaptable. It can be integrated into existing popular frameworks, such as MapTR or MapQR, with minimal architectural changes.

Key Insights and Training Dynamics

Beyond the architectural novelty, MapGR introduces several fascinating dynamics to the training process:

  • Gradients for Everyone: In standard DETR architectures, queries that fail to "match" a ground-truth object receive no gradient and effectively learn nothing during that training step. In MapGR, because all queries contribute to the global segmentation task, every query receives a gradient signal from the global loss. This leads to significantly more efficient and stable training.
  • Timing is Everything: The researchers discovered that global guidance is most effective when applied to the early layers of the transformer decoder. In later layers, as queries become highly specialized and precise, the relatively coarse global mask can actually conflict with fine-grained local refinements.
  • Downstream Benefits: Better maps lead directly to better driving. When MapGR’s outputs were fed into a downstream motion forecasting model (HiVT), the accuracy of predicted vehicle paths improved significantly, proving that the structural integrity of the map directly impacts downstream planning.

Datasets and Performance

MapGR was rigorously evaluated on two industry-standard benchmarks for autonomous driving: nuScenes (1,000 driving scenes from Boston and Singapore) and Argoverse 2 (1,000 scenes across six cities). The evaluation focused on road boundaries, lane dividers, and pedestrian crossings.

MapGR achieved state-of-the-art (SOTA) performance across multiple baselines:

  • Accuracy Boost: When integrated into MapTRv2, MapGR improved mean Average Precision (mAP) by 3.9% on the nuScenes dataset. When applied to the MapQR baseline, it achieved a SOTA mAP of 68.1%.
  • Visual Quality: Qualitative results demonstrated vastly smoother curvature in complex areas like intersections. Previous methods often produced fragmented or "wobbly" lines, whereas MapGR maintained geometric continuity.
  • Efficiency: Despite the substantial performance gains, the computational overhead is negligible. MapGR adds only about 1% to the processing time (approximately 1.2ms), making it highly suitable for real-time deployment in self-driving software stacks.

Limitations and Future Directions

While MapGR represents a significant leap forward, the authors note a minor bottleneck: the current global supervision relies on a rasterized mask with a fixed resolution (e.g., 200x100). As queries become extremely precise in the final stages of the model, this fixed resolution limits further refinement. Future work will likely explore more sophisticated, multi-scale global representations or supervision strategies that bypass fixed-grid rasterization entirely, pushing the boundaries of online HD mapping even further.

Summary updated

BibTeX
@inproceedings{qiu2026learning,
  author = {Shoumeng Qiu and Xinrun Li and Yang Long and Xiangyang Xue and Varun Ojha and Jian Pu},
  title = {{Learning Global Representation from Queries for Vectorized HD Map Construction}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=6Qu03WGp6x},
}
Figure