1. Introduction
UAV swarms are widely used in fields such as delivery relief [
1,
2], agricultural irrigation [
3], cooperative hunting [
4] and others. In these complex task scenarios [
5,
6,
7,
8,
9], various factors affect the task performance of UAV swarms. Environmental factors such as adverse weather and complex terrain can affect the flight stability and sensor performance of UAVs to a certain extent. Sudden interruptions such as physical collisions and signal interference can cause varying degrees of damage to the UAV’s body and modules, thereby affecting the UAV’s task performance. As these systems increasingly operate in dynamic, uncertain environments, resilience has become a critical design consideration for maintaining operational effectiveness during disturbances [
10,
11,
12,
13].
The theoretical foundations of system resilience were established by Vugrin et al. as early as 2010 [
14]. Over subsequent decades, resilience research has expanded from natural world to diverse domains including economics, sociology and industrial studies. Following the development of resilience frameworks for critical infrastructure and economic systems, the concept has been widely applied to various complex networks. A significant advancement in the field of engineering applications emerged in 2016, when Tran et al. [
15,
16] developed a general resilience-assessment framework, taking into account the typical cases of System-of-Systems (SOS) networks. Their approach quantifies system performance changes during disruptions as a core resilience metric, offering valuable methodological support for assessing the resilience of the rapidly developing UAV swarm systems.
UAV swarm resilience evaluation [
17] quantifies a system’s capacity to maintain operational performance during external disruptions. As highlighted by Ordoukhanian et al. [
18], resilient multi-UAV operations face three fundamental challenges: real-time disruption identification, dynamic resource allocation and performance-recovery latency. Based on Tran’s resilience-assessment framework, recent studies have introduced methodological refinements: Bai et al. [
19] established a standardized performance metric, Li et al. [
20] developed assessment criteria for heterogeneous networks, Zhou et al. [
13] addressed the handling of partial failure scenarios and Guo et al. [
21] proposed a resilience-enhancement approach-based cooperative task. These contributions are primarily focused on resilience research related to system performance in the field of UAV communication, with the research focus having gradually shifted from assessment to improvement strategies. Notable approaches include Kong et al.’s [
22] resource-supplementation method for adversarial environments, Sun et al.’s [
23] multi-swarm reconfiguration model, Wubben et al.’s [
24] leader-loss-mitigation technique and Li et al.’s [
25] continuous-attack adaptation through soft resource optimization and task reallocation method under continuous attack conditions to enhance the resilience of UAV swarms. Although these methods have shown effectiveness in post-disruption recovery, their implementation requires non-negligible time intervals. In addition, there are many other types of research related to UAV swarm resilience-improvement methods, mainly focusing on designing recovery strategies after interruptions occur. Although these methods effectively address post-disruption recovery, they mainly focus on reactive strategies rather than proactive resilience design during the task-allocation phase.
As illustrated in
Figure 1, sudden disruptions can trigger a rapid decline in system performance, with the solid and dashed lines depicting the performance trajectories under different scenarios. The system operates at a “normal level” in its normal state until the initial disruption occurs at time
. After that, the performance enters an “absorption” phase, continuing to decline and reaching a nadir at
; it then enters a “maintenance” phase until recovery actions are initiated at
. Different final states (A, B, C) correspond to varying degrees of recovery, such as full recovery or partial recovery, which constitute a typical resilience trajectory (as shown by the solid line). In severe cases (dashed line D), performance may drop below the “break level” before recovery strategies can be deployed. The system may even collapse directly, especially when encountering consecutive disruptions. This temporal constraint underscores two core points: first, the critical significance of adopting proactive resilience measures during the task-allocation phase; second, considering redundant UAVs at this stage is a necessary prerequisite for UAV swarms to implement scheduling strategies and ensure the recoverability of task performance. However, the fundamental challenge of UAV swarm task allocation lies in optimizing task performance under strict resource constraints. Phadke et al. [
11] critically identified that current allocation methodologies frequently neglect essential swarm system attributes that directly influence operational resilience. Traditional task-allocation problems, categorized by distinct constraints, include the vehicle routing problem (VRP), multiple traveling salesman problem (MTSP) and multiple processor resource-allocation problem (MPRAP). In UAV swarm operations, however, the swarm must simultaneously address two competing objectives: maximizing task effectiveness and minimizing operational expenditures.
The essence of the aforementioned problem is a combinatorial optimization problem between an integer number of UAVs and an integer number of tasks. Traditionally, Integer Linear Programming (ILP) has often been employed for its solution. For instance, Mirza et al. successfully implemented multi-objective optimization for drone coordination and resource allocation using ILP techniques [
26]. In logistics applications, Nishira et al. minimized optimal delivery time through ILP-based drone route planning [
27], while Gao et al. effectively solved task-allocation problems in medium-scale multi-robot systems via similar methodologies [
28]. However, as the scale of UAV swarms and task complexity continue to expand, conventional ILP approaches are increasingly plagued by combinatorial explosion. Recent studies have focused on hybrid techniques integrating Branch and Bound with Cutting Plane methods [
29,
30,
31,
32], which exhibit superior performance in reducing solution spaces and identifying optimal solutions. The development of open-source tools—such as COIN-OR’s PuLP modeling framework and the CBC (COIN-OR Branch and Cut) solver—has substantially lowered the barrier to research in linear and integer programming [
33].
Despite these advancements, ILP-based methods show limited scalability in dynamic task-allocation scenarios for drone swarms. In contrast, swarm intelligence algorithms have emerged as particularly effective alternatives in practical applications. Guo et al. [
34] proposed an optimized discrete particle swarm optimization algorithm to address the requirement of multi-UAV cooperative task execution. Xiong et al. [
35] put forward an improved multi-objective grey wolf optimization algorithm, which is applied to task allocation in heterogeneous target reconnaissance by multiple UAVs. Qin et al. [
36] presented a seagull optimization algorithm driven by deep reinforcement learning to solve the problem of multi-UAV task allocation in plateau ecological restoration. Other approaches focus on fully decentralized optimization frameworks, such as those based on the Alternating Direction Method of Multipliers (ADMM), which enhance system scalability and resilience against single points of failure by removing the need for a central controller [
37,
38,
39]. While these methods demonstrate strong performance in deterministic environments, they suffer from notable limitations when addressing stochastic interruption scenarios.
A critical limitation emerges from the inherent uncertainty in payload loss during disruptive events. Existing allocation strategies that account for maximum expected loss often lead to substantially increased operational costs and excessive resource redundancy, as documented in prior studies [
7,
40,
41,
42]. This necessitates proactive resilience-integrated allocation frameworks that intrinsically embed robustness at the planning stage without compromising operational efficiency.
In view of the limitations in existing UAV swarm task-allocation methods, this paper presents a comprehensive study based on task resilience. By leveraging a bilevel nested structure, we design an innovative task-allocation-optimization algorithm. This algorithm is specifically tailored to address the multi-objective optimization challenges in UAV swarms, with a particular emphasis on task resilience. This study presents three key innovations:
- (1)
By introducing the concept of equivalent load, this paper deeply integrates UAV capabilities (types, payloads) with task requirements, constructs a multi-dimensional quantitative indicator system related to UAV swarm tasks and further establishes a quantitative assessment model for task resilience. This research effectively addresses the deficiency of insufficient attention to task resilience in the existing field of task allocation.
- (2)
The “problem decomposability theorem” is proposed, and a two-layer PSO-ILP optimization algorithm is designed to jointly optimize swarm load costs and task resilience. Specifically, the lower layer focuses on minimizing load costs, while the upper layer optimizes the weighted fitness value of load costs and resilience, thereby effectively solving the complex multi-objective optimization problem in UAV swarm task allocation.
- (3)
The uncertain and stochastic disturbance characteristics of task resilience during task execution under different interference probabilities (0.2–0.6) are investigated, fully verifying the effectiveness of the PSO-ILP algorithm in coping with sudden interruptions and maintaining high task capacity performance in various disturbed scenarios.
This paper is organized as follows:
Section 2 explores the related Work in UAV swarm optimization, task-allocation framework and resilience model.
Section 3 constructs the mathematical model of the UAV swarm task scenario.
Section 4 elaborates on the theoretical basis of the two-layer nested optimization method and conducts algorithm design.
Section 5 carry out simulation experiments and result analysis based on typical scenarios.
Section 6 summarizes the research achievements and future research directions.
2. Preliminaries
2.1. UAV Swarm Task-Allocation Framework
The task-allocation framework for the UAV swarm is illustrated in
Figure 2 [
10]. In this framework, we introduce the concept of equivalent load to quantify the different types of tasks in the UAV swarm’s task list as well as the task capabilities of individual UAVs. The process begins with defining task scenarios, from which a “Task Required Load” matrix is derived. Concurrently, the available UAV fleet is defined by its “UAV Loads Configuration” and corresponding “Load Capacity Matrix” for each UAV type. The central “Task-Allocation Optimization” module processes these inputs. It performs “Task Splitting” to break the overall mission into subtasks and allocates UAVs to form “Subtask Alliances”. Crucially, the optimization provides “Extra” (redundant) loads for each alliance to enhance resilience against disruptions. A “Task completion test” provides feedback to the allocation and analysis stages. For example, during task execution, surveying UAVs carry more surveying payloads than other types of UAVs, and communication UAVs are equipped with more communication payloads. Based on the changes in parameters such as the swarm’s payload capacity, task capabilities and interruption probability, we can evaluate and optimize the task coalitions obtained from UAV swarm task allocation in multi-task scenarios.
The UAV swarm task-allocation problem studied herein is characterized by several key features:
A basic task is defined as an indivisible unit, and all such tasks executable by UAV swarms require corresponding task payloads—collectively referred to as “task load.” For instance, surveying tasks demand surveying payloads, communication tasks require communication payloads and rescue tasks necessitate transport payloads.
The load capacity matrix for different UAV types is defined according to the variety of UAV models, their task-performing abilities and the quantity of “carrying” task loads.
Furthermore, the entire task can be decomposed into a sequence of subtasks, which are assigned to individual tasks within each task zone. The load-requirement matrix for each subtask is derived from the load demand matrix of each task in the corresponding task domain.
Focusing on the types, quantities and load capacity matrices of UAVs, along with considerations of the task zones environment, task goals and various constraints, this study explores an optimal task-allocation strategy. It involves the systematic assignment of subtasks and the allocation of specific numbers of different UAV types to each subtask, forming task alliances to accomplish individual subtasks and thus enhancing the overall operational efficiency of the UAVs.
2.2. Basic Concepts and Definitions
Within the UAV swarm task-allocation framework, the concept of payload features prominently across various matrices—including the load capability matrix of different UAV types, the load required matrix for operational units in each task zone and the task load required matrix for individual subtasks. A unified quantification of these payloads is foundational to research on optimizing UAV swarm task-allocation strategies. To this end, this paper introduces the concept of “equivalent payload” to theoretically resolve the issue of load-measurement metrics in UAV swarms.
Definition 1. Equivalent load: The equivalent load serves as the fundamental unit for various types of task payloads. By setting a unified basic measurement unit for each type of task to quantify its task capability, it can form a core quantitative indicator for measuring the installed payload capacity of UAVs, matching task payload requirements and optimizing scheduling. Specifically, its calculation logic is to divide the actual effectiveness of the UAV in a specific task by the benchmark unit effectiveness set for that task type to obtain the corresponding equivalent load value. This concept has dual functions: first, it can be used to define the installed task payload capacity of a single UAV, clarify the capability boundary of each UAV in performing specified tasks, lay the foundation for constructing the capability matrix of each component in the UAV swarm and provide a comparable standard for the task capabilities of different UAVs; second, it can quantify the payload required for each task area and task execution, which not only helps formulate the corresponding task payload-requirement matrix, but also provides data support for subsequent task scheduling and task alliance reconstruction, making task arrangement more scientific and operable.
For example, if “an effective search range of 100 square kilometers per unit time” is set as 1 basic unit of search-type payload: when the installed search payload of a UAV is 2, it means that the UAV can complete a search task of 200 square kilometers per unit time; and when a task requires 10 search-type payloads, it means that a search task of 100 square kilometers can be completed within 10 unit times, or a search task of 1000 square kilometers can be completed within 1 unit time, etc.
This framework is specifically designed to optimize the configuration of task alliances composed of diverse UAVs for individual subtasks and to assess the effectiveness of task capacity. The introduction of the concept of “task capacity” within this framework provides a quantitative measure for evaluating the extent of task fulfillment, which serves as a foundational basis for the subsequent calculation of task resilience metrics.
Definition 2. Task capacity: Task capacity () represents the ratio of the total payload carried by the UAV swarms to the total task payload demand at time t. The calculation formula is presented in Equation (1), which represents the equivalent loads carried by the UAV at time t, is the number of UAVs and represents the total number of task-required loads at time t. 2.3. Task Resilience Model
A portion of the redundant task payload is added to the target tasks assigned to the UAV swarms during the task pre-allocation stage to counter abrupt interruption during the execution of tasks. By considering redundancy of the task payload demands, the UAV swarms can maintain its task capability above the baseline level, even experiencing payload losses caused by an abrupt interruption during the task-execution period.
Existing research on UAV swarm resilience has primarily focused on the dynamic variation of UAV swarm performance. However, as an inherent attribute of a system, resilience measurement and analysis during the task pre-allocation phase ensure that the UAV swarms can continue to carry out operational tasks and implement recovery strategies under abrupt interruption. This paper presents a task resilience model for the pre-allocation phase, introducing a probabilistic interruption factor into the UAV task capability model, thereby transforming a time-varying metric into a probability-varying metric.
Task resilience can be applied to not only early-stage static task allocation but also dynamic task allocation during task execution. It represents a metric with greater potential for engineering applications than traditional system performance indicators, such as “complex network information exchange volume.” The calculation of UAV swarm task resilience is presented in Equation (
2). It is influenced by both the interruption probability and task capacity, being positively correlated with task capacity and negatively correlated with interruption probability. This calculation applies to performance measurement across various levels of tasks.
where
represents the task capability under the current interruption probability.
represents the required baseline task capacity.
represents the start time of the task.
represents the moment corresponding to the end of the task.
denotes the break level of task capability, which is the task capability required by the UAV swarms to maintain a base level during the task.
P is the interruption probability of the UAV swarms during task execution. In the simulation experiments, the specific values for these variables are determined based on the required duration of the simulation.
To adjust for the impact of different UAVs or tasks on the measurement of task resilience, this paper introduces a task baseline deviation factor a and an interruption probability deviation factor b into the formula, ensuring consistent measurement of task resilience-calculation results.
The task resilience is illustrated as a surface plot and a contour plot with task capacity and interruption probability as independent variables, as shown in
Figure 3a,b, respectively. These figures demonstrate the variation in task resilience for UAV swarms at different levels of task capability and interruption probability, given a task baseline of 0.7. In particular, the specific values of
a and
b can be adjusted according to the characteristics of different tasks to make them conform to the physical laws shown in
Figure 3: Specifically, when the UAV swarm’s task capability falls below the task collapse threshold, the task resilience value will remain at 0, not changing with an increase in interruption probability. Conversely, when the UAV swarm’s task capability exceeds the task collapse threshold, the task resilience value is greater for a given interruption probability as the task capability strengthens. Similarly, as the interruption probability increases, the task resilience value that the UAV swarms maintained with the same level of task capability is also greater. Both plots illustrate that Task Resilience is positively correlated with Task Capacity; for a given threat level (
P), having more capacity leads to higher resilience. The plots also reflect the model’s characteristic where, above the break level, the calculated resilience value increases with the interruption probability. The dashed line in (b) represents a sample task capacity baseline (
). In summary, the task resilience capability index constructs an evaluation framework with both forward-looking and practical value by integrating the quantitative relationships between task capability, interruption probability and task completion degree. Its core value lies in transforming resilience planning during the pre-allocation phase from qualitative judgment to quantitative calculation. It not only retains the rigid constraints on the task baseline but also adapts to the resilience requirements of different operational scenarios through deviation factors. This index not only provides an optimizable quantitative target for UAV swarm task allocation but also offers a systematic measurement tool for enhancing the robustness of UAV swarm applications in complex environments.
5. Experimental Simulation, Results and Analysis
To verify the effectiveness of PSO-ILP bilevel nested optimization under an abrupt interruption, this study conducts two sets of simulation experiments. First, we set up the simulation scenario of the following experiments. And then in experiment 1, the process of optimization of fitness value and task resilience is analyzed to prove the effectiveness of PSO-ILP bilevel nested optimization. In experiment 2, the total number and the total cost of UAVs’ task alliances of three algorithms are selected to analyze the priority of PSO-ILP. Finally, in experiment 3, a scenario based on the Lanchester model is created, and the task complete performance of PSO-ILP with task resilience under this scenario is analyzed in comparison with two other algorithms.
5.1. Task Scenario Setting
To validate the effectiveness of the proposed PSO-ILP bilevel nested optimization algorithm and to robustly evaluate its performance under various disturbances, this section constructs a representative task scenario. The detailed configuration of this scenario and the rationale for its design are described below.
5.1.1. Basic Scenario Configuration
Figure 6 presents a diagram of the task zones for the UAV swarm mission. This figure illustrates a heterogeneous UAV swarm comprising multiple UAV types (e.g., UAVs
through
), which is tasked with mitigating threats across three geographically distinct mission scenarios. Each scenario contains primary targets, serving as the objective for a dedicated task alliance. The mission scenario for the UAV swarm encompasses three task areas, within each of which there exist five distinct target types that may pose threats to the UAV swarm.
We constructed a task scenario using a network approach (as shown in
Figure 7), which illustrates the target configuration in our simulation. This configuration includes the specific distribution of 33 target nodes (8 nodes for target s1, 4 nodes for target s2, 6 nodes for target s3, 7 nodes for target s4 and 8 nodes for target s5) across three task areas. This setup is designed to create heterogeneous subtasks with different load requirements, thereby providing a more challenging and realistic test case with an asymmetric node distribution for the allocation algorithm. The central purple squares (A1, A2, A3) represent the optimized task alliances, the colored circles (s1–s5) represent target types, the dashed lines indicate the allocation relationship between targets and alliances, and the solid lines represent communication links between alliances.
The specific distribution of the 33 total target nodes (e.g., 8 of s1, 4 of s2) among the three task areas was intentionally designed to be asymmetric. This was done to create heterogeneous subtasks with distinct load requirements, thereby providing a more challenging and realistic test case for the allocation algorithm. The central purple squares (A1, A2, A3) represent the optimized task alliances, colored circles (s1–s5) represent the target types, dashed lines indicate the allocation of targets to alliances and solid lines represent inter-alliance communication links.
Table 2 presentes some parameters of UAVs according to the definitions in the problem-modeling section, including the capacity configuration of
.
is the cost coefficient of a single UAV.
Table 3 presents some parameters of target units, including the target requirement configuration of
.
is the cost coefficient of a single load. The algorithms are requested to give the best solution set of task alliances
to satisfy the fitness value given by Equation (
26).
5.1.2. Rationale and Representativeness of Scenario Design
The parameter settings for this simulation (three task areas, five UAV types, five load types) are intended to establish a representative, medium-scale complex scenario rather than to simulate an extreme, large-scale problem. The rationale for this design is mainly reflected in the following aspects:
Non-trivial decision space: This scenario is designed to pose a substantial challenge to the algorithm’s solution-finding capabilities. In the upper-level optimization, the dimensions of the compensation load matrix EX are , which means the PSO algorithm must search within a 15-dimensional continuous space. In the lower-level optimization, the number of variables in the task-allocation matrix A is . For a bilevel nested optimization problem, handling 15 coupled decision variables is a computationally non-trivial task, sufficient to validate the effectiveness and convergence of the PSO-ILP algorithm when dealing with multivariable, nonlinear problems.
High heterogeneity to reflect complexity: The complexity of the scenario is manifested not only in its scale but also in its inherent heterogeneity.
UAV heterogeneity:
Table 2 clearly shows that different UAVs possess distinct load specializations and costs. For instance,
serves as an efficient platform for the
load, whereas
specializes in the
load. This forces the algorithm to make trade-offs between using low-cost, specialized UAVs and employing high-cost, general-purpose UAVs to enhance resilience.
Task heterogeneity:
Table 3 indicates that different targets have varying combinations of load requirements. Meanwhile, the distribution of targets across the three areas is non-uniform, as shown in
Figure 7. This dual heterogeneity ensures that the three subtasks have distinct demand profiles, thereby effectively testing the algorithm’s ability to allocate resources in a customized manner for subtasks with different characteristics.
Balance between computational feasibility and statistical validity: As stated in Experiments 1 and 2, a reliable statistical evaluation of the algorithm’s performance requires hundreds of repeated simulation runs (100 and 150 times, respectively). The current medium-scale setting allows for the completion of these extensive Monte Carlo simulations within an acceptable timeframe, enabling the acquisition of statistically significant average results. If the scenario scale were excessively large, the prolonged computation time for a single run would make it difficult to conduct sufficient repeated experiments to verify the algorithm’s stability and robustness.
In summary, the design of the current experimental scenario strikes a deliberate balance among problem representativeness, decision-making complexity and computational feasibility. It is sufficient to simulate the core challenges in UAV swarm task allocation, such as resource heterogeneity, diverse demands and the trade-off between cost and resilience, thereby providing a solid and reasonable testbed for validating the effectiveness of the PSO-ILP algorithm.
5.2. Task Resilience-Simulation-Evaluation Model
During the task execution, the UAV swarms are vulnerable to sudden interferences from themselves or the environment. As a result, the task capacity will decline due to the loss of the equivalent load during the task process. To dynamically assess the task load losses caused by the interaction between the UAV swarms and the environment, the interaction between the UAV swarms and the environment can be equated to the adversarial relationship between red and blue sides. Thus, the Lanchester model [
54] can be applied to conduct an equivalent analysis of its uncertain disturbances.
Based on the Lanchester model given by Equations (
11) and (
12), this paper examines the total load of both sides in the task process and utilizes the total load to simulate the initial scale of both sides. According to the load-consumption model, for each task area, the total effective loads
carried by UAV swarms and the required loads
for the targets at time
t can be presented as in Equation (
29):
5.3. Experiment and Analysis
5.3.1. Experiment 1: PSO-ILP Optimization Process and Multi-Objective Effects
Table 4 shows the relevant parameters of the PSO-ILP algorithm, where dim is set to 15 to represent the number of dimensions of PSO, the particle size is set to 20 to represent the number of PSO particles and the number of iterations is set to 30; these settings were found to provide a sufficient balance between thorough exploration of the 15-dimensional search space and computational feasibility. The particle speed is 40, which prevents particles from moving too rapidly out of the effective search area. The search range is 100, ensuring they remain within a plausible range. Both the cognitive coefficient and the social coefficient are 2. This is a standard setting recommended in the canonical PSO literature, which is widely demonstrated to provide a good balance between individual particle exploration and swarm-wide information exploitation.
Under the task settings described in the simulation experiment, the PSO-ILP algorithm was used to carry out 100 task-allocation-optimization experiments, and the average value of the experimental results was taken as the final optimization result. The specific results are shown in
Figure 8. The green curve shows the fitness values decline when the PSO-ILP algorithm updates its best solutions. The best solutions of this task scenario update four times when the iterate number equals 20, 25, 45 and 58. Meanwhile, the blue curve illustrates the decline in the UAV number; when the normalized coefficient
grows from 0.4 to 0.5, the total UAV number declines from 1376 to 1350. Finally, the value of task resilience is also affected by
. When
, the task resilience reaches the peak. The red curve in the main graph reflects the change of the target fitness function in the PSO-ILP algorithm with the increase in the number of iterations. In the initial stage, the model was solved by the CBC solver [
55] in the PuLP module, and a set of feasible task alliances for the UAV swarm problem was obtained. Based on this alliance, the initial value of the target fitness was calculated. As an upper-level algorithm, PSO optimizes the compensation load matrix through iteration, making the target fitness value show an overall downward trend, and converging to a value close to 1.102 after 80 iterations. The inset in the upper right corner of the main graph synchronously shows the changing trends of the two optimization objectives during the convergence of the fitness value. It can be seen that with the convergence of the fitness value, the number of UAV task alliances decreases, while the resilience of the UAV swarm task shows an overall upward trend with the increase in the number of iterations. Whenever the PSO-ILP algorithm obtains a new fitness value, the optimal solutions of the two optimization objectives will be updated accordingly. The curve in the upper right subgraph clearly proves the effectiveness of the PSO-ILP algorithm in dealing with multi-objective problems during the optimization process.
5.3.2. Experiment 2: Task Capacity and Algorithm Effectiveness Under Interruptions
- (1)
Task Capability and Algorithm Performance Under Different Interruption Intensities
This experiment focuses on the task capability performance of UAVs in dynamic confrontation processes, and delves into the actual effectiveness of the PSO-ILP algorithm under different interruption intensities. The simulation time is measured by program-execution intervals, with a total of 150 experiments conducted. It focuses on analyzing the variation patterns of task capabilities of the three subtasks within the swarm when the interruption intensities are 0.2, 0.4 and 0.6.
Focusing on the scenario with interruption level 1 as the specific analytical target,
Figure 9a–c depict the capability curves of the UAV swarm in executing three subtasks under interruption probabilities of 0.2, 0.4 and 0.6, respectively. This 3 × 3 matrix of plots illustrates the algorithm’s performance across diverse conditions, where each row corresponds to a distinct interruption level (with Level 1 being the lowest and Level 3 the highest) and each column represents a specific interruption probability (P = 0.2, 0.4, 0.6). The red dashed line in each plot denotes the task baseline (
), below which task performance is deemed degraded. Owing to the compensation loads allocated to each task by the PSO-ILP algorithm during the task-allocation phase, the execution capabilities of the three subtasks all exceed 1 at the initial stage of task execution. As the confrontation proceeds, task capabilities gradually degrade over time due to load losses; however, the optimization mechanism inherent in the PSO-ILP algorithm remains effective.
When the interruption probability is 0.2, the capabilities of the three subtasks oscillate around their respective equilibrium points (close to 0.9) (occurring at t = 30, t = 60 and t = 100, respectively), reflecting the algorithm’s initial effect in maintaining task stability. When the simulation reaches t = 120, although the performance of subtask 1 has experienced three significant declines, it reaches a new balance around 0.4 under the regulation of the algorithm. This is because the remaining effective loads and the dynamic adjustment of the algorithm work together to prevent the task from completely collapsing. When the interruption probability rises to 0.4, the performance of subtask 1 declines four times at t = 65, t = 85, t = 117 and t = 142, the performance of subtask 2 only declines for the first time at t = 140, while the performance of subtask 3 remains above the task baseline throughout the process—demonstrating the PSO-ILP algorithm’s ability to provide differentiated protection for different subtasks. When the interruption probability reaches 0.6, although subtasks 1 and 2 both experience more than two declines (the performance of subtask 1 drops to zero when the simulation is close to 100), subtask 3 still remains stable above the baseline. This fully proves that the PSO-ILP algorithm can ensure the continuous execution of core tasks in a high-interruption environment and maintain the relative stability of task performance in a short period.
- (2)
Task Resilience Comparison and PSO-ILP Effectiveness Validation
To further verify the effectiveness of the PSO-ILP algorithm under different interruption probabilities, we solved the problem using the PSO-ILP algorithm and the CBC solver provided by the PuLP module, respectively, in the same experimental scenario described above, and conducted a comparative analysis of the task resilience values of the UAV task alliances obtained by the two algorithms.
Figure 10 compares the task resilience values of UAV task alliances solved by the CBC-ILP algorithm and the PSO-ILP algorithm for different interruption probabilities while also illustrating the task resilience values for both task alliances when the interruption probabilities are 0.2, 0.3, 0.4, 0.5 and 0.6. The bar chart compares the task resilience of the three subtasks (T1, T2, T3) for the baseline CBC-ILP algorithm (Algo 1) and the proposed PSO-ILP algorithm (Algo 2). The comparison is performed across five different interruption probabilities. The results show that the resilience values achieved by PSO-ILP are consistently higher than those of the baseline method, with the performance gap widening as the interruption probability increases. When the interruption probability is 0.2, the task capabilities of both task alliances remain at a level close to task requirements due to the lower UAV payload loss caused by interruptions. At this point, the task resilience of both task alliances for all three subtasks exceeds 0.95. Meanwhile, the resilience values of subtask 2 and subtask 3 exceed 0.98, slightly higher than subtask 1’s value. This is because subtask 2 and subtask 3 have higher task objectives and require more payloads than subtask 1. To ensure the UAV swarm’s task capability after an interruption, subtasks 2 and 3 are allocated a larger number of redundant UAVs and redundant payloads than subtask 1. When the interruption probability is 0.3, the average task resilience of each subtask under the CBC-ILP algorithm falls below 0.9, while the average task resilience of the PSO-ILP algorithm can still exceed 0.9. This is because the compensation payloads calculated by the CBC-ILP algorithm are a fixed value. When the interruption probability increases, the quantity of redundant payloads in subtasks with fewer task objectives is significantly lower than the amount of payload lost. In contrast, the compensation payloads calculated by the PSO-ILP algorithm are an adaptive value that adjusts itself according to the actual payload loss, allowing the task alliance to maintain higher task capabilities. From an interruption probability of 0.4 to 0.6, both algorithms show a sharp decline in task resilience values. This is due to the constraint on the quantity of compensation payloads limiting the UAVs’ ability to maintain their task payloads. When payload losses caused by interruptions exceed the maximum value of compensation payload, the UAVs’ task resilience drops sharply. In these three interruption probability scenarios, the task resilience values for all three subtasks of PSO-ILP consistently outperform those of CBC-ILP, demonstrating the superiority of the PSO-ILP algorithm in extreme interference scenarios.
In the context of actual task operations, the parameters such as the task baseline and the task collapse threshold for different tasks involving UAV swarms are adjusted according to the specific circumstances. Additionally, the interruption probability of the UAV swarms may be influenced by other uncertain factors during the task. To mitigate the impact of these uncertainties on the measurement of the UAV swarm’s task resilience, this paper introduces the task baseline offset factor
a and the interruption probability offset factor
b to ensure the non-negativity of the task resilience-calculation results.
Figure 11. illustrates the trend in task resilience as the task baseline offset factor
a and the interruption probability offset factor
b take on different values. The plot shows the change in the calculated task resilience value as the interruption probability offset factor (
b, on the
x-axis) varies. The parameter
b is a unitless adjustment factor used to scale the impact of the raw interruption probability in the resilience formula (Equation (
2)). The range of [1.0, 5.0] was selected for this sensitivity analysis to demonstrate the full dynamic effect of this parameter on the resilience score. Each of the three curves corresponds to a different value of the task baseline offset factor (
). The graph illustrates that resilience decreases exponentially with an increasing
b, while a higher value of
a consistently yields a higher resilience score. It can be observed that as the task baseline offset factor increases, the task resilience values show an overall upward trend. This is because an increase in the offset factor
a counteracts the impact of the decrease in task capability on the task resilience values. Simultaneously, when the interruption probability offset factor
b increases, the task resilience exhibits an exponential decline. Moreover, as the value of
b increases, the influence of the task baseline offset factor
a on the task resilience values gradually diminishes. When the value of
b rises to 5, the impact of the task baseline offset factor
a on task resilience becomes negligible. In summary, by introducing the offset factors, a more realistic measurement of task resilience can be achieved to accommodate different operational requirements.
It is evident that the UAV swarm task-allocation scheme based on the PSO-ILP bilevel nested optimization algorithm that takes task resilience into account possesses a superior ability to sustain task capacity performance when faced with sudden interruptions from operational areas.
5.3.3. Experiment 3: Task-Allocation-Optimization Results by Different Algorithms
Based on the cost parameters of UAVs, game units and task scenarios in
Table 5, we applied these parameters to three different algorithms, respectively, to obtain optimized solutions.
Considering the existence of interruption probability, we conducted the experiment under the same scenario 100 times and took the average values as the final results;
Table 5 presents a comparison of three different task alliances among three different methods along with the results of these optimizations in detail, with the average optimal task alliances obtained from 100 simulation runs for each algorithm. The table itemizes the number of UAVs of each type (
) allocated to the three task areas (
) and lists the resulting total cost for each configuration. These detailed allocation results in
Table 5 provide the underlying data for the aggregated comparison of total UAV numbers and costs presented subsequently, quantitatively demonstrating the superiority of the proposed PSO-ILP method in balancing cost and resilience.
Figure 12 presents a comparison of the ILP algorithm without considering task resilience (method 1), the CBC-ILP algorithm with task resilience consideration (method 2) and the PSO-ILP algorithm with task resilience consideration (method 3) in terms of the number of drones, the cost of drones and the resilience of the UAV swarms for the optimal task-allocation scheme. The ILP algorithm without considering task resilience (method 1) requires a total of 1531 UAVs with a total cost of USD 2,299,481. The ILP algorithm with task resilience consideration, specifically the CBC-ILP(method 2), requires a total of 1794 UAVs with a total cost of USD 2,891,355. The PSO-ILP algorithm with task resilience consideration (method 3) requires a total of 1360 UAVs with a total cost of USD 2,669,066. The results show that the task-allocation scheme using the PSO-ILP algorithm needs fewer drones than the other two systems. When compared to the CBC-ILP algorithm, the overall cost of the PSO-ILP-based scheme is lower. It is feasible to achieve the lowest overall cost while maintaining task resilience.
To sum up, the optimized task alliances simulated with the PSO-ILP algorithm have the lowest total UAV numbers among the three algorithms. Also, when considering task resilience, the total cost of the PSO-ILP algorithm is much better than the ILP algorithm. Compared with the other two algorithms, the results of the PSO-ILP algorithm are superior.
5.4. Discussions
Experimental results demonstrate that the proposed PSO-ILP bilevel nested optimization algorithm exhibits superior performance in multi-objective optimization of cost-effectiveness and task resilience, particularly in interference scenarios involving sudden interruptions. On the basis of appropriately increasing task costs, it achieves a significant improvement in task resilience capacity. Results from Experiment 1 reveal that the PSO-ILP algorithm possesses effective multi-objective optimization capabilities: as iterations proceed, the target fitness function converges stably, accompanied by a reduction in the number of task alliances and an enhancement in task resilience, reflecting its ability to balance multiple optimization objectives. Experiment 2 highlights the advantages of incorporating task resilience capacity into multi-objective optimization. Under varying interruption intensities, UAV swarms employing the PSO-ILP algorithm can maintain stable task-execution capabilities. Notably, when the interruption probability reaches 0.5 or higher, their task resilience is significantly superior to that of the CBC-ILP algorithm, demonstrating strong adaptability to sudden interruptions. Experiment 3 further validates the practical application advantages of the algorithm. Compared with the ILP and CBC-ILP algorithms, while maintaining task resilience, it requires fewer UAVs and achieves lower total costs, underscoring its cost-effectiveness edge. In contrast to previous studies that mostly focused on single objectives or static scenarios, this research comprehensively considers multiple factors such as cost, resilience and dynamic interruptions, thereby addressing the limitation of incomplete considerations in existing studies.