Abstract
Cellular Trajectory Map-Matching (CTMM) faces significant challenges due to high positioning errors and sparse sampling. Traditional deep learning models often rely on region-specific tower IDs, leading to a "cold start" problem in unseen cities. This paper introduces ZSMM, a zero-shot framework that treats map matching as an image-to-image translation task. By utilizing pixelated representations and scenario-adaptive experts within a Variational Autoencoder (VAE) backbone, ZSMM achieves a 16.8% performance improvement in precision over state-of-the-art methods and demonstrates robust generalization to unseen urban environments.
Introduction
Map matching is the process of aligning a sequence of raw location points to the actual roads a user traveled. While high-precision GPS (error: 1–50m) makes this task relatively straightforward, cellular trajectory data presents a nightmare scenario. Collected passively from towers, cellular data suffers from massive positioning errors (100–3,000m) and sparse sampling intervals.
Existing deep learning models for CTMM typically rely on specific Cell Tower IDs. This creates a significant barrier to deployment: a model trained in one city cannot function in another because tower IDs and spatial correlations are entirely different. This research addresses the challenge of Zero-Shot CTMM, aiming to create a model capable of generalizing to entirely new cities without additional training.
Methods
The proposed ZSMM (Zero-Shot Map Matching) framework shifts away from discrete tower IDs, instead treating map matching as an image-to-image translation task. This approach ensures the model learns geometric patterns rather than statistical coincidences tied to specific hardware.
Core Components:
- Pixelated Representation: Raw trajectories and road networks are converted into multi-channel grid images. This makes the data region-agnostic; a road grid looks similar regardless of the city.
- Trajectory Calibration (VAE Backbone):
- Spatial-Aware Network: Models location uncertainty by calculating distances and variances between trajectory points and relevant roads.
- Temporal-Aware Network: Combines CNNs with Rotary Positional Embedding (RoPE) and Transformers to capture sequential movement, allowing the model to infer paths through data gaps.
- Scenario-Adaptive Experts: Within the VAE, a Gaussian Mixture Model (GMM) identifies different "scenarios" (e.g., dense urban vs. sparse rural) and dynamically selects expert weights to tailor calibration to the local environment.
- Constrained Path-Finding: A label-setting algorithm converts the calibrated pixel path back into a sequence of Road IDs, balancing path proximity with distance minimization to ensure realistic, drivable routes.
Experimental Setup and Datasets
The study evaluates ZSMM across four major Chinese cities, utilizing both real-world and synthetic data to test zero-shot capabilities. Road networks were sourced from OpenStreetMap (OSM).
- Real-world data: Hangzhou and Xiamen data provided by a mobile operator, matched with ground-truth GPS.
- Synthetic data: Chengdu and Beijing data created by blurring public Didi Chuxing GPS trajectories using cellular tower coordinates from the OpenCellID dataset.
Key Results
- Superior Accuracy: ZSMM outperformed the best learning-based baseline (LHMM) by 16.8% in precision and 11.9% in recall on the Hangzhou dataset.
- Robust Zero-Shot Transfer: When trained on Hangzhou and tested on the unseen Beijing dataset, ZSMM maintained a precision of ~0.606. In contrast, ID-based models like DMM and LHMM failed completely (0 precision) as they could not recognize new tower IDs.
- Efficiency: The model processes a trajectory in approximately 0.024 seconds, making it up to 35% faster than traditional HMM-based methods. Computation time is independent of trajectory length due to the pixel-based approach.
Conclusion
ZSMM demonstrates that treating geospatial data as pixels enables deep learning models to learn universal geometric patterns. This shift allows for effective zero-shot map matching across diverse urban environments. Future work will focus on optimizing the framework for real-time streaming data and improving robustness against map connectivity errors in OpenStreetMap.
Summary updated