Abstract
Efficient task scheduling in heterogeneous IoT–Fog environments is challenging due to limited fog resources, diverse task demands, and conflicting QoS objectives. This paper proposes ASQS, a Quality-Source-driven Multi-Anchor Synchronized Search algorithm for IoT–Fog task scheduling. ASQS is biomimetically motivated by collective search behaviors in natural systems, where distributed exploration, collective memory, and probabilistic cooperation support an exploration–exploitation balance. Specifically, ASQS constructs quality layers from candidate schedules, extracts representative quality-source anchors, and reuses them through an ACO-inspired probabilistic synchronization mechanism, thereby improving the utilization of high-quality historical search information. FNO-based search and Lévy-flight perturbation are further incorporated to enhance directional guidance and long-range exploration. Experiments on 33 benchmark functions, ablation studies, sensitivity analysis, standard fog scheduling scenarios, and large-scale task-intensive scenarios were conducted to evaluate ASQS. The results show that ASQS achieves competitive optimization accuracy, stable convergence, and superior comprehensive scheduling performance in terms of fitness, makespan, latency, load balance, and constraint handling. In particular, the large-scale experiment with 100 fog nodes and up to 8000 IoT tasks verifies the scalability of ASQS under heavy workload pressure. Statistical tests further confirm the reliability of the observed improvements. These results demonstrate that ASQS is an effective, scalable, and biomimetically motivated optimizer for IoT–Fog task scheduling.
1. Introduction
The rapid proliferation of IoT applications has generated a large number of latency-sensitive task requests from edge devices. Sole reliance on remote cloud servers is often inefficient, as long-distance data transmission may introduce substantial latency and bandwidth pressure [1,2]. Fog computing alleviates this limitation by deploying computing resources closer to IoT devices; however, the constrained and heterogeneous nature of fog resources makes task scheduling a critical challenge. Inefficient scheduling may result in node overload, prolonged completion time, and degraded quality of service, highlighting the necessity of efficient IoT–Fog task scheduling in latency-sensitive environments [3,4]. Figure 1 illustrates a typical three-layer fog computing architecture, where IoT devices generate task requests, fog nodes provide nearby computing resources, and cloud servers offer centralized support for large-scale processing.
Figure 1.
Typical fog computing architecture consisting of the IoT layer, fog layer, and cloud layer, where the arrows indicate the direction of data flow and communication between different layers.
Fog task scheduling is challenging because both resources and workloads are highly heterogeneous. Fog nodes, including gateways, routers, base stations, and edge servers, usually differ in computing capacity, memory, bandwidth, energy consumption, and availability, while IoT tasks have diverse requirements in CPU cycles, input data size, memory demand, priority, and deadlines. The scheduler must assign each task to a suitable fog node under resource and deadline constraints, forming a discrete task–node assignment problem. Moreover, multiple QoS objectives, such as makespan, response latency, energy consumption, load balance, resource utilization, and task completion rate, are often conflicting and must be optimized simultaneously [5,6]. Existing time-aware and multi-objective scheduling studies have attempted to improve deadline satisfaction and global scheduling quality [5]; however, reliability, dependability, and dynamic decision-making remain important concerns in practical IoT–Fog systems [7,8,9]. Therefore, fog task scheduling is generally treated as an NP-hard combinatorial optimization problem.
Recent studies have increasingly moved beyond conventional heuristic and metaheuristic schedulers toward hybrid, learning-based, and adaptive optimization frameworks for IoT–Fog task scheduling, including deep reinforcement learning and fuzzy deep reinforcement learning-based scheduling methods [10,11]. For example, Heirati et al. integrated deep learning, reinforcement learning, and metaheuristic optimization to improve energy efficiency, task completion time, and QoS [12]. Yu et al. developed NF-MORL, which combines Takagi–Sugeno fuzzy inference with multi-objective actor–critic learning to optimize completion time, energy consumption, cost, and fault tolerance under uncertainty [13]. Mindil et al. proposed QBDS, a quantum-inspired scheduler that uses priority-aware ranking, sinusoidal biasing, and penalty-aware multi-objective evaluation to improve makespan, energy, cost, load balancing, response time, and scalability [1].
Despite extensive research on IoT–Fog scheduling, several gaps remain unresolved. First, heterogeneous tasks, resource-constrained fog nodes, conflicting QoS objectives, and dynamic system states still make task-node assignment a difficult optimization problem [14,15,16,17]. Second, although heuristic, metaheuristic, and learning-based schedulers have achieved improvements, population-based search remains sensitive to parameter settings and is still prone to premature convergence and exploration–exploitation imbalance [12,13,18,19]. Third, the main weakness of many hybrid metaheuristic schedulers is not the absence of search operators but the absence of a structured mechanism for quality-source management: high-quality search experience is often generated but not explicitly extracted, archived, and reused as multi-source guidance across promising regions [12,18,19]. Fourth, many studies still under-specify objective aggregation, penalty-based constraint handling, parameter sensitivity, scalability behavior, and fair comparison protocols, thereby limiting reproducibility and the reliability of performance claims [16,17,20,21].
Motivated by these observations, this paper proposes ASQS, a quality-source-driven multi-anchor synchronized search algorithm for resource-constrained IoT–Fog task scheduling. The design of ASQS is closely related to biomimetic optimization principles observed in natural collective systems, such as ant colonies, bird flocks, and animal foraging groups, where distributed exploration, collective memory, and probabilistic cooperation are commonly used to balance exploration and exploitation. Unlike conventional hybrid metaheuristics that mainly accumulate multiple operators or rely heavily on a single global-best solution, ASQS shifts the focus to quality-source management. Specifically, high-quality search experience is extracted from layered populations, archived as reusable anchors, and probabilistically reused through ACO-inspired selection and anchor-seeding to provide multi-source guidance over multiple promising regions. Combined with FNO-based directional search and Lévy-flight perturbation, which supports occasional long-range exploration consistent with biological foraging behavior, the proposed framework alleviates excessive single-elite dependence and forms a biomimetically motivated search process for IoT–Fog scheduling.
The main contributions of this paper are summarized as follows:
- Establishment of a resource-constrained IoT–Fog scheduling model with explicit task-node encoding, QoS-aware objective aggregation, and penalty-based treatment of resource and deadline violations.
- Introduction of a biomimetically motivated quality-source management mechanism that extracts high-quality solutions from layered populations and organizes them as reusable anchors, reflecting collective memory and multi-source experience reuse in natural systems.
- Design of an ACO-inspired multi-anchor synchronized search strategy that probabilistically reuses archived anchors as multi-source guidance, mimicking indirect information sharing and cooperative path reinforcement while mitigating single-elite dependence.
- Comprehensive validation based on benchmark-function tests, IoT–Fog scheduling simulations, algorithm comparisons, ablation studies, sensitivity analysis, scalability evaluation, and statistical tests.
The remainder of this paper is organized as follows: Section 2 reviews related work on IoT–Fog task scheduling, metaheuristic scheduling methods, and search experience reuse. Section 3 introduces the component roles and design motivation of the proposed ASQS. Section 4 presents the ASQS algorithm in detail, including solution encoding, fitness evaluation, search operators, quality-source archive construction, and the overall procedure. Section 5 reports the experimental studies, including benchmark-function comparisons, sensitivity analysis, ablation experiments, and IoT–Fog task scheduling experiments. Finally, Section 6 concludes this paper and discusses future research directions.
2. Related Works
2.1. IoT–Fog Task Scheduling Models and QoS Objectives
IoT–Fog task scheduling has been widely studied as a resource-constrained task-node assignment problem, where heterogeneous IoT tasks are allocated to heterogeneous fog nodes under capacity, latency, energy, and deadline constraints [22,23,24,25]. Existing studies have considered various QoS objectives, including makespan, response time, energy consumption, execution cost, load balancing, resource utilization, and task completion rate [23,26]. Time-aware, deadline-constrained, and multi-objective formulations have improved the applicability of fog scheduling in latency-sensitive environments [23,26]. However, many studies still provide limited details on continuous-to-discrete task-node encoding, normalization of heterogeneous QoS metrics, weighted objective aggregation, infeasible assignment repair, and penalty-based handling of resource and deadline violations, which may reduce reproducibility and weaken fair comparison.
2.2. Heuristic, Metaheuristic, and Learning-Based Scheduling Methods
To solve the NP-hard IoT–Fog scheduling problem, heuristic, metaheuristic, and learning-based methods have been extensively investigated [26,27]. Heuristic methods usually offer low computational cost but may be trapped in locally optimal scheduling decisions. Population-based metaheuristics improve global search by maintaining multiple candidate solutions and have been applied to balance latency, energy, cost, and resource utilization [23,27]. More recently, reinforcement learning, deep learning, neuro-fuzzy learning, and adaptive scheduling frameworks have been introduced to enhance decision-making in dynamic fog environments [27,28]. Despite these advances, metaheuristic schedulers remain sensitive to parameter settings and may suffer from premature convergence, while learning-based methods often require careful reward design, sufficient training data, and additional computational overhead.
2.3. Hybrid Metaheuristics and Search Experience Reuse
Hybrid metaheuristics have become a common direction for improving IoT–Fog scheduling performance by combining complementary mechanisms such as global exploration, local exploitation, elite learning, chaotic initialization, Lévy-flight perturbation, adaptive parameter control, and pheromone-inspired selection [27,29]. These designs can enhance search capability, but many of them remain operator-centric, where performance improvement mainly depends on adding or modifying search operators. In such frameworks, high-quality solutions generated during evolution are often used only implicitly through the current best individual or elite replacement, rather than being explicitly extracted, archived, and reused as structured guidance sources. Therefore, the systematic management of quality sources and their reuse as multi-source guidance remain insufficiently explored in hybrid scheduling optimization.
2.4. Summary and Research Positioning
Overall, existing IoT–Fog scheduling studies have improved QoS-aware task allocation through advanced modeling, metaheuristic optimization, and learning-based decision-making [22,23,27]. However, three limitations remain evident: the optimization formulation is not always sufficiently transparent, population-based search may still be unstable in complex discrete scheduling spaces, and hybrid metaheuristics often lack explicit mechanisms for preserving and reusing high-quality search experience. To address these issues, ASQS is positioned as a quality-source-driven scheduling optimizer that combines explicit scheduling formulation with anchor-based experience preservation and multi-anchor synchronized search, aiming to improve search stability, diversity maintenance, and reproducibility in resource-constrained IoT–Fog scheduling.
3. Component Roles and Design Motivation of ASQS
The proposed ASQS framework is not a direct combination of several standalone metaheuristic algorithms. Instead, it reorganizes selected search principles into a quality-source-driven multi-anchor search framework. Specifically, the hierarchical population organization is used to extract quality sources from different fitness layers, the FNO-based operator provides directional search guidance, the Lévy-flight mechanism enhances escape ability, and the ACO-inspired rule is redesigned as a probabilistic synchronization strategy among anchors. In addition, the cooperative search principle, inspired by cooperative metaheuristic algorithms [30], is incorporated to coordinate information exchange among quality-source anchors and candidate schedules, thereby supporting collaborative exploration and exploitation within the unified ASQS framework.
Table 1 summarizes the role of each component and clarifies whether it is newly proposed or adapted from existing techniques.
Table 1.
Summary of the main components in ASQS.
3.1. Motivation of Quality-Source-Driven Multi-Anchor Search
Inspired by the hierarchical population organization mechanism of Hybrid Rice Optimization (HRO) [31], ASQS ranks candidate schedules by fitness and organizes them into different quality layers. This layered organization enables ASQS to extract representative quality-source anchors from different fitness regions rather than relying only on top-ranked solutions. Table 2 summarizes the role of each quality layer in anchor construction, where high-quality, medium-quality, and low-quality layers respectively provide exploitation-oriented, stability-oriented, and diversity-oriented sources for the subsequent multi-anchor synchronized search.
Table 2.
Roles of different quality layers in anchor construction.
3.2. Roles of Adapted Search Operators
The global search strategy of ASQS draws on the directional guidance concept of the Farthest Better and Nearest Worse Optimizer (FNO), which relies on two contrastive references: the farthest better solution and the nearest worse solution [32]. In the global search stage, the farthest better reference encourages candidate schedules to move toward remote higher-quality regions, while the nearest worse reference helps reduce movements toward nearby inferior regions. This fitness-contrast-based guidance enables ASQS to extend the search scope in a more directed manner and is coordinated with the quality-source anchor archive during candidate updates.
ASQS adopts a probability-guided multi-anchor synchronization strategy motivated by the selection and feedback principles of Ant Colony Optimization (ACO) [33]. In this strategy, quality-source anchors are selected according to probabilities determined by their fitness-based importance and layer information. As a result, high-quality anchors provide stronger guidance for candidate updates, while medium- and low-quality anchors are also involved to preserve search diversity. This probability-guided synchronization helps coordinate information sharing among multiple anchors within the ASQS search process.
ASQS employs a Lévy-flight-inspired escape perturbation motivated by the heavy-tailed search behavior of Lévy flight [34]. This behavior produces frequent short-range perturbations together with occasional long-range jumps, enabling candidate schedules to move out of restricted search regions when the search progress slows down. The perturbation is applied conditionally within the ASQS search process and works in coordination with the quality-source anchor archive to help maintain exploration diversity.
4. Proposed ASQS Algorithm
4.1. Overall Framework of ASQS
ASQS is organized as a quality-source-guided closed-loop search framework. At each iteration, FNO-based directional search and fitness-adaptive Lévy-flight escape first expand the current population and form an intermediate candidate pool. Quality-source anchors are then extracted from this pool across different fitness layers to construct the anchor archive. The archive provides multi-anchor guidance for the ACO-inspired synchronization module, enabling candidate updates to exploit multiple promising scheduling regions instead of a single best solution. The synchronized candidates are finally evaluated and filtered through greedy selection to form the next population. Thus, the main components of ASQS are integrated as cooperative functional operators within a unified iterative procedure, rather than as independent optimizers.
4.2. Solution Encoding and Fitness Evaluation
To apply ASQS to fog task scheduling, each continuous candidate generated by the search operators must be decoded into a discrete task-node assignment before evaluation. This subsection defines the solution representation, decoding rule, scheduling metrics, constraint handling strategy, and greedy selection criterion used in ASQS.
In ASQS, the pth candidate solution is represented by a continuous vector , where n is the number of IoT tasks and each dimension corresponds to one task. Before evaluation, is decoded into a discrete assignment vector , where denotes the fog node selected for task , and m is the number of fog nodes. Each dimension is first clipped into , and the discrete node index is obtained as
This decoding rule ensures that each task is assigned to exactly one fog node.
For a decoded schedule , if task is assigned to fog node , its transmission time, execution time, and basic processing time are calculated as
where and denote the input data size and computational workload of task , respectively, and and denote the bandwidth and computing capacity of the assigned fog node. Tasks assigned to the same fog node are executed sequentially according to the task index order. Let denote the accumulated finish time of fog node , with initially. The final completion time of task and the corresponding node update are defined as
Based on the finish-time evaluation, the makespan, average service latency, and energy consumption of schedule are calculated as
where is the power consumption rate of the assigned fog node. The latency is computed using so that both processing time and waiting time are considered.
In addition to the above objective-related metrics, the deadline satisfaction rate and load-balance index are reported to evaluate schedule feasibility and workload distribution. The deadline satisfaction rate is defined as
where is an indicator function that returns 1 if the condition is satisfied and 0 otherwise. A larger indicates that a higher proportion of tasks are completed before their deadlines.
The load-balance index is calculated using the standard deviation of the final accumulated finish times of fog nodes:
where denotes the final accumulated finish time of fog node . A smaller indicates a more balanced workload distribution among fog nodes.
Since these metrics have different scales, they are normalized before aggregation:
In the simulation, , , and . These reference values are fixed within each scheduling scenario and are used only for scale normalization. The normalized objective is defined as
where and .
The resource capacity violation and deadline violation are defined as
and
where is the resource demand of task , is the resource capacity of fog node , and is the deadline of task .
For reporting purposes, the overall constraint violation is calculated as
The final fitness value is then given by
where and are penalty coefficients. A smaller fitness value indicates a better scheduling solution.
To further improve feasibility, a repair operation is applied when capacity violations occur. For an overloaded fog node, the task with the largest resource demand is migrated to a node with the smallest current resource load that can satisfy the capacity constraint. If no feasible node exists, the task is moved to the node with the smallest current resource load to reduce the overload degree. If the repair process cannot fully eliminate the violation within the maximum number of attempts, the remaining violation is still penalized in the fitness function.
After a new candidate is generated by an ASQS update operator, it is decoded, repaired if necessary, and evaluated using the above fitness function. The greedy selection criterion is defined as
where and are the decoded assignment vectors corresponding to and , respectively.
4.3. FNO-Based Search Operator
The FNO-based operator is used in ASQS to provide directional search guidance for candidate schedules [32]. For each candidate , the farthest better solution and the nearest worse solution are identified according to fitness and distance. Specifically, denotes the better solution with the largest distance from , while denotes the worse solution with the smallest distance from .
In ASQS, the FNO-based directional update is implemented in a velocity-assisted form:
where is the velocity vector, is the current global-best solution, , , and are random vectors sampled from , and ⊙ denotes element-wise multiplication. The inertia weight is set to , where , and the acceleration coefficients are set to . The initial velocity is .
The term associated with guides the candidate toward promising distant regions, while the term associated with helps avoid inferior neighboring regions. The global-best term further provides convergence guidance. In ASQS, this operator is not used as an independent optimizer but serves as a directional update component coordinated by the quality-source anchor archive.
4.4. Lévy-Flight Escape Mechanism
To enhance the ability of ASQS to escape from local optima, a Lévy-flight escape mechanism is incorporated after the FNO-based directional search. For each candidate, the escape operation is adaptively determined by an escape energy that combines its relative fitness gap with the remaining iteration ratio:
where is the fitness value of the decoded schedule corresponding to , is the current best fitness value, T is the maximum number of iterations, and is a small positive constant used to avoid division by zero.
When , the pth candidate solution is perturbed by Lévy flight:
where is the perturbation scale, denotes a Lévy random step with the distribution parameter , ⊙ represents element-wise multiplication, and is the current best candidate solution. The threshold is fixed to 1 so that Lévy perturbation is mainly applied to candidates with a sufficiently large relative fitness gap, especially in the early search stage. After the escape operation, the generated candidate is clipped into the continuous search range, decoded into a discrete task-node assignment, repaired if necessary, and evaluated using the fitness function.
4.5. Quality-Source Extraction and Anchor Archive Construction
After the three-layer FNO-based search and Lévy-flight perturbation, the updated population contains valuable search information distributed across different quality layers. Relying only on the global-best solution may cause excessive concentration around a single region and increase the risk of premature convergence. Therefore, ASQS extracts representative elite solutions from multiple layers and organizes them into a quality-source anchor archive. These anchors act as reusable guidance centers for the subsequent ACO-inspired multi-anchor synchronized search.
Let denote the lth quality layer of the population at iteration t, where correspond to the high-quality, medium-quality, and low-quality layers, respectively. After the search and perturbation stages, a subset of representative solutions is selected from each layer according to fitness ranking. The anchor subset extracted from layer l is defined as
where is the number of anchors selected from layer l, and returns the top-ranked candidates with smaller fitness values. Compared with using only the best individual, this layer-wise extraction strategy preserves multiple promising directions and allows ASQS to reuse high-quality information discovered by different parts of the population.
The global anchor archive is constructed by merging the anchor subsets from all quality layers:
Here, anchors from the high-quality layer mainly provide exploitation-oriented guidance, anchors from the medium-quality layer support a balanced search transition, and anchors from the low-quality layer preserve alternative directions for diversity. Thus, the archive represents a multi-source guidance structure rather than a single elite solution.
To determine the contribution of different anchors in the subsequent synchronized search, each anchor is assigned a probability according to both its fitness ranking and its layer source. Let be the number of anchors in the archive and be the fitness rank of the kth anchor, where indicates the best anchor. The ranking weight is defined as
In addition, the layer-dependent weight is defined as
where , , and control the relative influence of anchors from different layers. In this study, , , and . In general, high-quality anchors are assigned larger weights to enhance exploitation, while medium- and low-layer anchors retain nonzero probabilities to maintain diversity.
The final selection probability of the kth anchor is calculated as
This probability design enables ASQS to prefer high-quality anchors while still allowing other representative anchors to participate in the search. The archive is updated at each iteration after the layered search and perturbation stages so that the synchronized search can be guided by the latest quality sources discovered by the population.
4.6. Anchor-Seeding and ACO-Inspired Multi-Anchor Synchronized Search
ASQS introduces an ACO-inspired multi-anchor synchronization strategy to share useful scheduling patterns among candidate solutions. The positive-feedback and probabilistic selection principles of ACO are adapted to anchor-level guidance rather than edge-level path construction. In classical ACO, paths with stronger pheromone information are more likely to be selected and further reinforced. In ASQS, this idea is transferred to the quality-source anchor archive: anchors with better fitness ranking and stronger layer importance are assigned higher selection probabilities and are therefore more likely to serve as guidance sources for subsequent candidate generation.
Anchor seeding provides the mechanism by which the information stored in the archive is injected back into the population. Instead of forcing all individuals to follow the current global-best solution, each individual probabilistically selects one anchor from the archive constructed in Section 4.5. The selected anchor is used as a seed center for generating a synchronized candidate. Therefore, anchor seeding acts as the interface between quality-source extraction and ACO-inspired synchronization: the archive determines which scheduling patterns are reliable, the ACO-inspired probability model determines how likely each anchor is reused, and the synchronization operator determines how the selected anchor is perturbed and propagated to the population.
Suppose that the kth anchor is selected at iteration t, and its quality-layer index is l. A synchronized candidate for the pth solution is generated around the selected anchor as
where is the synchronized candidate, is the selected anchor seed, controls the layer-dependent local sampling strength, is a Gaussian random vector, controls the global-best drift strength, and denotes the global guidance direction for the pth solution.
The first term in Equation (23) provides the anchor seed, which preserves the scheduling pattern extracted from a quality-source solution. The second term performs local stochastic sampling around the selected anchor. Its strength is adjusted by the layer-dependent factor so that anchors from higher-quality layers can be exploited with a smaller search radius, while anchors from lower-quality layers can maintain a larger exploratory range. The third term introduces a weak drift toward the current global-best region, which provides directional guidance without making the search completely dependent on a single best solution.
The sampling radius is adaptively reduced as
where and are the upper and lower bounds of the continuous search space, and T is the maximum number of iterations. A larger in the early stage allows broader exploration around multiple anchors, whereas a smaller in the later stage promotes refined exploitation near promising anchor regions.
After generation, is clipped, decoded, repaired if necessary, and evaluated using the fitness function. The synchronized candidate is accepted only if it improves the current solution. Through this anchor-seeding-based synchronization strategy, ASQS reuses high-quality scheduling patterns through ACO-inspired probabilistic selection, while still preserving diversity by allowing different individuals to select different anchors. As a result, the population can exploit multiple promising scheduling regions simultaneously, improving information sharing and reducing dependence on a single global-best solution.
4.7. Overall Procedure of ASQS
This subsection integrates the components introduced in Section 4.1, Section 4.2, Section 4.3, Section 4.4, Section 4.5 and Section 4.6 into a unified execution procedure. Given the task set, fog-node set, search-space bounds, objective weights, constraint parameters, and algorithmic control parameters, ASQS aims to obtain the best task-node schedule and its associated performance indicators.
As summarized in Algorithm 1 and Figure 2, ASQS first initializes a population of continuous candidate solutions and maps them into task-node assignments through decoding, feasibility repair, and fitness evaluation. During each iteration, the population is ranked and stratified according to fitness quality, from which quality-source anchors are extracted to update the anchor archive. Guided by the current population state and the anchor archive, ASQS generates candidate schedules through FNO-based directional search, fitness-adaptive Lévy-flight escape, and ACO-inspired multi-anchor synchronization. The generated candidates are subsequently decoded, repaired, evaluated, and compared with the current solutions through greedy selection. The best solution is updated iteratively until the maximum number of iterations is reached.
Figure 2.
Quality-source-guided closed-loop architecture of ASQS.
The computational cost of ASQS is mainly dominated by candidate decoding, feasibility repair, and fitness evaluation. With population size N and maximum iteration number T, the overall complexity can be approximately expressed as , where denotes the cost of evaluating one candidate schedule and is primarily determined by the task and fog-node scales.
| Algorithm 1 Overall procedure of ASQS |
|
5. Experiments and Discussion
To comprehensively evaluate the proposed algorithm, a series of experiments are conducted, including benchmark-function optimization, sensitivity analysis, ablation studies, IoT–Fog task scheduling experiments, statistical significance tests, and large-scale task-intensive scalability analysis. Specifically, 33 benchmark functions are used to test the general optimization ability and convergence stability of ASQS. Sensitivity analysis and ablation studies are conducted to examine parameter robustness and component effectiveness. IoT–Fog scheduling experiments are further designed under node-scaling, task-scaling, and large-scale task-intensive scenarios, including 100 fog nodes and up to 8000 IoT tasks. The algorithms are compared using mean fitness, best fitness, standard deviation, makespan, energy consumption, average latency, deadline satisfaction rate, load balance, runtime, and constraint violation, thereby evaluating scheduling efficiency, QoS satisfaction, workload balance, constraint feasibility, and scalability.
5.1. Experiment I: Global Optimization with a Set of 33 Benchmark Mathematical Functions
5.1.1. Benchmark Functions
The 33 benchmark functions are grouped into four categories with increasing landscape complexity. F01–F08 are unimodal functions for evaluating exploitation and convergence accuracy; F09–F20 are multimodal functions for testing exploration and local-optimum avoidance; F21–F26 are hybrid functions for assessing the balance between exploration and exploitation in coupled landscapes; and F27–F33 are composition functions for examining robustness on highly irregular and deceptive search spaces. Their detailed definitions are provided in Table 3, Table 4, Table 5 and Table 6.
Table 3.
Unimodal benchmark functions (F01–F08) used to evaluate the exploitation strength of algorithms in smooth landscapes.
Table 4.
Multimodal benchmark functions (F09–F20) assessing exploration performance and the ability to avoid local optima.
Table 5.
Hybrid benchmark functions (F21–F26) combining multiple subfunctions to test exploration and exploitation performance.
Table 6.
Composition benchmark functions (F27–F33) incorporating rotated and shifted components.
5.1.2. Performance Evaluation Metrics
To evaluate the optimization accuracy, stability, and statistical significance of the compared algorithms, the experimental results are analyzed using the mean value (Avg), standard deviation (Std), ranking, Wilcoxon signed-rank test, and effect size. For M independent runs, Avg and Std are calculated as follows:
where is the fitness value obtained in the ith run. Algorithms are ranked according to their average fitness values, and lower values indicate better performance for minimization problems. The Wilcoxon signed-rank test is conducted at a significance level of to assess whether the performance differences are statistically significant. In addition, Better/Equal/Worse counts and effect sizes are reported to summarize pairwise comparison results and quantify the magnitude of performance differences.
5.1.3. Comparison with Other Algorithms and Parameter Setting
Table 7 summarizes the parameter settings used in the benchmark-function experiments, and Table 8 presents the comparative results. The selected baselines include classical metaheuristics, such as FNO [32], ACO [33], HSA [34], DE [35], GWO [36], and WOA [37]; advanced evolutionary and hybrid optimizers, including MetaDE [38], HPSOBOA [39], PS-BES [40], and PSOBOA [41]; and the composite metaheuristic algorithm CMA. These competitors represent diverse optimization mechanisms rather than a narrow set of similar algorithms, making the comparison more stringent.
Table 7.
Setting of algorithm parameters.
Table 8.
Comparison results of all algorithms on 33 benchmark functions.
To avoid biased conclusions caused by unequal configurations, all algorithms were tested under the same dimension, population size, number of runs, and computational budget. Baseline parameters follow the original literature or standard settings, while ASQS uses one fixed configuration throughout the benchmark experiments. No algorithm was given additional iterations or a larger population. Thus, the reported differences mainly reflect the effectiveness of the search mechanisms rather than differences in experimental resources.
5.1.4. Data Analysis
Table 8 compares ASQS with 12 competing algorithms on 33 benchmark functions. ASQS obtains the best Avg_Rank of 3.4 and ranks first overall, demonstrating the strongest aggregate performance among all methods. It achieves the best results on 10 functions, namely F3, F9, F11, F12, F17, F20, F21, F30, F31, and F32, and remains competitive on most of the remaining functions. This confirms that the advantage of ASQS is not restricted to a small subset of test cases.
The superiority of ASQS is especially evident on hybrid and composition functions, such as F21, F30, F31, and F32, where the search landscapes are more complex and deceptive. The result on F32 is particularly representative: ASQS obtains the best average value with zero standard deviation, indicating both high accuracy and strong stability. These results support the effectiveness of the quality-source archive and multi-anchor synchronized search in maintaining reliable guidance under complex optimization conditions.
ASQS does not dominate every function. ACO performs better on F14, F15, and F28; DE shows stronger results on F18, F19, F22, F23, F26, and F27; and PS-BES achieves the best ranks on F7, F8, F24, F25, F29, and F33. This indicates that some baseline algorithms remain advantageous on specific landscape structures. However, ASQS delivers the best overall ranking, showing a more balanced and robust performance across the entire benchmark suite.
5.1.5. Significance Analysis
According to the Wilcoxon signed-rank test results presented in Table 9, the performance differences between ASQS and each competing algorithm were evaluated on 33 benchmark functions at a significance level of 0.05. The terms Better, Equal, and Worse denote the numbers of functions on which ASQS performs better than, equal to, or worse than the compared algorithm, respectively. The p-value is used to measure statistical significance, while the Symbol column indicates the final comparison result.
Table 9.
Wilcoxon signed-rank test results between ASQS and competing algorithms.
As shown in Table 9, ASQS obtains more Better results than most competing algorithms. Compared with HSA, FNO, PSO, GWO, and MetaDE, the Better/Equal/Worse results are 32/0/1, 30/1/2, 29/0/4, 28/0/5, and 28/2/3, respectively. ASQS also performs competitively against WOA, HPSOBOA, and PE-BES. Compared with CMA and DE, ASQS still shows advantages, although the margins are relatively smaller. For ACO and PSOBOA, the results are comparatively close, indicating comparable performance between these algorithms and ASQS on some benchmark functions.
All p-values are below 0.05, indicating that the differences between ASQS and all competing algorithms are statistically significant. The effect sizes are high when ASQS is compared with PSO and HSA, and are also notable against GWO, WOA, CMA, ACO, FNO, DE, and PE-BES. For MetaDE, HPSOBOA, and PSOBOA, the effect sizes are moderate, indicating that ASQS still retains an advantage, although the improvement is relatively limited.
The results in Table 9 confirm that ASQS is statistically superior to most competing algorithms and demonstrates strong practical performance across the 33 benchmark functions.
5.1.6. Characteristic Analysis
Figure 3 presents the convergence curves of ASQS and the competing algorithms on nine representative benchmark functions. Overall, ASQS shows competitive convergence behavior and reaches lower final fitness values on most displayed cases, which is consistent with the ranking results in Table 8. In particular, ASQS exhibits rapid descent on F05, F09, F12, F14, and F20, while several baseline algorithms converge more slowly or stagnate at higher fitness values. This indicates that ASQS can maintain effective search progress across different benchmark landscapes.
Figure 3.
Representative convergence curves of ASQS and competing algorithms on selected benchmark functions.
The observed convergence pattern is mainly attributed to the coordinated search structure of ASQS. The quality-layer organization maintains candidate solutions from different fitness levels, the FNO-based update provides directional search guidance, and the Lévy-flight perturbation helps escape stagnant regions. In addition, the quality-source archive and multi-anchor synchronized search allow the population to exploit multiple promising regions rather than relying on a single best solution. Consequently, ASQS achieves a stable balance between exploration and exploitation, leading to competitive convergence performance.
5.1.7. Sensitivity Analysis
To justify the default parameter configuration of ASQS, we conducted a one-factor-at-a-time sensitivity analysis on four key parameters: the Lévy scale , the synchronization radius , the layer scale , and the attraction scale . Three representative benchmark functions, F03, F12, and F30, were used to cover unimodal, multimodal, and composition landscapes.
Figure 4 and the rank results show a clear pattern: the default setting achieves the lowest normalized average fitness for every parameter and ranks first on all three benchmark functions. Specifically, , , the default-layered , and the default all obtain an average rank of 1.00. This demonstrates that the adopted parameter configuration is the best-performing choice among the tested alternatives.
Figure 4.
Sensitivity analysis of key ASQS parameters on representative benchmark functions. The normalized average fitness is reported for the Lévy perturbation scale , synchronization radius , layer scale strategy , and attraction scale . The default setting of each parameter is normalized to 1.0.
The performance degradation away from the default settings is also consistent. Too small weakens local-optimum escape, while too large causes unstable jumps. Too small limits anchor synchronization, whereas too large leads to over-synchronization. Uniform or over-dispersed settings damage the balance between exploration and exploitation. Removing or excessively increasing weakens guidance or causes premature concentration.
5.2. Experiment II: Ablation Study of ASQS
To further evaluate the contribution of each key component in the proposed ASQS, an extended ablation study was conducted. The complete ASQS was compared with six ablated variants, namely ASQS-w/o-Levy, ASQS-w/o-ACO, ASQS-w/o-QSA, ASQS-w/o-MASS, ASQS-SingleAnchor, and ASQS-RandomAnchor. Specifically, ASQS-w/o-Levy removes the Levy-based perturbation strategy, ASQS-w/o-ACO removes the ACO-based exploitation component, ASQS-w/o-QSA removes the quality-source anchor archive, ASQS-w/o-MASS removes the multi-anchor synchronized search mechanism, ASQS-SingleAnchor uses only a single best anchor for search guidance, and ASQS-RandomAnchor randomly selects anchors instead of using quality-guided anchor selection. The ablation experiments were performed under four IoT–Fog scheduling scenarios, including 100 tasks with 20 fog nodes, 100 tasks with 30 fog nodes, 200 tasks with 20 fog nodes, and 200 tasks with 30 fog nodes. To provide a comprehensive evaluation, both optimization-oriented metrics and practical scheduling metrics were considered, including mean fitness, best fitness, makespan, energy consumption, average latency, delivery success rate, load balance, runtime, and convergence behavior. The detailed numerical results are reported in Table 10 and Table 11, while the metric-level comparison and convergence behavior are illustrated in Figure 5 and Figure 6, respectively.
Table 10.
Ablation results of ASQS and its variants under different scenarios.
Table 11.
Ablation results of ASQS and its variants in terms of latency, deadline satisfaction, load balance, and runtime.
Figure 5.
Convergence curves of ablation study.
Figure 6.
Ablation study—performance metrics comparison.
Figure 5 shows the convergence behavior of ASQS and its variants under two representative scenarios. ASQS consistently achieves the lowest fitness curve and the best final solution, indicating superior convergence efficiency and optimization capability. In contrast, all ablated variants converge to higher fitness values, confirming that removing any key component weakens the search performance. Notably, ASQS-w/o-MASS exhibits the poorest convergence, highlighting the critical role of multi-anchor synchronized search. The inferior results of ASQS-w/o-QSA and ASQS-RandomAnchor further verify the importance of quality-source anchor preservation and quality-guided anchor selection. These results demonstrate that the advantage of ASQS comes from the coordinated contribution of its core components.
Figure 6 further compares ASQS and its variants in terms of mean fitness, best fitness, makespan, and delivery success rate. ASQS achieves the lowest mean fitness, best fitness, and makespan across all scenarios, while obtaining the highest delivery success rate. This confirms that ASQS improves not only the objective value but also the practical scheduling quality. The consistent degradation of all ablated variants indicates that each removed component contributes to the overall performance. In particular, ASQS-w/o-MASS and ASQS-w/o-QSA show clear performance losses, demonstrating the necessity of multi-anchor synchronized search and quality-source anchor guidance.
Figure 6 and Table 10 provide consistent evidence for the overall effectiveness of ASQS. The complete ASQS achieves the lowest mean fitness, best fitness, makespan, and energy consumption across all four scenarios, while also obtaining the highest delivery success rate. This indicates that ASQS improves both the optimization objective and practical scheduling quality. All ablated variants show performance degradation, confirming that the superiority of ASQS comes from the cooperation of its key components rather than from a single operator. The marked decline of ASQS-w/o-MASS proves the critical role of multi-anchor synchronized search, while the weaker results of ASQS-w/o-QSA and ASQS-RandomAnchor verify the importance of quality-source anchor preservation and quality-guided anchor selection. Moreover, the gap between ASQS and ASQS-SingleAnchor demonstrates that multi-anchor cooperation provides more reliable guidance than single-anchor search.
Table 11 further evaluates ASQS from the perspective of practical scheduling metrics. ASQS achieves better average latency, delivery success rate, and load balance than its ablated variants, showing that its fitness improvement can be translated into more reliable and balanced IoT–Fog scheduling decisions. Although ASQS introduces a slightly higher runtime than some simplified variants, this overhead is reasonable because the complete method maintains the anchor archive, synchronizes multiple anchors, and performs enhanced search operations. Considering its consistent gains in solution quality, deadline satisfaction, and resource utilization, the additional computational cost is acceptable.
5.3. Experiment III: Fog Computing Task Scheduling Experiments
To evaluate the practical effectiveness of ASQS in fog computing task scheduling, two groups of experiments were designed under different task–node configurations. The detailed simulation settings are summarized in Table 12. In Group 1, the number of IoT tasks was fixed at 200, while the number of fog nodes increased from 5 to 25, generating five scenarios denoted as G1_N1 to G1_N5. In Group 2, the number of fog nodes was fixed at 10, while the number of IoT tasks increased from 50 to 500, generating five scenarios denoted as G2_T1 to G2_T5. These two groups were designed to examine the behavior of the scheduling algorithms under both node-scaling and task-scaling conditions.
Table 12.
Simulation settings for the IoT–Fog scheduling environment.
In the simulation environment, task lengths, data sizes, deadlines, and resource demands were randomly generated within predefined ranges, while fog-node CPU capacities, bandwidths, resource capacities, and power values were also generated according to the settings in Table 12. To improve reproducibility and ensure a fair comparison, all algorithms were evaluated under the same generated task sets, fog-node configurations, and predefined random seeds. Each algorithm was independently executed 30 times, with a maximum of 200 iterations and a population size of 30.
ASQS was compared with nine representative scheduling algorithms, including classical heuristics, metaheuristic methods, and recent learning-based schedulers: GA-PSO [42,43], QHS [44], ACO-PSO [42,45], RWHS [44], SJF [46], HACO [45,47], MinMin [48], EcoTaskSched [2], and NF-MORL [13]. The performance of all algorithms was evaluated in terms of mean fitness, makespan, energy consumption, average latency, deadline satisfaction rate (DSR), load balance, runtime, and constraint violation.
5.3.1. Evaluation Metrics
The evaluation metrics used in the experiments follow the definitions in Section 4.2. Specifically, makespan, average latency, energy consumption, deadline satisfaction rate, load balance, capacity violation, deadline violation, and final fitness are computed according to Equations (4)–(12). The reported constraint violation corresponds to the unweighted sum of capacity and deadline violations, as defined in Equation (11), whereas the fitness value includes the normalized objective and the weighted penalty terms.
For statistical comparison, Mean Fitness, Best Fitness, and Std Fitness are calculated over repeated independent runs. Lower Mean Fitness and Best Fitness indicate better scheduling quality, while lower Std Fitness reflects higher stability. Makespan, energy consumption, average latency, load balance, runtime, and constraint violation are minimized, whereas DSR is maximized. These metrics jointly evaluate solution quality, completion efficiency, energy cost, deadline feasibility, workload distribution, and computational overhead.
5.3.2. Algorithm Parameter Settings
To ensure a fair and reproducible comparison, the parameter settings of the proposed ASQS and all comparative algorithms are summarized in Table 13. For all stochastic algorithms, the population size was set to , and each algorithm was independently executed for runs on each scheduling scenario. The problem dimension varies with the number of IoT tasks in each fog scheduling instance. Deterministic heuristics, including SJF and Min-Min, do not require population-based parameters and therefore use no additional stochastic configuration.
Table 13.
Detailed parameter settings of the proposed ASQS and comparative algorithms.
For ASQS, the number of populations is set to , corresponding to the three quality-source anchor layers. The inertia weight follows , where denotes the normalized iteration progress. The attraction and repulsion coefficients are set to , while the Lévy flight parameter is set to . The perturbation coefficient is fixed as , and the pheromone diffusion radius is defined as . The multi-anchor diffusion scale factors and attraction drift factors are set to and , respectively. The initial velocity is set to . Unless otherwise specified, the symbols and parameter values used in the experiments follow Table 13.
5.3.3. Convergence Analysis
Figure 7 and Figure 8 present the best-so-far fitness trajectories of ASQS and the comparison algorithms. The curves are used to examine the search process, including early-stage descent, late-stage refinement, and premature stagnation. The observations in this subsection are therefore limited to convergence behavior, while the final scheduling quality is analyzed later using multiple performance indicators.
Figure 7.
Convergence curves of ASQS and comparison algorithms under the first four test scenarios: (a) G1–N1, (b) G2–T1, (c) G1–N2 and (d) G2–T2. For visual clarity, ASQS is highlighted with a darker solid line, whereas the other algorithms are represented by lighter dashed lines.
Figure 8.
Convergence curves of ASQS and comparison algorithms under the remaining six test scenarios: (a) G1–N3, and (b) G2–T3, (c) G1–N4, (d) G2–T4, (e) G1–N5, and (f) G2–T5.
In the G1 scenarios, ASQS generally follows a low and smooth trajectory. In G1–N1, several competitive methods converge to close final fitness levels, and ASQS reaches the low-fitness region without noticeable oscillation. From G1–N2 to G1–N5, ASQS remains near the lower envelope of the convergence curves, particularly during the middle and late iterations. Compared with GA-PSO, QHS, SJF, and HACO, ASQS usually obtains a lower final fitness. However, NF-MORL, EcoTaskSched, RWHS, MinMin, and ASQS form a competitive group in several cases, indicating that ASQS demonstrates competitive rather than uniformly dominant convergence behavior.
ACO-PSO exhibits a different pattern. It decreases sharply at the beginning but then stagnates at a much higher fitness level in most scenarios. This suggests a clear tendency toward premature convergence. By contrast, ASQS shows a more sustained improvement process, which is consistent with the intended role of the quality-source archive and multi-anchor synchronization mechanism.
In the G2 scenarios, the relative behavior among the leading algorithms is more mixed. In G2–T1, ASQS has the steepest early decline and reaches the lowest final fitness. In G2–T2, NF-MORL obtains a lower final fitness than ASQS, although ASQS still outperforms most conventional baselines. In G2–T3 to G2–T5, ASQS stays within the leading convergence group together with NF-MORL, EcoTaskSched, RWHS, and MinMin. In G2–T4 and G2–T5, the large fitness values of ACO-PSO stretch the vertical axis, making the differences among the leading methods less visually distinguishable. Therefore, the exact ranking in these cases should be interpreted together with the numerical results.
From the convergence-curve perspective, ASQS avoids the high-level stagnation observed in ACO-PSO and maintains a stable best-so-far improvement trend in most scenarios. Nevertheless, these curves only describe the optimization trajectory and do not alone establish overall scheduling superiority. The subsequent statistical comparisons further evaluate the algorithms using fitness-related statistics and task-scheduling metrics.
5.3.4. Multi-Metric Analysis Under Node-Scaling Scenarios
Figure 9 and Table 14 and Table 15 summarize the multi-metric evaluation results for the G1 scenarios. For readability, Table 14 reports the fitness-related statistics, makespan, and energy consumption, whereas Table 15 reports average latency, deadline satisfaction rate, load balance, runtime, and constraint violation. The analysis focuses on whether the algorithms can translate increased fog-resource availability into practical scheduling gains.
Figure 9.
Multi-metric results under Group 1 node-scaling scenarios.
Table 14.
Performance comparison of ASQS and competing algorithms with 200 fixed tasks and increasing fog nodes: mean fitness, best fitness, standard deviation, makespan, and energy consumption.
Table 15.
Performance comparison of ASQS and competing algorithms with 200 fixed tasks and increasing fog nodes: average latency, deadline satisfaction rate, load balance, runtime, and constraint violation.
The node-scaling results reveal a clear resource-adaptive behavior of ASQS. As the number of fog nodes increases from 5 to 25, the mean fitness of ASQS decreases from to , while the makespan is reduced from to . Meanwhile, its constraint violation decreases from to , and its DSR increases from to . These coordinated improvements indicate that ASQS can convert additional fog resources into lower scheduling cost, shorter completion time, and improved feasibility, rather than merely benefiting from the enlarged search space at the fitness level.
The advantage of ASQS is further reflected in its balanced performance profile. It obtains the best mean fitness and best fitness in four out of five node configurations, and achieves the lowest makespan, average latency, load-balance value, and runtime in all five configurations. This pattern suggests that ASQS improves scheduling efficiency without inducing severe load concentration or excessive computational overhead. Compared with NF-MORL and EcoTaskSched, ASQS also shows a more favorable trade-off between solution quality and decision-making cost, especially in larger-node cases.
It should be noted that comprehensive scheduling performance is not equivalent to single-metric dominance. ASQS does not always achieve the highest DSR or the lowest constraint violation, and ACO-PSO obtains the lowest energy consumption in the 5-node case. However, these metric-specific advantages are not consistently associated with better overall schedule quality, as they are often accompanied by longer makespan, poorer load balance, or higher runtime. Therefore, the G1 results indicate that ASQS is more advantageous in providing multi-dimensional scheduling robustness under node-scaling conditions.
Taken together, the node-scaling experiments suggest that ASQS can effectively adapt to variations in fog-resource availability. Its main advantage lies in transforming additional fog nodes into coordinated improvements in scheduling cost, completion efficiency, latency reduction, load distribution, and decision-making overhead. This performance profile makes ASQS suitable for fog computing scenarios where the scheduler must maintain efficient and stable task assignments under varying resource scales.
5.3.5. Multi-Metric Analysis Under Task-Scaling Scenarios
The G2 scenarios examine the workload robustness of the algorithms when the fog-resource capacity is fixed and the number of IoT tasks increases. As shown in Figure 10 and Table 16 and Table 17, the increasing task load generally leads to higher fitness, makespan, energy consumption, and constraint violation, indicating a progressively more congested scheduling space.
Figure 10.
Multi-metric statistical results of ASQS and comparison algorithms under the Group 2 task-scaling scenarios with 10 fixed fog nodes and increasing IoT tasks.
Table 16.
Performance comparison of ASQS and competing algorithms with 10 fixed fog nodes and increasing IoT tasks: mean fitness, best fitness, standard deviation, makespan, and energy consumption.
Table 17.
Performance comparison of ASQS and competing algorithms with 10 fixed fog nodes and increasing IoT tasks: average latency, deadline satisfaction rate, load balance, runtime, and constraint violation.
Under this workload pressure, ASQS shows a stronger capability to restrain performance degradation. In the medium- and high-load cases with 200, 400, and 500 tasks, ASQS achieves the lowest mean fitness values of , , and , respectively. More importantly, it consistently obtains the lowest makespan and average latency across all task scales, suggesting that ASQS better preserves completion efficiency as task demand increases.
The load-balance and runtime results further support this conclusion. ASQS achieves the lowest load-balance value in all G2 scenarios, indicating that its lower completion time is not obtained through excessive workload concentration. Meanwhile, its runtime remains the shortest among all algorithms, increasing only to s at 500 tasks. These results suggest that ASQS maintains efficient scheduling decisions with limited computational overhead.
Taken together, the G2 results indicate that ASQS provides stronger workload robustness under fixed fog-resource capacity. Instead of optimizing only isolated metrics, ASQS maintains a more coherent performance profile in terms of scheduling cost, completion time, latency, load distribution, and decision-making efficiency.
Although the above results demonstrate the performance advantages of ASQS from different scheduling metrics, statistical significance analysis is still required to verify whether these improvements are reliable across repeated independent runs and different fog scheduling scenarios.
5.3.6. Statistical Significance Analysis on Small-Scale Experiments
To check whether the performance differences are statistically reliable, Friedman and Wilcoxon signed-rank tests were conducted based on the fitness results from 30 independent runs. The Friedman test was used to compare all algorithms across the ten fog scheduling scenarios. The Wilcoxon signed-rank test was then used to compare ASQS with each baseline algorithm. Because several pairwise comparisons were performed, the Holm–Bonferroni correction was applied, and the significance level was set to 0.05.
As shown in Table 18, ASQS achieves the best average rank of 1.34 among all ten algorithms. The Friedman statistic is with 9 degrees of freedom, and the corresponding p-value is smaller than 0.001. This result shows that the compared algorithms have statistically significant performance differences.
Table 18.
Friedman test results over all fog scheduling scenarios.
Table 19 reports the corrected pairwise Wilcoxon results. All MFD values are positive, which means that ASQS obtains lower median fitness values than the baseline algorithms. In addition, all corrected p-values are below 0.05, indicating that the pairwise differences are statistically significant after multiple-comparison correction. The improvements over EcoTaskSched and NF-MORL are smaller than those over conventional baselines, but ASQS still obtains positive MFD values and more wins than losses.
Table 19.
Wilcoxon signed-rank test results with Holm–Bonferroni correction.
These results show that ASQS has statistically reliable advantages across both node-scaling and task-scaling fog scheduling scenarios.
5.3.7. Large-Scale Task-Intensive Scalability Analysis
Table 20 and Figure 11 report the large-scale task-intensive scheduling results with 100 fog nodes. As the number of IoT tasks increases from 1000 to 8000, all algorithms show higher scheduling costs and longer computational time due to the enlarged search space and heavier workload pressure. Nevertheless, ASQS maintains a stable and competitive performance trend across all scenarios.
Table 20.
Large-scale task-intensive fog scheduling results with 100 fog nodes.
Figure 11.
Performance trends of different algorithms under large-scale task-intensive IoT–Fog scheduling scenarios with 100 fog nodes.
ASQS achieves the lowest mean fitness in all five large-scale cases, indicating that its quality-source archive and multi-anchor synchronization mechanism remain effective under high-dimensional scheduling spaces. Moreover, ASQS obtains the best average latency and load-balance results in all scenarios, showing its ability to reduce response delay and avoid excessive workload concentration on a few fog nodes. For makespan, ASQS achieves the best results in most cases, although it does not dominate every scenario. This suggests that ASQS provides a balanced scheduling strategy rather than optimizing only one metric. In addition, ASQS maintains zero constraint violation across all large-scale scenarios, demonstrating strong feasibility preservation under intensive task loads.
Although ASQS requires more runtime than simple deterministic or lightweight methods, its computational cost is comparable to other population-based metaheuristics and is compensated by its superior scheduling quality. Overall, these results confirm that ASQS has good scalability and robustness in large-scale IoT–Fog task scheduling, especially when the task-node ratio increases substantially.
6. Conclusions and Future Work
This paper proposed ASQS, a quality-source-driven multi-anchor synchronized search algorithm for IoT–Fog task scheduling. By extracting representative quality-source anchors from layered populations and reusing them through an ACO-inspired probabilistic synchronization mechanism, ASQS improves the utilization of historical high-quality search information and reduces the dependence on a single elite solution.
Extensive experiments, including benchmark-function tests, ablation studies, sensitivity analysis, IoT–Fog scheduling experiments, large-scale task-intensive scenarios, and statistical significance tests, were conducted to evaluate the proposed algorithm. The results show that ASQS achieves competitive optimization accuracy and convergence stability on benchmark functions, while the ablation study verifies the contribution of its key components. In fog scheduling scenarios, ASQS obtains strong comprehensive scheduling performance in terms of fitness, makespan, latency, load balance, and constraint handling. In particular, the large-scale experiment with 100 fog nodes and up to 8000 IoT tasks demonstrates that ASQS can maintain stable performance under increased task dimensions and heavier workload pressure. These findings indicate that ASQS is an effective, robust, and scalable optimizer for resource-constrained IoT–Fog task scheduling.
Despite these results, several limitations remain. The current model focuses on static batch scheduling and does not fully consider dynamic task arrivals, node failures, bandwidth fluctuations, workload changes, or online task migration. In addition, the objective weights and penalty coefficients are predefined, and the algorithm still involves several control parameters. Moreover, although simulation-based experiments provide reproducible evaluation, further validation on real workload traces and fog/edge platforms is required.
Future work will extend ASQS toward dynamic and online computational scheduling in IoT–Fog environments. This includes handling continuously arriving tasks, time-varying resource states, adaptive task migration, and dynamic resource allocation. Adaptive weight adjustment, self-adaptive parameter control, and Pareto-based multi-objective optimization will also be explored to improve flexibility under diverse QoS requirements. Finally, real-world traces and practical fog/edge testbeds will be used to further evaluate the scalability and deployment feasibility of ASQS in realistic dynamic computing environments.
Author Contributions
Conceptualization, H.X., Z.L. and Z.Y.; methodology, Z.L., Z.Y. and W.Z.; software, Z.L. and D.X.; validation, Z.L., X.Z. and D.X.; formal analysis, Z.L., H.X. and X.Z.; investigation, Z.L., X.Z. and D.X.; resources, Z.Y., W.Z. and M.Z.; data curation, Z.L. and D.X.; writing—original draft preparation, Z.L. and H.X.; writing—review and editing, Z.Y., W.Z. and M.Z.; visualization, Z.L. and X.Z.; supervision, Z.Y., W.Z. and M.Z.; project administration, W.Z. and M.Z.; funding acquisition, W.Z. and M.Z. All authors have read and agreed to the published version of the manuscript.
Funding
This work was supported by the National Natural Science Foundation of China (62376089, U23A20318, 62302154), the Natural Science Foundation of Hubei Province (2024AFB882), and the Program for Scientific and Technological Innovation Teams of Young and Middle Aged Researchers in Higher Education Institutions of Hubei Province (T2023007).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Data are contained within the article.
Conflicts of Interest
Author Xianjing Zhou was employed by Wuhan Zhuoer Information Technology Co., Ltd. Authors Donglei Xu and Mingming Zhao were employed by Wuhan Fiberhome Technical Services Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
References
- Mindil, A.; Hamed, A.Y.; Hassan, M.R.; Elnahary, M.K. A novel approach for dynamic task scheduling for IoT in fog-cloud environment. Sci. Rep. 2026, 16, 5501. [Google Scholar] [CrossRef] [Scilit]
- Khan, A.; Ullah, F.; Shah, D.; Khan, M.; Ali Aurakzai, E.S.; Tahir, M. EcoTaskSched: A hybrid machine learning approach for energy-efficient task scheduling in IoT-based fog-cloud environments. Sci. Rep. 2025, 15, 12296. [Google Scholar] [CrossRef] [Scilit]
- Heidarpour, A.R.; Heidarpour, M.R.; Ardakani, M.; Tellambura, C.; Uysal, M. DeepWFFS: Enhancing fog computing efficiency through multiqueue architecture and intelligent controller for task prioritization. IEEE Internet Things J. 2024, 11, 27030–27042. [Google Scholar] [CrossRef] [Scilit]
- Chuan, W.C.; Laghari, S.U.A.; Manickam, S.; Ashraf, E.; Karuppayah, S. Challenges and opportunities in fog computing scheduling: A literature review. IEEE Access 2025, 13, 14702–14726. [Google Scholar] [CrossRef] [Scilit]
- Hosseini, S.M.; Shirvani, M.H.; Motameni, H. Multi-objective discrete Cuckoo search algorithm for optimization of bag-of-tasks scheduling in fog computing environment. Comput. Electr. Eng. 2024, 119, 109480. [Google Scholar] [CrossRef] [Scilit]
- Pan, S.; Huang, C.; Fan, J.; Shi, Z.; Tong, J.; Wang, H. Internet of Things fog computing: Through Lyapunov-based long short-term memory particle swarm optimization algorithm for energy consumption optimization. Sensors 2024, 24, 1165. [Google Scholar] [CrossRef] [Scilit]
- Abawajy, J.; Ghanavati, S.; Izadi, D. Enhancing dependability of fog computing using learning-based task scheduling. In IEEE Transactions on Dependable and Secure Computing; IEEE: Piscataway, NJ, USA, 2025. [Google Scholar]
- Alsadie, D.; Alsulami, M. Modified grey wolf optimization for energy-efficient internet of things task scheduling in fog computing. Sci. Rep. 2025, 15, 14730. [Google Scholar] [CrossRef] [Scilit]
- Bhakhar, R.; Chhillar, R.S. Dynamic multi-criteria scheduling algorithm for smart home tasks in fog-cloud IoT systems. Sci. Rep. 2024, 14, 29957. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Choppara, P.; Lokesh, B. Efficient task scheduling and load balancing in fog computing for crucial healthcare through deep reinforcement learning. IEEE Access 2025, 13, 26542–26563. [Google Scholar] [CrossRef] [Scilit]
- Moazzami, S.; Mirzaei, A.; Aminian, M.; Karimi, R.; Mikaeilvand, N. A Hybrid Fuzzy Logic and Deep Reinforcement Learning Algorithm for Adaptive Task Scheduling and Resource Allocation in Heterogeneous Fog–Cloud Environments. Sustain. Comput. Inform. Syst. 2025, 50, 101260. [Google Scholar] [CrossRef] [Scilit]
- Heirati, A.; Fartash, M.; Khalily-Dermany, M. Optimized task scheduling in fog-cloud computing using hybrid deep learning and metaheuristic algorithms. Neural Process. Lett. 2025, 58, 10. [Google Scholar] [CrossRef] [Scilit]
- Yu, X.; Tang, L.; Mi, J.; Long, L.; Qin, X.; Li, X.; Mo, Q. NF-MORL: A neuro-fuzzy multi-objective reinforcement learning framework for task scheduling in fog computing environments. Sci. Rep. 2025, 16, 2455. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ali, S.; Alubady, R. A Survey of Fog Computing-Based Resource Allocation Approaches: Overview, Classification, and Opportunity for Research. Iraqi J. Sci. 2024, 65, 4008–4029. [Google Scholar] [CrossRef] [Scilit]
- Alshammari, N.; Gill, S.S.; Pervaiz, H.; Ni, Q.; Ahmed, H. Resource Scheduling in Integrated IoT and Fog Computing Environments: A Taxonomy, Survey and Future Directions. In Resource Management in Distributed Systems; Springer Nature: Singapore, 2024; pp. 63–77. [Google Scholar]
- Isong, B.; Mamidza, F. Computational Task Scheduling Across IoT-Edge-Fog-Cloud Continua: Algorithms, Adaptability and Research Gaps. Indones. J. Comput. Sci. 2026, 15, 1–15. [Google Scholar] [CrossRef] [Scilit]
- Aldossary, D.; Aldahasi, E.; Balharith, T.; Helmy, T. A Systematic Literature Review on Load-Balancing Techniques in Fog Computing: Architectures, Strategies, and Emerging Trends. Computers 2025, 14, 217. [Google Scholar] [CrossRef] [Scilit]
- Aminu, J.; Latip, R.; Hanafi, Z.M.; Kamarudin, S.; Gabi, D. Systematic review of metaheuristic-based task scheduling strategies in edge computing environments. Discov. Comput. 2025, 28, 307. [Google Scholar] [CrossRef] [Scilit]
- Zhao, L.; Lin, Z.; Shao, H.; Zheng, W.; Zhang, S.; Wang, Y.; Li, Q. Improved task scheduling and load balancing in fog computing infrastructure using hybrid evolutionary method. Clust. Comput. 2025, 28, 396. [Google Scholar] [CrossRef] [Scilit]
- Abraham, O.L.; Ngadi, M.A.B.; Sharif, J.B.M.; Mohd Sidik, M.K. Multi-objective optimization techniques in cloud task scheduling: A systematic literature review. IEEE Access 2025, 13, 12255–12291. [Google Scholar] [CrossRef] [Scilit]
- Ali, E.M.; Abawajy, J.; Lemma, F.; Baho, S.A. Analysis of deep reinforcement learning algorithms for task offloading and resource allocation in fog computing environments. Sensors 2025, 25, 5286. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Nemati, A.M.; Mansouri, N. Resource allocation in fog computing: A survey on current state and research challenges. Knowl. Inf. Syst. 2025, 67, 2091–2170. [Google Scholar] [CrossRef] [Scilit]
- Momeny, S.; Robatmily, M.; Rahmani, A.M. Multi-objective optimization for the performance of task scheduling in homogeneous fog networks. Clust. Comput. 2025, 28, 796. [Google Scholar] [CrossRef] [Scilit]
- Vali, A.A.; Azizi, S.; Shojafar, M.; Buyya, R. Energy-Efficient Resource Management in Microservices-Based Fog and Edge Computing: State-of-the-Art and Future Directions. ACM Comput. Surv. 2026, 58, 1–42. [Google Scholar] [CrossRef] [Scilit]
- Ghafari, R.; Mansouri, N. Swarm intelligence techniques and their applications in fog/edge computing: An in-depth review. Artif. Intell. Rev. 2025, 58, 359. [Google Scholar] [CrossRef] [Scilit]
- Thakur, R.; Sikka, G.; Bansal, U.; Giri, J.; Mallik, S. Deadline-aware and energy efficient IoT task scheduling using fuzzy logic in fog computing. Multimed. Tools Appl. 2025, 84, 14359–14386. [Google Scholar] [CrossRef] [Scilit]
- Long, G.; Wang, S.; Lv, C. QoS-aware resource management in cloud computing based on fuzzy meta-heuristic method. Clust. Comput. 2025, 28, 276. [Google Scholar] [CrossRef] [Scilit]
- Abdulwahab, S.; Askar, M.I.S.; Hussien, D. Comprehensive review of advanced machine learning strategies for resource allocation in fog computing systems. Indones. J. Comput. Sci. 2025, 14. [Google Scholar] [CrossRef] [Scilit]
- Nasiri Aghdam, Z.; Rezaee, A.; Rahmani, A.M.; Hosseinzadeh, M. Evolutionary-based hybrid classical-fuzzy heuristic protocol for real-time data availability of IoHT devices in cloud-fog computing. Clust. Comput. 2025, 28, 936. [Google Scholar] [CrossRef] [Scilit]
- Cai, T.; Zhang, S.; Ye, Z.; Zhou, W.; Wang, M.; He, Q.; Chen, Z.; Bai, W. Cooperative metaheuristic algorithm for global optimization and engineering problems inspired by heterosis theory. Sci. Rep. 2024, 14, 28876. [Google Scholar] [CrossRef] [Scilit]
- Ye, Z.; Ma, L.; Chen, H. A hybrid rice optimization algorithm. In Proceedings of the 2016 11th International Conference on Computer Science & Education (ICCSE); IEEE: Piscataway, NJ, USA, 2016; pp. 169–174. [Google Scholar]
- Taheri, A.; RahimiZadeh, K.; Baumbach, J.; Beheshti, A.; Zolotareva, O.; Al-Betar, M.A.; Mirjalili, S.; Gandomi, A.H. Farthest better or nearest worse optimizer: A novel metaheuristic algorithm. Artif. Intell. Rev. 2026, 59, 79. [Google Scholar] [CrossRef] [Scilit]
- Liao, T.; Socha, K.; de Oca, M.A.M.; Stützle, T.; Dorigo, M. Ant colony optimization for mixed-variable optimization problems. IEEE Trans. Evol. Comput. 2013, 18, 503–518. [Google Scholar] [CrossRef] [Scilit]
- Qin, F.; Zain, A.M.; Zhou, K.Q.; Norfadzlan, Y.; Dwi Prasetya, D.; Rozita, A.J.; Zaheera, Z.A.; Mahadi, B.; Yusri, K.; Mazlina, A.M. Hybrid harmony search algorithm integrating differential evolution and lévy flight for engineering optimization. IEEE Access 2025, 13, 13534–13572. [Google Scholar] [CrossRef] [Scilit]
- Bujok, P.; Lacko, M.; Kolenovsky, P. Differential evolution and engineering problems. Mendel 2023, 29, 45–54. [Google Scholar] [CrossRef] [Scilit]
- Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef] [Scilit]
- Mirjalili, S.; Lewis, A. The whale optimization algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef] [Scilit]
- Chen, M.; Feng, C.; Cheng, R. MetaDE: Evolving differential evolution by differential evolution. IEEE Trans. Evol. Comput. 2025, 30, 141–155. [Google Scholar] [CrossRef] [Scilit]
- Zhang, J.; Huang, Y.; Wang, Y.; Ma, G. Multi-objective optimization of concrete mixture proportions using machine learning and metaheuristic algorithms. Constr. Build. Mater. 2020, 253, 119208. [Google Scholar] [CrossRef] [Scilit]
- Zhou, X.; Gui, W.; Heidari, A.A.; Cai, Z.; Liang, G.; Chen, H. Random following ant colony optimization: Continuous and binary variants for global optimization and feature selection. Appl. Soft Comput. 2023, 144, 110513. [Google Scholar] [CrossRef] [Scilit]
- Khosla, T.; Verma, O. An adaptive hybrid particle swarm optimizer for constrained optimization problem. In Proceedings of the 2021 International Conference in Advances in Power, Signal, and Information Technology (APSIT 2021), Dehradun, India, 8–10 October 2021; pp. 134–139. [Google Scholar]
- Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of the IEEE International Conference on Neural Networks, Perth, Australia, 27 November–1 December 1995; pp. 1942–1948. [Google Scholar]
- Holland, J.H. Adaptation in Natural and Artificial Systems: An Introductory Analysis with Applications to Biology, Control, and Artificial Intelligence; MIT Press: Cambridge, MA, USA, 1992. [Google Scholar]
- Geem, Z.W.; Kim, J.H.; Loganathan, G.V. A new heuristic optimization algorithm: Harmony search. Simulation 2001, 76, 60–68. [Google Scholar] [CrossRef] [Scilit]
- Dorigo, M.; Maniezzo, V.; Colorni, A. Ant system: Optimization by a colony of cooperating agents. IEEE Trans. Syst. Man Cybern. Part B Cybern. 1996, 26, 29–41. [Google Scholar] [CrossRef] [Scilit]
- Silberschatz, A.; Galvin, P.B.; Gagne, G. Operating System Concepts, 10th ed.; Wiley: Hoboken, NJ, USA, 2018. [Google Scholar]
- Tawfeek, M.A.; El-Sisi, A.; Keshk, A.E.; Torkey, F.A. Cloud task scheduling based on ant colony optimization. In Proceedings of the 8th International Conference on Computer Engineering and Systems, Cairo, Egypt, 26–28 November 2013; pp. 64–69. [Google Scholar]
- Maheswaran, M.; Ali, S.; Siegel, H.J.; Hensgen, D.; Freund, R.F. Dynamic matching and scheduling of a class of independent tasks onto heterogeneous computing systems. In Proceedings of the 8th Heterogeneous Computing Workshop, San Juan, Puerto Rico, 12 April 1999; pp. 30–44. [Google Scholar]
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.










