Research on Dynamic Path Planning and Causal Inference for Last-Mile Logistics Based on Spatiotemporal Graph Neural Networks
DOI:
https://doi.org/10.71222/s93hqn73Keywords:
spatiotemporal graph neural networks, causal inference, last-mile logistics, dynamic path planning, federated learningAbstract
With China’s annual express delivery volume surpassing 120 billion pieces, the last mile of logistics is increasingly constrained by static path planning, delayed dynamic responses, and insufficient integration of heterogeneous data sources. This study targets small and medium-sized distribution stations and proposes a dynamic path planning method based on spatiotemporal graph neural networks combined with causal reasoning. The delivery area is modeled as a spatiotemporal graph that fuses 12 categories of heterogeneous information, including geographic coordinates, real-time traffic conditions, rider load, and weather factors, to capture both structural and temporal dependencies. On this basis, a causal reasoning module is introduced to distinguish sporadic disturbances from routine patterns through backdoor adjustment and intervention models, thereby refining graph attention weights and improving the robustness of routing decisions. Furthermore, a federated learning framework is employed to support encrypted model training and incremental updates across multiple stations, enhancing cross-station generalization while preserving data privacy. Pilot experiments conducted at 10 small and medium-sized stations in Jinhua, Zhejiang, demonstrate that the proposed approach reduces delivery timeout rates from 11.2% to 0.7%, decreases riders’ average daily mileage by 18 kilometers, shortens system response time from 5 minutes to 8 seconds, and improves resource utilization by 35%. These results indicate that the method forms an intelligent perception–reasoning–decision closed loop and provides a scalable technical solution for efficient, privacy-aware last-mile logistics management.References
1. J. Ma, B. Liu, K. Li, C. Li, F. Zhang, X. Luo, and Y. Qiao, "A review of graph neural networks and pretrained language models for knowledge graph reasoning," Neurocomputing, vol. 609, p. 128490, 2024.
2. M. K. Johansen and M. Osman, "Coincidence judgment in causal reasoning: How coincidental is this?," Cognitive Psychology, vol. 120, p. 101290, 2020.
3. H. Huang, W. Mbanyele, F. Wang, M. Song, and Y. Wang, "Climbing the quality ladder of green innovation: does green finance matter?," Technological Forecasting and Social Change, vol. 184, p. 122007, 2022.
4. J. Boukachour and A. Benaini, Eds., Transport and logistics planning and optimization. IGI Global, 2023.
5. X. Luo, W. Yin, and Z. Li, "Spatio-Temporal Graph Neural Network with Hidden Confounders for Causal Forecast," in ICCBR Workshops, pp. 157–169, 2024.
6. P. Deng, Y. Zhao, J. Liu, X. Jia, and M. Wang, "Spatio-temporal neural structural causal models for bike flow prediction," in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 37, no. 4, pp. 4242–4249, June 2023.
7. S. Wein, W. M. Malloni, A. M. Tomé, S. M. Frank, G. I. Henze, S. Wüst, and E. W. Lang, "A graph neural network framework for causal inference in brain networks," Scientific Reports, vol. 11, no. 1, p. 8061, 2021.
8. Y. Xia, Y. Liang, H. Wen, X. Liu, K. Wang, Z. Zhou, and R. Zimmermann, "Deciphering spatio-temporal graph forecasting: A causal lens and treatment," Advances in Neural Information Processing Systems, vol. 36, pp. 37068–37088, 2023.
9. S. Han, L. Stelz, T. R. Sokolowski, K. Zhou, and H. Stöcker, "Unifying physics-and data-driven modeling via novel causal spatiotemporal graph neural network for interpretable epidemic forecasting," arXiv preprint arXiv:2504.05140, 2025.
10. Y. Li, D. Yu, Z. Liu, M. Zhang, X. Gong, and L. Zhao, "Graph neural network for spatiotemporal data: methods and applications," arXiv preprint arXiv:2306.00012, 2023.
11. G. Liang, P. Tiwari, S. Nowaczyk, S. Byttner, and F. Alonso-Fernandez, "Dynamic causal explanation based diffusion-variational graph neural network for spatiotemporal forecasting," IEEE Transactions on Neural Networks and Learning Systems, vol. 36, no. 5, pp. 9524–9537, 2024.
12. A. Miraki, A. Dapkutė, V. Šiožinys, M. Jonaitis, and R. Arghandeh, "Causal-based spatio-temporal graph neural networks for industrial internet of things multivariate time series forecasting," in World Conference on Explainable Artificial Intelligence, Cham: Springer Nature Switzerland, pp. 120–130, July 2023.
13. L. Wang, A. Adiga, J. Chen, A. Sadilek, S. Venkatramanan, and M. Marathe, "Causalgnn: Causal-based graph neural networks for spatio-temporal epidemic forecasting," in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 36, no. 11, pp. 12191–12199, June 2022.
14. B. Jing, D. Zhou, K. Ren, and C. Yang, "Causality-aware spatiotemporal graph neural networks for spatiotemporal time series imputation," in Proceedings of the 33rd ACM International Conference on Information and Knowledge Management, pp. 1027–1037, October 2024.
15. N. Ning, W. Zhang, W. Li, H. Li, Y. Zhang, Y. Zhou, and F. Liu, "Spatial–temporal causal fusion graph neural networks for urban traffic prediction," Computer Networks, p. 111582, 2025.
16. A. Einizade, F. D. Malliaros, and J. H. Giraldo, "Spatiotemporal forecasting meets efficiency: Causal graph process neural networks," arXiv preprint arXiv:2405.18879, 2024.
17. J. Tang, L. Xia, and C. Huang, "Explainable spatio-temporal graph neural networks," in Proceedings of the 32nd ACM International Conference on Information and Knowledge Management, pp. 2432–2441, October 2023.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Yixuan Liu (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.







