MapQR icon indicating copy to clipboard operation
MapQR copied to clipboard

This is the official implementation of MapQR, an end-to-end method with an emphasis on enhancing query capabilities for constructing online vectorized maps.

MapQR

Leveraging Enhanced Queries of Point Sets for Vectorized Map Construction

Zihao Liu1*, Xiaoyu Zhang2*, Guangwei Liu3*, Ji Zhao3#, Ningyi Xu1#

1 Shanghai Jiao Tong University, 2 The Chinese University of Hong Kong, 3 Huixi Technology

*Equal contribution. #Corresponding author.

ArXiv Preprint (arXiv 2402.17430)

Overview

pipeline This project introduces MapQR, an end-to-end method with an emphasis on enhancing query capabilities for constructing online vectorized maps. Although the map construction is essentially a point set prediction task, MapQR utilizes instance queries rather than point queries. These instance queries are scattered for the prediction of point sets and subsequently gathered for the final matching. This query design, called the scatter-and-gather query, shares content information in the same map element and avoids possible inconsistency of content information in point queries. We further exploit prior information to enhance an instance query by adding positional information embedded from their reference points. Together with a simple and effective improvement of a BEV encoder, the proposed MapQR achieves the best mean average precision (mAP) and maintains good efficiency on both nuScenes and Argoverse 2.

The main contribution is the proposed scatter-and-gather query, illustrated in the following figure.

Models

nuScenes dataset

Method Backbone Epoch mAP1 mAP2 Config Download
MapQR R50 24 43.3 66.4 config model
MapQR R50 110 50.5 72.6 config model
  • mAP1 is measured under the thresholds { 0.2, 0.5, 1.0 }
  • mAP2 is measured under the thresholds { 0.5, 1.0, 1.5 }

Getting Started

These settings keep the same as MapTRv2

  • Installation
  • Prepare Dataset
  • Train and Eval
  • Visualization

Acknowledgements

MapQR is mainly based on MapTRv2.

It is also greatly inspired by the following outstanding contributions to the open-source community: BEVFormer, GKT, ConditionalDETR, DAB-DETR.

Citation

If you find MapQR is useful in your research or applications, please consider giving us a star 🌟 and citing it by the following BibTeX entry.

@article{liu2024leveraging,
  title={Leveraging Enhanced Queries of Point Sets for Vectorized Map Construction},
  author={Liu, Zihao and Zhang, Xiaoyu and Liu, Guangwei and Zhao, Ji and Xu, Ningyi},
  journal={arXiv preprint arXiv:2402.17430},
  year={2024}
}