Abstract
Generating city-scale lane-level maps faces significant challenges due to the intricate urban environments, such as blurred or absent lane markings. Additionally, a standard lane-level map requires a comprehensive organization of lane groupings, encompassing lane direction, style, boundary, and topology, yet has not been thoroughly examined in prior research. These obstacles result in labor-intensive human annotation and high maintenance costs. This paper overcomes these limitations and presents an industrial-grade solution named DuMapNet that outputs standardized, vectorized map elements and their topology in an end-to-end paradigm. To this end, we propose a group-wise lane prediction (GLP) system that outputs vectorized results of lane groups by meticulously tailoring a transformer-based network. Meanwhile, to enhance generalization in challenging scenarios, such as road wear and occlusions, as well as to improve global consistency, a contextual prompts encoder (CPE) module is proposed, which leverages the predicted results of spatial neighborhoods as contextual information. Extensive experiments conducted on large-scale real-world datasets demonstrate the superiority and effectiveness of DuMapNet. Additionally, DuMapNet has already been deployed in production at Baidu Maps since June 2023, supporting lane-level map generation tasks for over 360 cities while bringing a 95% reduction in costs. This demonstrates that DuMapNet serves as a practical and cost-effective industrial solution for city-scale lane-level map generation.
Introduction
High-definition (HD) maps are the lifeblood of autonomous driving and advanced navigation, but building them at a city scale is traditionally a labor-intensive process. Traditional methods rely on manual annotation or multi-stage pipelines that are prone to error accumulation. Two major technical hurdles stand in the way of full automation: complex urban environments with blurred markings or occlusions, and the need for structural organization, specifically lane groups and topology. Most existing research focuses on individual line detection, leaving the difficult task of grouping and connecting them to manual post-processing.
DuMapNet addresses these challenges by providing an industrial-grade, end-to-end system that automates the creation of city-scale, lane-level maps from bird’s-eye-view (BEV) imagery. By introducing group-wise lane prediction and a contextual prompt encoder, it achieves state-of-the-art accuracy while significantly reducing production costs.
Methodology
DuMapNet treats map generation as a unified vectorization task, taking a BEV image and outputting standardized map elements and their topology. Its architecture features two novel components designed to handle real-world complexity.
Contextual Prompts Encoder (CPE)
To maintain consistency as the system processes a city using a sliding window, the CPE uses the predicted results of neighboring areas as "prompts." This spatial memory helps the model infer missing lines in occluded areas by looking at the context of the surrounding road structure, ensuring global consistency without the memory overhead of processing an entire city at once.
Group-wise Lane Prediction (GLP)
Instead of predicting lines in isolation, DuMapNet predicts "lane groups." It uses a transformer-based decoder to output both lane lines and a "group polygon" that outlines the entire set of lanes. A specialized point-in-polygon loss ensures that predicted lane lines stay within their logical group boundaries, significantly improving structural accuracy through geometric synergy.
Experiments and Results
The researchers evaluated DuMapNet on massive, real-world datasets collected from Baidu Maps, including DuLD (134,524 images) and DuLD-L (one million images).
DuMapNet outperformed existing state-of-the-art models like MapTR and GeMap by a significant margin, achieving a +2.66% to +4.99% recall boost at high precision levels. The system maintains a competitive inference speed of roughly 26-28 FPS on an NVIDIA Tesla V100.
Real-World Impact
Since its deployment at Baidu Maps in June 2023, DuMapNet has supported lane-level map generation for over 360 cities. Most importantly, it has achieved a 95% reduction in production costs compared to traditional manual-heavy workflows, proving that end-to-end transformer architectures are ready for large-scale industrial application.
Conclusion
DuMapNet serves as a practical and cost-effective industrial solution for city-scale lane-level map generation. By leveraging spatial context and group-wise constraints, it overcomes the limitations of previous multi-stage or isolated prediction methods. Future work will focus on integrating multi-source data to better handle long-term static obstructions and exploring low-precision sources for dynamic map updates.
Summary updated