Predicting Drivers' Route Trajectories in Last-Mile Delivery Using A Pair-wise Attention-based Pointer Neural Network
Not on the map. Why?
Abstract (arXiv)
In last-mile delivery, drivers frequently deviate from planned delivery routes because of their tacit knowledge of the road and curbside infrastructure, customer availability, and other characteristics of the respective service areas. Hence, the actual stop sequences chosen by an experienced human driver may be potentially preferable to the theoretical shortest-distance routing under real-life operational conditions. Thus, being able to predict the actual stop sequence that a human driver would follow can help to improve route planning in last-mile delivery. This paper proposes a pair-wise attention-based pointer neural network for this prediction task using drivers' historical delivery trajectory data. In addition to the commonly used encoder-decoder architecture for sequence-to-sequence prediction, we propose a new attention mechanism based on an alternative specific neural network to capture the local pair-wise information for each pair of stops. To further capture the global efficiency of the route, we propose a new iterative sequence generation algorithm that is used after model training to identify the first stop of a route that yields the lowest operational cost. Results from an extensive case study on real operational data from Amazon's last-mile delivery operations in the US show that our proposed method can significantly outperform traditional optimization-based approaches and other machine learning methods (such as the Long Short-Term Memory encoder-decoder and the original pointer network) in finding stop sequences that are closer to high-quality routes executed by experienced drivers in the field. Compared to benchmark models, the proposed model can increase the average prediction accuracy of the first four stops from around 0.229 to 0.312, and reduce the disparity between the predicted route and the actual route by around 15%.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 20 of its 62 references that are in the map. First posted on arXiv 10 Jan 2023.
Builds on
20 of 62 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
- 2015Pointer Networkscited by 882
- 2018Attention, Learn to Solve Routing Problems!cited by 646
- 2016Neural Combinatorial Optimization with Reinforcement Learningcited by 600
- 2013Generating Sequences With Recurrent Neural Networkscited by 549
- 2015Attention-Based Models for Speech Recognitioncited by 400
- 2015Order Matters: Sequence to sequence for setscited by 236
8 more
- 2019PQ-NET: A Generative Part Seq2Seq Network for 3D Shapescited by 118
- 2019Combinatorial Optimization by Graph Pointer Networks and Hierarchical Reinforcement Learningcited by 78
- 2017Table-to-text Generation by Structure-aware Seq2seq Learningcited by 54
- 2019On Learning Paradigms for the Travelling Salesman Problemcited by 24
- 2021A Comprehensive Survey on the Multiple Travelling Salesman Problem: Applications, Approaches and Taxonomycited by 13
- 2021Constrained Local Search for Last-Mile Routingcited by 7
- 2019Reducing Path TSP to TSPcited by 1
- 2020Shareability Network Based Decomposition Approach for Solving Large-scale Single School Routing Problemscited by 1
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 1; 2026: 1.
3 papers.
- 2025Learning for routing: A guided review of recent developments and future directionscited by 6
- 2023Parcel loss prediction in last-mile delivery: deep and non-deep approaches with insights from Explainable AIcited by 0
- 2026Causal-Aware Foundation-Model for Bilevel Optimization in Discrete Choice Settingscited by 0
- 2026Causal-Aware Foundation-Model for Bilevel Optimization in Discrete Choice Settings7 May 2026
- 2025Learning for routing: A guided review of recent developments and future directions30 Jun 2025
- 2023Parcel loss prediction in last-mile delivery: deep and non-deep approaches with insights from Explainable AI25 Oct 2023