Skip to main content
QUICK REVIEW

[Paper Review] Flatland Competition 2020: MAPF and MARL for Efficient Train Coordination on a Grid World

Florian Laurent, Manuel Schneider|arXiv (Cornell University)|Mar 30, 2021
Vehicle Routing Optimization MethodsEngineering7 citations
TL;DR

This paper presents the Flatland Competition 2020, which evaluated multi-agent reinforcement learning (MARL) and operations research (OR) approaches for efficient train coordination in a grid-world environment. It compares centralized and decentralized MARL methods using graph-based observations, communication, and prioritization mechanisms, showing that while OR-based solutions outperform RL in performance, MARL approaches demonstrate strong potential with effective coordination mechanisms.

ABSTRACT

The Flatland competition aimed at finding novel approaches to solve the vehicle re-scheduling problem (VRSP). The VRSP is concerned with scheduling trips in traffic networks and the re-scheduling of vehicles when disruptions occur, for example the breakdown of a vehicle. While solving the VRSP in various settings has been an active area in operations research (OR) for decades, the ever-growing complexity of modern railway networks makes dynamic real-time scheduling of traffic virtually impossible. Recently, multi-agent reinforcement learning (MARL) has successfully tackled challenging tasks where many agents need to be coordinated, such as multiplayer video games. However, the coordination of hundreds of agents in a real-life setting like a railway network remains challenging and the Flatland environment used for the competition models these real-world properties in a simplified manner. Submissions had to bring as many trains (agents) to their target stations in as little time as possible. While the best submissions were in the OR category, participants found many promising MARL approaches. Using both centralized and decentralized learning based approaches, top submissions used graph representations of the environment to construct tree-based observations. Further, different coordination mechanisms were implemented, such as communication and prioritization between agents. This paper presents the competition setup, four outstanding solutions to the competition, and a cross-comparison between them.

Motivation & Objective

  • To address the dynamic vehicle re-scheduling problem (VRSP) in complex railway networks using scalable, real-time coordination methods.
  • To evaluate the effectiveness of multi-agent reinforcement learning (MARL) versus traditional operations research (OR) techniques in a large-scale, partially observable grid-world environment.
  • To investigate how observation design, communication, and prioritization mechanisms impact MARL performance in multi-agent pathfinding (MAPF) scenarios.
  • To compare centralized training with decentralized execution (CTDE) paradigms against centralized planning approaches in terms of scalability and solution quality.
  • To identify key challenges in applying MARL to real-world traffic coordination, including deadlock resolution and long-term planning.

Proposed method

  • Employed a simplified grid-world environment (Flatland) that models real railway network dynamics, including train movement, switches, and conflicts.
  • Used graph-based observations—specifically tree-structured observations around each agent—to improve local perception and coordination.
  • Implemented both centralized and decentralized MARL training, with centralized critics and decentralized actors to balance coordination and scalability.
  • Applied coordination mechanisms such as global conflict graph construction, local communication, and traffic signal clustering to resolve path conflicts.
  • Integrated heuristic-based prioritization (e.g., departure schedule-based) and hand-crafted features to improve performance in complex scenarios.
  • Evaluated solutions using a benchmark suite with varying train counts and network complexities, measuring completion time and success rate.

Experimental results

Research questions

  • RQ1How do centralized versus decentralized MARL approaches compare in performance and scalability for large-scale train coordination?
  • RQ2To what extent do graph-based and tree-structured observations improve multi-agent pathfinding in partially observable environments?
  • RQ3How effective are communication mechanisms and prioritization strategies in reducing conflicts and deadlocks in MARL-based train scheduling?
  • RQ4Can RL-based coordination mechanisms outperform or complement hand-crafted heuristics in complex, dynamic railway scheduling tasks?
  • RQ5What role do observation design and feature engineering play in enabling long-term planning and spatial reasoning in MARL for MAPF?

Key findings

  • Operations research (OR)-based solutions, particularly centralized priority-planning methods like An_Old_Driver, outperformed all MARL approaches in terms of completion time and success rate.
  • MARL solutions using centralized training with decentralized execution (CTDE) achieved competitive performance, demonstrating that effective coordination mechanisms can compensate for partial observability.
  • Graph-based and tree-structured observations significantly improved local perception and coordination, enabling agents to reason about nearby conflicts and path dependencies.
  • Communication mechanisms—both hand-crafted and learned—improved coordination, especially in dense environments with high conflict rates.
  • Prioritization strategies, such as conflict graph-based or schedule-based priority assignment, were critical in preventing deadlocks and improving solution stability.
  • Despite strong performance, MARL approaches still struggled with complex, cascading deadlocks, indicating a need for improved long-term planning and temporal reasoning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.