Learning to Generate Maps from Trajectories

Sijie Ruan, Cheng Long, Jie Bao, Chunyang Li, Zisheng Yu, Ruiyuan Li, Yuxuan Liang, Tianfu He, Yu Zheng

Abstract

DeepMG is a novel deep learning framework designed to transform noisy, irregularly sampled GPS trajectories into accurate, routable road maps. By integrating a multi-task convolutional neural network (T2RNet) with a trajectory-aware topology refinement process, DeepMG addresses the limitations of traditional heuristic methods. It demonstrates significant performance gains, particularly in challenging scenarios involving low-sampling rates and closely-spaced parallel roads.

Introduction: The Challenge of Trajectory-Based Mapping

Accurate road maps are essential for modern urban services, yet maintaining them through traditional surveys is costly and slow. While GPS data from mobile devices provides a ubiquitous alternative, extracting clean maps from this data is difficult due to three primary hurdles:

  1. GPS Noise: Raw data is often offset from actual road positions.
  2. Variable Sampling Rates: Trajectories can range from dense (seconds) to sparse (minutes), complicating the distinction between turns and shortcuts.
  3. Parallel Roads: Nearby parallel roads are often merged by existing methods due to lack of resolution or structural priors.
Comparison of ground truth (GT) road networks with point-based and line-based trajectory representations.

Methodology: The DeepMG Framework

The authors propose DeepMG, a two-stage framework that treats map generation as a structured translation and refinement task.

Overview of the DeepMG architecture, showing the two-stage process of Geometry Translation and Topology Construction.

1. Geometry Translation (T2RNet)

DeepMG frames map generation as an image-to-image translation task using T2RNet, a deep CNN.

  • Dual-View Features: Features are extracted from a Spatial View (density, speed, direction) and a Transition View (movement between grid cells). The Transition View is crucial for understanding connectivity in sparse data by effectively "connecting the dots" before the neural network processes the data.
  • Multi-Task Learning: T2RNet simultaneously predicts a thin centerline and a wider road region. The region prediction acts as a powerful regularizer, helping the model pinpoint the exact centerline more accurately by first learning the general shape of the road.

2. Topology Construction

To convert the predicted centerlines into a routable graph, DeepMG employs:

  • Graph Extraction: Initial graph creation via skeletonization techniques.
  • Link Generation & Refinement: Potential links are generated to fill gaps and then pruned using real-world trajectory evidence. By "map-matching" real trajectories onto the new graph, DeepMG ensures the final topology reflects actual drivable paths rather than geometric shortcuts.

Key Insights and Results

Evaluation on real-world taxi datasets from Beijing (sparse) and Jinan (dense) revealed several key findings:

  • Performance Gains: DeepMG achieved a 32.3% improvement in F1 score on the sparse TaxiBJ dataset and a 6.5% improvement on the dense TaxiJN dataset compared to state-of-the-art baselines.
  • Visual Fidelity: The model excels at distinguishing parallel roads and complex structures like roundabouts, avoiding the "spaghetti" effect of overlapping lines common in traditional methods.
  • Ablation Success: Both multi-task learning and the transition view were proven essential; removing either led to a measurable drop in precision and recall.

Conclusion and Future Work

DeepMG represents a significant advancement in automated map generation. While it handles complex intersections well, limitations remain regarding grid dependency and the inability to infer roads without trajectory data. Future research may explore integrating satellite imagery with trajectory data to enhance map accuracy in data-sparse regions and addressing 3D multi-level interchanges.

Summary updated

BibTeX
@inproceedings{ruan2020learning,
  author = {Sijie Ruan and Cheng Long and Jie Bao and Chunyang Li and Zisheng Yu and Ruiyuan Li and Yuxuan Liang and Tianfu He and Yu Zheng},
  title = {{Learning to Generate Maps from Trajectories}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i01.5435},
}
Figure