Optimal and Bounded Suboptimal Any-Angle Multi-agent Pathfinding

2404.16379

YC

0

Reddit

0

Published 4/26/2024 by Konstantin Yakovlev, Anton Andreychuk, Roni Stern

Abstract

Multi-agent pathfinding (MAPF) is the problem of finding a set of conflict-free paths for a set of agents. Typically, the agents' moves are limited to a pre-defined graph of possible locations and allowed transitions between them, e.g. a 4-neighborhood grid. We explore how to solve MAPF problems when each agent can move between any pair of possible locations as long as traversing the line segment connecting them does not lead to the collision with the obstacles. This is known as any-angle pathfinding. We present the first optimal any-angle multi-agent pathfinding algorithm. Our planner is based on the Continuous Conflict-based Search (CCBS) algorithm and an optimal any-angle variant of the Safe Interval Path Planning (TO-AA-SIPP). The straightforward combination of those, however, scales poorly since any-angle path finding induces search trees with a very large branching factor. To mitigate this, we adapt two techniques from classical MAPF to the any-angle setting, namely Disjoint Splitting and Multi-Constraints. Experimental results on different combinations of these techniques show they enable solving over 30% more problems than the vanilla combination of CCBS and TO-AA-SIPP. In addition, we present a bounded-suboptimal variant of our algorithm, that enables trading runtime for solution cost in a controlled manner.

Create account to get full access

or

If you already have an account, we'll log you in

Overview

  • This paper explores an approach to solving multi-agent pathfinding (MAPF) problems where each agent can move between any pair of locations, as long as the path between them does not collide with obstacles.
  • This type of pathfinding is known as "any-angle" pathfinding, in contrast to the more common grid-based pathfinding where agents can only move along predefined grid edges.
  • The authors present the first optimal any-angle MAPF algorithm, which combines two existing techniques: Continuous Conflict-based Search (CCBS) and an optimal any-angle variant of Safe Interval Path Planning (TO-AA-SIPP).
  • However, the straightforward combination of these methods scales poorly due to the high branching factor of any-angle pathfinding.
  • To address this, the authors adapt two techniques from classical grid-based MAPF - Disjoint Splitting and Multi-Constraints - to the any-angle setting.
  • Experimental results show these adaptations enable solving over 30% more problems than the vanilla CCBS + TO-AA-SIPP approach.
  • The authors also present a bounded-suboptimal variant of their algorithm, which allows trading runtime for solution cost in a controlled manner.

Plain English Explanation

In many real-world scenarios, such as robot navigation or video game pathfinding, we need to plan paths for multiple agents (e.g., robots or characters) to reach their destinations without colliding with each other or with obstacles in the environment. This is known as the multi-agent pathfinding (MAPF) problem.

Traditionally, MAPF algorithms have assumed that agents can only move along a predefined grid of locations, like a checkerboard. However, in many cases, agents should be able to move between any pair of locations, as long as the straight line between them doesn't intersect with an obstacle. This is called "any-angle" pathfinding.

The authors of this paper present a new algorithm for solving any-angle MAPF problems. Their approach combines two existing techniques: Continuous Conflict-based Search (CCBS) and an optimal any-angle variant of Safe Interval Path Planning (TO-AA-SIPP).

While this combination works in theory, the authors found that it scales poorly in practice because any-angle pathfinding leads to search trees with a very large branching factor. To address this, they adapted two techniques from classical grid-based MAPF - Disjoint Splitting and Multi-Constraints - to the any-angle setting.

These adaptations enabled the authors' algorithm to solve over 30% more problems than the vanilla CCBS + TO-AA-SIPP approach. The authors also developed a version of their algorithm that trades off solution quality (optimality) for faster runtime, allowing users to choose the right balance for their needs.

Technical Explanation

The core of the authors' approach is the combination of two existing techniques: Continuous Conflict-based Search (CCBS) and an optimal any-angle variant of Safe Interval Path Planning (TO-AA-SIPP).

CCBS is a search-based algorithm for solving MAPF problems, where agents' paths are planned sequentially, and conflicts between agents' paths are resolved as they are detected. TO-AA-SIPP is an any-angle pathfinding algorithm that can find optimal paths between any pair of locations, as long as the path does not intersect with obstacles.

By combining CCBS and TO-AA-SIPP, the authors obtain an optimal any-angle MAPF algorithm. However, this straightforward combination suffers from poor scalability due to the high branching factor of any-angle pathfinding.

To address this, the authors adapt two techniques from classical grid-based MAPF to the any-angle setting:

  1. Disjoint Splitting: This technique partitions the set of agents into disjoint subsets, allowing the algorithm to plan paths for each subset independently, reducing the overall complexity.

  2. Multi-Constraints: This approach identifies and resolves conflicts between agents' paths proactively, rather than reactively as in the original CCBS algorithm. This reduces the number of conflicts that need to be resolved during planning.

The authors' experimental results show that these adaptations enable their algorithm to solve over 30% more problems than the vanilla CCBS + TO-AA-SIPP approach.

Additionally, the authors present a bounded-suboptimal variant of their algorithm, which can trade off solution cost for reduced runtime. This allows users to choose the appropriate balance between solution quality and computational efficiency for their specific needs.

Critical Analysis

The authors' work represents an important step forward in solving MAPF problems with any-angle pathfinding, which is a more realistic and flexible setting than the traditional grid-based approach. By adapting techniques from classical MAPF to the any-angle domain, the authors have developed an algorithm that can scale to larger and more complex problem instances.

However, the paper does not address some potential limitations and areas for further research:

  1. Obstacle Representation: The authors assume that the environment is represented as a set of polygonal obstacles. In practice, the representation of obstacles can have a significant impact on the performance of any-angle pathfinding algorithms. Exploring alternative obstacle representations, such as signed distance fields, could be a fruitful area for future work.

  2. Heterogeneous Agents: The current algorithm assumes that all agents have the same capabilities and constraints. Extending the approach to handle agents with different sizes, speeds, or other characteristics would broaden its applicability to real-world scenarios.

  3. Dynamic Environments: The paper does not consider environments where obstacles or agent goals may change over time. Developing any-angle MAPF algorithms that can handle dynamic environments would be a valuable contribution.

  4. Completeness and Optimality: While the authors' algorithm is optimal for the any-angle MAPF problem, it would be interesting to explore alternative approaches that may offer different trade-offs between solution quality, computation time, and completeness.

Despite these potential limitations, the authors' work represents a significant advancement in the field of multi-agent pathfinding, and their techniques could have important applications in robotics, video games, and other domains where flexible and efficient path planning is required.

Conclusion

This paper presents a new algorithm for solving multi-agent pathfinding (MAPF) problems in an "any-angle" setting, where agents can move between any pair of locations as long as the path between them does not intersect with obstacles. The authors combine two existing techniques, Continuous Conflict-based Search (CCBS) and an optimal any-angle variant of Safe Interval Path Planning (TO-AA-SIPP), and adapt two classical MAPF techniques, Disjoint Splitting and Multi-Constraints, to the any-angle domain.

The resulting algorithm is able to solve over 30% more problems than the vanilla CCBS + TO-AA-SIPP approach, demonstrating the value of these adaptations. The authors also introduce a bounded-suboptimal variant of their algorithm, which allows users to trade off solution quality for faster runtime as needed.

This work represents an important step forward in MAPF research, as it addresses the more realistic and flexible any-angle pathfinding scenario. The techniques developed in this paper could have significant implications for a wide range of applications, from robot navigation to video game pathfinding, where efficient and adaptive path planning is critical.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Related Papers

🤖

Scaling Lifelong Multi-Agent Path Finding to More Realistic Settings: Research Challenges and Opportunities

He Jiang, Yulun Zhang, Rishi Veerapaneni, Jiaoyang Li

YC

0

Reddit

0

Multi-Agent Path Finding (MAPF) is the problem of moving multiple agents from starts to goals without collisions. Lifelong MAPF (LMAPF) extends MAPF by continuously assigning new goals to agents. We present our winning approach to the 2023 League of Robot Runners LMAPF competition, which leads us to several interesting research challenges and future directions. In this paper, we outline three main research challenges. The first challenge is to search for high-quality LMAPF solutions within a limited planning time (e.g., 1s per step) for a large number of agents (e.g., 10,000) or extremely high agent density (e.g., 97.7%). We present future directions such as developing more competitive rule-based and anytime MAPF algorithms and parallelizing state-of-the-art MAPF algorithms. The second challenge is to alleviate congestion and the effect of myopic behaviors in LMAPF algorithms. We present future directions, such as developing moving guidance and traffic rules to reduce congestion, incorporating future prediction and real-time search, and determining the optimal agent number. The third challenge is to bridge the gaps between the LMAPF models used in the literature and real-world applications. We present future directions, such as dealing with more realistic kinodynamic models, execution uncertainty, and evolving systems.

Read more

4/26/2024

🔍

MGCBS: An Optimal and Efficient Algorithm for Solving Multi-Goal Multi-Agent Path Finding Problem

Mingkai Tang, Yuanhang Li, Hongji Liu, Yingbing Chen, Ming Liu, Lujia Wang

YC

0

Reddit

0

With the expansion of the scale of robotics applications, the multi-goal multi-agent pathfinding (MG-MAPF) problem began to gain widespread attention. This problem requires each agent to visit pre-assigned multiple goal points at least once without conflict. Some previous methods have been proposed to solve the MG-MAPF problem based on Decoupling the goal Vertex visiting order search and the Single-agent pathfinding (DVS). However, this paper demonstrates that the methods based on DVS cannot always obtain the optimal solution. To obtain the optimal result, we propose the Multi-Goal Conflict-Based Search (MGCBS), which is based on Decoupling the goal Safe interval visiting order search and the Single-agent pathfinding (DSS). Additionally, we present the Time-Interval-Space Forest (TIS Forest) to enhance the efficiency of MGCBS by maintaining the shortest paths from any start point at any start time step to each safe interval at the goal points. The experiment demonstrates that our method can consistently obtain optimal results and execute up to 7 times faster than the state-of-the-art method in our evaluation.

Read more

5/1/2024

🔎

Scalable Mechanism Design for Multi-Agent Path Finding

Paul Friedrich, Yulun Zhang, Michael Curry, Ludwig Dierks, Stephen McAleer, Jiaoyang Li, Tuomas Sandholm, Sven Seuken

YC

0

Reddit

0

Multi-Agent Path Finding (MAPF) involves determining paths for multiple agents to travel simultaneously and collision-free through a shared area toward given goal locations. This problem is computationally complex, especially when dealing with large numbers of agents, as is common in realistic applications like autonomous vehicle coordination. Finding an optimal solution is often computationally infeasible, making the use of approximate, suboptimal algorithms essential. Adding to the complexity, agents might act in a self-interested and strategic way, possibly misrepresenting their goals to the MAPF algorithm if it benefits them. Although the field of mechanism design offers tools to align incentives, using these tools without careful consideration can fail when only having access to approximately optimal outcomes. In this work, we introduce the problem of scalable mechanism design for MAPF and propose three strategyproof mechanisms, two of which even use approximate MAPF algorithms. We test our mechanisms on realistic MAPF domains with problem sizes ranging from dozens to hundreds of agents. We find that they improve welfare beyond a simple baseline.

Read more

5/9/2024

No Panacea in Planning: Algorithm Selection for Suboptimal Multi-Agent Path Finding

No Panacea in Planning: Algorithm Selection for Suboptimal Multi-Agent Path Finding

Weizhe Chen, Zhihan Wang, Jiaoyang Li, Sven Koenig, Bistra Dilkina

YC

0

Reddit

0

Since more and more algorithms are proposed for multi-agent path finding (MAPF) and each of them has its strengths, choosing the correct one for a specific scenario that fulfills some specified requirements is an important task. Previous research in algorithm selection for MAPF built a standard workflow and showed that machine learning can help. In this paper, we study general solvers for MAPF, which further include suboptimal algorithms. We propose different groups of optimization objectives and learning tasks to handle the new tradeoff between runtime and solution quality. We conduct extensive experiments to show that the same loss can not be used for different groups of optimization objectives, and that standard computer vision models are no worse than customized architecture. We also provide insightful discussions on how feature-sensitive pre-processing is needed for learning for MAPF, and how different learning metrics are correlated to different learning tasks.

Read more

4/5/2024