SULFR: Simulation of Urban Logistic For Reinforcement

Guillaume Bono, Jilles Dibangoye, Laëtitia Matignon, Florian Pereyron, Olivier SimoninHAL 2018

TL;DR

This paper introduces SULFR, a novel simulation interface for urban logistics that bridges the gap between reinforcement learning (RL) and realistic, dynamic vehicle routing problems. By leveraging the SUMO micro-traffic simulator, SULFR allows researchers to create customizable, stochastic environments for training and evaluating RL agents in complex delivery scenarios.

What Problem Does This Paper Address?

Real-world urban logistics, like package delivery, are fraught with uncertainty. Traffic jams, parking issues, and unexpected client demands can quickly render pre-planned routes obsolete. While static and deterministic models for vehicle routing exist, there's a significant lack of realistic, dynamic, and stochastic environments for training intelligent agents that can adapt on the fly. Existing approaches often rely on simplified models or historical data, which may not capture the full complexity of urban environments. This paper aims to fill this void by providing a flexible simulation platform for developing and testing RL-based solutions for these challenging problems.

Methods

The core of SULFR is its integration with the SUMO (Simulation of Urban Mobility) micro-traffic simulator. The authors formalize the Stochastic and Dynamic Vehicle Routing Problems (SD-VRPs) within a Semi-Markov Decision Process (SMDP) framework. This allows for temporal abstraction, where agents can execute "options" (e.g., "pick up package," "deliver package," "recharge battery") rather than low-level actions. SUMO handles the low-level physics and navigation, while SULFR manages the SMDP interface, generating scenarios, translating RL agent decisions into SUMO commands, and providing state and reward feedback. The interface allows for customizable road networks, traffic conditions, and client requests, enabling the creation of diverse and challenging testbeds.

Datasets

The paper does not explicitly list or use pre-existing datasets for training. Instead, it focuses on creating benchmarks for evaluation. These benchmarks are generated using:

  • Procedurally generated road networks: Grid and Spider networks are created with random traffic and client locations.
  • Imported real-world data: The Bologna scenario is imported from existing work, representing a district in Bologna, Italy, with realistic traffic flow data.

These generated scenarios are designed to test the performance of RL policies under varying degrees of complexity and realism.

Key Insights and Ideas

  • SMDPs are crucial for urban logistics RL: The paper highlights that using Semi-Markov Decision Processes (SMDPs) is essential for handling the temporal abstraction and long-horizon decision-making required in dynamic routing problems. Options provide a natural way to model complex tasks like deliveries.
  • SUMO is a powerful engine for realistic VRP simulation: Integrating with a micro-traffic simulator like SUMO allows for a much higher fidelity of environmental dynamics (traffic, vehicle behavior) than traditional VRP models. This realism is key to developing agents that can generalize to real-world conditions.
  • Customizable scenarios are vital for robust RL: The ability to generate diverse scenarios, from simple grids to complex real-world maps with realistic traffic, is critical for thoroughly evaluating and comparing different RL algorithms and policies.
  • Even simple policies can show performance differences: The preliminary tests demonstrate that even a basic nearest-neighbor policy can outperform a random policy, suggesting that the simulation framework is sensitive enough to differentiate policy performance.

Key Results

The paper presents preliminary results from evaluating two handcrafted policies: a random policy (prand) and a nearest-neighbor policy (µNN).

  • Across three scenarios (Grid, Spider, Bologna), the µNN policy consistently outperformed prand.
  • The performance gap between µNN and prand was most pronounced in the simpler, procedurally generated scenarios (Grid and Spider).
  • In the more complex and realistic Bologna scenario, the advantage of µNN over prand was less significant, indicating the challenges posed by realistic urban environments.
  • The simulation framework allows for policy evaluation over episodes, showing stabilization of estimated policy values after a few dozen episodes.
  • The average running time for evaluating policies was around one minute per episode (for 600 time-steps, equivalent to 10 minutes of simulated time), with noted minor instabilities in the implementation.

Limitations and Future Work

Limitations: * Minor instabilities: The authors acknowledge experiencing some minor instabilities in the current implementation of the simulator. * Limited policy evaluation: Only two handcrafted policies were evaluated, and the focus was on demonstrating the simulator's capabilities rather than achieving state-of-the-art RL performance. * Running time: While functional, the simulation speed could be improved for faster policy evaluation.

Future Work: * Interruptible options: The authors plan to extend the model to support interruptible options, allowing for more flexible task switching. * Improved running time: Optimizing simulator calls and parallelizing simulations are key areas for speeding up the evaluation process. * Multi-agent RL: The framework is designed for multi-agent RL, and further exploration in this direction is a natural next step. * More complex scenarios: Incorporating more realistic constraints and dynamics into the scenarios.

Summary updated

Abstract

International audience
BibTeX
@inproceedings{bono2018sulfr,
  author = {Guillaume Bono and Jilles Dibangoye and Laëtitia Matignon and Florian Pereyron and Olivier Simonin},
  title = {{SULFR: Simulation of Urban Logistic For Reinforcement}},
  booktitle = {HAL},
  year = {2018},
}

Loading related content...

Figure