Judgelight: Trajectory-Level Post-Optimization for Multi-Agent Path Finding via Closed-Subwalk Collapsing
Yimin Tang, Sven Koenig, Erdem Bıyık
TL;DR
Judgelight introduces MAPF-Collapse, a trajectory-level post-processing framework that collapses closed subwalks in a given feasible MAPF schedule to minimize move actions while preserving all feasibility constraints. The authors prove MAPF-Collapse is NP-hard and provide an exact ILP formulation that encodes candidate collapses, their savings, and inter-agent dependencies, along with practical preprocessing to prune the action space. Empirical results on the POGEMA benchmark show that Judgelight consistently reduces solution cost by roughly 20%–40%, with most instances solved within one second, and yields particular gains for learning-based MAPF solvers. This post-optimization step is solver-agnostic and readily applicable to MAPF variants, offering a practical path to deploy more efficient multi-robot plans in real-world settings.
Abstract
Multi-Agent Path Finding (MAPF) is an NP-hard problem with applications in warehouse automation and multi-robot coordination. Learning-based MAPF solvers offer fast and scalable planning but often produce feasible trajectories that contain unnecessary or oscillatory movements. We propose Judgelight, a post-optimization layer that improves trajectory quality after a MAPF solver generates a feasible schedule. Judgelight collapses closed subwalks in agents' trajectories to remove redundant movements while preserving all feasibility constraints. We formalize this process as MAPF-Collapse, prove that it is NP-hard, and present an exact optimization approach by formulating it as integer linear programming (ILP) problem. Experimental results show Judgelight consistently reduces solution cost by around 20%, particularly for learning-based solvers, producing trajectories that are better suited for real-world deployment.
