TAS-TsC: A Data-Driven Framework for Estimating Time of Arrival Using Temporal-Attribute-Spatial Tri-space Coordination of Truck Trajectories

Mengran Li, Junzhou Chen, Guanying Jiang, Fuliang Li, Ronghui Zhang, Siyuan Gong, Zhihan LvarXiv 2024

TL;DR

The TAS-TsC framework significantly improves truck Time of Arrival (ETA) estimation by coordinating three distinct feature spaces: temporal, attribute, and spatial. By leveraging the state-of-the-art Mamba architecture for efficient long-sequence modeling and graph-based learning to capture vehicle interdependencies, it outperforms existing models by up to 23% on real-world logistics data.

What Problem Does This Paper Address?

Accurately predicting when a truck will arrive is the backbone of modern logistics, affecting everything from warehouse scheduling to production balancing. However, truck GPS data is notoriously messy. Unlike consumer ride-sharing apps, truck trajectories often suffer from:

  1. Temporal Sparsity: GPS pings can be irregular due to signal loss or hardware malfunctions.
  2. Variable Sequence Lengths: Some trips are short hops; others are cross-city hauls, making it difficult for standard neural networks to process them uniformly.
  3. Complex Interdependencies: Trucks don't operate in a vacuum. Their travel times are influenced by interactions with other vehicles at intersections and merging lanes—a factor often ignored by models that treat each trajectory as an independent event.
Figure 1: Illustration of coordination of truck GPS trajectories in complex logistics scenarios.

Methods

The authors propose the Temporal-Attribute-Spatial Tri-space Coordination (TAS-TsC) framework. It breaks the problem down into three specialized modules that feed into a final predictor:

  • Temporal Learning Module (TLM): Instead of using standard Transformers, which struggle with long sequences due to their quadratic computational cost, the authors use Mamba (a selective State Space Model). Mamba provides linear complexity, allowing the model to capture long-term dependencies in trajectory data much more efficiently.
  • Attribute Extraction Module (AEM): This module uses feature engineering to transform raw, variable-length GPS sequences into fixed-size "attribute embeddings." It calculates statistical measures (mean, variance, max, min) for speed, direction changes, and time intervals. This helps the model handle data sparsity by providing a generalized "profile" of the trip.
  • Spatial Fusion Module (SFM): To account for how trucks influence each other, the SFM builds a spatiotemporal relation graph. It uses a nearest-neighbor approach to find similar trajectories and then applies graph feature diffusion to share information across these related paths.
  • Downstream Prediction Module (DPM): Finally, the embeddings from these three spaces are fused and passed to a Histogram-based Gradient Boosting (HGB) regressor to produce the final ETA.
Figure 2: The overall structure of TAS-TsC framework. TLM captures temporal patterns in trajectory data using state-space modeling. AEM creates structured embeddings from trajectory attributes like speed and direction through feature engineering. SFM builds a spatiotemporal graph to model interactions among trajectories. DPM combines the outputs from TLM, AEM, and SFM using embedded and structure learning, and then uses HGB to predict truck arrival times.These modules work together to enhance ETA accuracy by leveraging temporal, attribute, and spatial data.

Datasets

The framework was validated using a real-world dataset from Shenzhen, China.

  • Source: GPS devices on a fleet of trucks.
  • Scope: Five districts (Baoan, Nanshan, Yantian, Futian, and Luohu).
  • Scale: 6,487 trajectories comprising over 3.6 million data points.
  • Characteristics: The data exhibits a "long-tail" distribution, where most trajectories are short (under 250 points), but some extend up to 2,000 points, highlighting the challenge of variable sequence lengths.

Key Insights and Ideas

  • Mamba vs. Transformers: A key "aha" moment is the application of Mamba to trajectory data. While Transformers are the current "gold standard" for sequences, their memory usage explodes with long GPS tracks. Mamba achieves better accuracy with significantly lower computational overhead.
  • The Power of Statistical "Profiles": By condensing raw pings into statistical attributes (AEM), the model becomes much more robust to "gaps" in the data. Even if a truck loses signal for ten minutes, the overall distribution of its speed and direction helps the model maintain a steady prediction.
  • Inter-trajectory Collaboration: The paper demonstrates that a truck's arrival time isn't just about its own speed; it's about the "spatial context." Modeling the interactions between multiple trajectories via graph learning captures hidden traffic patterns that single-trajectory models miss.
Figure 3: Heat-map of attribute embedding correlation.

Key Results

The TAS-TsC framework was compared against a wide array of baselines, including traditional regression, RNNs, LSTMs, and hybrid models like MetaTTE and IGT.

  • Superior Accuracy: On the combined Shenzhen dataset ("All"), TAS-TsC achieved an 8.7% improvement in MSE and a 23.6% improvement in MAPE (Mean Absolute Percentage Error) over the second-best baseline (IGT).
  • Domain Generalization: The model showed strong performance when trained on one district (e.g., Baoan) and tested on another (e.g., Futian), proving that the "tri-space" features are capturing universal driving patterns rather than just memorizing specific roads.
  • Efficiency: In ablation studies, the Mamba-based TLM was consistently faster and more accurate than RNN or Transformer alternatives.

Limitations and Future Work

While the results are promising, the authors note a few areas for growth:

  • Real-time Integration: The current study uses historical data. Future work will focus on deploying the model for live, streaming GPS updates.
  • Multi-modal Logistics: The framework currently focuses on trucks. The authors suggest expanding it to include rail and other transport modes for a truly end-to-end logistics solution.
  • Dynamic Graphs: The spatial graph currently relies on similarity; future iterations could use more dynamic graph structures that evolve as traffic conditions change in real-time.

Summary updated

BibTeX
@misc{li2024tas,
  author = {Mengran Li and Junzhou Chen and Guanying Jiang and Fuliang Li and Ronghui Zhang and Siyuan Gong and Zhihan Lv},
  title = {{TAS-TsC: A Data-Driven Framework for Estimating Time of Arrival Using Temporal-Attribute-Spatial Tri-space Coordination of Truck Trajectories}},
  year = {2024},
  eprint = {2412.01122},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.01122},
}
Figure