A Quality Diversity Approach to Automatically Generate Multi-Agent Path Finding Benchmark Maps

Cheng Qian1, Yulun Zhang1, Varun Bhatt2, Matthew C. Fontaine2, Stefanos Nikolaidis2, Jiaoyang Li1
1Robotics Institute, Carnegie Mellon University
2Thomas Lord Department of Computer Science, University of Southern California

Abstract

We take advantage of the QD algorithm and NCA with different objectives and diversity measures to generate maps with patterns to comprehensively understand the performance of MAPF algorithms and be able to make fair comparisons between two MAPF algorithms to provide further information on the selection between two algorithms. Empirically, we employ this technique to generate diverse benchmark maps to evaluate and compare the behavior of different types of MAPF algorithms such as bounded-suboptimal algorithms, suboptimal algorithms, and reinforcement-learning-based algorithms. Through both single-planner experiments and comparisons between algorithms, we identify patterns where each algorithm excels and detect disparities in runtime or success rates between different algorithms.

Introduction

Existing benchmark maps for MAPF algorithms are fixed or human-designed. These maps have several problems. They may not cover all failure modes of certain algorihtm, may not sufficiently understanding pros and cons of different algorithms, and will cause bias while making comparsion.
Our paper applys layout optimization approach based on QD algorithm and NCA from the previous work[1] and use it with an alternative goal of generating diverse benchmark maps for MAPF algorithms. We show that QD-NCA approach can generate diverse maps that are easy or challenging for each MAPF algorihtm to solve and can generate unbiased map set to automatically compare two MAPF algorithsm.

Approach Overview

We adapt the previous work[1] to use CMA-MAE and NCA to generate diverse benchmark maps with the objective and measures computed by running MAPF algorithms.

Overview of our approach of using CMA-MAE optimize diverse NCAs to generate benchmark maps.

Figure1: Overview of our approach of using CMA-MAE optimize diverse NCAs to generate benchmark maps.

Objectives:
One algorihtm Experiments: average CPU runtime: \(f(x) = t_{\phi}(x), \phi \in \{\text{CBS}, \text{EECBS}, \text{PBS}\}\)
Regularized Success Rate (RSR): \(r_{\phi}(x) = \sum_{i=1}^{N_e} RSR_{\phi}^{(i)}(x), \phi \in \{\text{PIBT}, \text{LTF}\}\)
Two-algorithm Experiments: EECBS & PBS: \(f(x) = |t_{\text{EECBS}}(x) - t_{\text{PBS}}(x)|\)
PIBT & LTF: \(f(x) = |r_{\text{PIBT}}(x) - r_{\text{LTF}}(x)|\)

Diversity Measures: Number of obstacles & KL divergence of tile pattern distribution

One Algorithm Experiments

One algorithm experiments setup

One algorihtm experiments setup

Two Algorithm Experiments

Two algorithm experiments setup

Two algorithm experiments setup

BibTeX

@misc{qian2024qualitydiversityapproachautomatically,
        title={A Quality Diversity Approach to Automatically Generate Multi-Agent Path Finding Benchmark Maps}, 
        author={Cheng Qian and Yulun Zhang and Varun Bhatt and Matthew Christopher Fontaine and Stefanos Nikolaidis and Jiaoyang Li},
        year={2024},
        eprint={2409.06888},
        archivePrefix={arXiv},
        primaryClass={cs.MA},
        url={https://arxiv.org/abs/2409.06888}, 
  }