A Quality Diversity Approach to Automatically Generate Multi-Agent Path Finding Benchmark Maps (Extended Abstract)

Cheng Qian, Yulun Zhang, Jiaoyang Li

TL;DR

This paper introduces a novel method for automatically generating diverse and challenging benchmark maps for Multi-Agent Path Finding (MAPF) algorithms. By combining Quality Diversity (QD) algorithms with Neural Cellular Automata (NCA), they create maps that can expose the failure modes of existing MAPF planners, leading to more robust algorithm development.

What Problem Does This Paper Address?

Evaluating Multi-Agent Path Finding (MAPF) algorithms, which deal with coordinating multiple robots to navigate without collisions, relies heavily on benchmark maps. However, current benchmarks are often fixed and human-designed. This poses several problems: they might not cover all potential failure scenarios for MAPF algorithms, potentially favoring certain types of planners over others, and the sheer number of existing maps makes comprehensive testing computationally expensive. The authors aim to address this by automatically generating a diverse set of maps that can better challenge and reveal the limitations of MAPF algorithms.

Methods

The core of the proposed method involves using a Quality Diversity (QD) algorithm, specifically CMA-ME, to guide the generation of maps. These maps are created using Neural Cellular Automata (NCA), a technique that uses convolutional neural networks to simulate cellular automata for map generation.

Here's a breakdown:

  • Map Generation: NCA generators, each with 3 convolutional layers and 1730 parameters, are initialized. These generators produce maps based on a fixed seed map.
  • Quality Diversity (QD) Optimization: The CMA-ME algorithm searches for optimal NCA generator parameters. The "quality" is measured by an objective function (e.g., CPU runtime of a MAPF solver), and "diversity" is measured by metrics like map entropy and standard deviation of betweenness centrality.
  • Measure Space Discretization: The space of possible quality and diversity measures is divided into 6,400 cells, with the goal of finding a high-quality map for each cell.
  • Map Repair and Evaluation: Generated maps are repaired to ensure connectivity using a Mixed-Integer Linear Programming solver. Then, a state-of-the-art MAPF algorithm (EECBS) is run multiple times on each map with randomized agent start/goal positions to evaluate its performance (success rate, runtime, suboptimality).

Datasets

The paper does not use pre-existing datasets for training. Instead, it generates its own benchmark maps. These generated maps are 32x32 grids with exactly 20% obstacles. The evaluation of these maps is performed by running the EECBS MAPF algorithm on them with randomized agent configurations.

Key Insights and Ideas

  • Divergent Behavior on Similar Maps: The most striking insight is that two maps with qualitatively similar structures and diversity metrics (map entropy and standard deviation of betweenness centrality) can lead to drastically different performance for the same MAPF algorithm (EECBS). This highlights the subtle but critical impact of map features on algorithm behavior.
  • Corridor Length Matters: The authors hypothesize that shorter corridors in map (b) compared to map (a) contribute to more empty space and less congestion, leading to significantly faster runtimes for EECBS.
  • Map Entropy and Obstacle Distribution: Higher map entropy, indicating a more stochastic obstacle pattern, can lead to increased "end-lock" areas and congestion (map (d)). Conversely, evenly distributed obstacles can provide more navigable space and faster runtimes (map (c)).
  • Simple Patterns Can Be Deceptive: Maps with simple patterns and low map entropy (like (e) and (f)) can still be challenging due to specific features like one-tile entries and narrow corridors, which can lead to high runtimes. This suggests that low map entropy and low standard deviation of betweenness centrality are not always indicators of easy maps.

Key Results

The paper presents preliminary results on the EECBS MAPF algorithm. For instance, two maps (a and b) with similar diversity metrics showed a significant difference in EECBS performance:

  • Map (a): 43.75% success rate, average runtime of 3.2 seconds.
  • Map (b): 92.00% success rate, average runtime of 0.8 seconds. A statistical test confirmed a significant difference in average runtime between these two maps. The paper also qualitatively discusses how different obstacle distributions and corridor structures impact EECBS's performance, leading to significant runtime variations.

Limitations and Future Work

Limitations: * The presented results are preliminary, focusing on a single MAPF algorithm (EECBS). * The computational cost of generating and evaluating maps is still a factor, though the goal is to optimize this.

Future Work: * Generate a broader set of diverse benchmark maps to sufficiently cover the failure modes of various MAPF algorithms. * Establish unbiased benchmark sets with suitable objectives and measures for fair comparisons between different MAPF algorithms. * Optimize the benchmark set size to manage computational costs effectively.

Summary updated

Abstract

Multi-Agent Path Finding (MAPF) is a complex problem aiming at searching for paths where teams of agents navigate to their goal locations without collisions. Recent advancements in MAPF have highlighted the necessity for robust benchmarks to evaluate their performance. Previously, the benchmarks used to evaluate MAPF algorithms are predominantly fixed, human-designed maps, which cannot evaluate the behavior of the algorithms comprehensively, leading to potential failures in diverse map scenarios. Meanwhile, quality diversity (QD) algorithm is used to generate maps of high solution quality for MAPF. We employ this technique to automatically generate diverse benchmark maps and explore the detailed behavior of MAPF algorithms in the generated maps. As a preliminary result, we concentrate on EECBS, a popular sub-optimal MAPF algorithm, and observe several findings regarding the runtime and solution quality of EECBS, and difficulty of the generated maps.
BibTeX
@inproceedings{qian2024quality,
  author = {Cheng Qian and Yulun Zhang and Jiaoyang Li},
  title = {{A Quality Diversity Approach to Automatically Generate Multi-Agent Path Finding Benchmark Maps (Extended Abstract)}},
  booktitle = {SOCS},
  year = {2024},
  doi = {10.1609/socs.v17i1.31580},
}

Loading related content...

Figure