TL;DR
This paper introduces ST-DDGN, a novel deep reinforcement learning approach for optimizing large-scale Dynamic Pickup and Delivery Problems (DPDP). By integrating spatial-temporal demand forecasting and graph-based relational learning, ST-DDGN significantly reduces vehicle usage and transportation costs compared to existing methods, paving the way for real-world deployment in logistics.
What Problem Does This Paper Address?
The Dynamic Pickup and Delivery Problem (DPDP) is a critical challenge in modern logistics, involving the real-time scheduling of vehicles to fulfill delivery orders that are not known in advance. Existing solutions, whether heuristic or operational research-based, struggle with scalability and solution quality as the number of vehicles and sites grows. They often fail to account for the inherent uncertainty of future orders and complex business rules, leading to suboptimal dispatching plans and increased costs. This paper aims to bridge this gap by developing a data-driven, scalable, and efficient solution for industry-scale DPDP.
Methods
The core of the proposed solution is the Spatial-Temporal Aided Double Deep Graph Network (ST-DDGN). This approach combines several key innovations:
- Spatial-Temporal Demand Forecasting: The system first forecasts delivery demands using spatial-temporal prediction methods. This allows the dispatching system to anticipate demand patterns across different locations and times.
- Graph-Based Value Function: Vehicle relationships and interactions are modeled using a graph-based value function. This enables the network to learn how vehicles cooperate and compete within the dynamic environment.
- Attention-Based Graph Convolution: The ST-DDGN incorporates attention mechanisms within a graph convolutional network. This allows the model to efficiently learn relational representations between vehicles, focusing on the most relevant interactions.
- Double Deep Q-Network (DDQN): The underlying reinforcement learning framework is based on DDQN, a robust algorithm for learning optimal policies in complex environments.
- Route-Centric MDP Formulation: The problem is framed as a route-centric Markov Decision Process (MDP), where the state captures information about vehicle routes and the order to be served.
- Constraint Embedding: To improve efficiency, the system uses a constraint embedding technique to filter out infeasible vehicles early in the decision-making process.
- Spatial-Temporal Score (ST Score): A novel metric, the ST Score, is introduced to measure the alignment between predicted delivery demand and vehicle capacity along a planned route. This score guides the policy towards more efficient "hitchhiking" opportunities.
Datasets
The experiments were conducted using historical delivery order data collected from Huawei's manufacturing campus, spanning July to October 2019. This dataset comprises approximately 80,000 delivery orders. The data was split into training (orders from the first 20 days of October) and testing sets (orders from the last 20 days of October) to evaluate the model's generalization capabilities. Various scales of training and testing instances were constructed by sampling from these datasets.
Key Insights and Ideas
- The power of prediction: Foreseeing delivery demand spatially and temporally is crucial for efficient dispatching, allowing vehicles to be positioned proactively.
- Graph networks for coordination: Modeling vehicle interactions as a graph, especially with attention mechanisms, is highly effective for learning complex coordination strategies in multi-agent systems like logistics fleets.
- Balancing supply and demand: The ST Score provides an intuitive yet powerful way to quantify the alignment between where demand is expected and where vehicles have capacity, promoting efficient route planning.
- Data-driven adaptation: The ST-DDGN's entirely data-driven nature allows it to adapt and learn from real-world data, continuously improving its relational representations of vehicle interactions.
- Beyond myopic views: Traditional methods often suffer from a "myopic view." Reinforcement learning, particularly with graph-based relational learning, offers a path to overcome this by considering broader interactions and future implications.
Key Results
The ST-DDGN demonstrated significant improvements over strong baselines, including a deployed heuristic algorithm and other vanilla DRL methods:
- Vehicle Reduction: Reduced the number of used vehicles by 11.27% on average.
- Cost Reduction: Decreased total transportation cost by 13.12% on average.
- Scalability: Outperformed traditional methods on large-scale instances (600+ orders, 150+ vehicles) and achieved near-optimal solutions on smaller instances.
- Efficiency: Achieved significantly faster inference times compared to mixed integer programming (MIP) methods, which were found to be intractable for larger problems.
- Faster Convergence: Ablation studies showed that the ST Score component accelerated policy learning compared to models without it.
Limitations and Future Work
- Unusual Scenarios: The authors acknowledge that in scenarios with extremely high order volumes, the ST Score might become less reliable as the demand distribution deviates significantly from historical patterns. They propose incorporating the ST Score into the state rather than the reward function to mitigate this.
- Buffering Strategies: While the current work uses an immediate service strategy due to strict response time requirements, the authors suggest that investigating variable time-interval buffering strategies could be a valuable future research direction.
- Distributed Architecture: The paper mentions plans to deploy the solution into an online logistics system and suggests that a distributed architecture could further improve performance and robustness.
- Divergence Metrics: The paper briefly mentions that other divergence metrics could be used for the ST Score, and a comparison of two metrics is available in supplementary materials. Further exploration of optimal divergence metrics could be beneficial.
Summary updated