Deep Reinforcement Learning for Demand-Driven Services in Logistics and Transportation Systems: A Survey

Zefang Zong, Tao Feng, Jingwei Wang, Tong Xia, Yong Li

TL;DR

This survey provides a comprehensive overview of how Deep Reinforcement Learning (DRL) is revolutionizing Demand-Driven Services (DDS) like ride-sharing and delivery. It breaks down DDS into two key stages – dispatching and routing – and meticulously reviews existing DRL solutions, challenges, and future research directions for optimizing these complex urban logistics and transportation systems.

What Problem Does This Paper Address?

Modern urban life is increasingly reliant on Demand-Driven Services (DDS), such as ride-sharing, on-demand delivery, and express shipping. These services involve complex coordination between service workers (e.g., drivers, couriers), service providers (e.g., restaurants, warehouses), and service targets (e.g., customers). The core challenge lies in efficiently planning and executing these services, which can be broadly divided into two stages:

  1. Dispatching: This involves matching available service workers to incoming demands and forming "service loops" (e.g., assigning a driver to a passenger).
  2. Routing: Once a service loop is formed, this stage determines the optimal sequence of tasks for the worker to complete within that loop (e.g., the order in which a courier picks up and delivers multiple packages).

Traditional methods often struggle with the dynamic nature, scale, and complexity of these problems, especially when dealing with real-time updates and numerous constraints. Deep Reinforcement Learning (DRL) offers a promising avenue to address these challenges by learning optimal decision-making policies directly from experience. This paper aims to survey and consolidate the current state of DRL applications in DDS, highlighting key problems, solutions, and future research opportunities.

Methods

The paper focuses on how Deep Reinforcement Learning (DRL) is applied to solve problems in both the dispatching and routing stages of DDS.

DRL Fundamentals: The paper provides a foundational explanation of Reinforcement Learning (RL) and its core components (agent, environment, state, action, reward) within the Markov Decision Process (MDP) framework. It then introduces Deep Reinforcement Learning (DRL) as the combination of RL with deep neural networks for function approximation, enabling the handling of complex, high-dimensional state spaces. Key DRL algorithms discussed include:

  • Value-based methods: DQN, DDQN, Dueling DQN.
  • Policy-based methods: REINFORCE, Policy Gradient.
  • Actor-Critic methods: A2C, A3C, DDPG, TD3.

DDS Stages and DRL Applications:

  • Dispatching: This stage is further broken down into Order Matching (assigning demands to workers) and Fleet Management (repositioning idle workers). DRL approaches for these problems often model workers as agents (individually or collectively) or demands as agents.
  • Routing: This stage deals with optimizing the sequence of visits within a service loop. DRL methods are categorized into:
  • Sequence Generation Methods: These methods incrementally build a solution by selecting the next node to visit (e.g., using Pointer Networks with attention mechanisms).
  • Rewriting-based Methods: These methods start with an initial solution and iteratively improve it by applying operators (e.g., swapping nodes) guided by a DRL agent.

The paper also discusses the importance of coupled spatial-temporal representations and the challenges of safety, large-scale deployment, and dynamics/real-time scheduling in DDS.

Datasets

The paper references several datasets and simulators used in the literature for training and evaluating DRL models in DDS:

  • Dispatching Simulators/Datasets:
    • New York City TLC (Taxi and Limousine Commission) trip records (Yellow taxis, Green taxis, FHV).
  • Subset of NYC FHV data with GPS coordinates.
  • Uber Movement data for travel times between OD pairs.
  • Didi Chuxing travel records and vehicle trajectory datasets of Chengdu, China.
  • Huawei's open-source ride-hailing environment.
  • Routing Simulators/Datasets:
    • Generated random datasets.
  • Real-world logistic datasets (e.g., from Cainiao).
  • CVRP instance datasets of various scales (up to 30000).
  • Solomon dataset and Homberg dataset for VRPTW.
  • Li&Lim benchmark for VRPPD.

Key Insights and Ideas

  • DRL's Suitability for DDS: DRL is a powerful paradigm for DDS because it can learn complex, long-term optimal policies in dynamic, uncertain environments without requiring explicit hand-crafted rules or extensive domain knowledge.
  • Two-Stage Decomposition: Breaking down DDS problems into dispatching and routing stages provides a structured way to analyze and develop solutions, although joint optimization is a critical area for future research.
  • Worker vs. Demand-Centric Modeling: For dispatching, modeling workers as agents (individually or collectively) or demands as agents are two primary DRL formulation approaches, each with its trade-offs.
  • Sequence Generation vs. Rewriting for Routing: Both sequence generation and rewriting-based DRL methods show promise for solving VRP variants, with sequence generation offering faster inference and rewriting potentially achieving higher solution quality.
  • Importance of Real-World Constraints: Practical DDS applications involve numerous constraints (time windows, charging, etc.) that are crucial to incorporate into DRL models for safe and effective implementation.
  • Simulation is Key: Due to the high cost and risk of real-world experimentation, simulators are essential for training and evaluating DRL agents in DDS.

Key Results

The paper is a survey, so it doesn't present new experimental results but rather synthesizes findings from existing literature. Key qualitative findings highlighted include:

  • DRL-based methods often outperform traditional heuristics and exact methods in terms of solution quality and/or efficiency, especially for large-scale and dynamic problems.
  • DRL can achieve significant improvements in metrics like Gross Merchandise Volume (GMV), Order Response Rate (ORR), and total travel distance reduction.
  • Sequence generation methods can achieve very fast inference times (e.g., seconds for 100 customers), enabling real-time responses to demand changes.
  • DRL frameworks have demonstrated effectiveness in solving complex VRP variants and optimizing fleet management strategies.

Limitations and Future Work

Limitations:

  • Reproducibility and Fairness: Off-policy DRL frameworks can suffer from limitations in interacting with the environment and ensuring reproducibility across different settings, potentially leading to fairness issues in performance comparisons.
  • Scalability: Implementing DRL solutions on truly large scales (e.g., entire cities) remains a significant challenge, often requiring simplified modeling assumptions or divide-and-conquer strategies.
  • Safety and Explainability: Uncontrollable agent behaviors during inference and a lack of explainability limit the safe deployment of DRL in real-world DDS.
  • Joint Optimization: Most existing works focus on either dispatching or routing, with limited research on jointly optimizing both stages, which is crucial for holistic DDS performance.
  • Heterogeneity: Handling the heterogeneity of agents (e.g., different driver preferences or vehicle capabilities) and action spaces in joint optimization is complex.
  • Partial Compliance: Real-world workers may not always comply with system recommendations, leading to inaccurate performance predictions and requiring further research.

Future Work:

  • Advanced DRL Methods: Exploring offline RL, causal RL, and multi-objective optimization techniques for more robust and effective DDS applications.
  • Joint Optimization of Stages: Developing integrated DRL frameworks that simultaneously optimize dispatching and routing for improved performance and reaction speed.
  • Fairness and Individual Preferences: Incorporating fairness considerations for service workers and accommodating individual preferences into DRL reward functions and strategies.
  • Partial Compliance Modeling: Developing DRL models that account for and adapt to potential non-compliance from service workers.
  • Large-Scale Online Scheduling Systems: Building comprehensive, scalable, and robust DRL-based DDS platforms that can handle real-world complexities.
  • Coupled Spatial-Temporal Representations: Developing more sophisticated methods to capture the intricate relationships between spatial locations and temporal dynamics in DDS.
  • Dynamics and Real-time Scheduling: Designing more efficient DRL algorithms to handle the continuous changes and uncertainties in real-world DDS scenarios.

Summary updated

BibTeX
@misc{zong2021deep,
  author = {Zefang Zong and Tao Feng and Jingwei Wang and Tong Xia and Yong Li},
  title = {{Deep Reinforcement Learning for Demand-Driven Services in Logistics and Transportation Systems: A Survey}},
  year = {2021},
  eprint = {2108.04462},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.04462},
}
Figure