Kharita: Robust Map Inference using Graph Spanners

Rade Stanojevic, Sofiane Abbar, Saravanan Thirumuruganathan, Sanjay Chawla, Fethi Filali, Ahid AleimatarXiv 2017

Abstract

Digital maps are essential for modern logistics and autonomous driving, yet maintaining them using crowdsourced GPS data remains a significant challenge due to noise and complex road geometries. We present Kharita, a robust map inference framework that transforms noisy GPS trajectories into clean, routable road graphs. By integrating heading-aware clustering with graph spanners—a technique from theoretical computer science—Kharita achieves a 20% improvement in topological accuracy and a 40x speedup over existing state-of-the-art methods.

Introduction

Keeping digital maps updated is a monumental task. While massive amounts of crowdsourced GPS data are available from smartphones and vehicles, converting this "spaghetti" of noisy points into a structured road graph is difficult. Key hurdles include significant positioning errors in "urban canyons," data disparity between highways and residential streets, and complex geometries like roundabouts. Furthermore, many current solutions lack the scalability required to process city-scale data efficiently.

Methodology

Kharita operates in two primary phases to address these challenges: heading-aware clustering and graph sparsification.

Heading-Aware Clustering

Unlike standard approaches that rely solely on latitude and longitude, Kharita utilizes a custom distance metric ($d_\theta$) incorporating the vehicle's heading angle. This allows the algorithm to distinguish between parallel lanes of traffic moving in opposite directions. The process involves densifying trajectories and merging them into clusters based on both proximity and orientation.

The process of densifying and merging trajectories to form clusters.

Graph Sparsification via Spanners

After clustering, the raw trajectories form a dense "connectivity graph" often filled with redundant or spurious edges. Kharita applies Graph Spanners to refine this graph. A $t$-spanner is a subgraph where the distance between any two nodes is at most $t$ times the distance in the original graph. Using a greedy spanner algorithm, Kharita prunes unnecessary cross-edges and noise while mathematically guaranteeing that the connectivity and shortest paths of the underlying road network are preserved.

The Kharita pipeline: from raw noisy trajectories to a dense connectivity graph, and finally a clean sparsified graph.

Online Adaptation (Kharita*)

An online version, Kharita*, processes GPS points in a streaming fashion. This allows maps to be updated incrementally as new data arrives without the need to re-process the entire historical dataset.

Experimental Evaluation

Kharita was evaluated on two real-world datasets:

  • Doha (Qatar): A diverse dataset with 5.5 million GPS points from 432 vehicles, featuring complex highways and numerous roundabouts.
  • UIC (Chicago): A dataset of 200,000 bus trace points representing a regular but noisy urban environment.

Key Results and Insights

  • Topological Accuracy: Kharita improved the Biagioni TOPO $f$-score by 20% on the Chicago dataset and 10% on the Doha dataset compared to previous best methods.
  • Efficiency: On the Doha dataset, Kharita processed one day of data in just 167 seconds, compared to nearly 2 hours (6,621 seconds) for the leading prior algorithm (Edelkamp)—a 40x speedup.
  • Visual Fidelity: Qualitative analysis shows that Kharita produces significantly cleaner representations of complex features like roundabouts and multi-lane roads, avoiding the messy intersections common in other inferred maps.

Conclusion

Kharita demonstrates that treating vehicle heading as a primary data point and applying theoretical graph spanners can solve practical map inference problems. While highly effective, future work will focus on automating hyperparameter tuning, implementing decay mechanisms for sudden road changes (e.g., construction), and inferring semantic details like road types and speed limits.

Summary updated

BibTeX
@misc{stanojevic2017kharita,
  author = {Rade Stanojevic and Sofiane Abbar and Saravanan Thirumuruganathan and Sanjay Chawla and Fethi Filali and Ahid Aleimat},
  title = {{Kharita: Robust Map Inference using Graph Spanners}},
  year = {2017},
  eprint = {1702.06025},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1702.06025},
}
Figure