Speedup Techniques for Switchable Temporal Plan Graph Optimization

He Jiang, Muhan Lin, Jiaoyang Li

Abstract

Multi-Agent Path Finding (MAPF) is a critical component in robotics, yet plans often fail when agents encounter unexpected real-world delays. While Switchable Temporal Plan Graphs (STPGs) allow for dynamic re-ordering of agent movements to maintain efficiency, finding the optimal ordering is a complex combinatorial problem. This paper introduces Improved GSES (IGSES), a framework that optimizes STPGs using four novel speedup techniques: stronger admissible heuristics, full edge grouping, prioritized branching, and incremental graph updates. Our evaluation shows that IGSES achieves up to a 30-fold speedup and doubles the success rate over previous state-of-the-art methods, making optimal re-planning viable for larger agent swarms.

Introduction

In traditional MAPF, agents follow a rigid schedule. A delay to a single agent can cascade through the system, forcing others to wait even when paths are clear. This "strict precedence" is a major source of inefficiency in dynamic environments like fulfillment centers or urban traffic. STPGs provide a solution by identifying "switchable edges"—points where agent order can be swapped. However, existing search algorithms like Graph-based Switchable Edge Search (GSES) struggle with the exponential growth of the search space.

Switchable Temporal Plan Graphs (STPG)

An STPG models the dependencies between agents. The optimization task involves searching a tree where each node represents a decision to either "Fix" (maintain) or "Reverse" the order of agents at a specific conflict point.

The branching process in an STPG search, showing the 'Fix' and 'Reverse' decisions for a switchable edge and their impact on the final execution cost.

As illustrated in Figure 5, these decisions directly impact the Earliest Arrival Time (EAT) of agents at subsequent locations. The goal is to find the set of decisions that minimizes the total execution cost.

Methodology: The IGSES Framework

IGSES transforms the baseline search into a high-performance engine through four key techniques:

1. Stronger Admissible Heuristics

IGSES estimates the minimum unavoidable delay caused by unsettled switchable edges. It models these dependencies as a weighted pairwise dependency graph and solves an Edge-Weighted Minimum Vertex Cover problem. This provides a significantly tighter lower bound on the final cost, allowing the search to prune unpromising branches much earlier.

2. Full Edge Grouping

Often, a decision at one location necessitates specific decisions at others to avoid deadlocks (cycles). IGSES identifies "maximal groups" of edges that must be decided together.

Different patterns of edge grouping (Parallel, Crossing, and Mixed) identified by IGSES to reduce the search space.

By identifying patterns such as parallel or crossing paths (see Figure 6), IGSES reduces the number of independent decisions, effectively shrinking the search tree.

3. Prioritized Branching

IGSES uses "Edge Slack" to guide the search. Slack represents how much an edge can be delayed before it impacts the overall mission time. By branching first on edges with the smallest slack—the most "brittle" parts of the plan—the algorithm identifies optimal solutions faster.

4. Incremental Implementation

The most computationally expensive part of the search is calculating the longest path to determine arrival times. IGSES employs incremental algorithms that update only the affected sub-graphs after a swap, avoiding redundant full-graph recomputations.

Experimental Results

The researchers tested IGSES on standard MAPF benchmarks across four environments: Random grids, structured Warehouses, complex Game Maps (Lak303d), and City Maps (Paris). Scenarios included up to 200 agents with random delays of 10–20 timesteps.

  • Performance: IGSES was consistently 10x to 30x faster than the baseline GSES.
  • Robustness: The success rate within a 16-second time limit was doubled.
  • Search Efficiency: The number of nodes expanded in the search tree was reduced by over 90%, proving the effectiveness of the new heuristics and grouping strategies.

Conclusion

IGSES demonstrates that with the right optimization techniques, optimal re-ordering of multi-agent plans is feasible even for large-scale systems. While the problem remains NP-hard, these speedups bring us closer to real-time, robust coordination of hundreds of robots. Future work will focus on sub-optimal variants to scale these benefits to thousands of agents.

Summary updated

BibTeX
@inproceedings{jiang2025speedup,
  author = {He Jiang and Muhan Lin and Jiaoyang Li},
  title = {{Speedup Techniques for Switchable Temporal Plan Graph Optimization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i22.34487},
}
Figure