From Fragments to Global Maps: Learning Vectorized Map Aggregation with Large Language Models
Organizations: Bosch Research North America · Bosch Center for Artificial Intelligence (BCAI) · The Ohio State University
Abstract
Large-scale vectorized HD maps provide structured road information that is essential for perception, localization, and planning in autonomous driving. Constructing such maps requires aggregating noisy, fragmented, and overlapping local predictions collected along a vehicle trajectory into a coherent global map. Existing aggregation methods typically rely on hand-crafted rules for fragment association and refinement. However, a fixed set of thresholds cannot effectively handle variations in road structures and prediction errors, often requiring detector-specific tuning or manual adjustment. To address this limitation, we propose MapMergeLLM, a data-driven framework that formulates vectorized map aggregation as conditional sequence generation with a large language model. Given serialized local vectorized maps, our model directly predicts the aggregated global map polylines. To reduce dependence on any particular upstream detector, we train the model on synthetic local maps generated from clean vector maps using corruptions that simulate representative prediction errors. We further introduce a coordinate tokenizer with geometry-aware pretraining to precisely represent map coordinates. In addition, we propose a line-level association loss that explicitly supervises correspondences between local observations of the same map element. Experiments on Argoverse2 and nuScenes using multiple recent upstream detectors demonstrate that MapMergeLLM substantially outperforms heuristic and optimization-based aggregation baselines without detector-specific retraining.
Figures & tables
| Argoverse2 | nuScenes | |||||||||||
| Lane Divider | Road Boundary | Lane Divider | Road Boundary | |||||||||
| Method | Prec. | Rec. | F1 | Prec. | Rec. | F1 | Prec. | Rec. | F1 | Prec. | Rec. | F1 |
| MapTracker ( Chen et al., 2024 ) | ||||||||||||
| VMA ( Chen et al., 2023 ) | 49.6 | 24.7 | 33.0 | 15.0 | 12.5 | 13.6 | 82.7 | 68.6 | 75.0 | 24.4 | 21.8 | 23.0 |
| MonoLaM ( Qiao et al., 2023b ) | 52.6 | 48.5 | 50.5 | 34.0 | 33.6 | 33.8 | 69.9 | 80.1 | 74.7 | 38.1 | 35.0 | 36.5 |
| Ours | 54.4 | 48.7 | 51.4 | 42.8 | 41.0 | 41.9 | 74.7 | 82.1 | 78.2 | 48.1 | 43.3 | 45.5 |
| Argoverse2 | nuScenes | |||||||||||
| Lane Divider | Road Boundary | Lane Divider | Road Boundary | |||||||||
| Setting | Prec. | Rec. | F1 | Prec. | Rec. | F1 | Prec. | Rec. | F1 | Prec. | Rec. | F1 |
| w/o Coord. Tok. | 54.6 | 38.7 | 45.3 | 41.1 | 38.6 | 39.8 | 62.0 | 77.2 | 68.7 | 35.7 | 32.3 | 33.9 |
| w/o Pretrain | 63.4 | 69.3 | 66.2 | 41.8 | 41.2 | 41.5 | 60.8 | 74.9 | 67.1 | 38.8 | 32.8 | 35.5 |
| w/o Contrastive | 67.3 | 73.5 | 70.3 | 46.8 | 46.5 | 46.6 | 64.7 | 78.0 | 70.7 | 40.6 | 36.2 | 38.2 |
| Ours (full) | 68.9 | 76.4 | 72.4 | 46.8 | 47.7 | 47.2 | 64.5 | 78.7 | 70.9 | 40.8 | 37.9 | 39.3 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Task | Example | Downstream role |
| Translation | [10,2] + [-25,30] = [-15,32] | coordinate translation |
| Subtraction | [30,40] - [10,15] = [20,25] | offset between two points |
| Midpoint | mid: [10,20] [30,40] -> [20,30] | merging nearby observations |
| Sorting | sorty: [7,5] [2,1] -> [2,1] [7,5] | spatial ordering |
| Nearest point | near [0,0]: [3,4] [10,2] -> [3,4] | geometric distance comparison |
| Bounding box | bbox: [3,9] [-4,2] -> [-4,2] [3,9] | spatial extent of a polyline |
| Argoverse2 | nuScenes | |||||||||||
| Lane Divider | Road Boundary | Lane Divider | Road Boundary | |||||||||
| Training data | Prec. | Rec. | F1 | Prec. | Rec. | F1 | Prec. | Rec. | F1 | Prec. | Rec. | F1 |
| MapTracker | ||||||||||||
| Detection outputs | 51.6 | 37.1 | 43.1 | 33.7 | 31.5 | 32.6 | 80.7 | 73.5 | 76.9 | 42.4 | 31.9 | 36.4 |
| Synthetic ( Ours ) | 54.4 | 48.7 | 51.4 | 42.8 | 41.0 | 41.9 | 74.7 | 82.1 | 78.2 | 48.1 | 43.3 | 45.5 |
| StreamMapNet | ||||||||||||
HD Map Construction
High-definition map construction turns sensor and geographic data into precise, structured road maps for autonomous driving and simulation.
See all 39 papers