Multi-Agent Path Finding
Parallel Hierarchical Composition Conflict-Based Search
Conflict-Based Search (CBS) is a complete multi-agent pathfinding (MAPF) algorithm. It is hybrid in that it:
- Decouples the search for individual agent paths
- Couples the resolution of conflicts that occur between agents
Our work creates a hierarchical composition of the CBS algorithm and parallelizes it using multithreading. The Hierarchical Composition Conflict-Based Search (HC-CBS) algorithm modifies the existing CBS algorithm to solve layers of subproblems consisting of grouping of agents.
Additionally, this work leverages the embarrassingly parallel nature of HC-CBS to parallelize via multithreading. We present two parallel extensions: Parallel Hierarchical Composition Conflict-Based Search (PHC-CBS) and Dynamic Parallel Hierarchical Composition Conflict-Based Search (DPHC-CBS). PHC-CBS distributes work to threads in a structured layered system that mirrors HC-CBS. DPHC-CBS distributes work dynamically to threads based on available work and available threads.
CBS vs CBS w/P
Conflict-Based Search (CBS) is a complete multi-agent pathfinding (MAPF) algorithm. It performs individual path planning and resolves conflicts through constraint trees.
In environments with many inter-agent conflicts, the search process can require significant computational effort. To address this, we introduce parallelization within the CBS framework.
CBS with parallelization (CBS w/P) distributes portions of the search across multiple threads using multithreading. This approach leverages available computational resources to accelerate execution while maintaining the CBS structure.
(P)HC-CBS
Hierarchical Composition Conflict-Based Search (HC-CBS) modifies the existing CBS algorithm to solve layers of subproblems consisting of grouping of agents. Subproblems are multi-agent pathfinding problems where only a subset of agents from the full problem are considered. These subsets are solved and hierarchically composed into larger groupings of agents until the original multi-agent pathfinding problem is formed.
The parallel hierarchical extensions include:
- PHC-CBS, which distributes work to threads in a structured layered system that mirrors HC-CBS.
- DPHC-CBS, which distributes work dynamically to threads based on available work and available threads.
Algorithm Overview
The intuition behind this work is to solve smaller subproblems and to use the non-conflicting paths to aid in solving larger subproblems. Subproblems are multi-agent pathfinding problems where only a subset of agents from the full problem are considered. These subsets of agents are solved and hierarchically composed into larger groupings of agents until the original multi-agent pathfinding problem is formed. Information regarding paths, constraints, and costs from smaller subproblems are used to generate a set of starting points from which larger subproblems can begin their search. The goal of this hierarchical structure is to solve smaller subproblems to target strongly coupled agents and reduce the number of explored states to reduce the amount of work required to solve larger subproblems.
Subproblems are solved and merged based on an agent group composition function. This uses a heuristic to estimate the amount of computational work a subproblem will require to be solved. The agent group composition function determines which agent groups should be paired together and solved. The agent group composition is crucial in determining subproblems that effectively target problematic agents.
Subproblems are solved using CBS and the information about their paths, constraints, and costs are used in the future when solving larger subproblems through a process called crossing constraint trees. This is the process of taking information from each subproblem and combining them to provide a starting basis for larger subproblems. The process of organizing, solving, and merging subproblems is repeated until the full multi-agent pathfinding problem is solved.
Evaluation
The hierarchical composition algorithms were tested on three sets of experiments:
1. Heuristic Evaluation
Tests different heuristics for the agent group composition function.
2. Collision-Heavy Cross Environment
Runtime and memory performance were measured in a difficult, collision-heavy environment.
3. Randomly Generated Environments
Tests the runtime and memory performance of the algorithms on randomly generated environments.
All algorithms were run for 20 iterations and the results were averaged.
The hierarchical composition algorithms were tested against:
- CBS
- Improved CBS
Key Findings
We show improved scalability in robot numbers in difficult problems consisting of many inter-agent conflicts. For the two parallel extensions, we analyze its performance and discuss situations in which one should be preferred over the other.
For an in-depth analysis of the algorithms, please refer to the original paper linked below.
Publications
- Lee, H. , Motes, J. , Morales, M. , & Amato, N.M. (2021). Parallel Hierarchical Composition Conflict-Based Search. IEEE/RSJ International Conference on Intelligent Robots and Systems , 6(4) , 7001--7008. https://doi.org/10.1109/LRA.2021.3096476.
- Lee, H. , Motes, J. , Morales, M. , & Amato, N.M. (2021). Parallel Hierarchical Composition Conflict-Based Search. IEEE/RSJ International Conference on Intelligent Robots and Systems , 6(4) , 7001--7008. https://doi.org/10.1109/LRA.2021.3096476.
- Jacobs, S.A. & Amato, N.M. (2014). The anatomy of a distributed motion planning roadmap. 2014 IEEE/RSJ International Conference on Intelligent Robots and Systems , 3019-3026. https://doi.org/10.1109/IROS.2014.6942979
- Jacobs, S.A. (2014). A Scalable Framework for Parallelizing Sampling-Based Motion Planning Algorithms. Doctoral Dissertation, Texas A&M University. View publication
- Fidel, A. , Jacobs, S.A. , Sharma, S. , Amato, N.M. , & Rauchwerger, L. (2014). Using Load Balancing to Scalably Parallelize Sampling-Based Motion Planning Algorithms. 2014 IEEE 28th International Parallel and Distributed Processing Symposium , 573-582. https://doi.org/10.1109/IPDPS.2014.66
- Rodriguez, C. , Denny, J. , Jacobs, S.A. , Thomas, S. , & Amato, N.M. (2013). Blind RRT: A Probabilistically Complete Distributed RRT. In. Proc. IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) , 1758-1765. https://doi.org/10.1109/IROS.2013.6696587
- Ekenna, C. , Jacobs, S.A. , Thomas, S. , & Amato, N.M. (2013). Adaptive Neighbor Connection for PRMs: A Natural Fit for Heterogeneous Environments and Parallelism. In. Proc. IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) , 1249-1256. https://doi.org/10.1109/IROS.2013.6696510
- Jacobs, S.A. , Stradford, N. , Rodriguez, C. , Thomas, S. , & Amato, N.M. (2013). A scalable distributed RRT for motion planning. 2013 IEEE International Conference on Robotics and Automation , 5088-5095. https://doi.org/10.1109/ICRA.2013.6631304
- Fidel, A. , Jacobs, S.A. , Sharma, S. , Rauchwerger, L. , & Amato, N.M. (2013). Load Balancing Techniques for Scalable Parallelization of Sampling-Based Motion Planning Algorithms. Technical Report, TR13-002 , Parasol Laboratory, Department of Computer Science, Texas A&M University.
- Jacobs, S.A. , Manavi, K. , Burgos, J. , Denny, J. , Thomas, S. , & Amato, N.M. (2012). A Scalable Method for Parallelizing Sampling-Based Motion Planning Algorithms. 2012 IEEE International Conference on Robotics and Automation , 2529-2536. https://doi.org/10.1109/ICRA.2012.6225334
- Jacobs, S.A. & Amato, N.M. (2011). From Days to Seconds: Scalable Parallel Algorithms for Motion Planning. In ACM Student Research Compet, Conf. on High Performance Computing Networking, Storage and Analysis Companion Proceedings. View publication
- Thomas, S. , Tanase, G. , Dale, L.K. , Moreira, J.E. , Rauchwerger, L. , & Amato, N.M. (2005). Parallel Protein Folding with STAPL. Concurrency and Computation: Practice and Experience , 17(14) , 1643-1656. https://doi.org/https://doi.org/10.1002/cpe.950
- Thomas, S. & Amato, N.M. (2004). Parallel Protein Folding with STAPL. 18th International Parallel and Distributed Processing Symposium (IPDPS) , 189-. https://doi.org/10.1109/IPDPS.2004.1303204
- Amato, N. & Dale, L. (1999). Probabilistic Roadmap Methods are Embarrassingly Parallel. Proceedings of IEEE International Conference on Robotics and Automation , 1 , 688-694 vol.1. https://doi.org/10.1109/ROBOT.1999.770055