Collision Definition in Grid-Based Multi-Agent Path Finding
In grid-based multi-agent path finding (MAPF), multiple agents navigate from their respective start positions to goal positions on a grid graph without colliding with each other. A grid graph consists of nodes (grid cells) and edges (connections between adjacent cells). Collisions in this context are generally defined in two primary ways:
-
Vertex Collision (Node Conflict):
- Occurs when two or more agents occupy the same grid cell at the same time step.
- Example: At time step ( t ), both Agent A and Agent B move into cell ( (x, y) ).
-
Edge Collision (Edge Conflict or Swapping Conflict):
- Happens when two agents exchange positions simultaneously, effectively crossing paths.
- Example: At time step ( t ), Agent A moves from cell ( u ) to cell ( v ), while Agent B moves from cell ( v ) to cell ( u ).
Collision Avoidance Strategies in the Literature
Several strategies have been developed to avoid collisions among agents in grid-based MAPF. These strategies can be broadly categorized into centralized, decentralized, and hybrid approaches.
1. Centralized Planning Approaches
Centralized methods plan paths for all agents simultaneously, considering interactions and potential conflicts.
a. Conflict-Based Search (CBS):
- Overview: CBS is a two-level algorithm consisting of a high-level search and a low-level search.
- High-Level Search:
- Maintains a constraint tree (CT), where each node represents a set of constraints (collision avoidance rules) and a solution adhering to those constraints.
- Resolves conflicts by adding constraints and branching the CT.
- Low-Level Search:
- Finds individual paths for agents that comply with the constraints imposed by the high-level node.
- Advantages:
- Efficient for problems with a moderate number of conflicts.
- Provides optimal solutions concerning the total or maximum path lengths.
- Variants:
- Enhanced CBS (ECBS): Introduces heuristics and focal searches to improve efficiency.
- Improved CBS (ICBS): Employs strategies to prune the CT and avoid redundant searches.
b. Multi-Agent A (MAA):**
- Overview: Extends the A* algorithm to plan for all agents in the joint state space.
- Joint State Space: Represents all possible combinations of agents' positions.
- Challenges:
- The state space grows exponentially with the number of agents, leading to scalability issues.
- Optimization:
- Operator Decomposition (OD): Decomposes joint actions into individual agent actions to reduce branching factors.
- Independence Detection (ID): Identifies independent groups of agents to limit the scope of joint planning.
c. M*-Algorithm:
- Overview: Searches in the joint state space but only considers agents that are in conflict.
- Dynamic Expansion: Agents are planned independently until a conflict occurs, at which point their searches are combined.
- Benefit: Reduces computational load by avoiding unnecessary joint planning.
2. Decentralized Planning Approaches
In decentralized methods, each agent plans its path independently, using local rules or strategies to avoid collisions.
a. Priority-Based Planning:
- Principle: Agents are assigned priorities; higher-priority agents proceed with their planned paths, while lower-priority agents adjust to avoid collisions.
- Implementation:
- Fixed Priorities: Priorities are predetermined and remain constant.
- Dynamic Priorities: Priorities change during execution based on specific criteria (e.g., distance to the goal).
- Algorithms:
- Priority-Based Search (PBS): Agents plan sequentially according to their priorities.
b. Cooperative A* (CA*):
- Overview: Each agent performs an A* search that considers other agents' planned paths as moving obstacles.
- Reservation Table: A global table that records the occupancy of cells over time, which agents use to avoid conflicts.
- Limitations: May not find a solution if lower-priority agents cannot find conflict-free paths.
c. Local Repair Strategies:
- Concept: Agents plan paths independently and use local strategies to resolve conflicts when they occur.
- Methods:
- Replanning: Agents detect collisions and replan their paths on the fly.
- Negotiation: Agents communicate to adjust their paths locally.
- Advantages: Flexible and scalable to a larger number of agents.
3. Hybrid Approaches
Hybrid methods combine elements of centralized and decentralized strategies to leverage the benefits of both.
a. Hierarchical Approaches:
- Structure: Utilize multiple levels of planning, with higher levels providing guidance to lower levels.
- Example: High-level planner assigns regions or corridors to agents, while low-level planners handle detailed path planning within those assignments.
b. Windowed Hierarchical Cooperative A* (WHCA*):
- Overview: Agents plan paths within a limited time window, considering other agents' plans within that window.
- Process:
- Phase 1: Agents plan paths independently for the entire problem.
- Phase 2: Within the time window, agents adjust their paths to resolve conflicts.
- Benefit: Balances computational efficiency with collision avoidance.
4. Reservation-Based Strategies
These strategies involve reserving nodes and edges in a time-extended graph to prevent conflicts.
a. Time-Expanded Networks:
- Concept: The grid graph is expanded over time, creating a 3D structure where the third dimension is time.
- Reservation Tables: Agents reserve cells and edges at specific time steps, ensuring exclusive access.
b. Safe Interval Path Planning (SIPP):
- Overview: Extends A* by incorporating safe intervals during which cells are free from conflicts.
- Advantages: Efficiently finds collision-free paths by considering time-dependent availability of cells.
5. Rule-Based Strategies
Agents follow predefined movement rules to avoid collisions without explicit communication.
a. Right-Hand Rule:
- Application: Agents give way to others approaching from a certain direction, similar to vehicular traffic rules.
- Benefits: Simple to implement and does not require complex computations.
b. Follow-the-Leader:
- Concept: Agents move in formation or queues, reducing the likelihood of conflicts.
- Use Cases: Suitable for scenarios where agents have similar destinations.
6. Velocity Obstacle Methods (Adapted for Grids)
While originally designed for continuous spaces, velocity obstacle methods can be adapted for grid-based environments.
a. Velocity Constraints:
- Principle: Agents adjust their movement speeds to avoid predicted collisions.
- Implementation in Grids: Agents may wait in place or slow down to prevent entering a cell simultaneously with another agent.
7. Flow Annotation Techniques
Agents use precomputed flow directions or policies annotated on the grid to guide their movements and avoid congested areas.
a. Policy-Based Routing:
- Use: Agents follow policies that dictate preferred directions or paths at each grid cell.
- Advantage: Reduces on-the-fly computation by utilizing global guidance.
Summary
Collision avoidance in grid-based multi-agent path finding is a critical aspect of ensuring safe and efficient navigation for multiple agents operating in the same environment. The strategies in the literature offer various approaches to address this challenge, each with its trade-offs in terms of computational complexity, optimality, scalability, and communication requirements.
- Centralized methods provide globally optimal solutions but may face scalability issues with an increasing number of agents.
- Decentralized methods offer better scalability and flexibility but may not always find an optimal or feasible solution in dense environments.
- Hybrid approaches aim to balance the benefits of centralized and decentralized methods.
- Reservation-based and rule-based strategies provide practical solutions by simplifying the collision avoidance problem through structured protocols.
Understanding these strategies allows researchers and practitioners to select or design algorithms that best fit the specific requirements of their multi-agent systems, such as the number of agents, the density of the environment, computational resources, and the need for optimality versus feasibility.