Abstract
In logistics, the "middle mile"—transferring goods from regional centers to local delivery stations—is a critical bottleneck. Traditional routing focuses on minimizing travel distance, often ignoring the availability of local couriers. This paper presents PSOT (Prediction-and-Scheduling for Order Transfer), a framework that synchronizes truck arrivals with courier return times. By predicting courier availability through deep learning and optimizing vehicle schedules for total transfer time, PSOT reduces average order transfer delays by up to 51.3%.
Introduction: The Synchronization Bottleneck
While "last-mile" delivery is frequently studied, the efficiency of the transfer process between regional hubs and local stations significantly impacts overall delivery speed. Standard logistics operations often treat vehicle routing as a Traveling Salesman Problem (TSP), aiming for the shortest path. However, distance-based optimization fails to account for the "handshake" between the delivery truck and the local courier.
As illustrated in Figure 1, the total Order Transfer Time (OTT) consists of the truck's travel time and the waiting time at the station until a courier is available for collection. If a truck arrives too early, packages sit idle; if it arrives too late, couriers waste time waiting. PSOT addresses this by treating time, rather than distance, as the primary optimization metric.
The PSOT Framework
The PSOT framework consists of two main components: a prediction module for courier return times and an OTT-aware scheduling algorithm.
1. Predicting Courier Return Times
Predicting when a courier will return to a station is challenging due to the dynamic nature of pickups and deliveries. PSOT utilizes a deep learning architecture to model these complexities.
The prediction model (Figure 5) incorporates:
- Context-Aware Embedding: Delivery areas are mapped into "Areas-of-Interest" (AoIs) to capture semantic neighborhood data.
- Attention-Based Route Encoding: A Transformer-inspired model learns the likely sequence of remaining tasks, prioritizing features like the number of pending pickups and their promised service times.
- Temporal Modeling: LSTM layers process task sequences to output a final time estimate.
2. OTT-aware Vehicle Scheduling
With predicted return times for all couriers, the framework optimizes the truck's route to minimize the Average Order Transfer Time (AOTT). Instead of a simple greedy approach, PSOT uses a heuristic algorithm that iteratively refines the route through mutations such as swapping station sequences, inserting stations, or inverting segments. This ensures the truck arrives at each station precisely when the maximum number of couriers are ready to receive their next batch of orders.
Experimental Evaluation
The framework was validated using a massive real-world dataset from JD Logistics, encompassing 5 million orders across 20 delivery stations and 391 couriers over a three-month period.
Key Results
- Prediction Accuracy: The attention-based model achieved a 35.6% improvement in Root Mean Square Error (RMSE) over standard neural network baselines.
- Operational Efficiency: PSOT reduced AOTT by up to 51.3% compared to volume-based greedy methods that prioritize stations with the most packages.
- Distance vs. Time: The results confirmed that a slight increase in travel distance can lead to a massive reduction in total transfer time by better aligning with courier schedules.
Conclusion and Future Directions
PSOT demonstrates that synchronizing different stages of the logistics chain through predictive modeling can yield significant efficiency gains. While the current model focuses on non-first-batch departures, future work will explore dynamic re-routing to handle real-time traffic updates and scaling the framework to multi-vehicle coordination for larger regional networks.
Summary updated