Abstract
Multi-Agent Path Finding (MAPF) is a critical component in robotics, yet standard formulations often overlook the complexities of real-world task dependencies. This paper introduces CBS-TA-PTC, an algorithm designed to simultaneously address task assignment and pathfinding under strict precedence and temporal constraints. By optimizing for a user-defined reward function rather than simple path length, CBS-TA-PTC solves highly constrained "bomb-defusing" tasks in minutes—problems that state-of-the-art reinforcement learning models struggle to master even after weeks of training.
Introduction
In traditional MAPF, agents navigate from start to goal locations without collisions. However, industrial and emergency response scenarios demand more: tasks must often be completed in a specific order (precedence constraints) and within precise time windows (temporal constraints). Furthermore, the optimal assignment of tasks to agents is rarely known a priori.
Existing solutions typically decouple task assignment from path planning or fail to optimize for complex, non-linear reward functions. While Multi-Agent Reinforcement Learning (MARL) offers a potential solution for reward optimization, it suffers from poor sample efficiency and struggles with the high-precision coordination required for collision-free pathfinding in dense environments.
Methodology: CBS-TA-PTC
The authors propose the Task Assignment and Path Finding with Precedence and Temporal Constraints (TAPF-PTC) framework. The core of this framework is CBS-TA-PTC, an extension of Conflict-Based Search (CBS).
High-Level Search and Reward Optimization
Unlike standard CBS, which minimizes total path cost, CBS-TA-PTC employs a best-first search to maximize a user-defined reward function. The algorithm treats temporal and precedence violations as "conflicts" analogous to physical collisions. By resolving these "hard" constraints early in the search process, the algorithm significantly prunes the search space. An environment simulator acts as an "oracle" to evaluate the potential return of proposed plans.
Low-Level Planning
The low-level planner utilizes Multi-Label A* combined with a linear programming module. This allows the system to efficiently find paths that respect complex timing requirements while pruning trajectories that are mathematically impossible to complete within the allotted temporal windows.
Task Partitioning
To maintain scalability, the authors introduce a heuristic partitioning method. This algorithm decomposes large-scale problems into manageable subtasks based on priorities such as "fuse length," allowing the planner to handle a high volume of tasks without a combinatorial explosion in search time.
Experimental Environment
The researchers evaluated CBS-TA-PTC in a custom "bomb-defusing" environment simulated in a Minecraft-like voxel world.
In this setup, three agents must defuse bombs across three distinct regions. Each bomb requires a specific color-coded sequence of actions (e.g., Red-Green-Blue) and features a countdown timer. Agents possess specialized tools, meaning only certain agents can perform specific subtasks. The environment enforces both precedence (certain bombs must be defused before others) and temporal constraints (all bombs must be defused before their timers expire).
Performance Evaluation
The performance of CBS-TA-PTC was benchmarked against a state-of-the-art MARL algorithm (MAPPO) and a baseline version of CBS-TA that lacks explicit temporal conflict resolution.
Sample Efficiency and Success Rate
A primary finding is the massive efficiency gap between search-based planning and learning-based methods. While MAPPO required approximately two weeks of training to achieve baseline competency, CBS-TA-PTC generated optimal or near-optimal solutions in seconds or minutes.
As task complexity increases—measured by the number of bombs per region—CBS-TA-PTC maintains a high success rate. In contrast, the baseline CBS-TA fails exponentially because it cannot effectively resolve the interdependencies between timing and pathing.
Conclusion and Future Work
CBS-TA-PTC demonstrates that coupling task assignment with path planning is essential for solving complex, constrained multi-agent problems. By leveraging the known structure of the problem through search, the algorithm achieves a level of performance and efficiency that remains out of reach for current MARL techniques.
Future research directions include adapting the algorithm for stochastic environments where unexpected delays may occur and exploring hybrid models where CBS-TA-PTC acts as an "expert" to accelerate the training of RL agents through imitation learning.
Summary updated