PivotNet: Vectorized Pivot Learning for End-to-end HD Map Construction

Wenjie Ding, Limeng Qiao, Xi Qiu, Chi ZhangICCV 2023

Abstract

Vectorized high-definition map online construction has garnered considerable attention in the field of autonomous driving research. Most existing approaches model changeable map elements using a fixed number of points, or predict local maps in a two-stage autoregressive manner, which may miss essential details and lead to error accumulation. Towards precise map element learning, we propose a simple yet effective architecture named PivotNet, which adopts unified pivot-based map representations and is formulated as a direct set prediction paradigm. Concretely, we first propose a novel point-to-line mask module to encode both the subordinate and geometrical point-line priors in the network. Then, a well-designed pivot dynamic matching module is proposed to model the topology in dynamic point sequences by introducing the concept of sequence matching. Furthermore, to supervise the position and topology of the vectorized point predictions, we propose a dynamic vectorized sequence loss. Extensive experiments and ablations show that PivotNet is remarkably superior to other SOTAs by 5.9 mAP at least.

Introduction

Autonomous vehicles rely heavily on High-Definition (HD) maps for precise localization, path planning, and navigation. Traditionally, these maps are constructed through labor-intensive manual annotation or offline SLAM-based pipelines. Recent research has shifted toward online construction, where onboard sensors generate map data in real-time.

While early online methods focused on "rasterized" representations—treating the road as a grid of pixels—these approaches are memory-intensive and require complex post-processing to extract usable vector lines. Modern "vectorized" approaches attempt to predict lines directly, but they often rely on a fixed number of points to represent every map element. This rigid modeling leads to "corner-smoothing" and a loss of geometric detail. PivotNet introduces a paradigm shift by representing map elements as a dynamic sequence of "pivotal points" (critical vertices), allowing for more precise and efficient geometry modeling.

Methodology

PivotNet is designed as a direct set prediction architecture that transforms multi-view camera inputs into vectorized map instances. The architecture is composed of four primary modules:

1. BEV Feature Decoder

The system begins by transforming multi-view camera images into a unified Bird’s-Eye-View (BEV) feature map. This provides a top-down perspective of the environment, which is essential for spatial reasoning and map element localization.

2. Point-to-Line Mask (PLM) Module

Unlike previous methods that utilized rigid hierarchical queries, the PLM module employs attention masks to group points into specific line instances. This allows the network to simultaneously learn the "subordinate" relationships (which points belong to which line) and the underlying geometrical priors of the road layout.

3. Pivot Dynamic Matching (PDM)

The PDM module is the core innovation of PivotNet. Because the number of pivotal points varies depending on the complexity of the road element (e.g., a straight lane vs. a sharp turn), the model uses a dynamic programming-based sequence matching algorithm. This algorithm finds the optimal alignment between predicted point sequences and ground truth, enabling the model to handle lines of arbitrary complexity without being constrained by a fixed index.

4. Dynamic Vectorized Sequence (DVS) Loss

To supervise the learning process, the DVS loss function focuses on three areas: the spatial position of pivots, the collinearity of points on a straight line, and a classification task to distinguish essential pivots from redundant points. This ensures that the resulting vectors are both accurate and compact.

Experimental Results

The authors evaluated PivotNet on the nuScenes and Argoverse 2 datasets, which are industry standards for autonomous driving benchmarks.

Quantitative Performance

PivotNet demonstrates a significant performance leap over previous state-of-the-art (SOTA) models such as MapTR and VectorMapNet. On the nuScenes benchmark, PivotNet achieved 49.2 mAP using a Swin-Tiny backbone. This represents a staggering improvement over MapTR’s 27.3 mAP and VectorMapNet’s 21.3 mAP.

Precision and Robustness

In stricter evaluation scenarios (using a 0.2m distance threshold), PivotNet maintained high accuracy while competing models saw their performance drop significantly. This suggests that PivotNet is far more capable of providing the centimeter-level precision required for safe autonomous navigation.

Key Insights

  • Geometry-Aware Sparsity: By focusing on "pivots" where a line changes direction, the model produces compact representations. A straight line may only require two points, while a curve receives more, preventing the "corner-smoothing" effect seen in fixed-point models.
  • Index Independence: PivotNet’s use of sequence matching makes the model independent of point order. It focuses on the shape's topology rather than the specific index at which a point was predicted.
  • Handling Complex Topologies: The model excels at "clustering" points at sharp turns or intersections, leading to sharper right angles and more accurate rounded corners compared to evenly-spaced point methods.

Conclusion and Future Work

PivotNet establishes a new state-of-the-art for end-to-end HD map construction by leveraging dynamic pivot learning. While highly effective, the authors note that the model currently operates within a predefined maximum number of points per instance and that the PDM module increases training complexity (though not inference time). Future research will explore extending this architecture to handle even more complex topological structures, such as Y-junctions and overlapping map layers.

Summary updated

BibTeX
@inproceedings{ding2023pivotnet,
  author = {Wenjie Ding and Limeng Qiao and Xi Qiu and Chi Zhang},
  title = {{PivotNet: Vectorized Pivot Learning for End-to-end HD Map Construction}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  url = {https://openreview.net/forum?id=KfmvzzbqZs},
}
Figure