Abstract
Local repair can improve candidate paths but consumes the evaluation budget. This study examines whether it improves final path quality under a fixed budget. Under a known constant-velocity motion model, risk-conditioned search and one-step geometric repair are independently enabled or disabled within a simplified artificial hummingbird algorithm (AHA), and the same repair is integrated into particle swarm optimization (PSO) for comparison. Initialization, ordinary search, and repair all count toward the function evaluation (FE) budget. After equal-cost parameter selection and configuration freezing, tests are conducted in entirely new scenarios and scored using a common objective combining length, turning angle, and the risk-exposure score. The results show that RC-AHA, relative to AHA-RC with only the risk cost retained, increases the equivalent cost by 0.887 m. The 95% marginal interval for the median of scenario-paired differences is [0.662, 1.079], and the difference is significant after correction for multiple comparisons; however, differences in success rate and the common risk-exposure score do not reach the corrected significance threshold. When the same fixed outputs are rescored at risk weights of 3, 5, and 7, the differences are positive in all cases. Risk parameters, repair amplitude, and budget also alter the benefits of repair. Smoothing, retiming, and constrained point-mass tracking further show that nominal planning success does not necessarily translate into completed execution. Evaluating local repair strategies therefore requires the joint consideration of changes to candidates, FE costs, final path quality, and actual execution outcomes.
1. Introduction
UAV path planning in dynamic environments requires the joint consideration of spatial geometry and arrival time. The geometrically shortest path may encounter a moving obstacle when traversed, whereas detours increase flight distance and computational overhead. Existing studies apply swarm intelligence optimization to nonconvex three-dimensional planning [1,2] and use flow fields, sampling-based search, or receding-horizon strategies to address moving threats [3,4,5,6]. These methods respectively emphasize global paths, local obstacle avoidance, and control execution, so comparisons require explicit specification of the path representation and evaluation budget. Definitions of “risk” also differ across studies. Urban UAV research considers third-party ground losses, population exposure, or a target level of safety [7,8,9], while planning in unknown environments also depends on mapping and perception information [10]. This study focuses on close-proximity exposure under a known motion model. Distance, local time to closest approach, and relative velocity characterize proximity, urgency, and encounter intensity, respectively. The score is used primarily for search and path comparison rather than to measure the probability of third-party damage.
The artificial hummingbird algorithm (AHA) includes flight, foraging, and visit-table mechanisms [11] and has been widely applied to UAV path planning [12,13]. To further improve optimization performance, existing studies have successively proposed multiobjective, adaptive, and chaos-based strategies [14,15,16]. Research on variants of AHA has continued to emerge in recent years. For example, enAHA [16] uses a dynamic fitness–distance balance mechanism to adjust guidance selection, whereas FDB-AHA [17] incorporates greedy fitness–distance balance into guidance and foraging. These variants have shown good performance in their respective global optimization and engineering applications. Drawing on existing algorithmic design ideas, this study uses a simplified AHA framework to disentangle the independent effects of “risk feedback” and “local repair,” rather than rank the performance of the complete AHA and its variants. Several representative studies of path planning in dynamic environments also merit attention. For example, Zou et al. [18] use EC-MOPSO to represent flight paths with three-dimensional control points, repair waypoints according to terrain-clearance, altitude, and boundary constraints after initialization and particle updates, and evaluate multiple objectives using B-splines. That study includes an ablation with repair enabled or disabled, examines parameter tuning and complexity, and focuses on solution-set quality and feasibility for paths in mountainous terrain. Braßel et al. [9] incorporate third-party ground risk into the A* cost and screen paths according to the target level of safety (TLS) and endurance. Zong et al. [10] switch between global planning and reactive obstacle avoidance according to risk estimates. EGO-Planner [19] optimizes splines using collision gradients together with smoothness and dynamics conditions, refines the curves after time reallocation, performs tubular collision checks, and reports objective evaluation counts, elapsed time, and path quality. Compared with these studies, this work focuses on planning among dynamic obstacles under a fixed total function-evaluation (FE) budget, and explicitly distinguishes the current candidate, the final output, and post-processing safety certification.
Among alternative metaheuristic methods, PSO [20] and GWO [21] provide different candidate-update paradigms. We select PSO as the benchmark for comparisons across frameworks because the geometric repair operator can be seamlessly integrated while retaining the host framework. In addition, the Salp Swarm Algorithm (SSA) [22], genetic algorithms (GA) [23], and differential evolution (DE) [24] have also been widely applied to UAV flight path planning, providing a broad algorithmic context for this mechanism study. To define the scope of this work more clearly, Table 1 compares three categories of representative studies, namely, risk-driven decision-making, risk-triggered switching, and trajectory-feasibility treatment, in terms of where risk enters the method, local treatment, and evaluation accounting conventions. An example is the repair of population candidates by Zou et al. [18].
Table 1.
Research focus and scope of evidence in the related literature. Note: Unified FE accounting means that population initialization, ordinary candidates, and candidate repair are included in the same fixed total evaluation budget. Node expansions or gradient computations in different paradigms are not directly converted into the FE used in this study.
Against this background, this study addresses three core questions. First, can local candidate improvements translate into better final paths under the same budget? We compare different mechanism combinations through ablation experiments with shared configurations. Second, how do these benefits vary with parameters, repair amplitude, and budget? We conduct tests with equal-cost parameter selection using newly frozen scenarios and examine configuration dependence through robustness experiments. Third, why does nominal planning success not necessarily lead to successful completion during actual execution? In the execution analysis, we further distinguish reference trajectory certification, actual tracking certification, and final completion status. The entire comparison and evaluation process follows best practices for evaluating optimization algorithms [25,26] to ensure consistency in budgets, statistical units, and reporting scope.
2. Three-Dimensional Path and Risk Modeling
2.1. Geometric Objects, Units, and Arrival Time
We consider one-shot planning under a known motion model, without real-time sensing or online replanning, with static scenarios as controls. The baseline workspace is a 20 m × 20 m × 10 m cuboid, with start and goal positions of (1, 1, 1) m and (19, 19, 1) m. Static obstacles are axis-aligned boxes, and moving obstacles are spheres traveling at constant velocities. The UAV has a spherical envelope with a radius of 0.25 m, and the baseline hard margin is 0.35 m. Position, length, and radius are measured in m, time in s, and velocity in m/s; all correspond to synthetic simulation scales.
Let the endpoints be and , the segment index be , and the initial time be . The decision vector and path defined by internal waypoints are
The centers of internal waypoints are constrained to lie within the workspace; the outer boundary is not inset to account for the spherical envelope. Adjacent points are connected directly, and time is obtained using the reference-speed parameter m/s:
Boundary projection can cause adjacent points to coincide. The evaluator uses an effective segment duration of to avoid division by zero. The position on segment is , and its velocity is . The effective duration is used in the velocity denominator, the upper bound on time to closest approach, and the dynamic-exposure numerator. Segment start times and total time are still calculated by accumulating the actual values.
The centers of moving spheres satisfy . The baseline spherical safety envelopes remain within the workspace during the initial 10 s; subsequent constant-velocity extrapolation allows them to leave the workspace. The doubled-speed group in Section 4.7 is not re-constrained to the workspace and may leave it earlier. Evaluation covers the full arrival time and is not truncated at 10 s.
The planning layer calculates time using a fixed reference speed and determines nominal success using continuous safety envelopes. Turning angles are subject to a soft penalty. The dynamics constraints and completion rates for smoothing, retiming, and closed-loop execution are presented in Section 4.8.
2.2. Continuous Safety-Envelope Criterion
For each line segment and each box, the minimum Euclidean distance from the entire segment to the box is calculated, and the UAV radius and margin are subtracted,
The segment is partitioned at the parameter values where it crosses the planes containing the box faces. Within each interval, the squared distance is a convex quadratic function. The endpoints and any stationary point within the interval are checked to obtain the minimum, independently of the sampling spacing used for risk integration. If the path passes through the box, the distance is zero and the safety margin is .
Dynamic distances are computed using a within-segment analytical approximation based on relative motion. The relative position and velocity at the start of segment are
The regularized estimate of the time to closest approach, together with the corresponding distance and safety margin, is given by
The denominator term avoids division by zero when the relative velocity is near zero; Equations (5) and (6) are therefore regularized approximations. A violation is counted whenever the safety margin of a segment–obstacle pair is below m. counts all violating static and dynamic pairs, and is the minimum margin over all pairs. Failures are counted by the number of final paths, separately from the number of violating pairs. The geometric surface clearance excludes the artificial margin and is used to compare geometric changes under different margins.
2.3. Time-Linked Dynamic Risk
In this study, “risk” is a heuristic proximity/exposure score under a known constant-velocity motion model, used for search ranking and path comparison. It is neither a collision probability nor a formal safety risk measure.
Let . The distance, urgency, and relative-velocity factors are combined as
The warning distance is m, the risk transition scale is m, the urgency scale is s, the relative-velocity scale is m/s, and the amplification coefficient is . controls exponential decay; approach events beyond this scale are not truncated. Dynamic exposure is weighted by segment duration and summed over the moving spheres,
This score emphasizes the most hazardous approach event within each segment and can exceed 1. Because urgency is calculated from the segment start, repartitioning the path changes the score. To ensure fair comparisons, we keep the number of internal waypoints identical within each comparison group, while primarily comparing success rate and length in extension experiments across different dimensions.
2.4. Static Exposure and Optimization Objective
The signed distance from path position to the nearest box, minus , is denoted by ; for a point inside a box, the signed distance is the negative distance to the nearest face. Static exposure is the arc-length average,
Each segment is integrated using the trapezoidal rule with equally spaced samples including the endpoints. For segment length , the sample count is denoted by and is set to , with a minimum of 2. Weights are based on the adjacent-sample spacing , with half weights at the endpoints. Only the nearest box is considered at each position; no additional averaging by the number of obstacles is performed. Sampling is used for soft exposure, whereas hard safety is checked as described in Section 2.2.
Equation (10) applies to paths with a strictly positive total length. This condition is satisfied because the start and goal positions differ in these experiments. When there are no static boxes, the static-exposure component is set to zero. The total risk-exposure score, length, and turning angle penalty are, respectively,
First, the directions of segments with lengths no greater than m are discarded. The retained unit directions are renumbered from 0 to M − 1 in their original order. Equation (12) sums over adjacent valid directions, with index , and the sum is set to zero when . is the sum of the out-of-bounds distances of all coordinates of the internal waypoints. The search objective is
Equation (13) is measured in equivalent length; the turning angle coefficient, , and the penalty per violating pair have units of m, whereas the boundary penalty coefficient and exposure score are dimensionless. Differences in both and the common objective in Section 4.3, , must be interpreted jointly with , , , and the execution completion rate. Under a finite budget, penalties do not guarantee a feasible solution. The baseline development set was used to select , which is shared by the baseline risk-optimization groups.
“Continuous safety” means that checking covers an entire path segment or time interval. Discrete counts and integration make the objective function nonsmooth, placing certain demands on the finite-difference methods in Section 4.6.
3. Risk-Conditioned Search and Local Repair
3.1. AHA Heuristic Framework
In our algorithmic framework, the risk cost contributes directly to objective-function scoring, whereas “risk-conditioned search” adjusts candidate generation. This control mechanism is defined as “risk feedback”. For specific details of execution control feedback, see Section 4.8. The proposed RC-AHA uses a simplified search framework guided only by the best food source or a random peer, with additive Gaussian perturbations. It does not include all mechanisms of the original AHA algorithm. To ensure a fair comparison, all experimental groups share the same path encoding, evaluator, and total function-evaluation (FE) budget. Different control groups are formed by independently enabling or disabling “risk-conditioned control” and “one-step repair”.
The displacement direction of the one-step repair operator is determined entirely by the geometric distances in Section 3.2 and is independent of the candidate-generation rule. To verify the applicability of this repair operator across frameworks, we integrate it into PSO for comparative testing. The overall algorithmic procedure is shown in Figure 1.
Figure 1.
Procedure for risk-conditioned search and one-step repair. Initialization, search candidates, and repair candidates all count toward the total FE. Both repair and population updates are accepted only when the objective does not increase.
At the start of each iteration, the risk-exposure score of path in the population is normalized as
When risk control is enabled, the guidance step size and the baseline food-source guidance (exploitation tendency) parameter are
Here, is the number of consecutive iterations without an improvement in the global best value. and are used in Equation (16) to determine the exploration probability . With probability , a peer is selected uniformly from the current population as ; otherwise, the food source for the current iteration is used. The perturbation coefficient is then selected independently; with probability , it takes the value 0.35, and otherwise, it takes the value 0.08. The candidate update is
Here, is the coordinate search width, is an independent standard normal vector, and is the boundary projection. For a fixed stagnation count, higher risk gives a smaller guidance step size, a greater exploitation tendency, and a nonincreasing exploration probability; stagnation can cause this probability to rise again. When risk control is disabled, and are used, while perturbation and selection remain unchanged. The normalized values and food source are fixed at the start of the iteration. Individuals are updated sequentially, and a candidate is accepted only if it does not increase the objective value of the corresponding individual.
Equation (17) gives the baseline update with a perturbation multiplier of 1. Under the new protocol, the perturbation term is additionally multiplied by the value selected in Section 4.6. The selected value for AHA-RC is 0.6, and that for RC-AHA is 1.
3.2. One-Step Local Repair
When a candidate violates the safety envelope or its total risk-exposure score exceeds , one repair candidate is generated if the remaining FE budget allows. Static threats are repaired first when static violations are present. In the absence of static violations, the static branch is also selected if there are no dynamic obstacles or if the static margin is smaller than the margins of all dynamic pairs; otherwise, the dynamic approach event with the highest risk is repaired.
The static repair branch moves the internal waypoint adjacent to the closest point on the path in the direction from the closest point on the box to the closest point on the path. If the closest point on the path lies inside the box, the outward normal of the nearest box face is used instead as the extrapolation direction. The repair amplitude is m.
The dynamic repair branch takes the sphere center at the predicted time of closest approach as its reference and moves one internal waypoint of the affected segment in the direction from the sphere center toward the UAV. This moves the path away from the sphere center at that time, with a repair amplitude of m. If this direction is degenerate and cannot be defined, the vertical direction is used as an alternative extrapolation direction. Both branches keep the start and goal positions unchanged and update only internal waypoints. If an updated point leaves the workspace, it is projected back within the workspace boundary.
In Section 4.9, the clipped displacement is multiplied by the multiplier before projection; the historical experiments use . The multiplier changes only the displacement, while the direction, trigger, and objective-based acceptance rule remain unchanged.
After reevaluation, the repaired candidate replaces the original candidate only if . At most one candidate is generated per call, costing one FE, and acceptance is based on the same scalar objective. Figure 2 shows the repair for the same input and the variation in clearance over time.
Figure 2.
Example of one-step repair of the same candidate. The (left) panel shows the paths before and after repair together with the obstacles; the (right) panel shows the minimum safety margin (m) as a function of flight time.
3.3. Evaluation Budget and Termination
The population size in the baseline experiments is 8. Initialization generates 8 paths, which are evaluated individually, with each path costing 1 FE; these 8 FE count toward the total budget. The population size under the new protocol is selected using the development set in Section 4.6. Repair groups may repair the initial best candidate at most 1 time. Ordinary and repair candidates each cost 1 FE, and the two candidates in HHO rapid dives are counted separately. During ordinary search, when only 1 evaluation remains, only the ordinary candidate is evaluated and no repair is added. Optional repair of the best candidate from initialization is likewise constrained by the remaining FE.
The algorithm stops immediately when the budget is exhausted. The PSO inertia weight decreases from 0.9 to 0.4, the GWO control coefficient decreases from 2 to 0, and the HHO energy decays. For all three schedules, the number of iterations is calculated in advance from the budget and population size. However, repair or HHO rapid dives increase the number of evaluations per iteration, so the actual iteration count may differ from the scheduled count.
The best objective value and corresponding path among all evaluated candidates are output, with cumulative FE on the horizontal axis. Different budgets produce different schedules, so optimization trajectories with the same seed are not necessarily nested.
For boxes, moving spheres, and integration samples over the entire path, the computational work per evaluation is . The first term arises from continuous safety checking and dynamic exposure; the second arises from static integration using the nearest box. Under a budget of , this work is multiplied by , with additional vector operations required for candidate generation and population control. grows with flight distance, so equal FE counts do not guarantee equal elapsed times. Wall-clock measurements are presented in Section 4.5 and Section 4.6, and serial results are provided in Supplementary Table S10.
The repair FE share is the total number of repair calls divided by the actual total FE count, including initialization. Cost is calculated by the number of calls, irrespective of the number accepted. This share arises from the search process and is not independently controlled.
3.4. RC-AHA: Complete Procedure
Algorithm 1 summarizes the procedures for caching at the start of each round, immediate sequential updates within each round, and global-best record keeping.
| Algorithm 1. Risk-conditioned search and one-step repair under a finite FE budget | |
| Step | Operation |
| 1 | Input the scenario , population size , budget , random seed, risk weight, and repair threshold; must be no smaller than . |
| 2 | Uniformly initialize individuals within the internal-waypoint bounds, evaluate them individually, and charge each evaluation to FE; retain the global best value among all evaluated candidates. |
| 3 | If the best initial candidate violates the safety envelope or its risk exceeds the threshold, and FE remain, generate one local repair and reevaluate it; accept it if the objective does not increase. |
| 4 | Calculate the upper bound of the decay schedule from and ; initialize the iteration and stagnation counters to 0. |
| 5 | While FE remain, cache the population risk scores and best food source at the start of the iteration. Compute candidate control quantities from normalized risk, the stagnation count, and Equations (14)–(17). |
| 6 | Select guidance from the best food source or a random peer according to the control probability, add Gaussian perturbations, and project onto the bounds; call the evaluator, consuming 1 FE. |
| 7 | If the repair trigger is met and FE remain, generate at most one candidate using the static- or dynamic-threat branch; reevaluate it, consuming 1 FE. |
| 8 | Replace the candidate only if the repaired objective is no greater than the objective before repair; update the population only if the candidate objective is no greater than that of the current individual. Update the global best record after every evaluation. |
| 9 | Process individuals sequentially within the iteration; stop immediately when FE are exhausted. At the end of the iteration, update the stagnation count according to whether the global best objective decreased, and increment the iteration count. |
| 10 | Return the best path among all evaluated candidates, actual FE, repair-call and acceptance counts, and the per-FE history. |
Let the decision dimension be . Accounting for candidate generation, population aggregation, and repeated mean calculations in HHO, a conservative overall bound is ; the evaluation cost is described in Section 3.3. The population cache requires space, and scalar logging at each FE requires space. Disabling full logging does not affect the search or budget accounting. These bounds describe the implementation complexity of the current code; actual computational overhead is reported in Section 4.6 and Supplementary Table S10.
4. Experimental Design and Statistical Analysis
As shown in Table 2, to support the research approach outlined above, the three types of sensitivity evidence in this study address different dimensions. Section 4.3 and Section 4.9 rerun the search with modified search parameters to evaluate the path-generation mechanisms. Section 4.6 rescores existing outputs under different scoring weights to examine the effects of the evaluation scale. Section 4.8 tests joint execution errors to analyze the execution response. These three types of evidence are independent and address scientific questions at different levels.
Table 2.
Research questions, experiments, and locations of supporting evidence.
4.1. Scenario Library and Development Set
This study includes six families of obstacle configurations, each with 5 scenarios for the main experiments. The static family S1 contains 3 smaller static boxes, and S2 contains 8 larger boxes. Among the dynamic families, D1 contains 3 boxes and 2 slower-moving spheres; D2 contains 4 boxes and 2 spheres moving along crossing trajectories; D3 contains 6 larger boxes and 4 spheres moving in random directions; and D4 contains 2 boxes in a fixed layout and 2 spheres moving toward each other. The geometry snapshots store obstacle sizes, initial positions, velocities, and all model parameters. To strictly separate development from testing, entirely independent random seeds were used for the main experimental scenarios, the independent held-out scenarios, and the independent development set; their values are provided in the minimal reproducibility package. In addition, the geometry of the independent held-out scenarios was frozen before the main runs and was not used in any parameter development, thereby ensuring the validity of validation on new samples.
On the independent development set, 1 scenario per family was evaluated with 10 repeated runs. RC-AHA evaluated combinations of and , covering all 9 combinations and producing 540 records. Parameters were selected in order of highest success proportion, lowest median common risk-exposure score among successful paths, and lowest median length, with remaining ties resolved in a predefined order. The protocol was frozen after selecting and . Equal-cost tuning of the baselines is described in Section 4.6.
4.2. Comparisons and Ablations
The nine algorithm configurations used in this study are listed in Table 3. Of these, AHA-RC retains only the risk cost, whereas RC-AHA adds risk-conditioned candidate control and geometric repair. To isolate the independent effects of these two new mechanisms, a four-cell ablation experiment was designed. The four algorithm groups share the same risk objective, initialization strategy, and underlying backbone, differing only in whether the two mechanisms are enabled. In addition, PSO and PSO-repair, which share the same update rules, were included as comparison groups to test the applicability of the geometric repair operator across frameworks. Meanwhile, AHA-spatial provides a reference boundary case by disabling the risk objective and retaining only the continuous safety penalty.
Table 3.
Algorithm names, search backbones, and feature switches. Note: All AHA groups use the simplified backbone in this study; risk-conditioned control refers only to Equations (14)–(17). For PSO, GWO, and HHO, “Not incorporated” indicates that their respective original update rules are retained.
Regarding parameter settings and implementation details, particle swarm optimization (PSO) uses personal-best and global-best solutions to guide particle state updates, with both acceleration coefficients set to 1.6 [20]. Initial velocities are generated by multiplying the search interval width by 0.08 times a standard normal perturbation, and the global-best record is refreshed immediately after each candidate evaluation. Grey wolf optimization (GWO) uses the classical three-leader update equations [21]. In each round, the three individuals with the lowest objective values are fixed as leaders, while the remaining individuals update their positions unconditionally. The separately stored historical best solution is returned at termination. Harris hawks optimization (HHO) fully retains exploration, soft besiege, hard besiege, and both types of rapid dives based on Levy flights, with the Levy exponent set to 1.5 [27]. In the code implementation, this algorithm caches fitness values, immediately evaluates clipped candidates, and stops the search as soon as the function evaluation (FE) budget is exhausted. Specific differences in branch logic and scheduling between this implementation and the original reference code, together with records of the associated 19 behavioral tests, are detailed in Section S5 of the Supplementary Material.
4.3. Main Experimental Matrix and Fair Comparison
The population size is set to 8 for all algorithms, and initial waypoints are generated uniformly within the search space. Algorithms share the same initialization seed for the same replicate in a given scenario, and their execution order is randomly shuffled within each block. All computations are also timed serially in a single process to eliminate concurrent resource contention and minimize batch bias.
As shown in Table 4, to evaluate algorithm performance under different budgets, the 48, 96, and 192 FE budget groups share the same 30 scenarios, with 30 independent repeated runs per algorithm. The budget for the dimensionality extension experiments is fixed at 192 FE. In addition, the sensitivity experiments vary one factor at a time: the safety margin (0.25/0.35/0.45 m), repair threshold (0.16/0.32/0.48), dynamic risk weight (0.4/0.6/0.8), and risk-cost weight (3/5/7). Throughout these experiments, the static and dynamic weights remain complementary, and the underlying geometry, start and goal positions, and obstacle trajectories remain unchanged across all experiments.
Table 4.
Frozen main experimental matrix. Each group uses nine algorithms, except the sensitivity group, which uses only RC-AHA.
Final paths are rescored using the baseline geometry and common parameters; and , retaining the equivalent length in Equation (13). The individual metrics are not separately normalized in these calculations. Instead, the fixed coefficients above directly define the scale trade-offs between different physical quantities.
Regarding the origins of the weights, the baseline search weight of 3 comes from the development set in Section 4.1, whereas the common scoring weight of 5 is a predefined empirical standard for all groups, including AHA-spatial. Specifically, the search weight in Section 4.6 is 5, while Section 4.9 retains the baseline configuration with a weight of 3. Common scoring does not count toward FE. Success rate, length, and risk-exposure score are reported. For the baseline sensitivity experiments, success rates are additionally reported at both the stated margin and the common margin of 0.35 m.
4.4. Units of Inference and Conditional Metrics
Success rates are calculated from the final feasibility flags of all runs. For continuous quality metrics, the median among successful paths is first calculated within each scenario, followed by pairing by scenario. Failed paths are included in success rates, failure heatmaps, safety margin distributions, and audits; their penalized values are not pooled with those of successful paths to calculate means. Run-level summaries describe the overall results, while scenario-level tests examine differences across environments.
RC-AHA is compared with the other 8 algorithms using a total of 48 two-sided paired Wilcoxon signed-rank tests in terms of success rate, common objective, risk-exposure score, safety margin, length, and runtime. Within each scenario, the success rate is the mean, while the other metrics are medians among successful paths. Scenarios with zero differences are excluded from the tests, and tied ranks are assigned their average rank. The 48 tests are jointly subjected to Holm correction to control the family-wise error rate, with adjusted < 0.05 indicating significance. Rank-biserial effect sizes and strict win rates are also reported. A nonsignificant result indicates that no difference was detected; it does not imply equivalence between the two algorithms.
The 30 scenarios are resampled 10,000 times to obtain 95% Bootstrap intervals for the median paired difference. Intervals for the overall success rate are obtained by resampling scenario-level success proportions. These marginal intervals are not adjusted for multiplicity. The signed-rank test assumes symmetry of the differences, uses their ranks, and undergoes Holm correction; therefore, whether an interval crosses zero may be inconsistent with the adjusted value. When all runs succeed, the interval may degenerate to [1, 1], which does not guarantee freedom from failure in new environments.
If either group has no successful path in a scenario, that scenario is excluded from the paired analysis of the corresponding continuous quality metric. Resampling uses the actual number of valid scenarios, and missing counts are reported for each metric. All scenarios are retained for success rates.
The descriptive interaction in the ablation analysis is , with the subscripts indicating the risk-control and repair switches, respectively. It is calculated for scenarios with all four values available, and Bootstrap resampling is applied to the mean across scenarios. The success rate interaction describes nonadditivity under the fixed protocol. The risk interaction, however, is affected by changes in the composition of successful samples, so the interaction value alone cannot establish a causal effect.
4.5. Computing and Verification Environment
The experiments were conducted in a Windows 11 and Python 3.12 environment, and all files have been archived. Wall-clock timing covers the core process from optimizer invocation to return, including initialization, evaluation, and repair, but excludes post hoc scoring, plotting, and similar operations. The baseline experiments use serial execution in a single process with a randomized execution order to reduce batch bias. All data come from actual simulations.
To verify implementation correctness, final paths were recomputed, sampled searches were replayed, and cross-language checks were performed with fixed inputs. For the independent verification of static distances, bisection on the derivative of the convex squared-distance function was cross-checked against the piecewise quadratic minimization results of the main evaluator. Feasibility decisions were identical for all checked records. Sample sizes at each stage, independent clearance errors, and the scope of the cross-language checks are reported in Supplementary Table S29.
4.6. Equal-Cost Tuning and Validation on Newly Frozen Scenarios
The 41,400 records from the baseline protocol are used for ablation, sensitivity, and dimensionality extension analyses in the existing environments. The development and test sets of the new protocol use independent random seeds, as detailed in the reproducibility package. Once parameter selection on the development set was complete, the configurations, budgets, and statistical rules were immediately frozen, entirely new test-set geometries were generated, and all test results were retained in full.
Each of the six swarm intelligence algorithms searches 9 parameter configurations, formed by combining population sizes of 8, 12, and 16 with three levels of another key parameter. For RC-AHA and PSO-repair, the repair threshold takes values of 0.16, 0.32, and 0.48; for AHA-RC, the perturbation multiplier takes values of 0.6, 1.0, and 1.4; and for PSO, the learning coefficient takes values of 1.2, 1.6, and 2.0. The control coefficient for GWO and the initial energy-scale value for HHO each take values of 1.5, 2.0, and 2.5 (see Table 5).
Table 5.
Equal-cost selection on the development set. For each configuration, 6 scenarios × 5 repeated runs, with a budget of 384 FE per run; each algorithm evaluates 9 configurations, yielding 270 development runs per algorithm.
Each parameter configuration is evaluated on 6 development scenarios with 5 repeated runs and a budget of 384 function evaluations (FE) per run. The total tuning cost for each algorithm is strictly limited to 103,680 FE, with 1620 runs across the six algorithms. Parameter selection first prioritizes the configuration with the most successful runs. If success counts are equal, the configuration with the lowest across-scenario median of the within-scenario medians of the common objective among successful paths is selected. If a configuration has no successful path in any one scenario, its quality score is set to infinity. Remaining ties are resolved by configuration index. Finally, the risk weight is set to 5 for all main searches.
The new test set contains 30 scenarios with 10 repeated runs per scenario, comparing 7 algorithms and producing 6300 records in total. The budget levels are 192, 768, and 1536 FE, determined on the basis of development cost and convergence in preliminary experiments. A budget of 768 FE was specified in advance as the reference for the primary statistical inference.
The SciPy implementation of sequential least squares programming (SLSQP) [28] is used as a local optimization baseline. Under the same encoding, objective function, and bound constraints, SLSQP first generates and evaluates 8 random initial points, then starts local solves in sequence, continuing with random restarts if budget remains. Numerical differentiation, line searches, restarts, and repeated evaluations all count toward FE, and execution stops when the budget is exhausted. The actual number of local solves started or completed is not fixed at 8. The fixed step size is 10−4 and the tolerance is 10−6. The nine-configuration equal-cost tuning procedure was not applied to this baseline. Because the objective contains discrete violation counts and nonsmooth structures, its finite-difference calculations are affected by the penalty function and step size.
Comparisons of RC-AHA with 6 comparison algorithms in terms of success rate, common objective, common risk-exposure score, and length comprise 24 scenario-paired tests. These form the inferential family for the new protocol and undergo separate Holm correction. Continuous metrics are the within-scenario medians among successful paths. Missing pairs are not imputed, and the number of valid pairs is reported in each row. The 48 tests under the baseline protocol are reported separately.
The Supplementary Material assesses the sensitivity of the testing methods to data symmetry using the skewness and quantiles of the differences and exact sign tests. The 24 exact sign-test results are adjusted separately. All metrics use 10,000 scenario-level Bootstrap resamples with fixed row-specific seeds, and marginal intervals are reported.
The main computations use 8 parallel processes with a fixed randomized task order, and parallel runtimes are not used for performance inference. To provide a reference for actual runtimes, the first two new scenarios in each family (replicate 0, budget 768 FE) are used for serial replay of 7 algorithms, for a total of 84 runs. Supplementary Table S10 lists the median and quartiles of the 12 runtimes for each algorithm (RC-AHA, 0.870 s; AHA-RC, 0.838 s).
The search under the 768 FE budget produced 2100 fixed outputs, which are rescored post hoc. Successful paths are scored using with , while all other parameters remain unchanged. After scoring each run, the median among successful paths is calculated within each scenario, and scenario-paired differences between RC-AHA and the 6 comparison algorithms are summarized. Failed paths remain in the denominator of the success rate. In addition, are reported separately, yielding 48 descriptive results, with 10,000 scenario-level Bootstrap resamples used to obtain marginal 95% intervals. No hypothesis tests are added. The primary analyses of , length, and total risk are rechecked using the original seeds, with the original scoring and test family unchanged. This step changes only the scoring weight, without rerunning the search; the static–dynamic mixing weights remain unchanged.
4.7. Scenario Variations by Factor and Parameter Sources
Environmental variants are constructed from 6 baseline geometries under 5 sets of conditions: new samples, density, speed, endpoints, and scale. Each set uses 6 scenarios × 10 repeated runs per algorithm at a budget of 768 FE, for a total of 2100 runs. Each variant is paired by scenario with its corresponding baseline geometry. Complete parameter settings and comparative results are provided in Section S24 of the Supplementary Material and Figure S10. The speed variant only doubles the constant velocities of the moving spheres and retains 2 static scenarios as unchanged controls; this setting does not involve obstacle acceleration or turning.
The synthetic task scale and empirical model parameters in this study are not calibrated to a specific aircraft model. Their names, units, sources, and implementations are detailed in Supplementary Table S7. Regarding the search mechanisms, the baseline protocol retains the predefined risk weight and repair threshold, while the new protocol selects parameters using the development set in Section 4.6. The robustness experiments in Section 4.9 vary only the risk-transition scale, urgency scale, and repair-amplitude multiplier.
Budget summaries, static–dynamic stratification, and the decomposition of execution failures are post hoc descriptive analyses of existing records. Scenarios are divided into dynamic and static strata according to whether the scenario snapshots contain moving obstacles with nonzero velocity, with the static stratum used as a control variable. The original families of 24 and 48 tests remain unchanged.
4.8. Smoothing, Retiming, and Constrained Tracking
For tracking validation at the preselected budget of 768 FE, 30 scenarios from the new test set are used. Replicates 0–2 are used for each algorithm, yielding 90 outputs per algorithm, including planning failures. Cubic splines with zero endpoint velocities are constructed from the start, goal, and internal waypoints. Spline knot intervals inherit the travel times of the original path segments, with a lower limit of 0.2 s.
Retiming uniformly scales up time to limit speed and acceleration to 2.5 m/s and 2 m/s2, respectively. When the speed is at least 0.2 m/s, the rate of change of the velocity direction is limited to 1 rad/s. The spline speed bound is constructed from component-wise extrema, and the acceleration bound is the maximum norm at the endpoints of all cubic polynomial intervals. The rate of change of the reference velocity direction is verified on a uniform grid with a spacing of approximately 0.01 s. This metric describes changes in the velocity direction and differs from the UAV’s attitude angular velocity.
Smoothing and retiming change the actual path geometry and the times of encounters with obstacles. Therefore, the entire time-parameterized trajectory must undergo safety verification again. Within each short interval, the deviation between the trajectory and the chord connecting its endpoints is bounded by
In this section, is the duration of a short certification interval, and is the upper bound on the acceleration norm over that interval. Distances to static boxes and spheres in relative motion are computed continuously along the chord, and the deviation bound is subtracted. The 1-Lipschitz property of the distance function is used to derive a conservative lower bound on safety clearance. The workspace boundary retains the center-boundary definition used in the planning layer, and the deviation bound is likewise subtracted from the center coordinates. If the resulting lower bound fails to satisfy the safety conditions, the trajectory is classified as “uncertified”; this does not mean that a collision has been confirmed.
Point-mass tracking uses a double-integrator model with zero-order-held acceleration. The controller includes reference-acceleration feedforward and feedback terms for position and velocity errors, with feedback gains set to 4 s−2 and 3 s−1, respectively,
In Equation (19), , , and are the spline reference position, velocity, and acceleration, respectively. and include fixed observation biases. is the equivalent wind acceleration added to the command before saturation. Symbols, units, and locations of first occurrence are provided in Supplementary Table S23.
The acceleration norm is first limited to 2 m/s2, and the velocity at the next time step is then projected into the 2.5 m/s ball. The actual acceleration over the interval is determined accordingly, and the following is applied:
The rate of change of the velocity direction is
Because acceleration is constant within each 0.05 s interval, the minimum squared velocity norm over that interval is used to obtain an upper bound on the rate of change of the velocity direction, and the valid interval is truncated at 0.2 m/s. This constraint is verified only post hoc; the controller itself does not guarantee compliance. Tracking continues for approximately 2 s after the reference endpoint is reached, with the duration rounded to the 0.05 s control grid.
The error level takes values of 0, 0.05, and 0.15. For each sample, zero-mean Gaussian biases are generated with standard deviations scaled as follows: position observations, m; velocity observations, 0.4 m/s; initial obstacle positions, m; obstacle velocities, 0.2 m/s; and equivalent wind acceleration, 0.3 m/s2. The coordinate axes are independent, and repeated runs of different algorithms in the same scenario are paired using identical bias sequences. These biases remain constant throughout each run. Only the initial positions and constant velocities of obstacles are changed; obstacles do not accelerate or turn. Observation biases enter the control feedback, and the equivalent wind acceleration is added to the command before saturation, while the planner continues to use nominal states when generating reference trajectories. This validation does not simulate perception delays or online replanning.
Closed-loop tracking is classified as “completed” only if it passes continuous safety certification, satisfies the verification requirements for speed, acceleration, and the rate of change of the velocity direction, and has an endpoint error no greater than 0.35 m. At each error level, the success rate is calculated using all 90 outputs as the denominator. A total of 1890 closed-loop simulations were performed. The scope of applicability of this tracking model is described in Section 6.3. The current execution model includes only point-mass speed, acceleration, and velocity-direction constraints. It does not include thrust, attitude, actuators, or full multirotor control dynamics. The joint error levels change multiple types of bias simultaneously, and cannot identify the independent contribution of each error type.
4.9. Supplementary Experiments on Risk Parameters and Repair Amplitude Under a Frozen Protocol
For the risk parameter and repair amplitude experiments, the protocol, code hash, and geometry snapshots were frozen before the results were read. The new scenarios comprise six families with 5 scenarios per family and 10 repeated runs per scenario. The seeds for scenarios, replicates, and task order, together with the complete configurations, are provided in Table S17 and the archived protocol.
The six algorithms compared are AHA-RC, AHA-repair, RC-AHA-no-repair, RC-AHA, PSO, and PSO-repair. All algorithms share the same underlying configuration: FE budgets of 48 and 192, a population size of 8, an internal waypoint count of = 3, a search risk weight of 3, a repair threshold of 0.32, an AHA perturbation multiplier of 1, and a PSO learning coefficient of 1.6. Only the algorithmic mechanisms are switched in these experiments; no parameter tuning is performed, so that the other variables remain controlled.
The experiments vary three parameters in turn: the risk-transition scale m, the urgency scale s, and the repair amplitude multiplier . The three parameters share the same central point, , yielding 7 experimental conditions with 25,200 searches consuming 3,024,000 FE. Under each condition, all algorithms rerun the path search, after which all outputs are scored using the central risk model and a weight of 5 to distinguish changes in the paths themselves from changes in the scoring scale. Here, affects both static and dynamic exposure scores, whereas affects only dynamic exposure. For variations in , static scenarios serve as unchanged controls.
Four paired comparisons across scenarios were prespecified for the experiments: RC-AHA minus RC-AHA-no-repair, AHA-repair minus AHA-RC, PSO-repair minus PSO, and RC-AHA minus AHA-RC. Across 7 conditions, 2 budget levels, 4 comparisons, and 4 core metrics (success rate, common objective, common risk-exposure score, and length), a total of 224 two-sided signed-rank tests were performed. Multiple-comparison correction for these 224 tests was performed separately using the Holm method.
For continuous metrics, the median over successful paths within each scenario was used. The number of valid pairs, frequency of zero differences, skewness, and marginal intervals based on 10,000 scenario-level Bootstrap resamples were reported. In addition, exact sign tests were used for sensitivity analysis, and these 224 results were also subjected to Holm correction, while the original families of 24 and 48 tests from the baseline experiments remained unchanged. Only descriptive intervals were reported for changes under noncentral conditions relative to the central condition. Because these conditions shared the same scenarios, central condition, and unchanged control groups, they were not counted again as independent environmental samples. All successful and failed paths, objective values at each FE, and repair logs were retained. The experimental records included elapsed times obtained using parallel computation with 8 processes.
5. Experimental Results
5.1. Baseline Comparisons, Shared-Configuration Ablations, and Repair Costs
Under the baseline protocol, 30 existing scenarios and a budget of 48 FE were used to compare nine algorithms, with 900 runs per algorithm. The results show that RC-AHA achieved a success rate of 0.9911, with a scenario-clustered 95% interval of [0.9822, 0.9978]; the success rates of AHA-RC and AHA-repair were 0.9878 and 0.9889, respectively. Complete success and failure counts, quality conditional on success, and differences across scenarios are provided in Tables S25 and S26, Sections S1 and S2 and Figures S5 and S6. This section retains the shared-configuration ablations; comparisons on new scenarios after parameter selection are presented in Section 5.2.
The four ablation groups shared the risk objective, initialization, and FE budget. Figure 3 is arranged by whether risk-conditioned control and repair are enabled, allowing comparison of the mechanism combinations and their descriptive interaction.
Figure 3.
Four-cell ablation of risk-conditioned control × repair. Each cell includes 30 scenarios × 30 replicates, with 48 FE and = 3. Success rates use the full sample, whereas risk-exposure scores use scenario-level medians over successful paths. The interaction and marginal 95% intervals are calculated as described in Section 4.4.
The statistical results showed a mean interaction effect on success rate of 0.0000, with a 95% interval of [−0.0100, 0.0111]; the mean interaction effect on the common risk-exposure score was 0.0023, with an interval of [−0.0058, 0.0109]. Both intervals spanned zero; the risk interaction was also affected by the composition of successful samples in each group. With risk control either enabled or disabled, repair added only 1 successful run. Disabling repair leaves FE for ordinary candidates, so this comparison essentially reflects the difference in overall benefit between two resource-allocation strategies under a fixed budget.
As shown in Table 6, after repair was incorporated into PSO, the number of successful runs in this group increased from 883 to 895, the median common objective over successful paths increased from 34.760 to 35.334 m, and the common risk-exposure score increased from 0.0342 to 0.0451. The success count and quality conditional on success changed in different directions, and the composition of successful samples may have differed between the two groups.
Table 6.
Repair costs in the main experiment. The acceptance proportion is calculated over all calls, and elapsed time is the median across all runs.
5.2. Comparisons on New Frozen Scenarios After Equal-Cost Parameter Selection
In the new test set, each algorithm was run 300 times at each budget level, comprising 30 scenarios with 10 replicates per scenario; the scenario was the independent unit of inference. When the function evaluation (FE) budget reached 768, RC-AHA, AHA-RC, and PSO-repair all achieved success rates of 100% (300/300). Detailed path-quality metrics are provided in Table 7. Overall performance across budgets from 192 to 1536 FE is shown in Figure 4; the corresponding decay-schedule parameters were configured independently for each budget level.
Table 7.
Results for the new test at 768 FE. Each algorithm was evaluated on 30 scenarios × 10 replicates; quality metrics are run-level medians over successful paths.
Figure 4.
Success rates and successful-path lengths on the new frozen scenarios. Each algorithm at each budget was evaluated on 30 scenarios × 10 replicates, with = 3. Success-rate intervals are obtained by scenario-level Bootstrap resampling and are marginal 95% intervals; length is the run-level median over successful paths. Complete counts are provided in Supplementary Table S30.
The data show that, for RC-AHA, the repair FE shares at the three budget levels were 35.61%, 34.32%, and 34.10%, respectively. As the budget increased from 192 FE to 1536 FE, its common objective decreased from 32.410 m to 27.263 m and its path length decreased from 31.066 m to 26.459 m, whereas its common risk-exposure score increased from 0.0582 to 0.0872. This indicates that a reduction in composite cost is not necessarily accompanied by lower risk exposure. At a budget of 1536 FE, the path length of RC-AHA (26.459 m) was slightly shorter than that of AHA-RC at 26.511 m. These findings are all descriptive statistics based on run-level data; complete data are provided in Table S13.
Specifically, relative to AHA-RC, RC-AHA had a median paired difference in success rate of 0.0000, with adjusted = 1.0000. Its common objective increased by 0.887 m, with a 95% marginal interval of [0.662, 1.079] and adjusted < 0.001. Length increased by 0.583 m, with an interval of [0.214, 0.799] and adjusted = 0.0237. The difference between the run-level medians in Table 7 is 28.234 − 27.576 = 0.658 m. In Table 8, the difference between medians is first calculated within each scenario, and the median is then taken across 30 scenarios, yielding 0.887 m. Figure 5 presents the paired differences and marginal intervals for RC-AHA versus the six control algorithms.
Table 8.
Median paired differences across scenarios at 768 FE for RC-AHA minus the controls. Each algorithm was evaluated on 30 scenarios × 10 replicates, and continuous metrics are conditional on success. The values are adjusted across 24 tests using Holm correction. Valid pair counts and marginal intervals are provided in Table S8; effect sizes are given in the subsequent notes and in primary_comparisons.csv.
Figure 5.
At 768 FE, median paired differences across scenarios for RC-AHA minus the controls, with marginal 95% intervals. Positive values are better for success rate, whereas negative values are better for the other metrics. Actual pair counts are provided in Table S8, and adjusted tests are provided in Table 8.
In the comparison between RC-AHA and SLSQP, the respective success counts were 300/300 and 282/300, and the mean difference in scenario-level success rates was 6 percentage points, with Holm-adjusted = 0.0508. Table S8 records a median difference of 0 and an interval of [0, 0], reflecting the result under a different summary statistic. For the comparison between RC-AHA and AHA-RC, the exact sign test yielded an adjusted = 0.0012 for the common objective, consistent with the signed-rank test; however, the adjusted = 0.0731 for length indicates that the significance conclusion for this metric is sensitive to the test used.
The fixed outputs were scored using weights of 3, 5, and 7, yielding median objective differences for RC-AHA minus AHA-RC of +0.803, +0.887, and +0.965 m. For the 30 scenario pairs, the marginal 95% intervals were [0.469, 1.068], [0.662, 1.079], and [0.611, 1.025], respectively, with a consistent direction (Table S24). For the individual components, the median difference in length was +0.583 m, and that in the turning-angle penalty was +0.2153, with a marginal 95% interval of [0.1529, 0.2351]; the difference in total risk-exposure score was +0.0067, with an interval of [−0.0004, 0.0200]. The greater path length and larger turning angle penalty help explain the increase in composite cost, but the median differences of the individual components cannot be added directly to apportion the difference of +0.887 m. The additional intervals for the scoring weight comparisons and the turning angle penalty are used only for descriptive analysis; statistical inference at a weight of 5 is presented in Table 8. Table S26 and Table 7 differ simultaneously in budget, scenarios, and configuration; comparisons with repair enabled versus disabled under shared configurations are presented in Section 5.3.
5.3. Limited Robustness to Risk Parameters and Repair Amplitude
Table 9 and Figure 6 and Figure 7 present the robustness results on the new scenarios. A new search was performed under each condition, and the results were scored using the central risk model. Complete results for the six algorithms are provided in Table S18. The associated 224 tests and 360 factor-response data entries have all been archived as CSV files in the minimal reproducibility package.
Table 9.
Risk parameter and repair amplitude results for RC-AHA. Each row includes 30 scenarios × 10 replicates, with = 3. The common objective and risk-exposure score are run-level medians over successful paths, and the repair share is calculated over all calls. The central condition is = 0.18 m, = 4 s, and = 1.
Figure 6.
Common-objective differences for RC-AHA minus AHA-RC under varied risk parameters (m). Each condition includes 30 scenarios × 10 replicates, with = 3. Points are median paired differences across scenarios, and error bars are marginal 95% intervals; positive values indicate a higher cost for RC-AHA. Significance is assessed across 224 tests using Holm correction. The central point is shared, and connecting lines aid reading.
Figure 7.
Common-objective differences with repair enabled minus disabled within the same host algorithm (left panels (a,c), m) and repair FE shares (right panels (b,d)). Each point includes 30 scenarios × 10 replicates, with = 3. The left panel shows median paired differences across scenarios and marginal 95% intervals for successful paths, whereas the right panel uses all runs. The repair-disabled groups are shared controls.
Under the central condition and the four conditions with varied risk parameters, the median objective differences for RC-AHA minus AHA-RC were all positive: at 48 FE, they ranged from 1.008 to 1.239 m, and at 192 FE, from 1.222 to 1.622 m. For the five conditions at a budget of 192 FE, adjustment across 224 tests using Holm correction for multiple comparisons yielded values ranging from 0.0006 to 0.0402, indicating statistical significance; none of the comparisons at a budget of 48 FE reached significance. Among these five comparisons, the exact sign tests showed that, at 192 FE with = 0.09 m, the adjusted value was 0.0699 (not significant); the values for the other four comparisons were below 0.05. Overall, the direction of the differences was highly consistent, but the significance conclusion at the smallest depended on the test selected.
At 192 FE, when was 0.5, 1, and 1.5, the median objective differences for RC-AHA minus RC-AHA-no-repair were 0.770 m, 0.696 m, and 0.018 m, respectively, with corresponding repair FE shares of 36.91%, 36.52%, and 36.08%. For = 0.5, the adjusted values from the signed-rank and sign tests were 0.0066 and 0.0130, respectively; the other two comparisons did not reach significance. In the control group with repair disabled, the outputs and per-FE histories did not change with . For the PSO framework, the median objective differences for PSO-repair minus PSO at 192 FE and the three values of were 0.391 m, −0.089 m, and −0.045 m, respectively. None reached the adjusted significance threshold of the additional test family, whereas the differences at a budget of 48 FE were all positive. Across all experimental settings, the adjusted values for success rate were all 1, and no significant differences were detected.
The repair-disabled controls in Figure 7 are as follows: RC-AHA is paired with RC-AHA-no-repair, AHA-repair with AHA-RC, and PSO-repair with PSO. Common scoring uses the fixed central risk parameters and a weight of 5.
5.4. Reference Certification, Tracking Certification, and Execution Completion
Table 10 separately reports geometric success for the nominal polylines, safety certification of the reference trajectories after smoothing and retiming, and actual tracking completion counts. Reference certification uses nominal obstacle states, whereas tracking certification uses actual states after error injection. Each error level uses the same 90 outputs as the denominator; the 60 reference-certified trajectories and the 64 or 40 trajectories with completed tracking do not represent successively nested sets or successive elimination stages.
Table 10.
Planning and constrained point-mass execution results for each algorithm. There are 90 outputs per algorithm, and the denominator is 90 at all three error levels. The RMSE is the median over all runs at = 0.15, in m.
For RC-AHA, all 90 nominal polylines achieved geometric success, and 60 of the reference trajectories were certified (see Figure 8). Of the 30 uncertified trajectories, 13 were uncertified with respect to obstacles (possibly also involving boundary issues), and 17 were uncertified only with respect to boundaries. The absence of hard boundary constraints is a major limitation of this spline postprocessing pipeline. Table 11 cross-checks the existing records item by item to distinguish categories of noncompletion during actual tracking.
Figure 8.
Completion rates for constrained point-mass tracking. Each algorithm was evaluated on 30 scenarios × 3 replicates, with 768 FE and = 3; intervals are obtained by scenario-level Bootstrap resampling. The horizontal axis is the standard deviation of position bias (m), whose values correspond to the joint error level e; the other errors are scaled in the proportions specified in Section 4.8. Complete RMSE results are shown in Figure S11.
Table 11.
Mutually exclusive categories for actual tracking by RC-AHA, with a denominator of 90 in each row.
The table entries are assigned to mutually exclusive categories according to a predefined priority; obstacle certification, boundary certification, the remaining dynamic constraints, directional constraints, and endpoint error are checked in that order, followed by a final completion determination. Trajectories assigned to an earlier category may also have problems covered by later categories; thus, this classification reflects only the recording priority and does not represent independent causal attribution. For example, at = 0.15, 64 actual tracking trajectories passed safety certification; of these, 16 did not meet the directional constraint and 8 exceeded the endpoint-error limit, leaving 40 completed trajectories.
Under the error-free condition ( = 0), the 60 trajectories that passed reference certification and the 60 trajectories that completed actual tracking were exactly the same set. Table 12 shows that, at = 0, 60 trajectories were completed; of these, 37 still completed at = 0.15 and 23 did not complete. Of the trajectories that did not complete at = 0, 3 completed at = 0.15. Thus, at = 0.15, the 40 completed trajectories resulted from dynamic transitions in trajectory status, rather than simple elimination from the set completed under lower error.
Table 12.
Completion status of RC-AHA at = 0 and = 0.15 for 90 paired outputs.
For transitions between specific error levels, increasing the error from = 0 to 0.05 added 4 completed trajectories with no losses, whereas increasing it from 0.05 to 0.15 added 1 and lost 25. This nonmonotonic change (60 → 64 → 40) indicates that the introduced bias changed the encounters between actual trajectories and obstacles, causing some outputs to cross certification thresholds. These data objectively reflect the dynamic characteristics of this batch of paired records and directly reveal the sensitivity of execution completion to error.
Baseline failures of the other algorithms were also examined. Under error-free conditions, none of the algorithms had failures due to speed, acceleration, or endpoint error; GWO and HHO had four and two trajectories, respectively, that were limited by the directional constraint after passing safety certification. Regarding boundary certification, PSO and PSO-repair had 76 and 79 trajectories, respectively, that were uncertified only with respect to boundaries (the numbers uncertified with respect to obstacles were both 0), whereas the corresponding counts for RC-AHA were 17 and 13. Detailed classifications for all algorithms are provided in Supplementary Tables S12 and S15.
Figure 9 illustrates a typical boundary-violation case. To objectively illustrate this failure mechanism, outputs with geometric planning success and a nonnegative reference obstacle lower bound, but without reference certification, were screened from the dynamic-scenario stratum. The first representative trajectory was selected according to a predefined rule based on algorithm order, scenario name, and replicate index. The figure is intended to show specifically how this type of boundary violation occurs, rather than to estimate the proportions of all failure causes. Detailed case-selection rules and underlying records are provided in Section S25 of the Supplementary Material.
Figure 9.
The designated boundary-failure example in D1-01 for RC-AHA replicate 1 (indexed from 0), with 768 FE and = 0. (a) Polyline, spline, and sampled out-of-bound points; (b) reference-certification lower bounds; (c) enlarged view near zero. Shading indicates a negative boundary lower bound, and crosses mark sampled center positions outside the boundary. Distances are in m.
In this case, the nominal minimum safety margin was 1.0717 m, the reference obstacle lower bound was 0.4987 m, and the center-position boundary lower bound was −0.0190 m. The minimum sampled boundary margin along the spline was −0.0188 m, confirming that the center crossed the boundary in association with spline postprocessing without boundary constraints. However, this case is used only to reveal a typical mechanism of boundary violation; it does not justify classifying all uncertified trajectories as having collided or crossed a boundary.
5.5. Summary of Budget, Environmental Extensions, and Implementation Verification
As the baseline budget increased from 48 to 192 FE, the median common objective of RC-AHA decreased from 38.988 m to 32.270 m, but remained above that of GWO at 29.419 m. In the held-out scenarios, the success count for RC-AHA was 887/900, below that for AHA-RC at 891/900. In addition, in the extended experiments with = 6 and = 9, the median lengths were 54.703 m and 82.905 m, respectively; adding waypoints did not produce shorter paths. Complete budget and dimensionality results are provided in Tables S27 and S28 and Figure S7–S9.
The baseline four-factor, three-level experiment showed success rates of 0.9800–0.9967 under the declared criterion and 0.9200–0.9967 under the common criterion (Tables S3 and S4 and Figure S3). In the environmental variant tests, RC-AHA achieved 60/60 successes in every group. However, each group contained only six underlying geometries, and doubling the speed also reduced the time that the moving sphere remained within the space. Stratified and full-sample analyses of the failure tail are provided in Table S14 and Figures S1 and S2; variant details are provided in Supplementary Section S24.
Implementation verification in this study was conducted separately by experimental stage and check type. An independently written distance-computation implementation produced determinations in close agreement with the main evaluator, validating the reliability of the underlying geometric logic. The specific numbers of recomputed paths and search replays, and the scope of cross-language checks, are detailed in Supplementary Table S29 and Section S27 of the Supplementary Material.
6. Discussion
6.1. Local Benefits, Evaluation Costs, and Empirical Findings
The main contribution of this study is to compare local changes to candidate paths, final quality under a fixed budget, and execution completion within the same chain of evidence. The results show that one-step geometric repair can improve specific candidates, but neither the shared-configuration ablations nor the comparisons on new scenarios after equal-cost parameter selection showed a stable overall advantage for the complete combination. After the risk parameters were varied, the objective difference for RC-AHA minus AHA-RC remained positive. Moreover, when success rates approached saturation across algorithms, the common objective and length better distinguished configurations. The effect of risk-conditioned control should be assessed from the four-cell ablation under shared configurations; its contribution cannot be isolated solely from method rankings after separate parameter tuning.
With a fixed FE budget, repair operations displace opportunities for ordinary search. In the repair amplitude experiment at 192 FE, smaller repair displacements instead produced larger objective differences for RC-AHA relative to the repair-disabled group; within the PSO framework, the direction of performance changes varied with repair amplitude and budget. These observations may reflect the combined effects of three factors: repair changes the distribution of the candidate set, path extrapolation increases length or turning-angle penalties, and repair calls consume the budget available for subsequent search. Their specific quantitative relationships require further study. Meanwhile, the current execution analysis shows that examining reference certification, constraint records, and paired statuses can effectively distinguish categories of noncompletion and reasonably explain the nonmonotonic completion counts in this batch of outputs. These categories reflect priority-based recording and do not isolate independent causal effects. Future studies could hold the inputs fixed and compare component-wise changes in the metrics between the repair operator and equal-cost ordinary candidates, while separately disentangling the respective effects of risk control and repair quotas on the final results.
6.2. Bases of Comparison and Limits of Extrapolation
The continuous quality metrics used to evaluate the algorithms are conditional on successful paths, and sample composition may vary across algorithms. Their interpretation therefore requires the joint consideration of full-sample success rates and the tail characteristics of safety margins. In addition, run-level medians, paired scenario differences, marginal intervals, and tests adjusted for multiple comparisons each describe different statistical aspects; the inferential basis applicable to each should be clearly distinguished.
The new protocol effectively mitigates the asymmetry in parameter selection under the baseline protocol by standardizing the development-stage FE budget and freezing new scenarios. However, the final population sizes and control parameters still differ across algorithms because of the limited coverage of the parameter grids. Equal FE means only an equal number of evaluation calls, rather than full equivalence in wall-clock cost or internal search stages. For example, additional candidates in HHO, local repair calls, population size, round scheduling, and truncation of the final round jointly influence the actual search process. The budget levels, separate repair accounting, and serial runtime records in Table S10 are intended to objectively reveal these implementation-level operating behaviors. Nevertheless, these settings do not make every comparison condition completely fair in an absolute sense. The conclusions of this study are therefore strictly limited to the tested implementations and budget range.
The SLSQP algorithm used as a local optimization baseline did not undergo parameter tuning on the same scale. In addition, discrete violation counts and nonsmoothness in the objective function affect the finite-difference calculations on which it relies. Future comparisons with other paradigms, such as explicitly constrained optimization, RRT*, the dynamic window approach, or model predictive control, would require the further harmonization of safety criteria and separate reporting of computation time and the number of collision-checking calls.
6.3. Planning-to-Execution Gap and Scope of Applicability
The execution analysis in this study focuses on a constrained point-mass model and the specified smoothing–retiming–tracking pipeline. Specifically, trajectories must satisfy a speed limit of 2.5 m/s, an acceleration limit of 2 m/s2, and a limit of 1 rad/s on the rate of change of velocity direction (checked when speed is at least 0.2 m/s). The rate of change of velocity direction here describes changes in the velocity vector and differs from body attitude angular velocity. Given the focus of this study, the current point-mass model does not cover thrust, attitude, actuators, or the full control dynamics of a multirotor vehicle. No actual flight validation was conducted; validation was primarily based on simulations. In addition, boundaries were not imposed as hard constraints during spline postprocessing, which is directly related to the boundary-failure case discussed above. Thus, the current completion rate metric mainly reflects performance under this constrained pipeline and is intended to provide a consistent benchmark for comparing algorithmic mechanisms, rather than directly replace the physical flight testing of actual multirotor UAVs.
Second, this study assumes known obstacles moving at constant velocity, which limits its environmental scope. If obstacles accelerate or turn, the predicted time and distance of closest approach and the ranking of risk exposure will all change; the current analytical criteria for constant velocity and empirical rankings cannot be directly extrapolated. The current doubled-speed variant changes only the constant velocity and does not constitute validation under acceleration. For maneuvering threats, rolling prediction, piecewise motion models, and recertification after each update are possible directions for extension. The current parameter coverage also has room for improvement; scoring depends on path segmentation, the single-factor experiments do not fully cover interactions among multiple parameters, and execution errors are specified using joint levels to simulate concurrent disturbances from multiple sources, without yet isolating the contribution of each individual factor.
7. Conclusions
On the new scenarios at 768 FE, the selected RC-AHA configuration had a common objective higher than that of AHA-RC by an equivalent cost of 0.887 m. The marginal 95% interval for the median paired difference across scenarios was [0.662, 1.079], with Holm-adjusted < 0.001. Rescoring the same batch of outputs at risk weights of 3, 5, and 7 yielded positive differences in all cases; relative to AHA-RC, differences in success rate and common risk-exposure score did not reach the adjusted significance threshold. The risk-parameter and repair-amplitude results show that benefits depend on configuration. Although a fixed FE budget makes repair costs traceable, the independent effects of candidate changes and the allocation of search opportunities on the results remain to be separated. In addition, a gap exists between reference certification and tracking completion within the constrained point-mass model and the specified postprocessing pipeline. Evaluations of local repair should therefore report candidate changes, FE consumption, final path quality, and categories of execution noncompletion together.
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/app162311936/s1, Figure S1: Scenario-level failure proportions and failure counts for nine algorithms under the baseline configuration; Figure S2: Empirical cumulative distributions of minimum safety margin and physical clearance for all paths; Figure S3: Sensitivity to four factors at three levels under the baseline configuration; Figure S4: Safety margin and exposure components for a fixed path at two departure times; Figure S5: Baseline-protocol results at 48 FE; Figure S6: Paired scenario differences under the baseline protocol; Figure S7: Best search objective versus cumulative FE; Figure S8: Comparisons at matched budgets of 48, 96, and 192 FE; Figure S9: Baseline and held-out scenarios, and dimensionality extensions to K = 3, 6, and 9; Figure S10: Fresh samples and variants in density, speed, endpoints, and scale; Figure S11: Completion rate and position RMSE for constrained point-mass tracking; Table S1: Location statistics for paired differences and 95% confidence intervals; Table S2: Complete test results, including effect sizes and strict win proportions; Table S3: Sensitivity results under the common criterion; Table S4: Risk components and physical surface clearance of successful paths under the declared parameters; Table S5: Implementation and data consistency checks; Table S6: HHO movement equations; Table S7: Parameter sources and implementation locations; Table S8: RC-AHA minus each comparator: 24 scenario-paired comparisons; Table S9: Sign-test sensitivity and difference distributions under the new fixed configuration; Table S10: Wall-clock runtimes for serial replay on the local Windows computer; Table S11: Breakdown of closed-loop certification and completion results at three error levels; Table S12: Breakdown of safety certification failures at three error levels; Table S13: Budget summary for all seven algorithms in the independent test; Table S14: Stratified descriptions of static controls and dynamic scenarios at 768 FE; Table S15: Mutually exclusive reasons for incomplete execution at three error levels; Table S16: Paired success rate and common risk-exposure score results against eight comparators; Table S17: One-factor-at-a-time conditions for risk parameters and repair amplitude; Table S18: All algorithm results in this revision at 48 and 192 FE; Table S19: RC-AHA minus AHA-RC: effects on the common objective value; Table S20: Repair enabled minus repair disabled at different repair amplitudes; Table S21: Paired changes in completion status for existing tracking records; Table S22: Run-level medians of position tracking RMSE at three error levels; Table S23: Key symbols, units, and first occurrences; Table S24: Differences under different scoring weights and for individual components; Table S25: Feasibility in the main experiment under the baseline protocol; Table S26: Run-level medians for successful paths under the baseline protocol; Table S27: Success counts under matched budgets; Table S28: Success counts for held-out scenarios and higher-dimensional encodings; Table S29: Actual coverage of historical implementation verification; Table S30: Complete failure counts at each budget in main-text Figure 4; Table S31: Stage mapping of frozen source code; Table S32: Counts of very short segments in final paths.
Author Contributions
Conceptualization, J.N. and H.W.; methodology, J.N.; software, J.N.; validation, J.N. and Z.L.; formal analysis, J.N.; investigation, J.N. and Z.L.; data curation, J.N.; writing—original draft preparation, J.N.; writing—review and editing, J.N., Z.L. and H.W.; visualization, J.N.; supervision, H.W.; project administration, H.W.; funding acquisition, H.W. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by [National Social Science Foundation of China], grant number [2023-SKJJ-A-116]. [Natural Science Foundation of Shaanxi Province], grant number [2024JC-YBMS-529].
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The scoring-robustness minimal reproduction archive contains the 2100 original outputs, scoring scheme, component data, statistical code, and expected results.
Acknowledgments
The authors thank the editors and anonymous reviewers for their construc-tive comments. The artificial intelligence tool DeepSeek (version 3) assisted with the organization of research materials, experimental design, part of the programming work, and language revision and translation. The authors are responsible for verification, interpretation of the results, and the final manuscript.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Agrawal, S.; Patle, B.K.; Sanap, S. A systematic review on metaheuristic approaches for autonomous path planning of unmanned aerial vehicles. Drone Syst. Appl. 2024, 12, 1–28. [Google Scholar] [CrossRef] [Scilit]
- Debnath, D.; Vanegas, F.; Sandino, J.; Hawary, A.F.; Gonzalez, F. A Review of UAV Path-Planning Algorithms and Obstacle Avoidance Methods for Remote Sensing Applications. Remote Sens. 2024, 16, 4019. [Google Scholar] [CrossRef] [Scilit]
- Niu, Y.; Yan, X.; Wang, Y.; Niu, Y. 3D real-time dynamic path planning for UAV based on improved interfered fluid dynamical system and artificial neural network. Adv. Eng. Inform. 2024, 59, 102306. [Google Scholar] [CrossRef] [Scilit]
- Meng, J.; Pawar, V.M.; Kay, S.; Li, A. UAV Path Planning System Based on 3D Informed RRT* for Dynamic Obstacle Avoidance. In Proceedings of the 2018 IEEE International Conference on Robotics and Biomimetics (ROBIO), Kuala Lumpur, Malaysia, 12–15 December 2018; pp. 1653–1658. [Google Scholar]
- Yao, P.; Wang, H.; Su, Z. Real-time path planning of unmanned aerial vehicle for target tracking and obstacle avoidance in complex dynamic environment. Aerosp. Sci. Technol. 2015, 47, 269–279. [Google Scholar] [CrossRef] [Scilit]
- Hu, L.; Ma, J.; Zang, S. A 3D dynamic window approach with receding horizon optimization for real-time UAV path planning. Complex Intell. Syst. 2026, 12, 170. [Google Scholar] [CrossRef] [Scilit]
- Hu, X.; Pang, B.; Dai, F.; Low, K.H. Risk Assessment Model for UAV Cost-Effective Path Planning in Urban Environments. IEEE Access 2020, 8, 150162–150173. [Google Scholar] [CrossRef] [Scilit]
- Pang, B.; Hu, X.; Dai, W.; Low, K.H. UAV path optimization with an integrated cost assessment model considering third-party risks in metropolitan environments. Reliab. Eng. Syst. Saf. 2022, 222, 108399. [Google Scholar] [CrossRef] [Scilit]
- Braßel, H.; Zeh, T.; Lindner, M.; Fricke, H. Risk-Aware UAV Trajectory Optimization Using Open Urban GIS Data and Target Level of Safety Constraints. Drones 2025, 9, 666. [Google Scholar] [CrossRef] [Scilit]
- Zong, Z.; Li, D.; Dong, X.; Cui, Y.; Yang, B.; Xiang, J.; Tu, Z. Risk-Aware Enabled Path Planning for Drones Flight in Unknown Environment. J. Intell. Robot. Syst. 2025, 111, 47. [Google Scholar] [CrossRef] [Scilit]
- Zhao, W.; Wang, L.; Mirjalili, S. Artificial hummingbird algorithm: A new bio-inspired optimizer with its engineering applications. Comput. Methods Appl. Mech. Eng. 2022, 388, 114194. [Google Scholar] [CrossRef] [Scilit]
- Zhao, H.; Li, L.; Deng, W. Multi-UAV Path Planning Using Improved Artificial Hummingbird Algorithm Based on Differential Evolution and Gradient Descent. IEEE Trans. Consum. Electron. 2026, 72, 558–569. [Google Scholar] [CrossRef] [Scilit]
- Dujari, R.; Patel, B.; Patle, B.K. Artificial Hummingbird Algorithm: A Novel Approach for Efficient Path Planning of Drones. In Proceedings of the 2023 Third International Conference on Ubiquitous Computing and Intelligent Information Systems (ICUIS); IEEE: Piscataway, NJ, USA, 2023; pp. 270–275. [Google Scholar]
- Zhao, W.; Zhang, Z.; Mirjalili, S.; Wang, L.; Khodadadi, N.; Mirjalili, S.M. An effective multi-objective artificial hummingbird algorithm with dynamic elimination-based crowding distance for solving engineering design problems. Comput. Methods Appl. Mech. Eng. 2022, 398, 115223. [Google Scholar] [CrossRef] [Scilit]
- Du, J.; Zhang, J.; Li, S.; Yang, Z. Enhanced artificial hummingbird algorithm with chaotic traversal flight. Sci. Rep. 2024, 14, 25892. [Google Scholar] [CrossRef] [Scilit]
- Bakır, H. Enhanced artificial hummingbird algorithm for global optimization and engineering design problems. Adv. Eng. Softw. 2024, 194, 103671. [Google Scholar] [CrossRef] [Scilit]
- Aslanov, T.; Çavdar, B.; Akyazı, Ö.; Yanmaz, K. Improvement of Artificial Hummingbird Algorithm with Greedy Fitness–Distance Balance Method and Its Application to Load Frequency Control. Biomimetics 2026, 11, 754. [Google Scholar] [CrossRef] [Scilit]
- Zou, W.; Xu, H.; Chen, C.; Wu, C. An Enhanced MOPSO Algorithm for Multi-Objective UAV Path Planning in Mountainous Environments. Symmetry 2025, 17, 1890. [Google Scholar] [CrossRef] [Scilit]
- Zhou, X.; Wang, Z.; Ye, H.; Xu, C.; Gao, F. EGO-Planner: An ESDF-Free Gradient-Based Local Planner for Quadrotors. IEEE Robot. Autom. Lett. 2021, 6, 478–485. [Google Scholar] [CrossRef] [Scilit]
- Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of ICNN’95—International Conference on Neural Networks; IEEE: Piscataway, NJ, USA, 1995; pp. 1942–1948. [Google Scholar]
- Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef] [Scilit]
- Mirjalili, S.; Gandomi, A.H.; Mirjalili, S.Z.; Saremi, S.; Faris, H.; Mirjalili, S.M. Salp Swarm Algorithm: A bio-inspired optimizer for engineering design problems. Adv. Eng. Softw. 2017, 114, 163–191. [Google Scholar] [CrossRef] [Scilit]
- Nikolos, I.K.; Valavanis, K.P.; Tsourveloudis, N.C.; Kostaras, A.N. Evolutionary algorithm based offline/online path planner for UAV navigation. IEEE Trans. Syst. Man. Cybern. Part B (Cybern.) 2003, 33, 898–912. [Google Scholar] [CrossRef] [Scilit]
- Storn, R.; Price, K. Differential Evolution—A Simple and Efficient Heuristic for Global Optimization over Continuous Spaces. J. Glob. Optim. 1997, 11, 341–359. [Google Scholar] [CrossRef] [Scilit]
- Beiranvand, V.; Hare, W.; Lucet, Y. Best practices for comparing optimization algorithms. Optim. Eng. 2017, 18, 815–848. [Google Scholar] [CrossRef] [Scilit]
- Bartz-Beielstein, T.; Doerr, C.; van den Berg, D.; Bossek, J.; Chandrasekaran, S.; Eftimov, T.; Fischbach, A.; Kerschke, P.; La Cava, W.; Lopez-Ibanez, M.; et al. Benchmarking in Optimization: Best Practice and Open Issues. arXiv 2020, arXiv:2007.03488. [Google Scholar]
- Heidari, A.A.; Mirjalili, S.; Faris, H.; Aljarah, I.; Mafarja, M.; Chen, H. Harris hawks optimization: Algorithm and applications. Future Gener. Comput. Syst. 2019, 97, 849–872. [Google Scholar] [CrossRef] [Scilit]
- Virtanen, P.; Gommers, R.; Oliphant, T.E.; Haberland, M.; Reddy, T.; Cournapeau, D.; Burovski, E.; Peterson, P.; Weckesser, W.; Bright, J.; et al. SciPy 1.0: Fundamental algorithms for scientific computing in Python. Nat. Methods 2020, 17, 261–272, Correction in Nat. Methods 2020, 17, 352. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.








