WorksComputer Science
Coordination of Heterogeneous Teams with Uncertain Task Requirements
Abstract
Coordinating a team of heterogeneous agents to complete tasks with unknown requirements is a challenging multi-agent planning problem. Agents differ in their ability to discover task requirements and in their ability to engage tasks, so the planner must coordinate task discovery, execution, and staging. This paper introduces a hierarchical planner that uses a graph neural network policy to assign actions to agents, then finds a path to the action's location using a shortest-path algorithm. The central part of our approach is the CAAT graph, which is a graph representation of the planning context consisting of the agents, tasks, capabilities, and actions. We demonstrate that our learned planner can jointly coordinate a heterogeneous team to simultaneously discover task requirements and complete tasks in a shorter time compared to baselines that optimize task discovery and task engagement independently. Furthermore, we show that our policy can zero-shot plan on out-of-distribution settings by training only on an outdoor map then transferring without finetuning to an indoor map with more agents, tasks, and capabilities than seen during training.
Introduction
Envision a scenario where satellite imagery has identified threats at known locations across mountainous terrain. A heterogeneous team is tasked with eliminating these threats. Although the target locations are known, the capabilities required to eliminate each target remain uncertain. Some members possess specialized engagement capabilities but have limited vision, like a bomb defuser wearing a bulky mask. Others are lightly equipped scouts; they can identify threats from distant viewpoints by traveling to vantage points (like the top of a hill), but cannot eliminate them. Committing an agent to an incompatible task can result in its loss, hampering the team’s ability to complete the objective.
Coordinating both task requirement discovery and task engagement presents numerous challenges. Attackers have to choose between moving to a known task far away or a closer unknown task. Scouts have to consider the utility of revealing a task with respect to the current attacker states. Hybrid scout-attackers can either reveal unknown task requirements or complete a known compatible task. Thus, coordinating such a heterogeneous team requires more than optimizing the scouts and workers independently.
Previous research has largely focused on coordinating a homogeneous team with identical task requirements [4, 13]. More recently, multi-agent planning methods that consider different agent capabilities and unknown task requirements have been proposed [15, 16, 19]. However, no previous work has built a multi-agent planner that can accommodate a varying set of capabilities (including the ability to scout) and uncertain task requirements that are revealed by sending a scout to a location that can see that task.
Our approach is to create a graph representation of the planning context, which is then used by a graph neural network (GNN) policy to allocate agents to actions. We introduce CAAT graph, a graph comprising agent, task, capability, and action nodes that captures the key decision-making variables and their relations. The action nodes represent four types of actions: execute task, observe, stage, and wait and gives the planner a consistent set of actions on different maps and at different time steps. Using the CAAT graph as the representation allows a pretrained policy to transfer to a different map with new agent, task, and capability settings without any retraining. Our planner is hierarchical; the GNN planner specifies the action and a low level path planner finds the shortest path to that action’s location. We pretrain the GNN policy on a large set of simulated rollouts on a single map using reinforcement learning (RL). Our contributions are as follows:
We define the heterogeneous team multi-robot task allocation (MRTA) problem with uncertain task requirements. Our problem is an extension of MRTA in two parts: (i) a capability that each agent can possess and that each task requires but is unknown a priori; (ii) a visibility mapping that defines the set of nodes from which the task requirement can be observed.
We create a graph representation of the planning context called the CAAT graph, which provides a consistent set of inputs and actions for the planner. Experimental results demonstrate that using the CAAT graph enables a pretrained GNN policy to zero-shot transfer to out-of-distribution configurations and maps.
We show that our method achieves a lower problem completion time than a baseline that optimizes scouting and task execution independently, demonstrating that our policy successfully exploits the benefits of jointly coordinating task requirement discovery and task execution.
Related Work
Multi-Robot Task Allocation (MRTA): The goal of MRTA is to coordinate a team of agents to complete a set of tasks while minimizing the cost [6]. Many solutions to MRTA have been proposed, including optimization-based approaches [10, 13, 21], auction-based approaches [5, 4], and heuristics (Park, 1998). More recently, deep learning has been applied to MRTA using attention mechanisms, GNNs, and RL [18, 1] (Wang et al. 2022). Typically, a GNN processes a graph of agents and tasks to create an embedding, which is then used by a decoder to create a probability distribution of tasks for each agent. The policy is pretrained on a large set of sampled rollouts using RL. While these approaches are not directly applicable to our problem, our method builds on the previously established GNN + decoder + RL method.
Watchman Routing Problem (WRP): The scout’s objective in our problem is to observe all of the tasks on the map. WRP is a closely related problem, where the objective is to find the shortest path on which every node is observed at least once [3]. WRP on grid maps has been solved by formulating it as a search problem on a tree then using with a heuristic [20, 14]. These methods are too narrowly focused on just scouting; we use this method as part of our baseline and demonstrate that our method is better than it.
Heterogeneous Team MRTA with Uncertain Task Requirements: Recent works have studied coordinating a heterogeneous team for MRTA with uncertain task requirements. IAOM uses a GNN with RL to coordinate a homogeneous team of robots to solve a variant of MRTA with an unknown number of robots required per task [15]. AURA is an auction based method that coordinates a team of search robots and debris robots to complete a heterogeneous set of search and debris tasks [19]. Beck et al. [2] alternates search-route and rescue-schedule optimization using sampled task realizations for search and rescue. None of the previous works consider hybrid agents capable of both scouting and engaging tasks, variations in visibility, and a variable number of capabilities.
Problem Formulation
Our problem is motivated by the problem of coordinating a team of agents with different capabilities to complete a set of tasks with unknown requirements that are revealed by the scout agents. We formulate the problem of heterogeneous team MRTA with uncertain task requirements. A directed, weighted graph represents a map, with node for location, and indicating traversability between two nodes. Let , be the traversal time of an edge. We define the visibility map as the set of nodes visible from node [12]. Both and are known a priori. The traversal time is directional; e.g. traveling uphill from node to takes longer than traveling downhill from to .
There are multiple agents , and multiple tasks , . Tasks are stationary and their locations are known. Agents traverse from node to node along an edge, with their traversal time corresponding to the traversal cost of the edge . Two or more agents can occupy the same node simultaneously.
We define a set of capabilities , . Intuitively, a capability corresponds to the trait that an agent needs to have to complete a task. The requirement of a task is the capability required to complete task . The task requirements are initially unknown with the prior probability of requiring being . An agent can possess multiple capabilities . Our problem is an ST-SR-TA MRTA problem [6]. represents the scout capability. It is only given to agents, and only agents with can observe an unknown task’s required capability within their current visibility . Upon reaching a node, a scout instantly reveals the exact capability requirements of all tasks visible from that node at no additional observation cost. We assume that this information is instantly available to all agents.
An agent completes a task if it reaches it and possesses the capability required by the task. An agent can only be assigned to complete a task if its requirements are known and possessed by the agent. The objective is to minimize the makespan: the time to complete all the tasks.
Method
The problem as defined in § 3 consists mainly of two parts: task requirement discovery and task execution. Each part by itself has an optimal solution: discovering all of the task requirements is equivalent to WRP [14] and task execution once the task requirements are known is a well defined optimization problem [10]. The difficulty is in combining both: task requirements should be discovered in a way that reduces task execution time, non-scout agents should move to staging locations to quickly engage newly scouted tasks, and hybrid agents have to determine when to scout and when to engage a known task. While the problem can be formulated as a centralized partially observable Markov decision process (POMDP), getting an optimal POMDP solution is intractable due to the large state space.
Our solution to the problem defined in § 3 is a hierarchical planner as outlined in Figure 1. A high-level GNN planner decides which action each agent should take. As the input for this planner, we create a graph representation of the planning context called the CAAT graph. Once an action has been assigned, the agent’s path to the action’s location is determined using a shortest path algorithm such as . The agents follow their planned paths until an agent completes its intended action or an unknown task requirement is revealed, at which point the planner replans. This hierarchy reduces the decision space that must be learned and preserves the shortest path optimality for routing. The GNN planner is pretrained on simulated rollouts using RL.
Figure 1. We solve the heterogeneous team MRTA with uncertain task requirements by creating a graph representation of the planning context called CAAT graph. A GNN then learns graph embeddings on the CAAT graph and a decoder outputs a probability distribution of actions for each agent. The policy is pretrained with RL using simulated rollouts.
CAAT Graph
The Capability-Agent-Action-Task graph, or CAAT graph, represents the planning context at a given time. It consists of four types of nodes and three types of edges as seen in Figure 1. Its goal is to provide a consistent and compressed representation of the situation and actions. We explain the CAAT graph by following its creation step by step as in Figure 2.
Figure 2. An illustration of how the CAAT graph is made. See Subsection 4.1 for more details.
First, we extract the agents and tasks from a given timestep of the problem. Every task is connected to every agent with a travel time edge. A connection via a travel time edge represents a connection that may be traversed by an agent. The edge feature is the shortest path travel time, which is then normalized using z-score normalization. The task features are the position (normalized to ) and two Boolean variables: task completion and whether the required capability is уларниң known. The agent features are the Boolean indicating whether the agent is alive, remaining transit time, a Boolean indicating whether the agent has the scout capability , and the agent’s position (normalized).
We then add capabilities as graph nodes. Each capability is a node, and it is connected to agents and tasks via a capability edge. If an agent has a capability, then it is connected via a capability edge (with edge weight 1) to the corresponding capability node. Tasks with known requirements are also connected to their corresponding capability node with a capability edge of weight 1. For a task with unknown requirements, the capability edge connects all of the possible requirements with the prior as the edge weight. Representing capabilities as nodes allows a pretrained GNN policy to accept additional capabilities without changing the model dimensions. The scout capability is an exception; it is encoded as an agent feature.
Finally, we add four types of actions to the graph.
Wait: remain at the current location.
Execute: go to a known task.
Observe: reach the closest suitable location to observe a subset of unknown tasks.
Stage: position near unknown tasks in anticipation of their requirements being revealed.
Each action is connected to its relevant tasks via a task semantics edge. Each action is also connected to all agents and all tasks via a travel time edge. The wait action is the exception: it is not connected to any other node since it is not related to any task and does not have a location on the map. More details are in Appendix § 8.1.
Heterogeneous Graph Transformer Policy
At each planning decision, we use a GNN to create embeddings of the CAAT graph. A brief introduction to GNNs and the Graph Attention Network (GAT) is in Appendix § 8.2. We choose the heterogeneous graph transformer (HGT) as the GNN architecture. The CAAT graph has four different types of nodes and three different types of edges, so our HGT uses a different linear transformation for each direction of each edge type, which we denote as a relation type . Details on the HGT can be found in Appendix § 8.3.
The decoder computes a score for each agent–action pair, then assigns actions to agents using the score. Using the final agent embedding , final action embedding and the corresponding travel-time edge embedding , the score is
where is an MLP scorer and denotes concatenation. Incompatible pairs such as (non-scout agent, observe) and (known task, agent without requirement) are assigned .
The actions are sequentially assigned to agents. At assignment step , let contain the feasible and unassigned (agent, action) pairs. The score defines the probabilities of selecting each pair using softmax:
Actions that share the same location are merged to form one destination and the probability of selecting it is the sum of the probabilities of the component actions. During training, the decoder samples an agent and destination using these probabilities; during evaluation, it selects the feasible agent–destination pair with the highest probability. After each selection, the assigned agent and action are removed . Selection continues until no feasible pair remains. Additional decoder details are provided in Appendix § 8.3.
Policy Pretraining
We pretrain the neural policy using a large number of simulated rollouts. During the rollout, the policy assigns agents to actions, and the agents follow the shortest path to the action’s location. They continue on the path until an unknown task requirement is revealed, a task is completed, or an agent reaches its destination, at which point the planner replans. The rollout ends either when all tasks are complete, or when all agents select wait and the rollout stalls.
At the end of each rollout, we calculate the rollout reward by comparing it to the oracle, an optimal planner that knows the ground-truth task requirements. The primary component in the reward is the regret which is the makespan of our policy’s rollout divided by the makespan of the oracle . We add a penalty term for the number of incomplete tasks to discourage stalling, with as the hyperparameter.
Like previous works [11], we use the REINFORCE algorithm (Williams, 1992) to update the weights. To further stabilize training, we use an exponential moving average of the reward as a baseline [22]. An entropy term is also added to encourage the policy to explore [8]. The weights are updated using the following loss:
Additional details on policy pretraining and the oracle are in Appendix § 8.4 and Appendix § 8.5.
Experiments
Experiment Setup
Maps. We use three maps in our experiments: WV, WA, and KTH. WV and WA are outdoor maps of locations in the US states of West Virginia and Washington, and are created using the topography data from OpenTopography ([25]). The maps are discretized into a grid graph. The traversal cost is calculated using Tobler’s hiking function with road edges having 40% lower traversal cost ([23]). The visibility is modeled using viewshed analysis ([24]). The KTH map is an indoor map of a building at KTH Royal Institute of Technology ([9]). It is also discretized into a grid; its traversal cost is the edge length and the visibility is modeled using line of sight. WV is used as the training map, WA is used as the in-distribution test map, and KTH is used as the out-of-distribution test map with 4.6 times as many nodes compared to WV or WA.
Capabilities, Agents, and Tasks. We pretrain our policy on the WV map with 3–6 agents and 5–9 randomly placed tasks. There are 3 non-scout capabilities, and they are assigned randomly such that all capabilities are matched with at least one agent. All agents start at the same node. For testing, we use a fixed suite of capabilities, agents, and tasks for each map. All maps have three sets of agent capabilities and three sets of task requirements for each number of agents and tasks . For WV and WA, and so there are a total of 12 agent configurations and 15 task configurations. We test every pair of agent and task configurations, resulting in a total of 180 test problems per map for WV and WA. The KTH map is tested with 8 agents and 14 tasks for a total of 9 problems.
Baselines. We compare the performance of CAAT Graph + HGT with three baselines. The ‘oracle’ is an optimal planner that knows all of the task requirements, and its makespan is the lowest achievable makespan for a given problem. ‘Scout then engage’ first discovers all of the task requirements using an optimal WRP planner, then uses the oracle to execute all of the tasks. ‘Engage while scout’ uses the same WRP planner to coordinate scouts and simultaneously assigns non-scouts to execute known tasks using the oracle. Additional details on the baselines are in Appendix § 8.5.
Pretraining. Our policy is pretrained on 12,800 sampled rollouts on the WV map. On a desktop with an NVIDIA RTX 5090 GPU, pretraining takes approximately 8 hours. Once pretrained, we freeze all policy weights and do not finetune them during evaluation. Additional experimental settings are provided in Appendix § 8.6.
Results
This subsection compares the performance of each policy on each map. We choose to compare regret rather than makespan because a problem with more agents and fewer tasks requires less time to complete regardless of policy. We first evaluate on the training map WV, to evaluate whether our policy learns to plan effectively within the training domain. We then evaluate on unseen maps WA and KTH. WA introduces a different map with a different starting position, but follows the same terrain traversal rule, viewshed visibility, and the same ranges of capability, agent and task counts. The KTH map has the largest deviations, with a different traversal model, different visibility, and a larger number of capabilities, agents, and tasks.
The average regret of each policy is shown in Figure 3. On all three maps our pretrained CAAT Graph + HGT has a lower regret compared to the two baselines. On the WV and WA maps, our method results in 17.3% and 20.3% lower average regret respectively compared to the best baseline, demonstrating that our method can jointly coordinate task requirement discovery and task completion. Even on the KTH map, which is an unseen map with more agents, tasks and capabilities than seen during training, the pretrained CAAT Graph + HGT results in a 12.4% lower regret compared to the best baseline. The results on the KTH map show that our method zero-shot transfers to out-of-distribution settings without any finetuning. Furthermore, our method is better than both baselines for more than 77% of the test problems regardless of the test map, demonstrating that it is able to improve across a wide range of problems.
Figure 3. Each column represents results from one map. WV is the training map, WA is the in-distribution test map, and KTH is the out-of-distribution test map. The bar graph in the middle is the average regret across all scenarios and the bottom diagram shows which policy (excluding oracle) had the lowest regret for each test problem.
Next, we examine an actual planning decision produced by our method. Figure 4 shows a planning decision on WV with 4 agents and 8 tasks (2 completed, 2 known but incomplete, 4 unknown). In the middle of the map, agents 1 and 3 are close to known task 1 and unknown task 3. Both agents have the capability required to complete task 1, so both of them get a large score for completing task 1. However, only agent 1 has the scout capability, so agent 3’s score for completing task 1 is higher, and our method assigns executing task 1 to agent 3 and assigns agent 1 to observe task 3. This intuitively makes sense: if both agents can complete task 1, but only one can observe task 3, then the scout should go observe. At the bottom, agents 0 and 2 are close to two unknown tasks. Therefore, agent 0 with the scout capability gets large scores for observing task 4 or task 5 and agent 2 gets large scores for staging for those two tasks. These decisions show that our method makes intuitively correct decisions for the given context of the problem.
Figure 4. A planning decision on WV (left) and the top 4 actions for each agent (right).
The average time per planning decision with respect to the product is plotted in Figure 5. Note that most of the data comes from WV and WA with 4k nodes, but the data for comes from the larger KTH with 18k nodes. Engage while scout is consistently the slowest planner. Scout then engage is faster than our method at low but gets significantly slower as the number of agents and tasks increases. In the KTH test, our method plans in just 1.18 seconds, compared to 32.18 and 56.22 seconds for the baselines. This speedup is achieved by replacing the baselines’ combinatorial search over the task assignment and visitation sequences with a neural policy that assigns high level actions on the CAAT graph.
Figure 5. Average time per planning decision.
Ablation
We present a comprehensive ablation study by modifying various elements of our method. The results of the ablations are in Table 1. We modify the following parameters.
| Map | Default | Dot-product score | Max normalization | No position | Single-task staging | Single-task staging + No position | No staging |
| WV | 1.43 | 1.65 | 1.42 | 1.51 | 1.63 | 1.46 | 1.74 |
| WA | 1.37 | 1.59 | 1.40 | 1.51 | 1.57 | 1.38 | 1.68 |
| KTH | 1.90 | 2.99 | 1.96 | 2.11 | 2.10 | 2.08 | 2.19 |
Table 1. Average regret for the default configuration and ablations.
Dot product Score: A simple way to score a pair of embeddings is to use their dot product. In this test we replace the MLP scorer with a dot product score . The result is higher regret on all three maps, with especially higher regret on KTH. A possible factor is that the dot product decoder doesn’t use directly when outputting the score . We therefore conclude that using the dot product scorer degrades our method and especially degrades its ability to transfer to unseen maps and settings.
Max Normalization: Another common strategy for normalizing a set of real numbers is to divide by the maximum absolute value. For travel time, max normalization has the additional benefit of mapping non-negative travel times to while preserving zero. In this test the travel time on the CAAT graph is normalized by dividing by the largest travel time in the graph. Using max normalization yields marginally better results on WV but marginally worse results on WA and KTH compared to using z-score normalization. Therefore, we use z-score normalization instead of max normalization for the travel time edges.
No Position: The high level decision of assigning actions to agents should only depend on the travel time between the various nodes. Removing the position could potentially make our method more robust by avoiding the possibility of overfitting to a single map. However, the results in Table 1 show that removing the position features increases the regret across all maps. This refutes the hypothesis that removing position will lead to a more robust planner.
Staging: How much of the efficiency comes from the ability to stage? In this test ‘single-task staging’ creates staging actions for single tasks; ‘no staging’ means no staging actions are in the CAAT graph. Only having staging for a single task results in higher regret compared to having both single task and two task staging. Interestingly, the performance with only single task staging actually improves when the position is also removed as a feature. Removing the staging actions entirely significantly increases the average regret, as the planner is no longer able to send non-scouts to wait close to unknown tasks. Both our policy without staging and ‘engage while scout’ simultaneously coordinate scouts and non-scouts using observation and execution actions. Our policy achieves comparable regret on WV and KTH and slightly lower regret on WA, demonstrating that it learns coordination competitive with a baseline even without staging.
Limitations
Our planner assumes that the tasks’ locations are known in advance. In a multi-agent planning problem with uncertain task requirements the location of the task may also be uncertain. Additionally, our method is a centralized planner that assumes perfect communication and instant relay of newly acquired information. A decentralized method would be more robust to faulty communication and would scale better with a larger number of agents.
Conclusion
In this paper, we considered the heterogeneous team multi-robot task allocation problem with uncertain task requirements. To solve it, we created a graph representation of the planning context called CAAT (Capability-Agent-Action-Task) graph that captures the key decision-making variables and provides a consistent set of actions on different maps and settings. Our hierarchical planner assigns actions to agents by processing the CAAT graph using a graph neural network, and then generates the path to the action’s location using a shortest-path algorithm. Our method outperformed two baselines which optimize task discovery and task execution independently, showing that it efficiently coordinates task discovery, execution and staging for unknown tasks. Furthermore, our policy trained on an outdoor map transferred without finetuning to a larger indoor map with more agents, tasks, and capabilities than seen during training while still outperforming the baselines.
Acknowledgments
This work is supported by the Office of Naval Research grant no. N-00014-25-1-2369 and Office of Naval Research grant no. N-00014-25-1-2519.
Generative AI has been used to conduct literature search, to write code, to create figures, and to proofread the manuscript.
Appendix
Additional Detail on the CAAT Graph
Agent node features. Each agent node has an input feature vector . It contains a Boolean indicating whether the agent is alive, remaining transit time, a Boolean indicating whether it possesses the scout capability , and its two-dimensional position normalized to . The remaining transit time is needed because replanning may occur while the agent is traversing an edge. In that case, the agent first finishes its committed edge, then follows its newly assigned path. The remaining transit time is normalized in the same way as the travel time edge. The agent’s other capabilities are represented by its connections to capability nodes.
Task node features. Each task node has an input feature vector . It contains the task’s two-dimensional position normalized to , a Boolean indicating whether the task has been completed, and a Boolean indicating whether its required capability is known. The required capability or its prior is represented by capability edges.
The evaluated architecture retains agent-alive and task-completion indicators inherited from an earlier problem formulation. The alive indicator is constant in the present setting, while the completion indicator distinguishes completed tasks retained in the graph. Both dead agents and completed tasks are kept in the CAAT graph.
Action node features. Each action node has an input feature vector , whose entries correspond to execute, observe, staging, and wait, in that order. Execute, observe, and wait actions have value 1 in their corresponding entry and 0 elsewhere. The staging entry is 0.5 for a single-task stage and 1 for a two-task stage, with the other entries set to 0. This encoding distinguishes both the action type and the number of tasks associated with a staging action.
Capability node initialization. Capability nodes represent and share a learned 128-dimensional initial embedding. The scout capability is encoded as an agent feature.
Edge details. Travel-time edges connect agent–task, agent–action, and action–task pairs with finite corresponding travel times, excluding the wait action. At each planning decision, the traversal times are z-score normalized using the mean and standard deviation pooled across all valid travel time edges. This normalization gives maps with different traversal-time scales similarly scaled edge features. A travel-time edge does not imply that the agent can select the action; capability restrictions are enforced by the decoder.
Observation sets. For each non-task node of the map, we use the visibility map to identify the subset of tasks with unknown requirements that can be observed from that node. Nodes with identical nonempty subsets form an observation set. Each set is represented by one observation action in the CAAT graph. Its task semantic edges connect it to the corresponding unknown tasks. For each agent, the destination is the node in the selected set with the minimum traversal time from that agent’s planning position.
Staging candidates. The staging action positions an agent near tasks whose required capabilities remain unknown. For each such task, we include up to two non-task nodes with the shortest traversal times to that task. We also construct staging locations for pairs of unknown tasks. Let denote the directed shortest traversal time from node to task . For each pair , we select a non-task node minimizing . To limit the number of pair actions, we rank feasible pairs by and retain up to pairs, where is the number of remaining unknown tasks.
Introduction to GNNs and Graph Transformers
Since our neural policy takes a graph as input, we utilize a graph neural network (GNN), also known as message passing neural network (MPNN) [7]. A message passing neural network is a type of neural network that creates embeddings on graphs using repeated message passing layers.
Let be a graph, and let denote the set of neighborhood nodes for node . Additionally, let and be the features of node and edge respectively. A MPNN layer is defined as
where are MLPs, and is a permutation invariant aggregator operator such as mean or max. Intuitively, a node updates its representations by creating a message using its neighbors’ embedding as and aggregating it with its own representation.
A graph attention network (GAT) is a type of MPNN that uses multi-head self-attention [26] to create the message [27]. A GAT layer with heads is the following:
where represents concatenation, is an activation function such as ReLU, is the normalized attention coefficient for head , and is the corresponding learnable linear transformation.
Additional Details on the HGT
Before message passing, separate MLPs project agent, task, and action features into a common hidden dimension , with parameters shared among nodes of the same type. Capability nodes start from the shared learned embedding described in Appendix § 8.1. Let denote the embedding of the current node , denote the incoming neighbors of node under directed relation , and denote its possible incoming relation types. For attention head , we define
where is the dimension of each attention head, and are learned matrices. For travel-time edges, an MLP is shared across all layers and all travel-time edges and produces the edge embedding
A graph transformer uses a weighted sum of the neighbors’ messages as the final message. Table 2 summarizes the neighbor weights and messages for the edge types.
| Edge type | Neighbor weight | Message from |
| Travel Time | ||
| Task Semantic | ||
| Capability–Agent | ||
| Capability–Task |
Table 2. Neighbor weights and message values for each edge family.
The message for node for relation type is defined below.
The node embedding is updated by the following message passing mechanism:
where denotes the node type and is a node type specific MLP. Each layer updates all node types simultaneously from the incoming embeddings.
The messages from each relation are concatenated in a fixed order for each node type. If the neighborhood for a particular relation is empty, then its message is a zero vector. Agents, tasks, actions, and capabilities have incoming relation slots, respectively. Thus, the input dimension of is . The wait node has no incoming messages and is updated using its own embedding.
Architecture settings. Table 3 specifies the network dimensions. Each MLP contains two linear layers with GELU between them. The agent, task, and action input encoders additionally apply LayerNorm after the second linear layer. The MLP decoder concatenates the final agent embedding, action embedding, and their 32-dimensional travel-time embedding. Its input dimension is therefore , and its scalar output is the agent–action logit.
| Component | Specification |
| Hidden node dimension | |
| Message-passing layers | 3 |
| Attention heads | 4 per attention relation; |
| Agent input encoder | |
| Task input encoder | |
| Action input encoder | |
| Capability initialization | Shared learned vector in |
| Travel-time encoder | |
| Node-update MLP | |
| Agent–action decoder MLP | |
| Dropout | 0 |
Table 3. HGT dimensions. Arrows denote linear layer dimensions.
Probabilities of actions with the same location. Different actions on the CAAT graph can point to the same location, such as staging actions associated with different tasks. The probability of assigning agent to that location is the sum of the probabilities of all feasible actions that lead to it. Let denote these actions for location . At assignment step , the resulting probability is
Actions at the same location share unit assignment capacity, so selecting that location removes all of them from subsequent assignment steps.
Additional Details on Policy pretraining
Batched policy updates. The batched training implementation collects episodes before each optimizer update. The EMA baseline is held fixed throughout the batch. For episode with return , we compute and standardize these advantages across the full optimizer batch:
Since is shared by all episodes, centering cancels this offset.
Let be the number of replanning decisions in episode . At decision , is a random sequential assignment with conditional distribution , and is the sample. We write for the probability of that realization. The batch loss is
where is the entropy of the conditional assignment distribution. Averaging within each episode prevents episodes with more replanning events from receiving proportionally greater weight. Note that all decisions for episode receive the same advantage regardless of the timestep .
Baseline Planners
The three baselines use two shared solvers: a WRP solver for discovering task requirements and an oracle solver for executing tasks with known requirements.
WRP solver. The WRP solver coordinates a set of scouts to minimize the time of the final requirement revelation. Let be the set of tasks with unknown requirements and let contain those visible from node according to . For at most 12 unknown tasks, each scout searches augmented states , where is its current map node and contains the tasks observed along its route. Each map edge defines the transition
where is the traversal cost. For scout starting at , let denote the shortest travel time from the initial state to . Dijkstra’s algorithm determines the minimum time to observe an assigned subset as
The condition allows a route to observe additional tasks. A subset assignment dynamic program partitions among the scouts to minimize the final reveal time. It uses Equation 16 below, with replacing and the scouts replacing the execution agents.
Above 12 unknown tasks, each observation task is independently assigned to the scout that can observe it earliest, without accounting for other tasks assigned to that scout. Each scout’s covering route is then found using weighted A*. The optimality of this assignment is no longer guaranteed.
Oracle solver. Given a set of tasks with known requirements and a set of agents, the oracle solver finds a minimum-makespan assignment and independently executable routes. For agent , Dijkstra’s algorithm searches augmented states , where is the current map node and is the set of tasks completed along the route. Traversing an edge incurs its directed travel time. Entering a compatible task adds it to , whereas entering an incompatible task is prohibited. Minimizing over terminal nodes gives , the shortest route from the agent’s starting position that completes exactly . Unreachable or incompatible subsets have infinite cost, and .
Let be the set of tasks to complete, and let be the minimum makespan for assigning exactly to the first agents (agent order is fixed). The assignment dynamic program uses the Bellman recurrence
with and for nonempty . The resulting makespan is . This process yields each agent’s assignment, task order, and path.
When replanning during transit, both solvers use the next arrival node as the agent’s starting position and add the remaining edge traversal time to the cost of any nonempty assigned subset. The agent finishes traversing its current edge before following the new path.
Oracle baseline. The oracle baseline applies the oracle solver once to all agents and tasks using the ground-truth requirements. Its makespan is used to normalize the learned policy’s rollout reward and evaluation results.
Scout Then Engage. This policy plans in two phases. First, all scout-capable agents, including hybrids, use the WRP solver to reveal every unknown task requirement, while non-scout agents wait. Once every remaining requirement is known, the policy applies the oracle solver once to all living agents and remaining tasks using the revealed requirements, then follows the resulting execution plan.
Engage While Scout. This policy runs the WRP solver for a scouting group and the oracle solver for an execution group. The scouting group reveals unknown requirements, while the execution group completes known incomplete tasks supported by at least one of its agents. Both groups act simultaneously, and their plans are recomputed at every replanning event. The policy uses only revealed requirements and provides no staging actions. The two solvers optimize their respective subproblems independently.
Pure scouts join the scouting group, and non-scout agents join the execution group. A heuristic assigns hybrid agents according to the current known task demand. For each non-scout capability , let be the number of known incomplete tasks requiring and the number of living non-scout agents possessing . The initial capability deficit is
Among the remaining hybrids, we select the agent possessing the largest number of capabilities with a positive deficit, breaking ties uniformly at random. For each capability possessed by that agent, its deficit is reduced by one. Selection repeats until all deficits are zero or no remaining hybrid can reduce a deficit. Selected hybrids join the execution group; the remaining hybrids join the scouting group while unknown requirements remain, and otherwise wait.
Additional Details on Experiments
Pretraining settings. Table 4 lists the RL hyperparameters. Ablations use the same training budget and RL hyperparameters, changing only the components specified in § 5.3. For each configuration, we evaluate the checkpoint with the highest mean reward over an optimizer batch.
| Parameter | Value |
| Optimizer | Adam |
| Learning rate | |
| Episodes per optimizer update | 32 |
| Number of simultaneous simulations | 8 |
| Entropy coefficient | 0.01 |
| EMA baseline decay | 0.95 |
| Incompletion penalty | 10 |
| Gradient norm clipping threshold | 1 |
| Training episodes | 12,800 |
Table 4. RL training hyperparameters used by the default policy and reported ablations.
During training, task locations are sampled uniformly without replacement from map nodes excluding the source. Task requirements are sampled independently using a uniform distribution. An agent possesses a non-scout capability with independent probability 0.5, and the scout capability with independent probability 0.25. If no agent possesses capability after this process, an agent is randomly sampled and given this capability. All agents start at node on WV.
Evaluation scenarios. The test suites combine three agent profiles with three task profiles for each . Table 5 and Table 6 summarize the agent and task profiles, respectively. WV and WA test suites are identical except for the source node: for WV and for WA. At each and we test all 9 pairs of agent–task profiles, resulting in 180 total test scenarios. KTH uses the same agent and task profiles, with and for a total of 9 test scenarios.
| Agent profile | Design |
| Specialist | Agents with few capabilities. |
| Balanced hybrid | Agents with 2–3 capabilities, including hybrid scouts that can both observe and execute tasks. |
| Scout redundant | Approximately half the agents have , more than the other profiles which have 25% − 33%. |
Table 5. Agent profiles used in the test suites.
| Task profile | Design |
| Balanced | Spatially dispersed tasks with approximately balanced requirement counts. |
| Skewed | Spatially dispersed tasks with requirements dominated by one capability on WV and WA, and two on KTH. |
| Clustered | Tasks concentrated in multiple spatial clusters, with balanced requirements. |
Table 6. Task profiles used in the test suites.
Result aggregation. Average regret for a given map is the equally weighted mean of the individual scenario’s regret . The error bars show the standard deviation of all the regrets for a given policy and map.
Planning decision time measurements. All runtime measurements were collected on the RTX 5090 desktop. The learned policy and its routing use the GPU; the classical solvers run on the CPU. The time measured is the time to generate a path for all agents using the current simulation state. For our method, this includes CAAT graph creation, HGT processing, decoder action assignment, and shortest path calculation. Offline map preparation and episode initialization are excluded.
Additional Results
Tables 7–9 report regret by the number of agents and tasks for each map. Figure 6 shows the results for every individual scenario.
Figure 6. Individual-scenario results on WV, WA, and KTH, plotted as . At each scenario index, the three markers compare the policies on the same instance. The dashed line denotes the oracle.
Tables 10–12 report regret by agent and task profiles.
| Agents | Tasks | Scout then Engage | Engage While Scout | CAAT Graph + HGT |
| 3 | 5 | |||
| 6 | ||||
| 7 | ||||
| 8 | ||||
| 9 | ||||
| 4 | 5 | |||
| 6 | ||||
| 7 | ||||
| 8 | ||||
| 9 | ||||
| 5 | 5 | |||
| 6 | ||||
| 7 | ||||
| 8 | ||||
| 9 | ||||
| 6 | 5 | |||
| 6 | ||||
| 7 | ||||
| 8 | ||||
| 9 |
Table 7. Regret on WV by number of agents and tasks. Entries show the mean standard deviation over the nine agent–task profile combinations.
| Agents | Tasks | Scout Then Engage | Engage While Scout | CAAT Graph + HGT |
| 3 | 5 | |||
| 6 | ||||
| 7 | ||||
| 8 | ||||
| 9 | ||||
| 4 | 5 | |||
| 6 | ||||
| 7 | ||||
| 8 | ||||
| 9 | ||||
| 5 | 5 | |||
| 6 | ||||
| 7 | ||||
| 8 | ||||
| 9 | ||||
| 6 | 5 | |||
| 6 | ||||
| 7 | ||||
| 8 | ||||
| 9 |
Table 8. Regret on WA by number of agents and tasks. Entries show the mean standard deviation over the nine agent–task profile combinations.
| Agents | Tasks | Scout Then Engage | Engage While Scout | CAAT Graph + HGT |
| 8 | 14 |
Table 9. Regret on KTH by number of agents and tasks. Entries show the mean standard deviation over the nine agent–task profile combinations.
| Agent profile | Task profile | Scout Then Engage | Engage While Scout | CAAT Graph + HGT |
| Specialist | Balanced | |||
| Skewed | ||||
| Clustered | ||||
| Balanced hybrid | Balanced | |||
| Skewed | ||||
| Clustered | ||||
| Scout redundant | Balanced | |||
| Skewed | ||||
| Clustered |
Table 10. Regret on WV by agent and task profiles. Entries show the mean standard deviation over the 20 agent–task count combinations.
| Agent profile | Task profile | Scout Then Engage | Engage While Scout | CAAT Graph + HGT |
| Specialist | Balanced | |||
| Specialist | Skewed | |||
| Specialist | Clustered | |||
| Balanced hybrid | Balanced | |||
| Balanced hybrid | Skewed | |||
| Balanced hybrid | Clustered | |||
| Scout redundant | Balanced | |||
| Scout redundant | Skewed | |||
| Scout redundant | Clustered |
Table 11. Regret on WA by agent and task profiles. Entries show the mean standard deviation over the 20 agent–task count combinations.
| Agent profile | Task profile | Scout Then Engage | Engage While Scout | CAAT Graph + HGT |
| Specialist | Balanced | |||
| Specialist | Skewed | |||
| Specialist | Clustered | |||
| Balanced hybrid | Balanced | |||
| Balanced hybrid | Skewed | |||
| Balanced hybrid | Clustered | |||
| Scout redundant | Balanced | |||
| Scout redundant | Skewed | |||
| Scout redundant | Clustered |
Table 12. Regret on KTH by agent and task profiles. Each entry is one scenario with eight agents and fourteen tasks.
References
- [1]Batuhan Altundas, Shengkang Chen, Shivika Singh, Shivangi Deo, Minwoo Cho, and Matthew Gombolay. Heterogeneous graph transformers for simultaneous mobile multi-robot task allocation and scheduling under temporal constraints. In Advances in Neural Information Processing Systems (NeurIPS), 2025.DOI
- [2]Zoltán Beck, Luke Teacy, Alex Rogers, and Nicholas R. Jennings. Online planning for collaborative search and rescue by heterogeneous robot teams. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2016.DOI
- [3]Wei-Pang Chin and Simeon Ntafos. Optimum watchman routes. In Annual Symposium on Computational Geometry, 1986.
- [4]Han-Lim Choi, Luc Brunet, and Jonathan P. How. Consensus-based decentralized auctions for robust task allocation. IEEE Transactions on Robotics (T-RO), 25(4):912–926, 2009.
- [5]Brian Gerkey and Maja Mataric. Sold!: Auction methods for multirobot coordination. IEEE Transactions on Robotics and Automation, 18(5):758–768, 2002.DOI
- [6]Brian Gerkey and Maja Mataric. A formal analysis and taxonomy of task allocation in multi-robot systems. The International Journal of Robotics Research (IJRR), 23:939–954, 2004.DOI
- [7]Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. In International Conference on Machine Learning (ICML), 2017.arxiv.org/abs/1704.01212
- [8]Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft Actor-Critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. In International Conference on Machine Learning (ICML), 2018.
- [9]Cherie Ho, Seungchan Kim, Brady Moon, Aditya Parandekar, Narek Harutyunyan, Chen Wang, Katia Sycara, Graeme Best, and Sebastian Scherer. MapEx: Indoor structure exploration with probabilistic information gain from global map predictions. In IEEE International Conference on Robotics and Automation (ICRA), 2025.arxiv.org/abs/2409.15590
- [10]Mary Koes, Ilah Nourbakhsh, and Katia Sycara. Heterogeneous multirobot coordination with spatial and temporal constraints. In AAAI Conference on Artificial Intelligence, 2005.
- [11]Wouter Kool, Herke Van Hoof, and Max Welling. Attention, learn to solve routing problems! In International Conference on Learning Representations (ICLR), 2019.arxiv.org/abs/1803.08475
- [13]Lantao Liu and Dylan A. Shell. Assessing optimal assignment under uncertainty: An interval-based algorithm. The International Journal of Robotics Research (IJRR), 30(7):936–953, 2011.
- [14]Yaakov Livne, Dor Atzmon, Shawn Skyler, Eli Boyarski, Amir Shapiro, and Ariel Felner. Optimally solving the multiple watchman route problem with heuristic search. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2023.DOI
- [15]Qingyang Long and Liping Liang. IAOM: An intention-aware optimization model with GNN-based policy learning for dynamic multi-robot cooperative task allocation. IEEE Robotics and Automation Letters (RA-L), 11(8):9120–9127, 2026.DOI
- [16]Andrew Meighan, Hyungsub Kim, and Or Dantsker. HALO: Heterogeneous allocation via localized observations for the vehicle routing problem. In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2026.arxiv.org/abs/2609.38760
- [18]Steve Paul, Payam Ghassemi, and Souma Chowdhury. Learning scalable policies over graphs for multi-robot task allocation using capsule attention networks. In International Conference on Robotics and Automation (ICRA), 2022.arxiv.org/abs/2205.03321
- [19]Ben Rossano, Jaein Lim, and Jonathan P. How. Uncertainty-aware multi-robot task allocation with strongly coupled inter-robot rewards. In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2026.arxiv.org/abs/2509.22469
- [20]Shawn Seiref, Tamir Jaffey, Margarita Lopatin, and Ariel Felner. Solving the watchman route problem on a grid with heuristic search. In International Conference on Automated Planning and Scheduling (ICAPS), 2020.
- [21]Ola Shorinwa, Ravi N. Haksar, Patrick Washington, and Mac Schwager. Distributed multirobot task assignment via consensus ADMM. IEEE Transactions on Robotics (T-RO), 39(3):1781–1800, 2023.DOI
- [22]Richard S. Sutton and Andrew G. Barto. Reinforcement Learning: An introduction, volume 1. MIT press, Cambridge, 1998.
- [23]Waldo Tobler. Three presentations on geographical analysis and modeling: Non-isotropic geographic. Technical Report 93-1, National Center for Geographic Information and Analysis, 1993.
- [24]Laura Toma, Yi Zhuang, William Richard, and Markus Metz. R.viewshed - grass 8.5 documentation, Apr 2026. URL https://grass.osgeo.org/grass-stable/manuals/r.viewshed.html.
- [25]U.S. Geological Survey. 1 meter Digital Elevation Models (DEMs), 2024. USGS National Map 3DEP Downloadable Data Collection: U.S. Geological Survey.
- [26]Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems (NeurIPS), 2017.arxiv.org/abs/1706.03762
- [27]Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua Bengio. Graph attention networks. In International Conference on Learning Representations (ICLR), 2018.arxiv.org/abs/1710.10903





