Bidirectional Temporal Plan Graph: Enabling Switchable Passing Orders for More Efficient Multi-Agent Path Finding Plan Execution

Yifan Su, Rishi Veerapaneni, Jiaoyang Li

Multi-Agent Path Finding (MAPF) plans often encounter difficulties in real-world applications due to execution uncertainties such as mechanical delays or communication lags. While Temporal Plan Graphs (TPGs) provide a safety mechanism by enforcing fixed passing orders, their rigidity often leads to unnecessary waiting. This paper introduces the Bidirectional Temporal Plan Graph (BTPG), a framework that allows agents to dynamically switch passing orders, improving efficiency by up to 20% while maintaining safety.

The Problem: Rigidity in Temporal Plan Graphs

In ideal MAPF scenarios, agents move in perfect synchronization. However, real-world "execution uncertainties" can cause delays. TPGs mitigate collision risks by extracting dependencies from a plan—for example, requiring Agent A to pass an intersection before Agent B. While safe, this approach is often too strict. If Agent A is significantly delayed, Agent B is forced to wait even if the intersection is clear.

Example scenarios and the corresponding Temporal Plan Graph (TPG) structure.

Methods: Introducing Switchable Dependencies

The BTPG framework addresses this by identifying "switchable" dependencies where the passing order does not impact safety. Instead of a fixed directed edge, the BTPG uses "bidirectional pairs." During execution, the first agent to arrive at a conflict point "claims" the right-of-way, and the graph updates dynamically.

Algorithmic Innovations

The authors propose two primary algorithms for constructing these graphs:

  • BTPG-naive (BTPG-n): Ensures that switching an order does not create a "Non-Rotation" cycle, which would result in a deadlock.
  • BTPG-optimized (BTPG-o): A more sophisticated approach that identifies "non-deadlock cycles"—cycles that appear problematic but are physically impossible given the agents' paths. This allows for significantly more flexibility.
A TPG illustrating a switchable dependency (indicated by the red arrow) that BTPG-o can exploit for higher efficiency.

Both algorithms are "anytime" processes, providing a valid BTPG even if computation is limited, with longer runtimes yielding more switchable pairs.

Experimental Evaluation

The researchers conducted 3,900 simulations across six standard MAPF benchmark maps, including game environments, warehouses, and city layouts. The study compared BTPG execution against standard TPG baselines under random delay conditions.

Key Results

  • Efficiency Gains: BTPG-o consistently outperformed standard TPGs, with median execution time improvements ranging from 8% to 20%. In some specific instances, improvements reached as high as 64%.
  • Flexibility: BTPG-o identified approximately twice as many switchable pairs as the naive version, proving that accounting for non-deadlock cycles is essential for performance.
  • Safety and Reliability: Across all tests, the BTPG approach never resulted in collisions or deadlocks and never performed worse than the standard TPG.

Conclusion

By enabling switchable passing orders, Bidirectional Temporal Plan Graphs provide a more resilient and efficient method for executing MAPF plans in uncertain environments. Future research will focus on scaling these methods to thousands of agents and refining the model to handle agents without local collision avoidance capabilities.

Summary updated

BibTeX
@inproceedings{su2024bidirectional,
  author = {Yifan Su and Rishi Veerapaneni and Jiaoyang Li},
  title = {{Bidirectional Temporal Plan Graph: Enabling Switchable Passing Orders for More Efficient Multi-Agent Path Finding Plan Execution}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i16.29706},
}
Figure