DeepSTA: A Spatial-Temporal Attention Network for Logistics Delivery Timely Rate Prediction in Anomaly Conditions
Jinhui Yi, Huan Yan, Haotian Wang, Jian Yuan, Yong Li
TL;DR
This work targets predicting couriers' delivery timely rates in anomaly conditions, such as epidemic outbreaks, where external factors and sparse anomalous data hinder standard forecasting. It introduces DeepSTA, a two-module framework that combines a spatio-temporal learning module (road districts via Node2vec, couriers via GCN, temporal dynamics via LSTM, and external anomaly signals via RNN) with a memory-based anomaly pattern attention module to store and retrieve abnormal-event patterns. Empirical results on real JD Logistics data show DeepSTA surpasses baselines by significant margins (MAE: ~12%, MSE: ~14%), and ablation studies confirm the contribution of each component. The model is deployed online at JD Logistics, highlighting practical impact for mitigating anomaly-induced delivery delays in logistics networks.
Abstract
Prediction of couriers' delivery timely rates in advance is essential to the logistics industry, enabling companies to take preemptive measures to ensure the normal operation of delivery services. This becomes even more critical during anomaly conditions like the epidemic outbreak, during which couriers' delivery timely rate will decline markedly and fluctuates significantly. Existing studies pay less attention to the logistics scenario. Moreover, many works focusing on prediction tasks in anomaly scenarios fail to explicitly model abnormal events, e.g., treating external factors equally with other features, resulting in great information loss. Further, since some anomalous events occur infrequently, traditional data-driven methods perform poorly in these scenarios. To deal with them, we propose a deep spatial-temporal attention model, named DeepSTA. To be specific, to avoid information loss, we design an anomaly spatio-temporal learning module that employs a recurrent neural network to model incident information. Additionally, we utilize Node2vec to model correlations between road districts, and adopt graph neural networks and long short-term memory to capture the spatial-temporal dependencies of couriers. To tackle the issue of insufficient training data in abnormal circumstances, we propose an anomaly pattern attention module that adopts a memory network for couriers' anomaly feature patterns storage via attention mechanisms. The experiments on real-world logistics datasets during the COVID-19 outbreak in 2022 show the model outperforms the best baselines by 12.11% in MAE and 13.71% in MSE, demonstrating its superior performance over multiple competitive baselines.
