NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Historical-Trajectories-Based Map Matching Algorithm for Container Positioning and Tracking

Wenfeng Li, Wenwen Zhang, Gao CongSensors 2022

TL;DR

This paper introduces HTMM, a novel map matching algorithm designed for container tracking, which addresses the challenges of low GPS sampling rates and missing data. By leveraging historical trajectory data (travel time and frequency), HTMM significantly improves positioning accuracy compared to existing methods, reducing errors by up to half for container logistics.

What Problem Does This Paper Address?

Accurate positioning and tracking of shipping containers are crucial for modern logistics. However, current satellite positioning systems often suffer from low sampling rates (e.g., 2 minutes or more) to conserve battery life, and signal loss in urban environments (tunnels, under bridges) leads to missing GPS points. These issues create "blind zones" and inaccurate trajectories, making it difficult to pinpoint a container's exact location. Existing map matching algorithms, often relying on the "shortest path" principle, struggle with these low-sampling-rate and sparse data scenarios, leading to matching errors. This paper aims to bridge this gap by developing a map matching algorithm that effectively utilizes historical movement patterns to improve container positioning accuracy.

Methods

The core of the proposed solution is the Historical-Trajectories-Based Map Matching (HTMM) algorithm. It's a two-stage approach that combines Hidden Markov Models (HMM) with a local path inference method.

Here's a breakdown of the key components:

  • Historical Path Reconstruction and Indexing:
    • Map Matching for Historical Data: First, high-sampling-rate historical trajectories are map-matched to establish "ground truth" paths.
  • Path Reconstruction: A method is introduced to reconstruct "meta paths" for these historical trajectories, recording the enter and leave times on each road segment. This is crucial for estimating travel times.
  • HP-Tree Index: An efficient index structure, the HP-tree, is built to store and quickly search historical paths. This allows for rapid retrieval of relevant past movements.
  • Local Candidate Path Selection:
    • Candidate Path Search: For a given low-sampling-rate trajectory, the algorithm identifies multiple potential paths between two adjacent GPS points.
  • Similarity Calculation: Instead of just the shortest path, HTMM considers:
  • Travel Time Similarity: It estimates the travel time of potential paths by averaging historical travel times on road segments, considering actual matched points.
  • Frequency: It calculates how often a particular path has been traversed historically.
  • Path Selection: A comprehensive score, combining travel time similarity and frequency, is used to select the most probable local candidate path.
  • Location Correction and Query Module:
    • Optimal Matched Point Search: Using an HMM framework, the algorithm calculates observation probabilities (how likely a GPS point is to match a road segment) and transition probabilities (how likely it is to move from one segment to another). The Viterbi algorithm is employed to find the most probable sequence of matched points.
  • Location Query and Tracking: Once matched, the algorithm reconstructs the container's location at any given time using time-distance interpolation based on the matched path and historical data.

Datasets

  • Trajectory Dataset: The experimental dataset consists of real-time GPS positioning records from 15,000 trucks of a freight company in Shenzhen and surrounding cities. This data captures container terminal, logistics park, and port movements.
  • Road Network: The road network for the region was downloaded from OpenStreetMap, containing 17,108 nodes and 18,892 edges.
  • Ground Truth Data: 566 high-sampling-rate historical trajectories (sampling intervals < 30s) were used to generate ground truth paths for training and evaluation.
  • Test Data: 100 high-sampling-rate trajectories were down-sampled to various intervals (60s to 600s) to simulate real-world low-sampling-rate scenarios for testing.

Key Insights and Ideas

  • Historical Data is Key for Low-Sampling-Rate Scenarios: The paper strongly demonstrates that simply relying on the shortest path is insufficient for sparse GPS data. Incorporating historical travel times and traversal frequencies provides crucial context that existing algorithms miss.
  • Travel Time and Frequency as Predictive Features: The novel approach of using estimated travel time and historical frequency to rank potential paths is a significant contribution. This moves beyond purely geometric matching to a more behavior-aware approach.
  • HP-Tree for Efficient Historical Path Retrieval: The HP-tree structure is an effective way to organize and quickly query a large corpus of historical trajectories, making the historical data usable in real-time.
  • Container Tracking is Distinct: The paper highlights that container transportation has unique trajectory characteristics (low sampling, potential for long distances between points) that necessitate specialized map matching solutions, unlike those for passenger vehicles.

Key Results

  • Improved Matching Accuracy: HTMM shows a significant improvement over HMM-based and ST-Matching algorithms.
  • At sampling intervals of 60-300s, HTMM achieved more than 3% and 5% improvement over ST-Matching and HMM-based algorithms, respectively.
  • The positioning error was reduced by half at a 60s sampling interval.
  • Performance Trade-offs: While HTMM offers higher accuracy, it has a higher matching time compared to the baseline algorithms due to its increased complexity (candidate path search, historical index retrieval). However, the authors argue this is an acceptable trade-off for improved accuracy.
  • Visual Analysis: Visualizations show that HTMM is better at handling detours and selecting more realistic paths, especially when compared to ST-Matching, which can sometimes favor shorter but less probable routes.

Limitations and Future Work

  • Sampling Rate > 300s: The accuracy of HTMM drops sharply for sampling rates above 300s. The authors attribute this to increased path diversity and drivers making decisions based on current conditions rather than solely historical patterns.
  • Personalized Historical Data: The effectiveness of HTMM is believed to be enhanced with a personalized and larger historical path index library.
  • Future Work:
    • Optimizing Local Candidate Path Selection: Further refinement of the strategy, potentially by segmenting longer paths at intersections.
  • Real-time Traffic Information: Incorporating real-time traffic data to improve Markov decision processes.
  • Larger Datasets and Road Networks: Expanding experiments to improve generalization.
  • Online Deployment: Integrating HTMM with location query and tracking for real-time container positioning and safety improvements.

Summary updated

BibTeX
@inproceedings{li2022historical,
  author = {Wenfeng Li and Wenwen Zhang and Gao Cong},
  title = {{A Historical-Trajectories-Based Map Matching Algorithm for Container Positioning and Tracking}},
  booktitle = {Sensors},
  year = {2022},
  doi = {10.3390/s22083057},
}
Figure