Abstract
This paper introduces Conflict-Based Min-Cost-Flow (CBM), an algorithm designed to solve the Combined Target-Assignment and Path-Finding (TAPF) problem. TAPF bridges the gap between anonymous and non-anonymous multi-agent pathfinding by grouping agents into teams where they are interchangeable. CBM utilizes a hierarchical approach, combining Conflict-Based Search (CBS) at the high level with min-cost max-flow on time-expanded networks at the low level. Experimental results demonstrate that CBM scales to hundreds of agents in complex warehouse environments while maintaining optimality in makespan.
Introduction
In the field of Multi-Agent Path Finding (MAPF), researchers traditionally focus on two extremes. Non-anonymous MAPF requires every robot to reach a specific, unique destination, a problem that is NP-hard to solve optimally. Conversely, anonymous MAPF allows any robot to go to any destination, which can be solved efficiently in polynomial time.
However, many real-world applications—most notably automated warehouse systems like those used by Amazon Robotics—fall into a middle ground. In these systems, robots are often partitioned into teams. While it doesn't matter which specific robot in a "shipping team" retrieves a particular inventory pod, a robot from that team cannot swap tasks with one from a "maintenance team." This hybrid challenge is formalized as the Combined Target-Assignment and Path-Finding (TAPF) problem. The objective is to minimize the makespan (the time the last robot reaches its goal) while ensuring collision-free paths.
The CBM Algorithm
To address TAPF, the authors developed CBM (Conflict-Based Min-Cost-Flow), a hierarchical algorithm that exploits the partial anonymity of the problem structure. CBM operates on two levels:
- High-Level: Conflict-Based Search (CBS). CBM treats each team as a single "meta-agent." It performs a best-first search on a constraint tree. If robots from different teams collide, the high-level search splits the node and adds constraints to prevent that specific collision in future iterations.
- Low-Level: Min-Cost Max-Flow. Within a single team, the problem is entirely anonymous. CBM leverages this by using a min-cost max-flow algorithm on a time-expanded network. This allows the algorithm to simultaneously assign robots to targets and plan their paths optimally and efficiently.
A key innovation in CBM is the use of edge-weight biasing. The low-level solver doesn't just find any optimal path; it uses weights to favor paths that avoid locations where other teams are currently planned to be. This proactive avoidance significantly reduces the number of high-level conflicts, drastically improving search speed.
Experimental Evaluation and Results
The researchers evaluated CBM using random 30×30 grids with 10% obstacles and a large-scale simulated warehouse layout.
Scalability and Efficiency
CBM demonstrated superior scalability compared to standard MAPF solvers. In random grid tests, it successfully solved instances with up to 450 agents (90 teams of 5). Standard non-anonymous solvers typically fail much earlier because they cannot exploit the flexibility of team-based target assignment. In a 420-robot warehouse simulation (210 incoming and 210 outgoing agents), CBM found optimal solutions in an average of 91 seconds. In many cases, the makespan achieved was the theoretical minimum, indicating highly efficient pathing.
Impact of Team Configuration
The performance of CBM is sensitive to team composition. The algorithm is most efficient when there are fewer, larger teams, as this increases the degree of anonymity the low-level flow solver can exploit. Conversely, a large number of very small teams increases the complexity for the high-level CBS, as there are more potential inter-team conflicts to resolve.
Conclusion
CBM provides a powerful framework for solving TAPF problems optimally. By combining the strengths of flow-based assignment for anonymous groups and conflict-based search for unique teams, it achieves a level of scalability previously unattainable for optimal multi-agent coordination. Future work may involve extending CBM to dynamic environments where obstacles move or new tasks are assigned asynchronously.
Summary updated