Next Article in Journal
Bio-Inspired Riblet Structures on Hyperelastic FKM Sheets: A Simulation-Guided Process-Window Screening for Roll-to-Roll Hot Embossing
Previous Article in Journal
Rapid Fabrication of Bioinspired Compound-Eye Array with Hydrophobicity and Antireflectivity
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Learning-Guided Meta-Heuristic Approach for Task Offloading in Four-Tier IoT Networks: A Hybrid UCB-ACO Algorithm

by
Lütfiye Özlem Akkan
İzmir Vocational School, Dokuz Eylul University, Izmir 35380, Turkey
Biomimetics 2026, 11(7), 509; https://doi.org/10.3390/biomimetics11070509
Submission received: 1 July 2026 / Revised: 14 July 2026 / Accepted: 16 July 2026 / Published: 20 July 2026

Abstract

The rapid development and expansion of the Internet of Things (IoT) ecosystem require managing increasing computational demands with the aid of advanced hierarchical architectures. The integration of a complete four-tier hierarchy—including Mobile, Edge, Fog, and Cloud layers—and the priority requirements are being overlooked in the literature despite the effort of existing studies. The goal of this study is to fill these gaps by proposing a novel, context-aware task-offloading framework designed for multi-dimensional ecosystems involving multi-server and multi-application environments. A targeted biomimetic approach is utilized at the core of this research. The decentralized foraging behavior of biological swarms is translated into a concrete engineering solution. This solution is designed specifically for computational offloading and resource management. To achieve this, a “Learning-guided Meta-heuristic” hybrid model is developed. Within this framework, bio-inspired Ant Colony Optimization (ACO) is directly integrated with an Upper Confidence Bound (UCB)-inspired exploration mechanism. Natural, pheromone-based imitation is solely relied upon by traditional biomimetic algorithms. In contrast, higher-order cognitive learning is fully incorporated by this hybrid synergy. Consequently, underlying system dynamics are adaptively learned. Local minima traps are also successfully avoided. This avoidance is achieved by dynamically selecting the optimal layer for each individual task. Both energy consumption and latency are optimized simultaneously. Meanwhile, strict operational feasibility is ensured through a dynamic penalty-based mechanism. Battery and deadline constraints are explicitly handled by this mechanism. Extensive simulations demonstrate the superiority of the proposed UCB-ACO model over state-of-the-art meta-heuristics, including Particle Swarm Optimization (PSO), Gray Wolf Optimizer (GWO), ACO, Artificial Bee Colony Optimization (ABO), and Non-dominated Sorting Genetic Algorithm II (NSGA-II). The findings reveal that the proposed framework outperforms the methods compared by achieving 22.5% lower latency and 23% lower energy consumption. This study effectively maps the current literature and then introduces a pioneering solution for next-generation resource management in distributed computing.

Graphical Abstract

1. Introduction

Cloud computing is at the center of today’s digital transformation and modern IT ecosystem, initiating a revolutionary paradigm shift in data processing, storage, and management. As Internet of Things (IoT) technologies spread rapidly, handling the data generated by billions of Edge devices has become increasingly difficult with traditional infrastructure. Real-time execution of complex algorithms and big data analytics are possible using the high computing power, scalable resource management, and cost-effectiveness of Cloud computing. This technology is not only simple data storage, but also a critical foundation for the sustainability and accessibility of systems in various fields, including smart cities and autonomous systems.
End devices in IoT-based networks, such as smart home systems, generally face hardware bottlenecks, such as limited battery life, low processing capacity, and limited memory. These limitations made operating modern, locally based applications that require high-level computing difficult. The expansion of the IoT ecosystem has made the model of processing data only on central Cloud servers inadequate due to latency and bandwidth constraints. Hierarchical computing architectures, developed to overcome these bottlenecks and limitations, bring computational power closer to the data source by involving Edge and Fog layers into the process. Here, the Edge layer enables real-time, low-latency processing on the Edge devices where the data is generated or on local nodes located very close to them; the Fog layer serves as a strategic link between these two endpoints, offering a wider coverage area and moderate resource capacity. The addition of the Cloud layer to the three-layer (Edge–Fog–Cloud) architecture enhances the scalability of modern networks. However, the heterogeneous resource structure and varying energy characteristics of each layer make system management a complex optimization problem.
At this point, the task-offloading mechanism serves as a critical solution to the system’s optimization problem, in which the end devices have limited energy and processing capacity. This mechanism involves strategically transferring the heavy calculation workload from local devices to powerful Cloud or Edge servers. Efficient task-offloading management under dynamic and fluctuating network conditions has recently become a primary area of research due to the need to balance energy efficiency and computing speed.
Although many studies focus on either Cloud computing or Edge computing alone, the real challenge involves selecting the appropriate choice between the Edge and Fog layers to meet application needs (e.g., latency sensitivity, data size, and energy consumption). This intelligent layer selection is performed under dynamic network conditions, and it extends the system’s total lifespan while also improving quality of service (QoS) by reducing latency.
The current approaches in the mentioned literature usually address the trade-off between energy and latency by using static threshold values or single-layer architectures. However, in modern IoT ecosystems with a heterogeneous task structure, the requirements of each task and the network’s current load status change dynamically. This situation means that solutions focused only on the Cloud or only on Edge computing are insufficient for requirements.
Despite the significant advancements in IoT resource management, achieving a seamless balance between energy efficiency and latency in multi-layered architecture remains a formidable challenge. Traditional task-offloading strategies tend to prioritize a single performance metric or assume a uniform application environment, which is seldom true in reality. This leaves a research gap, especially in terms of adaptive frameworks. While taking distributed networks into account, these frameworks can navigate the complex interplay between heterogeneous Edge and Fog layers.
In many ways, IoT and Edge–Fog–Cloud architectures mirror biological ecosystems in their highly decentralized, dynamic nature. In nature, organisms such as ant colonies or bee swarms operate without centralized control. Nevertheless, they flawlessly execute complex tasks like resource allocation, workload distribution, and survival under severe energy constraints. The goal of biomimetics, or bionics, is to translate these evolutionary optimization mechanisms into mathematical models to solve complex engineering problems. Consequently, swarm intelligence-based biomimetic algorithms, particularly Ant Colony Optimization (ACO), have emerged as a natural fit for multi-tiered network environments. Traditional deterministic methods simply collapse under the weight of NP-hard task-offloading challenges. To resolve this, bio-inspired computational models mimic the pheromone signaling. These models also mimic adaptive choices of biological ants, thus they provide a robust, decentralized alternative. However, mapping raw biology directly onto artificial networks reveals a clear bottleneck. Real IoT channels are highly volatile, with volatile fluctuations and stochastic latency. Standard biological pheromone buildup is simply too slow to handle these rapid network shifts.
This operational gap is directly bridged here. Traditional bionics is elevated into a specialized “cognitive biomimetic” framework. This transition is achieved by upgrading the classic ACO structure with a learning-guided mechanism. Crucially, basic, blind swarm intelligence is surpassed. Actual higher-order cognitive functions are mimicked instead. Specifically, historical interaction data is utilized to actively balance exploration and exploitation. Through this integration, algorithmic agents are enabled to adapt to sudden network fluctuations on the fly. Ultimately, the feasibility of mathematically evolving nature-inspired concepts is proven. The successful orchestration of complex, multi-dimensional computing ecosystems is thus achieved. To address these limitations, this study proposes a novel hybrid meta-heuristic framework that integrates the Upper Confidence Bound (UCB)-inspired exploration mechanism with Ant Colony Optimization (ACO). In the context of this architecture, the integration of UCB does not imply a strict statistical framework; it is an adaptive empirical tracking mechanism. Unlike standard optimization techniques, the proposed UCB-ACO model dynamically allocates tasks while simultaneously minimizing energy consumption and latency. This hybrid mechanism leverages ACO’s exploration capabilities and UCB’s selection efficiency for robust decision-making. With this, multi-layered offloading processes can be managed adaptively.
One of the primary contributions of this research is the granular performance assessment conducted across multiple application types, reflecting the diverse workload characteristics of modern IoT systems. The effectiveness of the UCB-ACO model is rigorously validated through extensive simulation scenarios. The model performance is compared against established benchmarks, including ACO, Particle Swarm Optimization (PSO), Gray Wolf Optimizer (GWO), Artificial Bee Colony Optimization (ABO), and Non-dominated Sorting Genetic Algorithm II (NSGA-II). The findings demonstrate that the proposed model significantly outperforms traditional methods. It has provided more balanced and scalable solutions, especially in discrete and multi-objective optimization environments.
This paper proposes an ACO algorithm that addresses the Edge–Fog–Cloud hierarchy in an integrated manner and is enhanced with a UCB-based exploration capability, with the aim of overcoming the aforementioned limitations. The main contributions of this study can be summarized as follows:
  • Proposing a multi-objective task-offloading model that simultaneously optimizes energy consumption and latency,
  • Developing a hybrid meta-heuristic algorithm capable of making dynamic decisions between the Edge and Fog layers,
  • Demonstrating the performance advantage of the proposed model over traditional methods through comprehensive simulations.
  • Conducting application-based comparisons across multiple application types to validate the proposed model’s effectiveness under diverse workload requirements.
The rest of the article is organized as follows: Section 2 presents relevant studies in the literature and statistical analyses; Section 3 details the proposed system model and mathematical framework. Section 4 presents the proposed optimization method, and Section 5 presents the experimental results. Section 6 discusses the findings, and Section 7 outlines future research objectives.

2. Related Work

In this section, the current state and solution approaches to the task-offloading problem in multi-tier network architectures are investigated from an integrated perspective. In heterogeneous structures consisting of mobile devices, Edge, Fog, and Cloud servers, the computational load created by multi-user scenarios and different application types (multi-applications) takes the problem to a complexity beyond traditional methods. Especially, the conflicting nature between minimizing energy consumption and optimizing latency makes the problem display a character of multi-objective and NP-hard. To present this complexity systematically, the literature review was categorized into three main areas. First, recent survey studies were summarized to identify general trends in the field; then, studies focusing on energy and latency were assessed. Second, given that these problems involve such trade-off mechanisms and are naturally complex, the types of optimization methods that should be selected—specifically meta-heuristic and bio-inspired optimization methods such as Non-dominated Sorting Genetic Algorithm II (NSGA-II) [1], Ant Colony Optimization ACO [2], Particle Swarm Optimization (PSO) [3], Artificial Bee Colony Optimization (ABO) [4], and Gray Wolf Optimizer (GWO) [5] which are used to scan this complex solution space—have been evaluated comparatively in terms of their performance and application areas as reported in the literature. Finally, the studies in the literature were examined on a comparative table to emphasize the differences and improvements in the proposed study.

2.1. Surveys

To establish a rigorous conceptual baseline for distributed resource management, comprehensive review studies published over the past five years have been systematically analyzed [6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]. Rather than treating the prior literature in a purely narrative or qualitative manner, this subsection clusters recent survey findings into three sequential thematic groups. This approach highlights the architectural evolution of paradigms, intelligence-driven algorithmic distributions, and multi-objective metric quantifications across the Cloud–Edge continuum.

2.1.1. Algorithmic Paradigms and Architecture in Fog–Cloud Topologies

There is a dramatic shift away from centralized Cloud infrastructures toward layered, highly heterogeneous computing nodes in the recent meta-analytical literature. In Fog computing networks, for example, structural mappings emphasize the need for a new generation of genetic algorithm topologies that navigate volatile resource heterogeneity [6]. A statistical analysis of the broader algorithmic distribution in this domain shows that 25% of workflow planning models use classical heuristics, but 75% use advanced artificial intelligence (AI)-driven or parametric modeling frameworks [7]. A comprehensive review of the scheduling literature found that 97% of evaluated studies formulate the problem as multi-objective, with empirical simulation environments being used as primary validation methods in 51% of these frameworks [8]. In order to solve these operational bottlenecks, overarching taxonomies have extensively mapped task scheduling and resource allocation boundaries across unified Fog, Edge, and hybrid architectures [9]. There is a lot of momentum here, as 31% of foundational survey publications are coming out within the last three years. Quantitative resource allocation metrics prioritize execution cost (28.7%), network latency (24.1%) and deterministic execution time (22.2%) [10].

2.1.2. Latency-Sensitive Edge/MEC Topologies and Intelligent Frameworks

Optimization challenges for high-density, latency-sensitive applications where real-time computing and strict reliability are crucial can also be found in the literature. Researchers confirm latency, energy consumption, and cost are the tri-focal parameters in distributed orchestration, with latency being the most frequently addressed [11]. These studies also note that large-scale meta-heuristic deployments get slowed down by manual hyperparameter tuning [11]. A robust Edge AI infrastructure and specialized resource management frameworks are required to solve this problem [12]. Particularly since standard Cloud paradigms are not suitable for time-critical IoT loops due to backhaul propagation bottlenecks [13]. Meta-heuristics prove powerful scaling advantages when searching massive, unexplored solution spaces in multi-access Mobile Edge Computing (MEC) to circumvent these limitations [14]. Additionally, recent surveys highlight the urgent need for lightweight, adaptive, and context-aware confidence frameworks that enable real-time, intelligent decision-making in decentralized environments [15].

2.1.3. Quantitative Metric Allocation and Multi-Objective Trade-Offs

Offloading objective functions are the topic of the third thematic cluster. An analysis of data offloading frameworks in industrial IoT environments shows that time-related criteria (e.g., delay) and energy usage account for 24% and 20% of the active literature, respectively [16]. Classifying these mechanisms into classical, heuristic, and AI-based models reveals that communication parameters have a non-negligible impact on latency and power consumption [17]. Soft computing frameworks emphasize that ignoring localized trade-offs between delay, energy, and cost leads to suboptimal solutions that severely impact the efficiency of global systems [18]. From an energy-centric perspective, specialized scheduling reviews report that energy parameters dictate 28% of data transfer optimization efforts, followed by time variables at 16% [19]. According to these reports, traditional meta-heuristics have slow convergence profiles and high computational complexity, so hybrid meta-heuristics and machine learning integration are the most viable [19]. Compared to recent quality of service (QoS) mappings, energy efficiency takes the top spot at 22.86%, delay takes the third spot, and optimization problems remain the top academic driver in modern research [20].

2.2. Energy- and Latency-Focused Studies

In task-offloading processes, energy consumption and end-to-end latency represent the two most critical parameters governing system performance. Literature reviews show that researchers prioritize divergent optimization objectives because of the inherent trade-off between these two metrics. For example, some approaches emphasize energy efficiency to make resource-constrained Edge nodes last longer, while others focus on low latency to satisfy real-time application requirements. In some studies, different metrics are given different priority weights; for instance, time and energy are given 24% and 20% priority, respectively [16]. Alternative findings show energy as the top priority at 28%, followed by time at 16% [19]. Also, latency (22%) and energy consumption (17%) remain the top two research challenges in MEC environments, as a wide-ranging analysis shows that latency and energy are the primary metrics of interest across 93 and 75 studies, respectively [17].
Delay, energy consumption, and cost are the main performance metrics, while delay is the most frequently evaluated [11]. A balanced trade-off that mitigates energy load while maintaining overall system performance can be achieved using multi-objective optimization techniques [20]. According to [8], 97 percent of studies use multi-objective formulations—like minimizing delays and SLA violations while meeting deadlines—while a negligible fraction (3%) consider single-objective approaches. In Cloud computing environments, metrics like makespan, resource utilization, load balancing, and cost have a high significance level above 50%, while in Fog computing, makespan, delay, energy consumption, execution time, and cost win.
In Fog computing, energy efficiency is a key criterion, since most strategies to minimize processing time are dependent on latency or energy savings [10]; similarly, traffic state optimization was modeled as a multi-objective problem to balance computational load, energy consumption, and communication latency [12]. To conserve energy, Edge devices often get slower when they are running less computationally; this simultaneous optimization of conflicting objectives requires complex compromises, making it hard to find a near-optimal task allocation strategy in heterogeneous and dynamic Cloud and Fog environments [7]. Consequently, computational task offloading is widely recognized as a multi-objective, NP-hard optimization problem that cannot be solved in polynomial time using classical deterministic methods [13].
An evaluation of proposed architectural frameworks in the literature reveals clear distinctions regarding their hierarchical depth and architectural scope. To maximize conflicting goals such as processing time (makespan) and energy consumption, some studies focus solely on “Cloud” computing [21]. This omits intermediate Fog and Edge layers which add complexities to the structure and network. A substantial portion of the literature structures task allocation across dual-layer paradigms, including Fog–Cloud [22,23], Edge–Cloud [24,25], or intricate Mixed Fog/Cloud infrastructures [26]. Specifically, Ref. [24] proposes a collaborative Edge and Cloud framework to solve IoT-based computational discharging problems. It uses three distinct Constrained Multi-Objective Evolutionary Algorithms (CMOEAs). Meanwhile, the J-NECORA framework presented in [27] targets industrial IoT scenarios and mobile nodes to address the Cloud–Edge–Things continuum. In a similar vein, Ref. [25] investigates task offloading within Edge–Cloud systems through the lens of pricing and deadline constraints. But Ref. [28] directly focuses on the Cloud–Fog interaction to achieve an optimal energy–delay balance.
To further enhance architectural depth, another approach leverages three-tier hierarchies spanning local, Fog, and Cloud layers [22]. Some approaches utilize multi-user MEC networks covering mobile device (MD), Edge, and Cloud layers [29,30]. Among these hierarchical designs, frameworks combining the Cloud, Edge, and Terminal (MD) layers [29] present one of the closest architectural archetypes to the full four-tier continuum. Rather than proposing explicit algorithmic solutions, certain works provide essential theoretical foundations. The study in [31] offers a comprehensive survey comparing Cloud, Edge, and Fog information technologies on an application-dependent basis. While Ref. [32] compares the technical parameters of Fog, Cloudlet, and MEC to establish a decision tree for the initial framework design phase.
To scan the complex solution space, a broad methodological spectrum ranging from deterministic mathematical models to advanced meta-heuristic algorithms has been applied in the literature. Within the domain of mathematical programming, Semidefinite Relaxation (SDR)-based techniques have been utilized to minimize the weighted cost of energy consumption and delay under multi-user structures and resource (bandwidth, power) constraints in Mixed Fog/Cloud systems [26]. Similarly, SDR-based algorithms have been proposed for task offloading from a single mobile device to multiple end devices while jointly optimizing energy, latency, and CPU frequency scaling [33]. In addition to analytical models, game-theoretic approaches such as the Wardrop Equilibrium have been introduced to solve task offloading in Edge–Cloud networks by classifying tasks as hard or soft based on time constraints [25].
Regarding classic heuristics and meta-heuristics, three distinct CMOEAs were developed to simultaneously optimize energy consumption and time constraints [24], while a discrete version of the Non-dominated Sorting Genetic Algorithm II (D-NSGA-II) was implemented using classical evolutionary operators for delay minimization in Fog–Cloud systems [23]. Under the swarm intelligence paradigm, a Non-dominated PSO (NPSO) algorithm was introduced to achieve an energy–delay balance in multi-application scenarios such as smart agriculture [28]. Furthermore, control designs leveraging PSO have been explored for IoT applications using Edge–Cloud layers, though operating within Model Predictive Control (MPC) frameworks rather than explicit task offloading [34]. To address processing costs and load balancing in Cloud environments, an Enhanced Firefly Algorithm (IFA) was driven to optimize execution parameters [35]. Additionally, hybrid meta-heuristics have been formulated to balance the exploration and exploitation phases in the search process, specifically aiming to mitigate local solution stagnation and premature convergence issues [21].
To cope with the high volatility and uncertainties of dynamic IoT environments, learning-guided and artificially intelligent mechanisms have recently gained prominence. Within the scope of deep learning, a Deep Fusion Generative Adversarial Network (DFGAN) framework was introduced to simultaneously optimize multiple objectives including latency, cost, load balancing, and resource utilization across Cloud, Edge, and Terminal layers [29]. Similarly, a Distributed Deep Learning-based Offloading (DDLO) method was implemented to handle application-based latency constraints and maintain an energy–latency balance in multi-user multi-server MEC networks [30].
When online learning and intelligent exploration of unknown Edge nodes are required, Multi-Armed Bandit (MAB) learning approaches offer viable alternatives. In this context, a standard Upper Confidence Bound (UCB1) reinforcement learning approach was applied to jointly optimize energy consumption and latency in maritime IoT networks. The authors further introduced a novel UCB variant, namely UCB1-ESSS, to adaptively balance advantages and costs during the Edge server selection process [36]. Although these learning-driven models provide remarkable adaptability, existing solutions in the literature either rely on pure machine learning architectures without hybridizing with robust meta-heuristics such as ACO or PSO, or they remain restricted to highly specialized, domain-specific deployment areas like maritime or industrial scenarios.

2.3. Problem Complexity

In Cloud and Fog computing-based network architectures, energy efficiency and low latency are the most fundamental performance metrics determining the operational success of the system. The limited battery capacity of Edge devices (IoT nodes) makes minimizing energy consumption essential for extending the network’s lifespan. Furthermore, latency directly impacts the quality of service (QoS) of critical applications, especially those requiring real-time response, and determines the reliability of the system.
In task-offloading processes, energy consumption and latency typically appear as conflicting objectives, which makes it difficult to optimize both simultaneously. Although transferring a task from a local endpoint to a more powerful Edge, Fog, or Cloud node saves processing energy, it increases network latency and communication-related energy costs. On the other hand, aggressive computational choices aimed at minimizing latency can result in an excessive energy load on nodes with limited resources. This situation results in the problem taking on a multi-objective optimization structure and requires the system to find an acceptable trade-off point between the two metrics.

2.4. Optimization Framework

The Mathematical Nature of Task-Offloading Processes: Task offloading problems inherently have a discrete, global, and multi-objective optimization structure. The problem exhibits a discrete nature because the decision to assign tasks to a specific node or keep them locally requires a binary (“0–1”) integer-based selection process. Moreover, the fact that the optimal solution involves searching the entire search space in variable network topologies places the problem within the category of global optimization. The need to simultaneously optimize conflicting objectives such as energy efficiency, computational latency, and bandwidth usage further reinforces the multi-objective nature of the problem. When these complex characteristics are put together, the problem’s solution space grows exponentially with the number of tasks and nodes, and the solution process reaches an NP-hard level.
A review of the discrete, global and multi-objective nature of task offloading studies in the literature is presented below.
Discreteness: Many formulations use binary or mixed-integer variables to indicate whether a task (or subtask) is executed locally, at an Edge server, at a Fog server, in the Cloud, or at another device:
  • Task offloading is modeled as a mixed-integer non-linear programming (MINLP) problem in multi-UAV MEC and solved via splitting and rounding methods [37].
  • Cooperative MEC offloading is cast as a bi-level problem where upper-level offloading decisions are constructed by an ant colony system over discrete modes (local/cooperative/server) [38].
  • Gray wolf-based WOLVERINE explicitly uses a binary multi-objective GWO algorithm for offloading decisions in collaborative MEC [39].
  • Dependent-task offloading in MEC is formulated as an NP-hard problem with binary assignment of subtasks to heterogeneous nodes, solved via multi-objective PSO [40].
  • Several multi-objective evolutionary or PSO approaches encode offloading as discrete genes/particles, sometimes with partial-offload ratios as additional continuous variables, leading to hybrid discrete–continuous spaces [39,41,42].
These models clearly implement discretization through 0–1 (or small integer) variables that specify the offload location or mode, and this is typically combined with continuous resource allocation decisions [37,38,41,43].
Global Optimality: Suboptimal trapping creates a risk during local search, because offloading spans heterogeneous tiers and nodes (e.g., end, Edge, Fog, Cloud, UAVs, satellites, vehicles).
  • Multi-tier and collaborative settings, such as Cloud–Edge–end, MEC–vehicular Fog, and Terminal–satellite–Cloud, are modeled as NP-hard MINLP/CMOP problems. This makes meta-heuristics or DRL necessary for global exploration [37,43,44,45,46].
  • WOLVERINE specifically uses the evolutionary, multi-objective GWO algorithm to explore the global Pareto front in highly coupled, NP-hard search space [39].
  • Bi-level CoMECO offloading uses ACO with a local search to find approximate solutions to problems involving strong coupling between discrete offloading and continuous resources [38].
  • Surveys and related work sections emphasize that greedy or heuristic local strategies can become trapped in local optima, particularly in dependent tasks and heterogeneous layers [40,45,47].
Offloading should be treated as a global (combinatorial) search rather than a local optimization, especially when it is used on a large scale.
Multi-objectivity: A significant body of research explicitly defines offloading as multi-objective optimization, typically balancing factors such as delay/latency, energy consumption, and occasionally monetary or resource cost:
  • Delay-energy CMOP in MEC/Fog is solved via evolutionary algorithms to obtain a Pareto optimal front [43].
  • Latency, energy usage, and resource costs are optimized jointly via a multi-objective framework using binary GWO offloading [39].
  • Time delay, energy consumption, and task execution cost are minimized jointly by PSO in IIoT MEC [42].
  • Multi-objective offloading algorithms in Cloud–Edge–end collaboration minimize average latency and energy consumption for complex, dependent tasks [47,48].
  • Cloud–Edge collaborative schemes for 6G and vehicular/MEC networks minimize latency and energy by often aggregating them into system cost or exploring the full Pareto set using MOEAs or DRL [44,45,48,49,50].
  • Earlier Fog–Cloud work minimizes a weighted combination of delay, energy, and Cloud payment. This is explicitly framed as a multi-objective problem and then relaxed [43].
These studies either (i) maintain a Pareto-based multi-objective view [39,40,43,45,47,48,50], or (ii) encode multi-objective trade-off using weighted sums or utility functions (e.g., latency–energy cost functions) [42,44,49,51]. As mentioned in both cases, the fundamental structure is multi-objective. Improving latency usually worsens energy or cost, and vice versa [39,43,47].
Three main approaches have emerged in the literature for solving complex network problems: exact methods, heuristic approaches, and meta-heuristic algorithms. While exact methods such as “Branch and Bound” or “Dynamic Programming” guarantee an exact optimal solution for small-scale networks, they are inadequate for large and hierarchical network scenarios due to computational costs. Methods such as Deep Reinforcement Learning (DRL), Game Theory, and meta-heuristics are widely used to overcome this bottleneck and facilitate real-time decision-making processes. These methods aim to generate “good enough” solutions that are as close as possible to the optimal result in a reasonable amount of time. They do this by scanning complex solution spaces with intelligent scanning mechanisms.
The main reason to prefer meta-heuristic, genetic, and bio-inspired optimization methods is that these algorithms exhibit a high balance of exploration and exploitation in complex, multi-dimensional search spaces. Methods such as ACO or GA demonstrate a high degree of resilience in reaching the global optimum without getting stuck at local optima by imitating collective intelligence found in nature. Especially in energy-constrained and dynamic IoT environments, the flexibility offered by these algorithms enables them to generate stable solutions under non-linear constraints without requiring the mathematical model derivative. These features make meta-heuristic approaches superior and more adaptive than traditional methods in the management of heterogeneous resources within hierarchical Edge–Fog–Cloud architectures.

Optimization Methods Used

In hierarchical Edge–Fog–Cloud architectures, the task-offloading decision requires a complex optimization process due to the size of the solution space and the NP-hard nature of the problem. The inefficiency of traditional mathematical modeling methods when applied to a large scale in terms of computational cost and dynamic networks have made meta-heuristic and bio-inspired algorithms widespread in the literature. In this subsection, an evaluation is conducted on how meta-heuristic algorithms—which stand out particularly for their global search capabilities and resistance to getting stuck in local optima—are adapted to task-offloading problems, the challenges encountered, and the proposed solutions in the literature.
To map out current trends and highlight essential factors in the field of offloading, review studies on offloading conducted over the past five years were examined.
This review states that, in the 35 studies examined, the most commonly used techniques were heuristic methods, suggesting a trend towards these methods in data offloading approaches [16]. Genetic algorithms are used to discover and develop the most suitable solutions for task scheduling, load balancing and resource allocation, taking various parameters and constraints into account in the field of Edge artificial intelligence and data offloading scenarios [12,15,18]. It has been emphasized that the greatest advantage of heuristics is their ‘acceptable cost’, but that they do not guarantee optimality [10,12]. The study states that, in optimization problems, a heuristic method is a technique that aims to solve the problem more quickly than traditional methods by compromising on completeness, accuracy, optimality or precision [14]. Heuristic algorithms rank first at 31.5% among Resource Allocation Techniques [10].
As heuristic algorithms are experience-based techniques that do not guarantee an optimal result, meta-heuristics provide general computational intelligence frameworks that can be adapted to different optimization problems with minimal modification and potentially offer a sufficiently good solution [14]. Particularly in task-scheduling processes within artificial intelligence-enabled Internet of Things (AIoT) systems, meta-heuristic methods such as GA and PSO offer critical efficiency in generating near-optimal solutions with low computational load for energy-constrained Edge devices [12]. In multi-objective optimization problems, a suitable Pareto front provides greater flexibility in selecting the solution that offers the best trade-off between optimization criteria. The most common solution to the problem of generating a Pareto set, which involves high computational costs, is through the use of meta-heuristics capable of obtaining a near-optimal front [6]. For these reasons, Meta-heuristic algorithms, which aim to find the optimal or near-optimal solutions to resource allocation problems in a reasonable timeframe, are used in 9.2% of cases [10]. On the other hand this study indicates that meta-heuristic methods can be used for large-scale optimization but highlights the difficulty of tuning sensitive hyperparameters [11].
Some research into task-offloading optimization has been conducted using heuristic and meta-heuristic methods; however, these methods have certain shortcomings. The main problem with meta-heuristic methods is that they can become trapped in local optima. To obtain a globally optimal solution, they must strike a balance between exploration and exploitation. Furthermore, meta-heuristic algorithms have numerous hyperparameters, which are often difficult to tune. These are parameters that must be set manually by the researcher [13].
Although different objectives need to be optimized simultaneously, they are often inconsistent or incompatible, frequently requiring different trade-offs and compromises. This leads researchers to frequently use a mixture of various heuristic algorithms to address critical parameters in resource allocation and workflow planning [7].
The modern literature addresses task-offloading optimization in MEC and IoT networks under three main categories: classical, heuristic, and artificial intelligence-based methods. Whilst classical methods guarantee a global optimum, the exponential growth of the search space in complex network structures renders these approaches unsuitable for large-scale systems. Although heuristic and meta-heuristic methods offer ‘near-optimal’ solutions by increasing convergence speed, the need to reconfigure the algorithm in scenarios where environmental parameters change dynamically poses a significant constraint. At this point, the development of robust approaches that gradually improve system performance through feedback mechanisms and offer higher adaptability constitutes the focus of current research [17].
Consequently, there is an increasing number of hybrid algorithms in the literature. Among the algorithms categorized as heuristic, meta-heuristic, and hybrid meta-heuristic algorithms, nearly half of the solutions fall into the heuristic category, whilst 39% of the studies are based on meta-heuristic algorithms. The remaining 12% are hybrid meta-heuristic algorithms [8]. The findings of this study suggest that hybrid meta-heuristic algorithms and the integration of machine learning could represent promising opportunities for future research [19].
In the conceptual hierarchy, standard heuristics are ‘shortcut’ rules developed specifically for a particular problem, which are fast but generally yield suboptimal results. Meta-heuristic frameworks, on the other hand, are general-purpose strategy templates that go beyond such simple rules and can be adapted to almost any type of optimization problem (such as ACO, PSO or Simulated Annealing). GAs are a very specific and powerful type within this meta-heuristic family, inspired by biological evolution. In summary: heuristics are problem-specific tactics, meta-heuristics are general game plans that govern these tactics, and GAs are one of the most popular versions of this plan that operates via evolutionary mechanisms. Meta-heuristic frameworks demonstrate greater resilience compared to standard heuristic methods by striking an effective balance between global exploration (diversification) and local exploitation (convergence); this typically leads to consistent and reliable performance across various optimization tasks [52].
There are numerous machine learning techniques, and many of these can be integrated into meta-heuristic frameworks to improve or guide the exploration of the solution space. Many machine learning techniques can enhance and enrich meta-heuristic methods. Machine learning can be used for training to predict promising regions of the search space, thereby allowing meta-heuristic methods to avoid a large portion of the exploration process and instead focus on regions where the best solutions are already expected. Convergence speed can thus be improved [53]. The topic of hybrid meta-heuristic methods is a highly comprehensive one. Comprehensive information on the methods, their taxonomy and approaches are provided in [52]. Figure 1 shows the classification of meta-heuristic hybridization methods, modified by [53] with reference to [52].
Reinforcement learning (RL) methods are frequently used in meta-heuristic hybridization. A taxonomy of RL algorithms is shown in Figure 2 [13]. The Multi-Armed Bandit (MAB) algorithm is also among the most important RL methods used in offloading [11,14]. Most RL policies face the challenge of striking a balance between exploration and exploitation. There must be a balance between searching for the problem space for profitable actions and executing the best possible trial action. The MAB problem is one of the earliest examples of the exploration–exploitation trade-off. It aims to strike a trade-off between following the best past solution and discovering potential new opportunities. At each step, a single resource is allocated to an action in an MAB problem, yielding an observable reward. The objective is to maximize the total profit gained across a series of allocations. The agent must learn to select a single optimal branch from a set of candidate branches based on previous rewards [13].
The results of the literature review also indicate that combining the ‘restart cost’ disadvantage of heuristics (such as ACO) with UCB’s ‘learning from feedback’ capability constitutes a consistent and robust solution.

2.5. Research Gap and Positioning of the Proposed Study

The literature review began by examining systematic review articles from the past five years to provide an up-to-date overview of the current state of the field. This preliminary phase aims to identify the general trends and evolution of task-offloading strategies in heterogeneous environments. Research on energy-efficiency and latency-aware optimization models, providing a comprehensive analysis of studies that reflect the discrete, global, and multi-objective nature of these complex problems. Despite the abundance of existing research, there remains a significant gap in the literature regarding the dynamic management of the exploration and exploitation balance under context-sensitive constraints. To clarify how the proposed study addresses this gap and situates itself within the literature, a comparison table outlining the key differences between the proposed study and current methodologies is provided in Table 1.
In conclusion, although the existing literature provides robust solutions for task offloading, a critical balance problem remains between the sensitivity of pheromone-based exploitation and the necessity of uncertainty-aware exploration in highly dynamic environments. Most studies either rely on static heuristic weights or fail to adapt to the multi-objective nature of diverse application profiles. The proposed UCB-ACO framework addresses this fundamental gap by integrating the UCB strategy within the ACO framework, ensuring a context-aware and balanced decision-making process.
After establishing the conceptual framework and necessity of this hybrid approach, the next section presents the Problem Formulation, which includes the mathematical network model and multi-objective cost functions that manage the optimization process.

3. Problem Formulation

This section outlines the formal structure of the proposed task-offloading framework, which is based on the complex interaction between distributed computing resources and various user requirements. Here, the framework considered has been modeled as a multi-dimensional ecosystem that combines multi-server, multi-task, multi-user, and multi-application capabilities within a hierarchical structure. The key difference that sets the proposed work apart from existing approaches in the literature is that it implements a comprehensive four-tier architecture that utilizes context-aware optimization to simultaneously balance latency and energy.
To establish a solid foundation for the UCB-ACO algorithm, the problem has been divided into two main components. First, Section 3.1 details the physical and logical structure of the hierarchical system. Next, Section 3.2 presents the mathematical definitions and multi-objective cost functions that govern the decision-making process.

3.1. Hierarchical Four-Tier System Model

As shown in Figure 3, the proposed hierarchical four-tier system model represents a heterogeneous environment characterized by its multi-server, multi-task, multi-user, and multi-application architecture.
The architecture is structured into four fundamental tiers to address diverse computing requirements: the local device tier (mobile terminals), the Edge tier (base stations and access points), the Fog tier (local micro data centers), and the Cloud tier (central data centers). In this study, to clearly evaluate the efficiency of the proposed UCB-ACO algorithm, it is assumed that all nodes (mobile devices) are stationary. This assumption allows the model to focus primarily on the resource allocation and offloading decision-making processes across the multi-Edge and multi-Fog nodes without the interference of mobility-sourced offloading latencies.
The integration of a dedicated Fog layer along with the Edge layer is a strategic requirement for managing high-density, heterogeneous task traffic. Here, this distinction is supported by the literature indicating that “Fog computing has a hierarchical nature, while Edge computing is limited only to a few end devices. Fog computing can also address data storage, data control and data processing acceleration while Edge computing is not capable of these services [54]”. By utilizing this hierarchical depth, the system can effectively classify and distribute tasks according to their specific latency-critical or energy-sensitive profiles. Mathematically, this dedicated intermediate layer prevents resource over-allocation at the local Edge access points while shielding the core Cloud backhaul from bandwidth saturation. Consequently, the dedicated Fog tier expands the feasible solution space for the proposed learning-guided meta-heuristic, enabling optimal multi-objective trade-offs between execution delay and local energy depletion. The following section presents a detailed mathematical model and objective functions to quantify the interactions within this complex hierarchy and identify the constraints of the optimization process.

3.2. Mathematical Model

This section details the mathematical foundations and optimization objectives of the proposed four-tier hierarchical task-offloading architecture. The model’s structure begins with a presentation of the basic indices and set definitions used in the system. After it explains the decision mechanism and objective functions built upon these foundations. The proposed model is based on a multi-objective and multi-user architecture designed to maximize the system’s success rate and reliability while minimizing latency and energy consumption. The system’s decision-making mechanism, computational costs, and constraint management are detailed below.

3.2.1. Indices and Sets

The basic indices, sets, and their value ranges used to ensure the consistency of the mathematical model are defined below:
  • i { 1 , 2 , , N } : Index of mobile users and their corresponding tasks. It is defined as an integer vector ranging from 10 to 100 according to simulation scenario N .
  • j { L , E , F , C } : Set of hierarchical tiers representing local (L), Edge (E), Fog (F), and Cloud (C).
  • k { 1 , 2 , 3 } : Index of optimization objectives (latency, energy, cost).

3.2.2. Decision Variables

The fundamental decision-making process in the system is based on assigning tasks to layers and evaluating these assignments within the constraints of the physical network.
The fundamental decision is represented by a binary variable x i , j , which indicates the offloading destination:
x i , j = 1 , if   task   i   is   offloaded   to   tier   j 0 , otherwise
Constraint: Each task must be assigned to exactly one tier:
j { L , E , F , C } x i , j = 1 , i 1 , , N
The structural integrity of the task allocation matrix is governed by the constraint in Equation (2). Since x i , j is strictly a binary variable restricted to 0 , 1 , enforcing the summation over the tier domain L , E , F , C to equal exactly unity mathematically prevents two invalid operational states: under-assignment (where a task is dropped, resulting in a sum of 0) and over-assignment (where a task is duplicated across multiple tiers, resulting in a sum 2 ). In the hybrid UCB-ACO algorithm, this mathematical boundary is natively integrated. Therefore, during path construction, each heuristic particle only chooses one discrete tier destination for each task, making sure all generated solution vectors are structurally feasible.
Data Transfer Rate (Wireless Data Rate): The bit-per-second transmission capacity ( R i , j ) across the heterogenous tiers is governed by the underlying physical layer channel state and interference metrics. To maintain a strict focus on the proposed multi-tier optimization framework and algorithmic decision space, the foundational physical layer equations derived from the Shannon–Hartley theorem [55,56]—including the comprehensive formulation of R i , j and the Signal-to-Interference-to-Noise Ratio (SINR)—are delegated to Appendix A. The resulting transmission rate R i , j directly parameterizes the tier-specific communication latencies as formulated below.
Layer-Based Transmission Delays (Comm. Delays) are the time elapsed for data to travel from the device to the relevant layer server.
Local Transmission Delay (the transmission delay at the local device ( j = 1 )) is considered to be zero.
T i , 1 c o m m = 0
Edge Transmission Latency is the time for data to be transmitted to the Edge server.
T i , 2 c o m m = D i R i , 2
Fog Transmission Delay is the time for data to be transmitted to the Fog layer.
T i , 3 c o m m = D i R i , 3
Cloud Transmission Latency is the time it takes for data to be transmitted to the Cloud server.
T i , 4 c o m m = D i R i , 4
Delay in general is defined as
T i , j c o m m = D i R i , j   ,               j   { 2 , 3 , 4 }
Total Communication Delay is the total transmission time resulting from the selected layer [57,58]:
T i c o m m = j = 1 4 x i , j T i , j c o m m .
Device Transmission Energy is the energy consumed by the device when sending task i to the server at layer j over the wireless channel:
E i , j t r a n s = P i T i , j c o m m .
Download Energy is the energy consumed during the computation result retrieval:
E i , j r e c = P r e c T i , j d o w n .
Total Communication Energy is the total energy consumed for task transfer:
E i c o m m = E i , j t r a n s + E i , j r e c .

3.2.3. Mathematical Modeling of Objectives

This section defines cost analyses for the computation phase of tasks and performance metrics that measure the system’s overall performance. Following the communication phase (Section 3.2.2), the computation times for each task on the assigned layer and the amount of energy consumed by the mobile device during this process are calculated. In the remainder of this section, the criteria of delay, energy efficiency, success rate, and reliability—which characterize the proposed model’s versatile structure—are mathematically defined. These models serve as the foundation for validating the performance metrics (such as success rate and reliability) presented in the simulation results.
Computational and Energy Model
Local Execution Time: The time it takes for the task to complete on the mobile device’s own processor ( f L ).
T i , 1 c o m p = C i / f L
Edge Processing Time: The duration calculated based on the capacity of the Edge server ( f E ).
T i , 2 c o m p = C i / f E
Fog Processing Time: The duration calculated based on the Fog server’s capacity ( f F ).
T i , 3 c o m p = C i / f F
Cloud Processing Time: The duration calculated based on the capacity of the Cloud server ( f C ).
T i , 4 c o m p = C i / f C
Overall processing time is required to complete the task, depending on the hardware capacity of the relevant layer [24,59].
T i , j c o m p = C i f j       j   { 1 , 2 , 3 , 4 }
Local Energy Consumption: The energy consumed by the device while using its own processor.
E i , L c o m p = κ C i f L 2
Remote Processing Energy: The processor power consumption of a mobile device when tasks are offloaded to the outer layers (Edge, Fog, or Cloud layers). For tasks processed remotely, the device’s processing power is negligible.
E i , r e m o t e c o m p 0 ,         j   { 2 , 3 , 4 }
Total Latency: The sum of transmission, processing, and queueing times.
T t o t a l , i = T i c o m m + T i c o m p + T i w a i t + T i o v e r h e a d
Here, T i o v e r h e a d accounts for the deterministic system and control-plane overheads, including network connection setup (e.g., protocol handshakes), task routing, and scheduling delays. In accordance with the standard Edge–Fog orchestration literature [59,60,61], this parameter is modeled as a constant 5 ms ( 0.005   s ) per task in the simulation environment, while dynamic queueing wait times are abstracted away ( T i w a i t = 0 ) to maintain computational efficiency across extensive meta-heuristic evaluations.
Total Energy: The sum of communication and local processing energy [24,62].
E t o t a l , i = E i c o m m + E i c o m p
Multi-Objective Optimization and Metrics
Objective 1—Delay Minimization  f 1 : The system’s primary time performance objective.
m i n f 1 = i = 1 N T t o t a l , i
Objective 2—Energy Minimization  f 2 : The battery-preserving objective of the device.
m i n f 2 = i = 1 N E t o t a l , i
Task Success Condition ( ψ i ): The condition under which the task meets both the time and energy constraints.
ψ i = 1 , T i T max , i     E i E max , i 0 , otherwise
Success Rate (SR): The overall efficiency rate of a system used in comparing algorithms.
S R = 1 N i = 1 N ψ i × 100 %
Objective 3—Reliability Maximizing ( f 3 ): This leads to having an ability to avoid constraint violations.
m a x f 3 = R e l i a b i l i t y = 1 C V R
m a x f 3 = 1 1 N i = 1 N I ( V i o l a t i o n )

3.2.4. Context-Aware Aggregate Objective Function ( J )

This section explains how sub-objectives (latency, energy consumption, and reliability), each with different physical units and priorities, are combined under a single scalar cost function. The proposed model uses a weighted sum function that can dynamically adapt to the varying needs of application profiles. These application profiles can be real-time data processing or energy-efficient sensor networks. In addition, to ensure the physical limits of the system (deadline and battery capacity) are maintained, a dynamic mechanism has been designed. This mechanism incorporates constraint violations into the cost function as a penalty term. This approach ensures that the optimization algorithm converges not only to low-cost solutions but also to feasible ones.
Combined Fitness Function/Cost Function ( J ) The aim is to solve this multi-objective problem effectively without losing constraint stringency. So, the primary execution performance indices and the structural reliability parameters are dynamically blended into a unified scalarized fitness function ( F i t n e s s ) representing the global optimization landscape:
F i t n e s s = w 1 f 1 + w 2 f 2 + 1 f 3
where f 1 and f 2 represent the normalized variants of delay and energy minimization objectives, respectively, intended to eliminate scaling dimensional differences. The relative importance of these physical resource indices is governed by the application profile weights, satisfying the strict convex constraint:
w 1 + w 2 = 1 , w k 0
The goal is to eliminate dimensional scaling differences and ensure objective parity. Hence a linear Min-Max normalization technique is deployed to map both raw execution delay ( f 1 ) and raw energy consumption ( f 2 ) values into a uniform dimensionless range of 0,1 . The normalized objectives f 1 and f 2 are formally calculated as follows:
f 1 = f 1 f 1 m i n f 1 m a x f 1 m i n
f 2 = f 2 f 2 m i n f 2 m a x f 2 m i n
where f k m i n and f k m a x ( k 1 , 2 ) denote the minimum and maximum operational boundaries, respectively, observed for delay and energy within the multi-tier network simulation environment. For the reliability score ( f 3 ), since it is inherently defined as a probability metric spanning 0,1 , it is directly incorporated into the cost function via its complement 1 f 3 to align with the minimization trajectory of the hybrid framework.
To mitigate execution delays and mobile device energy depletion under strict reliability constraints, this global task-offloading problem is multi-objective and non-linear. The mathematical framework developed from Equation (21) to Equation (27) establishes a rigid optimization space. It is necessary to bridge the physical gap between distinct metrics operating in different dimensions (seconds versus Joules). So, the primary objective functions f1 (delay minimization) and f2 (energy minimization) are mapped onto a single scalar cost landscape via dynamic normalization, represented as f1′ and f2′ in Equation (27).
Crucially, the system optimization landscape preserves its strict tri-objective dimensionality despite utilizing a bi-objective preference weight vector. In this architecture, physical resource metrics ( f 1 and f 2 ) represent elastic domains where dynamic compromises are established depending on the deployment profile. Conversely, system reliability ( f 3 ) represents an inelastic survivability criterion that cannot be degraded or softened by arbitrary weights. By embedding the Constraint Violation Rate (CVR) via the unweighted term 1 f 3 directly into Equation (27), reliability acts as a global architectural anchor.
In the resource-constrained operation mode (Case B), any violation of the deterministic task deadlines (Equation (31)) or battery capacities (Equation (32)) triggers the external hybrid step-linear penalty framework P x defined in Equations (35) and (36). This penalty artificially inflates the global cost of invalid tracks, forcing the hybrid UCB-ACO learning particles to reject unstable states and converge exclusively onto robust, Pareto-optimal offloading trajectories where 1 f 3 0 .
The latency constraint specifies the maximum time limit allowed for completing each task.
T t o t a l , i T m a x , i           i 1 , , N
The energy constraint is the maximum amount of energy a mobile device can allocate to a single task. It limits the energy cost of each task assignment to preserve the device’s battery life.
E t o t a l , i E m a x , i         i 1 , , N
Constraint Violation Rate (CVR) is the rate of out-of-rule assignments among all tasks. It is a statistical metric that measures how well the system follows constraints.
C V R = 1 N I Constraint   Violation
C V R = 1 N I T t o t a l , i > T m a x , i   or   E t o t a l , i > E m a x , i
By using the indicator function inside the Constraint Violation Rate (CVR), any violation of the deterministic boundaries defined in Equations (31) and (32) is strictly penalized using the two-tier step-linear formulation of the penalty term in Equation (36). The objective function effectively transforms into an adaptive landscape where unfeasible task assignments are heavily penalized, forcing the meta-heuristic ants and learning particles to converge only on Pareto-optimal solutions.
The penalty function is a mathematical deterrent that directly influences the results of Case B (Constrained Case). By artificially increasing the fitness value of solutions that violate the constraints (thereby increasing their cost), it ensures that the algorithm avoids these regions [63,64].
P T x i = 0 , if   T t o t a l , i T m a x , i α + β T t o t a l , i T m a x , i , if   T t o t a l , i > T m a x , i
P E x i = 0 , if   E t o t a l , i E r e m , i α + β E t o t a l , i E r e m , i , if   E t o t a l , i > E r e m , i
P x = i = 1 N P T x i + P E x i
In the proposed model, the current energy status (Erem) for each device is monitored, and the total energy consumption (Etotal) is calculated solely based on the hardware components (antenna and CPU) of the mobile device. A high-cost penalty function constrains the solution space if the remaining energy is insufficient.
It is aimed to effectively enforce the operational constraints defined in Case B and to ensure the reproducibility of the evaluation. For this reason, the proposed architecture employs a Hybrid Step-Linear Penalty Scaling mechanism. Unlike traditional quadratic scaling, this formulation applies a two-tier penalization strategy. When a solution violates strict architectural boundaries (i.e., exceeding the maximum task deadline or the remaining energy capacity), the penalty is applied.
Specifically, if a constraint is breached, the fitness function immediately imposes a heavy static baseline penalty ( α = 1000 ). This step-function deterrent instantly degrades the fitness of unfeasible assignments, strictly segregating them from feasible solutions. Furthermore, to differentiate between minor and severe violations, a dynamic linear penalty factor ( β = 500 ) is multiplied by the exact magnitude of the constraint breach and added to the baseline penalty.
This hybrid structure is mathematically strategic. The massive static penalty guarantees that constraint violations are heavily deterred, while the dynamic linear component creates a discernible fitness gradient. This gradient provides crucial directional information to the meta-heuristic search agents. It allows them to evaluate which unfeasible solutions are closer to the threshold and progressively guide them back into the feasible region without losing search diversity.

3.2.5. Application Profiles and Dynamic Weighting

Adaptability to distinct application requirements and localized efficiency gains are discussed in this section. Edge/Cloud applications can be effectively clustered into specific groups based on their execution priorities despite the large variety of network traffic [65].
In the proposed framework, these varying operational requirements are dynamically handled through the weight coefficients w 1 , a p p and w 2 , a p p . Thus, resource-allocation solutions tailored to specific application profiles can be generated.
The optimization objectives representing localized user preferences focus strictly on the independent physical domains of execution delay ( T i , j ) and network energy depletion ( E i , j ). This ensures absolute mathematical clarity and eliminates nomenclature redundancy. Accordingly, the local optimization goal is formulated to minimize the weighted sum of these performance indices normalized across the multi-tier system:
m i n J = i = 1 N j { L , E , F , C } w 1 , a p p T i , j + w 2 , a p p E i , j                      
Subject to strict bi-objective convex weight constraints:
k = 1 2 w k , a p p = 1 , w k , a p p 0
The weight configuration vector w 1 , a p p , w 2 , a p p designated for each defined application profile during the simulation setup is explicitly detailed in Table 2.
It is worth noting that while the application-specific tuning weights are formulated as a bi-objective trade-off ( w 1 , a p p + w 2 , a p p = 1 ), the core computational framework preserves its tri-objective dimensionality. In multi-objective network designs, physical resource indices (execution time vs. power depletion) represent elastic domains where elastic compromises can be established based on the application profile. Conversely, system reliability ( f 3 ) and constraint validation bounds represent inelastic system survivability criteria. Rather than deflating the mathematical rigor by assigning arbitrary soft weights to reliability across different apps, the proposed framework handles f 3 and the quadratic penalty P x as a rigid baseline optimization vector. Consequently, the optimization engine continuously maps solutions onto a three-dimensional Pareto landscape, ensuring that user-centric performance adaptations never compromise structural network survivability.
This section has defined the formal mathematical constraints and cost functions characterizing the multi-tier task-offloading problem. The primary challenge here is to find the optimal x i , j assignment that minimizes the joint objective function J in a large-scale, heterogeneous search space. To solve this discrete and non-linear optimization problem, the architectural design and operational steps of the proposed hybrid UCB-ACO algorithm will be detailed in the next section.

4. Methodology

In this section, the hybrid UCB-ACO algorithm- one of the main contributions of this study—is described in detail, explaining how the UCB mechanism overcomes the stability limitations of standard ACO under stochastic channel conditions. In this context, a Hybrid Learning-Optimization framework has been adopted to overcome the limitations of pure biomimetic algorithms in dynamic IoT environments. Inspired by the highly effective exploration–exploitation balancing mechanism of the MAB problem, the proposed method establishes a ‘Learning-guided Meta-heuristic’ framework. Rather than deploying a formal statistical reinforcement learning policy, this framework integrates ACO with a UCB-inspired empirical learning mechanism. In this architecture, the ‘learning-guided’ aspect signifies that the meta-heuristic search continuously learns from the historical reward trajectories of previous iterations via the UCB index. This allows the algorithmic agents to adaptively adjust their search directions, dynamically balancing exploration and exploitation without relying on the strict statistical assumptions required by pure MAB theory. Finally, to ensure the scalability of the study, the simulation environment, tier-specific configurations, and simulation parameters were defined.

4.1. Hybrid UCB-ACO Algorithm Design

Traditional ACO yields successful results in complex search spaces. But it faces two main challenges, particularly in high-dimensional and dynamic Edge–Cloud systems: early convergence and getting stuck in local minima. In the standard ACO mechanism, ants tend to prefer paths with high pheromone density. This leads to the neglect of paths that have not yet been discovered but may be more optimal. The result is causing the algorithm to become trapped in its own self-cycle and delaying the discovery of the global optimum.
To overcome this structural limitation, this study introduces a “Learning-guided Meta-heuristic Approach” by embedding a UCB-inspired adaptation mechanism into the meta-heuristic framework. As a dynamic exploration bonus, the system uses the UCB index design rather than a rigid statistical RL agent. Using this hybrid architecture, the optimization process tracks not only the historical performance (exploitation) of each task-offloading track but also how infrequently a specific computing tier has been evaluated (exploration).
This approach is characterized as a “learning-guided” meta-heuristic, because the pheromone-driven path selection is continuously reinforced by an empirical feedback loop. In each iteration, the UCB index dynamically estimates the potential value of each computing tier (Edge, Fog, Cloud). This conceptual “optimism in the face of uncertainty” allows the ants to adapt to fluctuating network workloads and volatile channel conditions. By incorporating this dynamic uncertainty-driven bonus, the framework prevents premature pheromone saturation, thus successfully mitigating the slow-convergence bottleneck of traditional ACO and accelerating the global search trajectory.
The mathematical framework of the proposed hybrid UCB-ACO algorithm is formulated to refine the ants’ decision-making processes through this adaptive mechanism. The set of equations from (37) to (42) details the integration of the UCB index into the probabilistic transition rules and the subsequent pheromone updates. This formulation establishes an algorithmic mechanism. And elucidates how the system actively escapes local minima and balances exploration–exploitation in dynamic environments.

Mathematical Formalization of the Task Context Vector

Each task arrival is modeled alongside a multi-dimensional context vector ( X i ). In doing so the learning-guided adaptive decision-making process in dynamic environments is supported. The context vector encapsulates the specific workload profile and resource constraints of the incoming task. Hence it serves as the foundational state knowledge that prevents the reinforcement learning agent from operating blindly. For each task i generated in the multi-tier simulation environment, the context vector is mathematically defined as follows:
X i = D i , C i , τ i
where D i denotes the instantaneous data size of the task (safeguarded within the realistic bounds of 10 , 100 MB), C i represents the required computational cycles for CPU processing (bounded between 1.0 , 5.0 Megacycles), and τ i enforces the strict delay deadline constraint (ranging from 0.1 , 0.5 s). At each execution step, the hybrid UCB-ACO framework observes this state vector X i directly from the task profile matrix. To calculate the physical limits and penalty parameters, the selection strategy uses these dynamic dimensions. In that way ensuring that the exploration–exploitation trajectory is tightly coupled with real-time application demands rather than static historical probabilities.
The UCB Selection Index serves as the operational criterion for balancing discovery and optimization. The index U i , j for mapping a task to a target server node is defined as follows:
U C B i , j t = μ ¯ i , j t + c ln t n i , j t
where μ ¯ i , j represents the empirical mean success (based on latency and energy metrics) accumulated by selecting node j up to the current iteration, n i , j t denotes the historical allocation count of this specific configuration, and c is a tunable exploration–exploitation parameter.
The mathematical formulation of the square-root uncertainty term in Equation (40) is conceptually rooted in Hoeffding’s Inequality [66], which historically provides probability bounds for tail distributions in MAB paradigms. The nature of real-world Edge–Cloud networks is non-i.i.d. (independent and identically distributed)—where queuing delays and stochastic channel states are inherently coupled—and highly dynamic. To accommodate this nature, this study adopts the UCB formulation not as a strict statistical bounding agent but as a heuristic learning guide. By utilizing the temporal horizon t and sample counts n i , j t , the index establishes an adaptive confidence interval that mathematically forces the meta-heuristic search to diversify when uncertainty is high, effectively avoiding the premature convergence traps common in standard pheromone-driven networks.
Pheromone level ( τ i , j ) represents the preference intensity of paths in the ACO algorithm:
τ i , j t .
Hybrid Decision Matrix (Learning-guided Selection) is a combination of learning information from UCB and pheromone ( τ ) from ACO:
C h o i c e i , j = arg max U i , j t τ i , j t .
Unlike standard RL algorithms that often rely on an external ϵ -greedy schedule to enforce random path discovery, the proposed framework intrinsically self-regulates the exploration–exploitation balance. By integrating the UCB exploration bonus directly into the deterministic arg   m a x decision rule, the meta-heuristic agents systematically evaluate under-visited server nodes without requiring any supplementary randomness parameters (such as ϵ ) or arbitrary decay constants. This architectural design ensures that the learning-guided search escapes from local optima with deterministic stability rather than relying on pure stochasticity.
Pheromone Evaporation Rule ensures that old and bad habits are forgotten [2]:
τ i , j t + 1 = 1 ρ τ i , j t .
Pheromone Update Rate (Reward Function) involves rewarding the paths that yield the best results:
Δ τ = Q / J b e s t .
Local Pheromone Update and Evaporation involves the successful (low-cost J ) paths having their pheromones increased, while old pathways are erased at a rate of ( ρ ) :
τ i , j t + 1 = 1 ρ τ i , j t + Δ τ i , j .
Ant Number Optimization dynamically determines the optimal number of ants based on the number of tasks, where N represents the total number of Edge/Fog servers available in the network and M denotes the total number of tasks generated by the IoT devices (e.g., M = 500 in the baseline scenario):
m = [ N M ] .
Following the explanation of fundamental equations, the general flowchart of the proposed algorithm is given in Figure 4. Then the detailed processing steps are provided in Algorithm 1.
In summary, the hybrid UCB-ACO design detailed in Section 4.1 addresses a significant gap in the literature by combining the global search capabilities of meta-heuristic approaches with the deterministic decision-making robustness of learning-guided heuristics. Unlike traditional methods, this hybrid framework is not limited to pheromone trails. By virtue of the UCB mechanism, it offers a learning-guided exploration framework that systematically adapts to system dynamics with each iteration. Thereby effectively avoiding local minima stagnation. The experimental setup and system variables utilized to validate the performance of this mathematically formulated architecture and to evaluate the theoretical findings against empirical data are presented in the following section. Section 4.2 provides a comprehensive description of the technical parameters and scenario details used in the simulation process, ensuring the repeatability and reliability of the analysis. Section 4.2 provides a description of the technical parameters and scenario details used in the simulation process, ensuring the repeatability and reliability of the analysis.
Algorithm 1: Hybrid UCB-ACO for multi-tier task offloading.
Input:  N users, T iterations, J tiers { L , E , F , C } , weights w k
Output: Optimal Offloading Mapping X
  • Initialize  τ i , j 0 = τ i n i t and n i , j 0 = 0 for all i N , j J
  • For  r u n = 1  to  n u m _ r u n s  do
  •    For  t = 1  to  T  do
  •      For each user i { 1 N }  do
  •        Calculate Exploration Bonus: B i , j t = ln t n i , j t
  •        Compute UCB Score: U i , j t = μ ¯ i , j t + c B i , j t  (where c = 2.0 )
  •        Select target tier j using decision rule: j * = arg max j J τ i , j t U i , j t
  •        Execute task offloading and record D e l a y i j and E n e r g y i j
  •      End For
  •      Evaluate Global Fitness: f t = w 1 T + w 2 E + Ψ  (where Ψ represents the inelastic constraint violation penalty)
  •      Update Pheromones: τ j t + 1 = 1 ρ τ j t + Δ τ j b e s t
  •    End For
  • End For
  • Return Global Best Mapping X

4.2. Simulation Parameters

Comprehensive analyses conducted in review studies in the literature have shown that, among the methods used to evaluate task-offloading problems, simulation environments rank first with 51% [8]. It is noted that MATLAB ranks first with 41.7% among the simulation frameworks used [10], and that MATLAB and CloudSim are the dominant simulation tools in Cloud environments [8]. Furthermore, another review study indicates that MATLAB ranks second among the most preferred application environments for implementation, with a 26% share [16].
The proposed UCB-ACO framework was developed and simulated in the MATLAB R2025b (MathWorks, Natick, MA, USA) [67] environment, utilizing the Global Optimization [68], Statistics and Machine Learning Toolbox [69] and Communications [70] toolboxes. To ensure computational consistency and to provide a reliable baseline for execution time metrics, all experiments were conducted on a high-performance computer equipped with an AMD Ryzen 7 7735HS processor (up to 4.75 GHz boost, 3.20 GHz base clock) and 32 GB of RAM, operating on a 64-bit Windows 11 environment. To guarantee the statistical robustness of the performance metrics, such as energy efficiency and task completion time, all results presented in the following sections reflect the average values obtained from 30 independent simulation runs.
The foundational ACO parameters (pheromone weight α = 1.0 , heuristic weight β = 1.0 , and evaporation rate ρ = 0.1 ) were maintained at their nominal literature defaults in the algorithmic configuration. This intentional restriction prevents biased empirical tuning. Therefore, ensures a mathematically fair baseline comparison.
It is important to validate the structural robustness of the proposed hybrid architecture. Therefore, a dedicated sensitivity analysis was conducted on its core learning-guided exploration driver, the UCB exploration constant ( c ). The algorithm’s adaptability in balancing exploration (global search) and exploitation (local refinement) was tested by systematically varying this parameter ( c 1.0 , 2.0 , 4.0 ). As outlined in Table 3, while variations in c inherently modify the instantaneous exploration ratio, the overall mean fitness values and convergence stability of the UCB-ACO framework remain highly robust. Specifically, the proposed configuration ( c = 2.0 ) yields the minimum mean fitness score ( 1.1480 × 10 6 ). When c is shifted to favor either extreme exploitation ( c = 1.0 ) or exploration ( c = 4.0 ), the mean fitness values marginally adjust to 1.1530 × 10 6 and 1.1514 × 10 6 , representing a negligible variance of only 0.43% and 0.29%, respectively. This finding provides mathematical confirmation that the superior performance of the proposed architecture is derived from its fundamental mathematical design rather than being over-fitted to a narrow hyperparameter configuration.
The hyperparameter configurations for the baseline algorithms (PSO, GWO, ACO, ABO, and NSGA-II) were intentionally established without empirical tuning to guarantee a fair, rigorous, and reproducible evaluation. The formulated Edge task-offloading problem operates in a strictly discrete combinatorial domain, requiring exact integer mappings to valid server IDs. Thus, applying standard continuous tuning optimization (e.g., fractional crossover/mutation rates, dynamically decaying inertia, or probabilistic scout phases) would generate mathematically invalid fractional assignments. Consequently, deterministic, parameter-less, or discrete-adapted variants of these baselines were implemented to maintain strict architectural boundaries. Moreover, for the baseline ACO, hyperparameters were maintained at their foundational literature defaults ( α = 1.0 , β = 1.0 , ρ = 0.1 ). This deliberate avoidance of empirical tuning functions as a rigorous ablation constraint. It guarantees that the accelerated convergence and superior performance of the proposed UCB-ACO framework stem exclusively from the architectural advantage of its Upper Confidence Bound mechanism, rather than from biased parameter manipulation. The population size and maximum iterations were standardized to 30 and 100, respectively, across all evaluated models to guarantee uniform computational complexity.
A standardized experimental baseline was established across all meta-heuristics to guarantee strict computational fairness and ensure the full reproducibility of the comparative evaluation. The primary structural parameters, including the population size ( N = 30 ), the maximum iteration count ( M a x I t e r = 100 ), and the number of independent statistical runs ( N r u n = 30 ), are kept identical for all benchmarked algorithms. This uniform configuration ensures that each optimization framework operates under the exact same computational budget and solution space exploration boundaries.
Table 4 provides a summary of the specific hyperparameter configurations assigned to each baseline algorithm. These values were carefully selected based on widely accepted empirical standards in the literature to prevent algorithms from being artificially disadvantaged due to suboptimal tunings. For instance, in PSO, the cognitive and social acceleration coefficients ( c 1 , c 2 ) are fixed at 2.0, while the inertia weight ( w ) is modeled as a linearly decreasing function from 0.9 to 0.4 to facilitate global exploration in early iterations and local exploitation in later stages. Similarly, the convergence factor ( a ) of the GWO undergoes a linear decay from 2.0 to 0. This mimics the natural narrowing of the search space during the hunting cycle of the pack. For the traditional ACO and the proposed UCB-ACO variant, the pheromone importance factor ( α = 1.0 ) and the heuristic visibility weight ( β = 2.0 ) are aligned to prioritize immediate resource availability metrics while maintaining historical path knowledge. This is balanced by a stable pheromone evaporation rate ( ρ = 0.1 ) to prevent premature convergence.
Crucially, for the proposed UCB-ACO framework, the exploration constant is rigorously maintained at c = 2.0 . This specific value is mathematically justified as it aligns the UCB learning-guided framework with the discrete path selection probabilities of the ACO pheromone matrix. By utilizing c = 2.0 , this uncertainty-aware formulation provides an optimal mathematical balance: it prevents the meta-heuristic agents from getting trapped in local optima (avoiding over-exploitation) while simultaneously suppressing chaotic, high-latency server assignments (avoiding over-exploration) under strict deadline constraints. This precise calibration allows the proposed framework to natively navigate the combinatorial complexities of the 100-task offloading scenario without requiring exhaustive parameter re-tuning across different network loads.

Computational Complexity Analysis

Following the validation of parameter robustness, it is essential to evaluate the theoretical computational efficiency of the proposed architecture before detailing the simulation setup. A fundamental design objective of the UCB-ACO framework is to integrate advanced learning-guided exploration capabilities without introducing prohibitive computational bottlenecks. To formally demonstrate this, an asymptotic time complexity analysis of all benchmarked algorithms was conducted using the universal Big-O notation. Let T denote the maximum number of iterations, N represent the population or swarm size, M be the total number of offloaded tasks, and K signify the number of available Edge–Cloud server tiers.
As summarized in Table 5, the proposed UCB-ACO maintains an asymptotic time complexity of O T N M K . Because the newly integrated UCB layer only relies on a lightweight historical vector selection strategy ( O M K ), it guarantees that the hybrid framework operates within the exact same computational boundaries as the baseline ACO. Furthermore, it strictly avoids the higher-order quadratic scaling (e.g., O T N 2 M ) inherent to sorting-based evolutionary algorithms such as NSGA-II.
The simulation parameters of the Algorithm and Network and Communication category are presented in Table 6. The simulation parameters of the Task and Edge Constraints category are presented in Table 7.
To provide a clear technological context for the simulation setup, it is important to emphasize that the network environment is explicitly modeled based on a high-density industrial Wireless Sensor Network (WSN) operating under the Zigbee (IEEE 802.15.4 [71]) protocol standard. The device-specific energy and network parameters outlined in Table 6 directly map to the real-world hardware specifications of high-power, extended-range industrial Zigbee modules (e.g., the XBee-PRO family). Specifically, the transmission power ( p t x = 0.3 W), reception power ( p r x = 0.1 W), and idle power ( p i d l e = 0.05 W) reflect the characteristic energy consumption profiles of these modules. Furthermore, the limited initial battery capacity ( E b u d g e t = 500   J ) emulates the strict energy bounds of autonomous sensor nodes. The 20 MHz channel bandwidth ( B ) represents the total spectrum capacity available at the Edge gateway operating within the shared 2.4 GHz ISM band, which manages the aggregate data traffic generated by the densely deployed Zigbee end devices.
To align the theoretical model with pragmatic deployment conditions, the communication layout is modeled based on the technical specifications of low-power industrial Wireless Sensor Networks (WSNs) governed by the Zigbee (IEEE 802.15.4) protocol standard. Rather than using simplistic low-power profiles, the node transceiver parameters are mapped to high-performance, extended-range industrial modules (e.g., the XBee-PRO series), where transmission power ( P t x ) and reception power ( P r x ) are parameterized as 0.3   W and 0.1   W , respectively.
Furthermore, within this architectural framework, two structural bounding conditions are enforced:
  • Functional Power Isolation ( E b u d g e t = 500   J ): The metric E b u d g e t does not denote the total chemical energy capacity of a bulk battery cell (e.g., standard alkaline batteries). Instead, it defines the strict operational energy quota allocated exclusively to the task offloading sub-system within the localized simulation epoch. This partition guarantees deep-discharge protection and system-level functional isolation. This ensures that the node preserves its remaining bulk energy for mandatory core routines such as operating system maintenance, local logging, and sensory sampling. It also physically models state-of-the-art green IoT architectures powered by micro-supercapacitors or thin-film energy-harvesting storage units.
  • System-Level Bandwidth Allocation ( B = 20   MHz ): Although individual nominal spacing for a single IEEE 802.15.4 carrier is constrained to narrower spectral bounds, the channel bandwidth is configured as B = 20   MHz to represent the total concurrent shared spectrum available across the 2.4 GHz ISM band. This system-level macro-modeling captures the multi-device aggregation capability of Tier-1 edge gateways when handling dense, overlapping task offloading requests simultaneously over shared wireless mediums.
It is critical to note that the stochastic boundaries defined for task sizes ( 10 , 100   MB ) and execution deadlines ( 0.1 ,   0.5   s) represent a heterogeneous and high-stress task generation pool intentionally designed to evaluate the limits of the optimization framework. Under the physical laws of the Shannon–Hartley theorem, given the radio parameters ( P t x = 0.3   W , noise floor σ 2 = 1 × 10 9   W at a baseline distance of 50   m ), the maximum achievable transmission rate is mathematically bounded at approximately 40.22   MB / s .
Consequently, while lower-bound tasks (e.g., 10   MB with a 0.5   s deadline requiring 0.248   s of transmission time) are perfectly feasible within real-world physics, extreme upper-bound combinations (e.g., 100   MB with a 0.5   s deadline) are mathematically and physically infeasible over the wireless link.
Rather than an oversight, this modeling approach serves as a rigorous stochastic stress test. In actual industrial environments, IoT devices routinely generate requests that cannot be physically accommodated under transient network drops or extreme data spikes. In the simulation bed, when such physically impossible task combinations occur, the framework strictly enforces physical boundaries: the task is subjected to a severe mathematical penalty function (via Equations (35) and (36)) and logged as an absolute failure in the success rate calculation engine. Therefore, the primary benchmark for the proposed UCB-ACO algorithm is its cognitive capacity to act as an intelligent admission controller—maximizing system utility by dynamically identifying feasible offloading schedules while penalizing and filtering out mathematically unviable task mappings.
The mathematical framework and simulation setup detailed so far have established the theoretical and technical foundation necessary to evaluate the performance of the proposed hybrid UCB-ACO algorithm. Section 5 presents and analyzes the results of comprehensive experiments conducted on this setup. The findings are evaluated considering critical performance indicators such as energy efficiency, latency, and total system cost, and the superiority of the developed hybrid approach over traditional and modern methods in the literature is discussed through empirical data.

5. Results

This section comprehensively analyzes the performance of the proposed UCB-ACO hybrid algorithm within the context of energy-efficient task offloading in hierarchical networks detailed in Section 4. The simulation results are analyzed by comparing the proposed approach against modern meta-heuristic algorithms, including PSO, ABO, ACO, GWO, and NSGA-II. The primary objective of these experiments is to validate the effectiveness of the UCB-driven learning mechanism in balancing the multi-objective trade-off between total energy consumption and network delay, as mathematically formulated in the previous sections.
The findings were evaluated to quantify the effects of the hybrid approach on energy consumption and latency. For systematic analysis, the experimental findings are organized into five distinct subsections. Initially, the convergence analysis explores the learning stability and optimization speed of the algorithms. This is followed by the scalability analysis, which assesses performance under varying task and device densities. The third subsection focuses on multi-objective trade-offs through Pareto front distribution to highlight the balance between energy and time. The robustness and stability of the results are then verified using boxplot distributions over 30 independent runs. Finally, the statistical significance of the proposed method’s superiority is established through Wilcoxon rank-sum tests and comparative performance metrics.
The performance of the proposed algorithm was extensively evaluated across a broad spectrum of task-offloading applications, ranging from high-density mission-critical systems such as autonomous vehicles and smart factories to moderate-density service scenarios like smart healthcare and home automation. The primary objective is the simultaneous minimization of total energy consumption and processing latency. To investigate the impact of varying application requirements and user priorities, three distinct evaluation scenarios were implemented: time-weighted, energy-weighted, and a balanced scenario where both objectives hold equal significance. To ensure statistical reliability and accuracy of the results obtained, 30 independent simulation runs were conducted for each scenario. All presented graphical results and performance metrics were generated based on the average values obtained from these 30 independent runs.

5.1. Convergence Characteristics and Learning Stability

In this subsection, the convergence behavior and learning stability of the evaluated algorithms were analyzed to demonstrate their optimization efficiency over successive iterations. The primary focus is to illustrate how the proposed UCB-ACO hybrid mechanism explores the search space and stabilizes its decision-making process compared to standard meta-heuristics. To provide a holistic view of the convergence process, four key metrics are tracked simultaneously: the minimization of the global fitness function, the maximization of the task success rate, and the step-by-step optimization of energy consumption and total network delay.
Engineering and network configuration are often a “minimization” problem. In such scenarios, the term “fitness” actually functions as a “cost function”. The problem aims to minimize energy consumption and latency. The goal is to reduce energy consumption and latency to the lowest possible level. As a result, as the graph moves downwards, it means the algorithm has found a “less costly” or “better” solution. “Best Fitness Value vs Iteration” is the most critical data showing how algorithms improve solution quality and convergence speeds over 100 iterations (Figure 5).
All algorithms in the graph, except PSO, exhibit a decreasing trend as expected. This demonstrates that the algorithms find lower-cost (better fitness) solutions with each iteration. However, there are significant differences between the algorithms in terms of convergence speed and final solution quality. The fact that UCB-ACO has both the lowest (best) fitness value on the graph and “flattens” very quickly is directly related to the learning mechanism in the design of the algorithm. In a standard ACO, ants only follow pheromone trails. However, the UCB term used in the proposed model gives the ants a “memory” and “curiosity”. UCB mathematically rewards previously untried or rarely tried server/task pairings. This allows the algorithm to avoid falling into local optima, a pitfall for algorithms like PSO or ABO, and efficiently scan the search space until it finds the global optimum. Therefore, the solution it finds is of higher quality than others. The “flat” trajectory in the graph indicates that the algorithm found the ideal solution very early and maintained it. Thanks to its reward mechanism, UCB-ACO quickly learns which offloading decision yields the lowest energy and latency. Once the best path is discovered, pheromone updates strengthen that route so much that other weaker options are eliminated. The “flatness” in the graph is actually proof that the algorithm has reached convergence and has stopped random searching, instead exploiting the perfect solution it found.
As illustrated in Figure 5, this hybrid synergy allows the proposed UCB-ACO model to bypass sub-optimal local traps and converge to the global optimal fitness value much faster than standard ACO, ABO, NSGA-II, PSO, and GWO algorithms. Since the global fitness function is strategically streamlined to prioritize the dual physical domains of latency and energy depletion, the convergence curve reflects a pure, unencumbered path toward multi-objective balance. The learning-guided exploration mechanism of UCB ensures that the pheromone landscape is not dominated by early local minima, driving the objective function score to its absolute lower bound within fewer mathematical iterations.
The instantaneous convergence—characterized by a flat trajectory from the first iteration—is fundamentally driven by UCB-ACO’s intra-iteration learning architecture. Unlike classical heuristics that update global knowledge only at the end of an iteration, UCB-ACO instantaneously updates its learning-guided reward matrices after each individual agent’s tour. Furthermore, by substituting traditional stochastic roulette-wheel selections with a deterministic Upper Confidence Bound maximization rule, the algorithm entirely bypasses the standard exploratory delay. This structural determinism ensures zero-delay operational readiness, which is critical for dynamic Fog network scheduling.
The PSO algorithm, which selects the highest cost in the graph, tracks the best position (pbest) found by the individuals in the swarm so far and the overall best position of the swarm (gbest). The graph showing PSO consistently remaining at a poor fitness value indicates that the algorithm is trapped in a local optimum. The diversity within the swarm has been lost, and all particles have clustered in the same region, unable to find an alternative path because the ability to expand the search space (exploration) was lost prematurely. Although the ABO and ACO algorithms attempt to move towards relatively better fitness values, their convergence speeds are low, they reach saturation early and get stuck at high fitness values. Although the NSGA II algorithm has a higher convergence speed than these two algorithms, it has not been able to find the low-cost options found by GWO.
GWO is the second most successful algorithm after UCB-ACO. GWO exhibits a much steeper descent than all other algorithms (PSO, ABO, ACO, and NSGA II), making it the algorithm that approaches the solution the fastest. This success of GWO proves that the search strategy built around the Alpha, Beta and Delta wolves is much more aggressive and effective at narrowing the solution space than the standard ACO or PSO.
The graph also shows how the UCB mechanism improves the system. Compared to the standard ACO algorithm, it enables 16% less costly selections, meaning better selections are made.
In the iteration vs. mean energy consumption graph, GWO is the algorithm that achieves the lowest energy consumption level after UCB-ACO (Figure 6). GWO’s success stems from its “encircling prey” mechanism. By continuously tracking the top three solutions (Alpha, Beta, Delta), GWO focuses the solution space on a very narrow area. It has determined which tasks need to be assigned to which low-power servers to minimize energy consumption faster and more accurately than its competitors.
At the top of the graph, the algorithm that remains at the highest point of energy consumption and shows almost no improvement is PSO. PSO is a velocity-based algorithm. In the scenario, with its complex combination of 50 tasks and six servers, PSO failed to properly adjust the particle velocity and got stuck at an unwanted point where the energy was highest (presumably because all tasks were randomly or incorrectly distributed to the wrong servers). It remained unable to make “fine-tuning” adjustments that would reduce energy costs. Because NSGA-II is a genetically based approach, it offers greater diversity than PSO; this has allowed it to achieve slightly better energy levels than PSO.
UCB-ACO has provided a much more stable performance and greater energy decline compared to standard ACO. Exploration and Memory: standard ACOs “blindly” dive into paths (servers) where pheromone levels are high. If a server initially manages its energy a little well, the ACO will stick there. However, UCB tells the ants that they have tried this server a lot and should also look at another server that they have tried less but that has potential. Thanks to this “smart curiosity,” the system has discovered server–task combinations that are far more energy-efficient and have reached a global optimum that standard ACO could not detect. Thus, 23% less energy is consumed compared to the standard ACO algorithm.
“Average Delay vs Iteration” is one of the most critical metrics representing the real-time performance of a system (Figure 7). GWO’s hierarchical structure (Alpha, Beta, and Delta leadership) is highly agile in finding server–task matches that minimize latency. While other algorithms focus on a single leader, GWO’s ability to blend information from three different leaders makes it easier to find the fastest path (the server with the lowest latency), especially in a complex scheduling problem with 50 tasks. A steady and smooth decline across the iteration indicates the resistance of the algorithm to local optima. For this reason, it is the algorithm that finds the fastest servers after the UCB-ACO algorithm.
The biggest weakness of the PSO is the problem of “early or premature convergence”. The particles quickly focus on an “acceptable solution” (suboptimal solution) they initially find (such as a high-latency server assignment), and the rest of the swarm collapses to that point. The fact that the line remains almost completely horizontal after the 10th iteration in the graph proves that the particles’ velocities have become zero and they no longer have the capacity to search for a faster (low-latency) solution. Similarly, ABO and ACO also get stuck on local optima and make high-latency server assignments.
UCB-ACO clearly has the lowest latency level. With the improvement made by UCB, UCB-ACO achieves a lower latency offset in each iteration compared to standard ACO. This shows that the system not only successfully completes tasks but also directs them to the fastest channels. Behind this is the exploration–exploitation balance. standard ACO overly relies on paths (servers) with high pheromone levels, which causes queuing delay on the server. Thanks to the smart exploration of the UCB mechanism, UCB-ACO distributes the load among servers in the most balanced and fastest way instead of piling all tasks onto a single “good” server and causing traffic congestion. As a result, task assignment to servers is 22.5% faster compared to the standard ACO algorithm.
As illustrated in Figure 6 and Figure 7, the convergence profiles of the evaluated algorithms reveal distinct behavioral patterns. Traditional meta-heuristic approaches, most notably GWO and PSO, initialize their search spaces randomly, which inherently results in high energy consumption and processing delays during the early phases of the simulation. These algorithms require numerous iterations to gradually explore the environment, learn the optimization landscape, and descend toward better solutions.
Conversely, the proposed UCB-ACO algorithm exhibits a remarkably flat convergence curve, maintaining its minimum energy baseline (~220 Joules) and optimal delay profile (~810 s) from the very first iteration. This near-instantaneous convergence capability is a direct consequence of the architectural advantage introduced by UCB mechanism. Instead of initiating a blind search, the UCB framework systematically exploits deterministic system knowledge—such as channel state information (CSI), server computing capacities, and task characteristics—to precisely guide the initial pheromone distribution of the ant colony. Consequently, UCB-ACO completely bypasses the prolonged and computationally expensive exploration phases that standard meta-heuristics depend on, immediately anchoring the search space within a near-optimal region. The downward trajectories observed in alternative algorithms like GWO merely demonstrate their progressive learning effort to eventually approach the optimized baseline that UCB-ACO establishes right at initialization.
The “Successful Tasks per Device vs. Iteration” graph is one of the most critical performance indicators showing how well algorithms complete tasks on the network while adhering to time constraints and server capacities (Figure 8). This graph is the most concrete indicator of the proposed algorithm’s adherence to real-world constraints, especially deadline values between 100 ms and 500 ms.
In this scenario, “success” refers strictly to whether tasks bypass the inelastic constraint violation penalty ( Ψ ) by being completed on time. The fluctuations in the graph represent the system’s “stability search” as algorithms try new possibilities in each iteration. Because the deadline values for tasks were chosen within a narrow range (100–500 ms), even a few milliseconds of delay in a single task can trigger the penalty and lower the success count by one integer. This sensitivity initially causes sawtooth-like fluctuations. However, since the data is averaged over 30 trials, the amplitude of these fluctuations decreases, and the system becomes stable.
The main reason ABO ranks last in this metric is the lack of “Search Flexibility.” The task-offloading problem features a highly non-convex success surface with many local minima and fluctuations. In ABO, agents “swarm” toward the same server, overloading the server’s capacity. In scenarios with strict deadline constraints, this bottleneck causes most tasks to fail. Once the swarm focuses on a penalized direction, they lack a deterministic exploration mechanism to exit that area and explore new, underutilized servers. Consequently, ABO’s success values remain persistently low and inefficient. In the success evaluation, the closest competitor to UCB-ACO is the GWO algorithm. The structural advantages of the UCB mechanism are most clearly seen here. Rather than functioning as a strict Multi-Armed Bandit regret minimizer, the learning-guided aspect of the proposed hybrid algorithm acts as a powerful exploration heuristic that directly reinforces the pheromone-based search. Untried routes with low pheromone levels are systematically evaluated through the UCB confidence bounds. This learning process quickly determines which server is more reliable for specific types of tasks (e.g., tasks with short deadlines) and rapidly eliminates selections that could lead to penalty violations. As a result, UCB-ACO achieves a relative improvement of approximately 110% (a 2.1× increase) compared to standard ACO.
Convergence analysis conducted to test the stability of the proposed hybrid UCB-ACO algorithm shows that it stabilizes quite quickly. While traditional ACO approaches risk getting stuck in local minima in large search spaces, the learning-guided exploration mechanism in the developed model transforms trajectory evaluation into a systematic learning opportunity. Thus, the algorithm efficiently completes the search process by exhibiting stable, deterministic convergence towards the global optimum, even under complex network scenarios.

5.2. Scalability Analysis Under Varying Network Loads

The practical applicability of an offloading algorithm is heavily dependent on its ability to maintain high performance under increasing computational demands and network density. This subsection evaluates the scalability of the proposed UCB-ACO method by systematically increasing the number of tasks within the hierarchical infrastructure. Although many algorithms perform adequately under low load conditions, their efficiency typically decreases significantly as the search space expands and resource competition intensifies. To demonstrate the robustness of the proposed approach, two critical scaling scenarios were examined: the effect of task volume on the global fitness value and variations in energy consumption under high task density.
Figure 9 is crucial in demonstrating that the proposed framework maintains its efficiency not only under low network loads but also as the system scales with an increasing number of tasks. The convergence of two structurally distinct meta-heuristic algorithms (the hierarchy-based GWO and the learning-guided UCB-ACO) at the exact same termination point indicates that the empirical global optimum for this specific problem configuration (e.g., a 100-task load) has been successfully verified. Despite approaching the optimization space from different algorithmic perspectives—one via social hierarchy-driven exploration and the other via learning-guided uncertainty evaluation—both frameworks successfully achieve the lowest energy consumption values, effectively reaching the physical operation bounds of the system.
When the number of tasks increases from 10 to 100, the search space grows exponentially. Algorithms like PSO and standard ACO “lose their way” in this complexity and expend high energy, whereas the fact that both UCB-ACO and GWO remain on the same low-energy trajectory demonstrates that these two algorithms are highly resilient to high-dimensional problems. Energy consumption usually depends on the total processing load and transmission power. Even if there are small differences between these two algorithms in the “Delay” graph, these differences may correspond to the same rounding or the same energy profile in terms of “Total Energy (Joule)”. In other words, although they differ in terms of timing, they may have achieved the same level of optimality in terms of the total “energy budget” consumed.
The algorithm, which is located just above UCB-ACO and GWO and exhibits the second lowest energy consumption, is NSGA-II. As the number of tasks increases from 10 to 100, the search space reaches an enormous size. The genetic-based structure of NSGA-II (crossover and mutation) better preserves “solution diversity” in this vast space compared to PSO or standard ACO. Especially, with the elitism mechanism successful task–server matches that keep energy consumption low are passed on to the next generation, making it more efficient than PSO and ACO for large-scale problems (in the range of 70–100 tasks).
PSO’s velocity-based update rule tends to get out of control as the number of tasks increases (dimensional problem). While it performs comparably with others at 10 tasks, when reaching 100 tasks, its energy consumption rises to around 54 Joules. This situation indicates that in high-dimensional optimization spaces, PSO’s “particles” tend to get stuck at random or inefficient points instead of reaching the global optimum. The gap between standard ACO and UCB-ACO widens dramatically as the number of tasks increases. The UCB term forces ants to try “servers that have not yet been explored or are underutilized.” This action naturally creates load balancing in the system. Since tasks are more homogenously distributed among servers, the total energy consumption increases much more steadily and with a lower gradient compared to standard ACO. While standard ACO consumes approximately 53 Joules at 100 tasks, UCB-ACO reduces this value to around 43 Joules, resulting in a net energy saving of about 19–20%.
The “Scalability: Tasks vs. Fitness Value” graph summarizes the overall cost (fitness) performance of the system in response to increasing workload. Since the fitness value is a weighted combination of delay and energy, this graph illustrates the algorithm’s level of intelligence when dealing with challenging scales (Figure 10). The fact that UCB-ACO and GWO have very close values in the graph indicates how parallel and robust the convergence abilities of these two algorithms are in high-dimensional problems.
The algorithm that is located just above the bottom (best) cluster (UCB-ACO and GWO) in the graph and exhibits consistent performance is NSGA-II. As a genetic-based algorithm, it is successful in maintaining “population diversity” and sustains its performance as the number of tasks increases. However, in high-dimensional problems, PSO or standard ACO may prematurely get stuck at a point, failing to achieve the desired minimization in fitness value.
The difference between standard ACO and UCB-ACO becomes clearer as the number of tasks increases. UCB-ACO has achieved an improvement of approximately 11%, which represents a significant increase in system cost as scales up.
The fact that the growth rate of UCB-ACO remains more linear in the graphs is mathematical proof of scalability. The results confirmed that the UCB-based exploration mechanism effectively manages increasing complexity and that the proposed method maintains its superiority even in large-scale and high-density network environments.
To properly evaluate the scalability of the proposed framework, it is imperative to align the simulation methodology with real-world telecommunication paradigms. In high-density IoT and Fog environments (e.g., Zigbee or local Edge cells), deploying a flat, centralized optimization layout for 1000 devices introduces severe physical constraints, such as catastrophic packet collisions, wireless channel interference, and localized protocol bottlenecks. To circumvent this, industrial IoT infrastructures leverage a decentralized, hierarchically clustered topology, dividing massive networks into localized atomic cells containing 10–20 devices governed by an edge gateway or cluster head. The proposed UCB-ACO framework is specifically designed to execute locally at these distributed gateways. So the baseline 10-device setup serves as the primary atomic building block of the infrastructure, ensuring architectural scalability by design.
However, to rigorously stress-test the algorithmic boundaries of UCB-ACO against competitive meta-heuristics under extreme, worst-case localized density, a massive scale scenario scaling from 10 up to 500 devices (deploying approximately 25,000 tasks) was systematically executed. This scenario significantly exceeds the real-time active scheduling limits of modern Edge/5G infrastructure, thereby serving as an extreme-stress boundary analysis.
Figure 11 illustrates the computational scalability of the algorithms by mapping the objective fitness value against the increasing network density. The results reveal a highly structured performance bifurcation under an extreme scale.
Under light-to-moderate loads (10 to 50 devices), all meta-heuristics exhibit relatively comparable fitness costs, successfully navigating the limited discrete search space. However, as the network density approaches 250 and 500 devices, the optimization complexity explodes exponentially, leading to severe constraint violations.
The proposed UCB-ACO framework strictly dominates the scalability trend, anchoring the lowest trajectory across all density levels. More importantly, the performance gap between UCB-ACO and the benchmark algorithms actively widens at the 500-device mark. By utilizing deterministic upper-bound utility matrix maximizations derived from the Multi-Armed Bandit model, UCB-ACO effectively filters the exponentially expanded discrete search space without falling into exploratory volatility.
GWO maintains an intermediate growth curve, demonstrating partial resilience due to its leadership-driven convergence vectors.
Conversely, a catastrophic performance degradation is observed in PSO, ABO, ACO, and NSGA-II. These algorithms form a tightly clustered upper bound of inefficiency, drifting to the highest fitness penalty quadrants. Under massive scale, traditional pheromone-driven roulette selections and standard evolutionary crossover operations suffer from identical sub-optimal constraint stagnation. This leads to extensive penalty accumulation in high-dimensional scheduling spaces.
Ultimately, these findings mathematically demonstrate that UCB-ACO is uniquely resilient to the scale-induced structural bottlenecks of massive IoT infrastructures.

5.3. Multi-Objective Optimization and Pareto Front Analysis

In hierarchical offloading systems, minimizing energy consumption and reducing network latency are often conflicting objectives; an improvement in one typically results in a degradation of the other. This subsection examines the efficiency of the proposed UCB-ACO algorithm in managing this fundamental trade-off through a Pareto front analysis. To construct continuous empirical frontiers rather than relying on sub-optimal single-point estimates, the weighting coefficients for latency ( w t ) and energy ( w e ) were systematically swept across a comprehensive spectrum ( w t 0.1 , 0.3 , 0.5 , 0.7 , 0.9 where w e = 1 w t ) over 30 independent execution runs. The definitive multi-objective goal is the simultaneous minimization of both cumulative total delay (X-axis) and cumulative total energy consumption (Y-axis). Because of this the algorithmic trajectory situated closest to the coordinates of the origin (bottom-left quadrant) represents the most mathematically efficient framework.
As explicitly illustrated in Figure 12, the multi-objective search space experiences a severe structural bifurcation, splitting the evaluated meta-heuristics into two distinct performance clusters. The proposed UCB-ACO framework, alongside GWO, successfully anchors an elite, low-cost cluster in the extreme lower-left region of the design space, demonstrating strict Pareto dominance over all continuous swarm variants and traditional evolutionary mechanisms.
Specifically, the continuous front generated by UCB-ACO tightly bounds the system cost within a highly optimized envelope of 800.2 to 814.1 s for delay and 217.1 to 220.1 Joules for energy. This steady state proves that the integration of the learning-guided upper-bound utility matrix allows the framework to intelligently filter out heavily loaded or high-latency Edge nodes. Even when the optimization priority shifts drastically toward latency ( w t = 0.9 ) or energy ( w e = 0.9 ), UCB-ACO dynamically stabilizes its structural cost, preventing exploratory volatility.
GWO establishes a closely trailing, highly competitive intermediate frontier immediately adjacent to UCB-ACO, bounding its multi-objective trajectory between 808.5 and 826.3 s of delay and 219.2 to 224.1 Joules of energy. This robust behavior stems from GWO’s strict hierarchical Alpha-to-Delta leadership vectors, which facilitate rapid directional convergence in discrete spaces. However, because GWO lacks a step-by-step sequential learning layer to verify sub-task deadline violations dynamically, it cannot breach the absolute lower bound established by the learning-guided mechanism of UCB-ACO.
Conversely, a massive computational bottleneck is observed for the remaining algorithms, which are forced into a deeply sub-optimal upper-right macro-cluster. NSGA-II occupies the lower boundary of this inefficient cluster, spanning 993.1 to 1010.2 s and 269.4 to 274.1 Joules. While NSGA-II utilizes non-dominated sorting to distribute its population, the high-dimensional, highly constrained nature of the 500-task discrete space triggers extensive penalty accumulation, rendering its evolutionary crossover operations less effective.
Trailing further into the inefficient zone, ABO settles within a narrow band of 1018.1 to 1026.3 s and 276.1 to 278.2 Joules, followed closely by the standard ACO front which drifts heavily between 1026.4 to 1050.2 s and 277.2 to 284.1 Joules. The failure of standard ACO highlights the structural vulnerability of purely probabilistic pheromone routing; without a deterministic upper-bound exploration modifier, the ants blindly over-saturate dominant Edge gateways, inducing severe wireless channel collisions and localized processing queues.
Finally, PSO exhibits the most catastrophic multi-objective degradation, drifting to the extreme upper-right boundary (1048.2 to 1070.1 s and 284.1 to 290.0 Joules). Due to its inherent susceptibility to premature convergence in discrete optimization tasks, PSO suffers from severe constraint stagnation, accumulating massive time and energy penalties.
Ultimately, this true Pareto front analysis mathematically validates that the learning-guided UCB-ACO framework successfully establishes the lowest operational bound for massive IoT networks, delivering solutions that are simultaneously faster and more energy-efficient than traditional state-of-the-art heuristics.
The graph shows the mean total delay of approximately 815 s represents the cumulative processing time for all 500 tasks. When this total is distributed at the individual task level, the average delay per task response time of ∼1.63 s—which comprehensively includes the transmission delay to the Cloud/Edge, the computational execution time, and the result downloading time—is highly realistic and well within the acceptable constraints of typical Edge/Cloud-assisted IoT applications (such as smart building monitoring, environmental sensing, or non-mission-critical image processing).

5.4. Statistical Robustness and Distribution Results

In meta-heuristic optimization, relying on a single simulation run can lead to misleading results due to the stochastic (random) nature of these algorithms. This subsection presents the statistical distribution of results from 30 independent simulation runs to establish scientific reliability and prove the consistency of the proposed UCB-ACO method. The stability of the algorithms is visualized through boxplot diagrams that provide a detailed overview of the performance range from best-case to worst-case scenarios. Specifically, the distribution of global fitness values, total energy consumption, and network latency were analyzed. Furthermore, device-based remaining energy boxplots were used to demonstrate load balancing capability and network longevity.
To measure the effectiveness of the proposed UCB-ACO algorithm and other compared meta-heuristic methods under different operational conditions, three basic scenarios were designed. These scenarios are designed based on predominantly the time ( w t ) and energy weighting ( w e ) coefficients representing the fundamental trade-off in the multi-objective optimization problem. These weights, which directly affect the total cost function (fitness function), determine the system’s priorities as follows:
  • Energy-Weighted Scenario: This scenario is designed for low-power IoT devices and sensor networks where battery life and sustainability are the highest priorities. The system’s primary goal is to minimize total energy consumption by sacrificing from some latency.
  • Time-Weighted Scenario: It simulates low-latency tolerance situations such as real-time data processing, autonomous systems, or mission-critical applications. Here, the system focuses on the quickest completion of tasks by assigning the energy cost to the second plan.
  • Balanced Scenario: It reflects general-purpose Mobile Edge Computing (MEC) quality of service (QoS) requirements where both energy efficiency and processing speed are equally important.
The “Algorithm vs. Total Energy Consumption (Energy-Weighted Scenario)” boxplot clearly reveals not only the average performance of the algorithms but also their robustness and error margins across 30 different trials (Figure 13). Since this is an energy-weighted scenario, these results are the most critical data regarding the system’s sustainability.
The algorithm with the second lowest energy consumption level after UCB-ACO in the graph is GWO. The median (midline) value of GWO is approximately 229   J . GWO is quite capable of finding server–task matches that minimize energy consumption thanks to its hierarchical leadership structure. Since the box size (interquartile range—IQR) is relatively narrow, it provides consistent results across trials. However, because it lacked the “smart exploration” bonus offered by UCB-ACO, it was unable to bring the energy output below the 220   J band.
The algorithm with the highest energy consumption, positioned at the top of the graph, is again PSO. PSO’s energy consumption ranges widely between 285   J and 302   J , with a median around 292   J . PSO rapidly loses “solution diversity” in high-dimensional optimization problems. In this energy-weighted scenario, particles likely locked early onto high-power-consuming but “functional” servers and failed to discover more efficient configurations. Additionally, the large box width of PSO indicates that it produces very different results in different trials, meaning its reliability is low.
The graph clearly visualizes the gap between standard ACO ( 284   J median) and UCB-ACO ( 221   J median). The UCB term directs ants to “less tried” servers. This ensures that tasks are evenly distributed across all servers. Thus, the UCB mechanism has provided approximately a 22% savings in energy consumption.
Another detail to note in boxplot is box heights. PSO and NSGA-II algorithms both consume high amounts of energy and have longer box lengths (and whiskers). This proves that the results vary greatly from trial to trial, indicating unstable performance. The boxes of the UCB-ACO and GWO algorithms are quite thin. This indicates that results are very close to each other in almost all 30 trials. In this case, the algorithms find the best solution not by “chance,” but consistently.
The boxplot representing the time-weighted scenario titled “Algorithm vs. Total Delay” tests the real-time performance capacity and reliability of the algorithms when the system operates with a “speed” priority (Figure 14). In this scenario, where delay must be minimized, the lower the position of the boxes in the graph, the higher the success.
Following UCB-ACO, the algorithm that presents the lowest delay values is GWO, with a median delay value of around 845 s. GWO’s triple leadership (Alpha, Beta, Delta) structure is very aggressive and effective in identifying the fastest (lowest delay) paths in the search space. Compared to other bio-inspired algorithms, it has been able to escape local minima faster and focus on low-delay regions.
The algorithm with the highest total delay cost, located at the top of the graph, is PSO, with a median delay value of around 1075 s and has a considerably wide box width. PSO has experienced premature convergence in complex search spaces where task deadlines are heavily constrained. Large variances (long whiskers) indicate that PSO is unstable in terms of timing.
The graph clearly illustrates the performance difference between standard ACO (~1050 s) and UCB-ACO (~815 s). Since ants focus only on pheromone tracking, even if a server initially appears fast, they pile up there. This piling causes queuing delay on the server and slows down the system. But the UCB term forces ants to try “yet undiscovered or lightly loaded” servers. In this time-weighted scenario, UCB distributes tasks among servers in the most balanced way, preventing any node from becoming a bottleneck. This “load balancing” ability dramatically reduces total delay. The UCB integration provided approximately a 22% reduction in delay compared to the standard one.
The “Algorithm vs. Remaining Energy Level” box plot representing the balanced scenario shows the energy reserves that devices have at the end of operation. In this graph, higher values (closer to 0) indicate less energy consumption and more remaining energy in the devices (Figure 15).
After UCB-ACO, the algorithm maintaining the highest energy level is GWO, with a median remaining energy level around 130   J . While focusing on both speed and energy in the balanced scenario, GWO’s leader-based exploitation capability managed to keep energy at reasonable levels. However, since it lacks the dynamic load balancing advantage provided by UCB, it remains one step behind the leader.
The algorithm that uses the least energy in devices, meaning it consumes the most, is PSO, and its median value has dropped to levels as low as 192   J . PSO rapidly loses the diversity of “particles” when faced with high-dimensional and constrained problems. In the complexity introduced by the balanced scenario, the PSO became locked into an inefficient local optimum early on and failed to optimize energy consumption. Furthermore, the width of the box and the length of its whiskers indicate that it has given inconsistent results in different trials.
The graph clearly shows the significant performance difference between standard ACO  ( 185   J ) and UCB-ACO  ( 122   J ) . Ants fall into the problem of “stagnation” (recession) when following the pheromone trail. So, when a group of servers is marked as “quick”, all the ants head there. This congestion quickly drains the energy of those servers. But thanks to the UCB concept, tasks are distributed homogeneously across all servers on the network. The UCB mechanism managed to maintain the energy level remaining in the devices 34% higher compared to a standard ant colony. Another point is that the UCB-ACO box is compact. This proves that the algorithm is not only energy-efficient but also consistently achieves both objectives (time and energy) of the balanced scenario across all 30 trials. UCB-ACO exhibits a narrower IQR and shorter whiskers, indicating superior stability and lower variance across all simulation runs.

5.5. Performance Summary and Hypothesis Testing

The final stage of the experimental evaluation includes a comprehensive performance summary and rigorous statistical validation of the observed improvements. To provide a unified view of the system’s effectiveness, a multi-criteria performance benchmark was conducted, integrating key metrics such as energy efficiency, time savings, success rate, and fitness. This multi-dimensional analysis highlights the global superiority of the proposed UCB-ACO algorithm across all operational objectives. To ensure that the obtained performance gains are not due to stochastic randomness, a non-parametric Wilcoxon rank-sum test was applied to both the penalty-included and penalty-free fitness values. By obtaining a p-value below the standard significance threshold (p < 0.05), this study mathematically demonstrated the significant advantage of the proposed method over existing meta-heuristic approaches and provided a solid scientific basis for its use in hierarchical task offloading environments.
The radar graph is a holistic performance map that shows whether an algorithm focuses on a single criterion in multi-objective optimization problems or how “compatible” it is with the overall system requirements. The six axes in this graph serve as a “stress test” that not only checks if the proposed method is “fast” or “energy-efficient” but also tests whether it operates reliably, stably, and error-free. The total energy and total delay axes represent the algorithm’s resource management capacity. As the distance to the center increases (approaching 1.0 in normalized values), it indicates that the algorithm both preserves battery life and successfully completes real-time tasks. The effectiveness and reliability axes, success rate and penalty-free fitness indicate how “healthy” the system’s decisions are under strict constraints (deadlines). The penalty-free axis measures the actual success the algorithm achieves without violating constraints (without penalties); success rate provides a net output of the task completion percentage. The standard deviation and total fitness axes indicate statistical robustness. While the fitness axis shows the algorithm’s mathematical optimality level, the standard deviation axis shows how consistent (stable) the algorithm is across different simulation trials. If an algorithm’s line is close to the center on this axis, its performance is random; if it is close to the outside, it means it delivers the same high success under all conditions. In the “Compatibility Profile” radar graph, the further the lines are from the center (closer to a value of 1.0), the higher the success rate in that criterion (Figure 16).
In the radar graph, the algorithm that follows closely behind UCB-ACO and covers the largest area is GWO. GWO shows a significant advantage over its competitors (PSO, ABO, ACO), especially in the axes of time efficiency and energy efficiency. Its search strategy based on the wolf hierarchy enables it to quickly identify efficient regions in the solution space. However, it failed to achieve the full coverage offered by UCB-ACO on the axes of reliability and success rate, remaining within the inner layer.
The algorithm closest to the center of the graph, thus covering the narrowest area, is PSO. PSO exhibits the lowest performance, particularly on the reliability and success rate axes. The premature convergence of particles to local optima prevents the algorithm from establishing a balance in multi-dimensional optimization. Its placement in the innermost ring on almost all axes in the graph proves that its overall compatibility profile is quite weak.
The fact that NSGA-II, a genetic-based algorithm, surpasses the leader-based GWO in Reliability and takes the second place can be explained by “Population Diversity”. GWO has a hierarchical structure (Alpha, Beta, Delta). If the leading wolves (especially Alpha) focus early on a wrong or inefficient direction (local optimum), the entire pack tends toward that direction. This causes performance fluctuations (high standard deviation) across different trials. In contrast, NSGA-II is a genetic algorithm. It has no leader; instead, it has a large set of solutions (population). But it has a “representative” at every corner of the solution space thanks to crossover and mutation mechanisms. Looking at all 30 trials, while NSGA-II’s chance of finding the “best” solution is not as high as UCB-ACO’s, its probability of producing the “worst” solution is lower than GWO’s. In other words, NSGA-II exhibits a trajectory in terms of “very stable average success”. Since the reliability axis measures precisely this stability (low variance), NSGA-II surpasses GWO.
The dramatic collapse in the success rate of algorithms is due to the system hitting the “Complexity Wall”. Especially when the number of tasks and constraints (deadlines) increase, the load balancing capacities of the algorithms are tested. PSO, ABO, and ACO experience “Search Stagnation” because the moment a server is marked as “fast” or “low-cost,” the entire swarm (ants, particles, or butterflies) rushes to that server. This causes excessive congestion on that server, queues lengthen, and tasks miss their deadlines. As soon as a task misses its deadline, the success rate drops to zero. Therefore, a mechanism is needed to prevent this “traffic congestion.”
The radar graph clearly reveals the massive performance difference between standard ACO and the proposed UCB-ACO as an “area expansion.” In standard ACO, ants experience “ant stagnation” because they focus only on pheromone intensity; this results in a low success rate and poor energy efficiency. The UCB term enables the algorithm not only to exploit known good paths but also to explore new paths with high uncertainty. This is the foundation of the full success seen on the cost optimization (Cost-Opt) and penalty minimization (Penalty-Min) axes in the radar graph. Thanks to UCB, the algorithm distributes the load so evenly across the network that both the success rate is maximized and energy and time costs are minimized. As a result, while standard ACO exhibits a profile in the approximately 0.6–0.7 range (medium level), UCB-ACO reaches the 1.0 limit (excellent compatibility) across all axes.
In conclusion, this graph is one of the most powerful visualizations for proving the “Pareto Stability” of algorithms. The expected shape that an ideal solution should form on this graph is a smooth hexagon approaching the outer boundary on all axes; this proves that the algorithm operates without compromising any performance criterion (perfectly balancing the trade-offs).
To measure the effectiveness of the proposed UCB-ACO algorithm and the compared meta-heuristic methods under different operational conditions, 30 population sizes and 100 iterations with 10 devices and 50 tasks per device were run for 30 independent runs in three designed basic scenarios. The simulation results include best (Min/Max), worst (Max/Min), mean (Average), and standard deviation statistics for fitness, energy, delay, and success rate, which are given in Table 8, Table 9 and Table 10.
It is critical to note the statistical relationship between the evaluated average total delay (e.g., Table 8c) and the task success metric (e.g., Table 8d). An initial observation might suggest a discrepancy, as the system achieves highly optimized mean latency while simultaneously registering rejected tasks. However, this is a direct result of the framework’s inelastic constraint violation penalty ( Ψ ). While the average delay reflects the mean response time of valid trajectories, the success metric strictly evaluates adherence to deadlines on a per-task basis. Consequently, transient network queuing delays may cause an individual task to exceed its rigid deadline, triggering the penalty and lowering the success count, even if the overall system average latency remains low. By isolating and rejecting invalid tracks, the framework ensures that the reported average delays are not artificially skewed by failed outliers.
To validate the superiority of the proposed UCB-ACO, all algorithms were subjected to 30 independent runs with and without penalty, and the results were analyzed using the Wilcoxon rank-sum test at a 5% significance level, presented in Table 11. Table 11 summarizes the Wilcoxon rank-sum test results, while the comprehensive data for each of the 30 independent runs are provided in Table A1 and Table A2 in Appendix B.
According to Wilcoxon test results, p < 0.05 (especially p ≈ 10−11) was obtained, and the performance difference between the proposed UCB-ACO algorithm and competing algorithms is statistically significant. This proves that the success of the proposed method in cost minimization and constraint management is not coincidental.
In conclusion, comprehensive simulations and statistical analyses reveal that the proposed UCB-ACO based optimization framework demonstrates a significant advantage over competing algorithms in all test scenarios (balanced, energy-weighted, and time- weighted). Compared to PSO, ABO, ACO, GWO, and NSGA-II algorithms, UCB-ACO consistently achieved the lowest (best) values in both total energy consumption and network latency. Its stable performance, particularly in success rate analyses, confirms the algorithm’s ability to adapt to dynamic network conditions. Moreover, the p-values obtained from the Wilcoxon signed-rank test, which are far below the critical threshold value (p ≈ 3.0199 × 10−11), prove that this observed performance increase is not coincidental and is statistically highly significant. All these findings indicate that the proposed model provides both an efficient and statistically reliable optimization solution for energy- and time-constrained task-offloading applications.

6. Discussion

In this study, an original optimization framework integrating UCB and ACO mechanisms was developed, successfully achieving an optimal balance between energy consumption and latency in task-offloading processes within energy-constrained Wireless Sensor Networks. Comprehensive analyses showed that the proposed method exhibits superior optimization performance in terms of both operational efficiency and statistical significance compared to competing meta-heuristic algorithms under dynamic network conditions.
The superior performance of UCB-ACO relies on its ability to manage the balance between exploration and exploitation within a statistical confidence interval framework. The biggest risk encountered in traditional ACO algorithms is the trapping quickly in local optima of algorithm because of influenced by pheromone intensity. However, the UCB mechanism adds an “uncertainty bonus” to the ant colony’s decision-making process, enabling the evaluation of task offloading paths that are less frequently visited but potentially more efficient. This dynamic adaptation capability ensures that, in WSN (Wireless Sensor Network) environments where network traffic and node energy levels change in real time, the algorithm continuously updates its offloading decisions to an optimal level based on changing conditions, rather than focusing solely on past good outcomes.
The findings obtained from the proposed model make a significant contribution to the advancement of multi-objective optimization in Edge/IoT layers compared to existing approaches in the literature. The results of the study show parallelism at the objective level with the CMOEA-based approaches presented by [24], which aim to optimize energy–delay trade-offs. However, the success of the UCB1 mechanism used by [36] has been transformed into a hybrid structure with ACO in the proposed study and adapted to the specific constraints of Zigbee-based sensor networks (low bandwidth and limited energy). In addition, this study developed an optimization framework that considers the priorities of different applications by defining application-based objective functions.
The fine balance between energy consumption and delay time has a critical impact on hardware lifetime and system reliability in real-world smart home applications. For sensor nodes using low-power communication protocols such as Zigbee, minimizing energy consumption extends device battery replacement intervals from months to years, significantly reducing maintenance costs and network outages. On the other hand, keeping latency under control during task-offloading processes ensures the simultaneous and uninterrupted operation of time-sensitive tasks in smart homes, such as security systems or fire alarms. These results demonstrate how task-offloading processes can become a more sustainable digital ecosystem not only for sensors but for all resource-constrained IoT devices.
The Pareto front analysis and numerical benchmarks clearly demonstrate the statistical and comparative superiority of UCB-ACO. It is crucial to interpret these gains within the practical context of physical Fog–IoT deployments. The improvements achieved by the proposed framework translate directly into critical real-world engineering benefits:
Firstly, the persistent minimization of task energy consumption directly extends the operational lifespan of battery-constrained IoT devices. In massive-scale deployments, such as smart agriculture or industrial sensor networks, even fractional energy savings per task accumulate into months of extended battery life. So this significantly reduces the logistical costs of hardware maintenance.
Secondly, the strict adherence to latency and energy constraints—where continuous algorithms like PSO and ABO fail—has profound practical implications. In mathematical terms, constraint violations result in high penalty scores; however, in real-world Edge networks, a violated deadline equates to a dropped task or a service disruption. For mission-critical applications, such as real-time healthcare monitoring or autonomous factory robotics, ensuring deterministic task completion within strict deadlines is an absolute physical necessity. UCB-ACO’s architectural precision ensures guaranteed quality of service (QoS) and robust network reliability. It proves that its algorithmic design is not only mathematically optimal but also practically indispensable for next-generation telecommunication infrastructures. Despite the high performance exhibited by the proposed UCB-ACO model, this study has some inherent limitations. The study assumes that MDs are either stationary or moving at very low speeds. With the number of MDs set to 10, the focus was primarily on adapting the proposed optimization framework to the task-offloading problem and conducting related analyses.
The scalability of the model in much larger-scale industrial networks (IIoT) has not yet been evaluated. These limitations present a significant research gap and roadmap for expanding the developed optimization framework to cover larger-scale networks and heterogeneous network structures that include mobile devices in the future.

7. Conclusions and Future Work

This study proposed a context-aware UCB-ACO algorithm that optimizes energy efficiency and latency in hierarchical Fog–Edge–Cloud networks. The findings obtained confirm the potential of the proposed learning-based approach for a sustainable and efficient communication infrastructure in dynamic network ecosystems.
Task offloading is an essential strategy for IoT nodes with limited processing capacity to preserve battery life by delegating energy-intensive tasks to Edge/Fog/Cloud. In such optimization problems, a multi-objective approach to energy consumption and processing time (energy-time) is essential to balance the “conflicting objectives” where an improvement in one parameter often comes at a cost in another. The main reason why traditional meta-heuristic methods alone are insufficient is that these algorithms tend to remain static against dynamic network traffic and instantaneously changing node energies, leading to them being trapped in local optima points. Adding a “learning” (UCB) layer to the system has given the algorithm the ability to learn from past experiences and test uncertain paths with a statistical confidence interval. Thanks to this learning mechanism, a dynamic balance between exploration and exploitation has been established; thus, both the convergence speed of the system has been increased and the adaptation capability to changing environmental conditions has been maximized.
Future studies are planned to investigate the performance of the UCB-ACO model under dynamic node mobility and signal fading. Furthermore, adapting this statistically significant achievement in the simulation environment to larger-scale heterogeneous networks will increase the versatility of its application. While the proposed UCB-ACO framework provides a lightweight and sample-efficient mechanism for resource-constrained Edge networks, the integration and comparative analysis with Deep Reinforcement Learning (DRL) methods represents a highly promising research trajectory. Future work will aim to benchmark the UCB-ACO architecture against advanced DRL models, such as Deep Q-Networks (DQN) and Deep Deterministic Policy Gradient (DDPG). This future study will thoroughly investigate the trade-offs between the rapid heuristic convergence of the proposed framework and the deep neural network training overheads inherent to DRL in highly dynamic offloading environments.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article material. Further inquiries can be directed to the corresponding author.

Acknowledgments

The author would like to acknowledge the support of Taner Akkan for proofreading the manuscript.

Conflicts of Interest

The author declares no conflicts of interest.

Appendix A. Physical Layer and Wireless Channel Model

To establish the physical validation baseline for the multi-tier resource allocation problem without complicating the core meta-heuristic model description, this appendix details the standard wireless channel characteristics. The achievable data transfer rate ( R i , j ) for offloading a task from local device i to tier node j is calculated using the Shannon–Hartley theorem [55,56]:
R i , j = B j l o g 2 1 + P t x h i , j σ 2 + I
where
  • B j represents the transmission bandwidth that varies dynamically depending on the selected target tier j ;
  • h i , j denotes the channel gain between the entities, modeled following a standard Rayleigh fading distribution to capture real-world environmental attenuation;
  • σ 2 defines the background additive white Gaussian noise (AWGN) power;
  • I represents the co-channel interference factor present in dense multi-user deployments.
Accordingly, the Signal-to-Interference-to-Noise Ratio (SINR), which dictates the definitive signal quality in real-world decentralized network environments [55,56], is mathematically characterized as
S I N R = S I + σ 2
where S represents the received signal power at the target destination node.

Appendix B. Statistical Validation

To validate the superiority of the proposed UCB-ACO, all algorithms were subjected to 30 independent runs, both with and without penalties, and all results, including “Mean”, “Standard Deviation”, and “Best” values for each run, are presented in Table A1 and Table A2.
Table A1. Wilcoxon test results—with penalty scenario. Wilcoxon test result (PSO vs. UCB-ACO): p = 3.019 × 10−11, h = 1 (statistically significant).
Table A1. Wilcoxon test results—with penalty scenario. Wilcoxon test result (PSO vs. UCB-ACO): p = 3.019 × 10−11, h = 1 (statistically significant).
Run No PSO ABO ACO GWO NSGA-II UCB-ACO
11.3734 × 1061.3425 × 1061.3535 × 1061.1788 × 1061.3323 × 1061.1558 × 106
21.3601 × 1061.3310 × 1061.3394 × 1061.1664 × 1061.3094 × 1061.1461 × 106
31.3668 × 1061.3342 × 1061.3383 × 1061.1629 × 1061.3170 × 1061.1422 × 106
41.3423 × 1061.3402 × 1061.3380 × 1061.1617 × 1061.3131 × 1061.1380 × 106
51.3583 × 1061.3310 × 1061.3329 × 1061.1634 × 1061.3183 × 1061.1355 × 106
61.3720 × 1061.3711 × 1061.3752 × 1061.2006 × 1061.3605 × 1061.1740 × 106
71.3889 × 1061.3592 × 1061.3580 × 1061.1912 × 1061.3368 × 1061.1615 × 106
81.3601 × 1061.3639 × 1061.3556 × 1061.1841 × 1061.3277 × 1061.1602 × 106
91.3396 × 1061.3197 × 1061.3264 × 1061.1503 × 1061.3057 × 1061.1378 × 106
101.3595 × 1061.3468 × 1061.3348 × 1061.1728 × 1061.3229 × 1061.1557 × 106
111.3668 × 1061.3507 × 1061.3476 × 1061.1686 × 1061.3406 × 1061.1546 × 106
121.3500 × 1061.3260 × 1061.3334 × 1061.1658 × 1061.3129 × 1061.1378 × 106
131.3244 × 1061.3122 × 1061.3097 × 1061.1369 × 1061.2994 × 1061.1217 × 106
141.3688 × 1061.3587 × 1061.3544 × 1061.1804 × 1061.3177 × 1061.1630 × 106
151.3680 × 1061.3568 × 1061.3637 × 1061.1788 × 1061.3460 × 1061.1672 × 106
161.3401 × 1061.3251 × 1061.3218 × 1061.1536 × 1061.3154 × 1061.1411 × 106
171.3663 × 1061.3556 × 1061.3517 × 1061.1759 × 1061.3428 × 1061.1612 × 106
181.3493 × 1061.3100 × 1061.3195 × 1061.1421 × 1061.3069 × 1061.1220 × 106
191.3021 × 1061.2828 × 1061.2785 × 1061.1133 × 1061.2595 × 1061.0887 × 106
201.3496 × 1061.3235 × 1061.3299 × 1061.1395 × 1061.3111 × 1061.1238 × 106
211.3909 × 1061.3539 × 1061.3636 × 1061.1889 × 1061.3402 × 1061.1719 × 106
221.3851 × 1061.3658 × 1061.3561 × 1061.1919 × 1061.3476 × 1061.1601 × 106
231.3677 × 1061.3457 × 1061.3463 × 1061.1653 × 1061.3193 × 1061.1452 × 106
241.3474 × 1061.3272 × 1061.3373 × 1061.1623 × 1061.3174 × 1061.1432 × 106
251.3620 × 1061.3390 × 1061.3353 × 1061.1571 × 1061.3174 × 1061.1452 × 106
261.3674 × 1061.3484 × 1061.3417 × 1061.1735 × 1061.3325 × 1061.1476 × 106
271.3691 × 1061.3478 × 1061.3486 × 1061.1676 × 1061.3290 × 1061.1494 × 106
281.3466 × 1061.3084 × 1061.3105 × 1061.1487 × 1061.3126 × 1061.1322 × 106
291.3707 × 1061.3548 × 1061.3419 × 1061.1634 × 1061.3341 × 1061.1495 × 106
301.3658 × 1061.3455 × 1061.3479 × 1061.1723 × 1061.3266 × 1061.1428 × 106
MEAN 1.3593 × 106 1.3392 × 106 1.3397 × 106 1.1659 × 106 1.3224 × 106 1.1458 × 106
STD DEV 1.8345 × 1042.0014 × 1041.9214 × 1041.8442 × 1041.8662 × 1041.7470 × 104
BEST 1.3021 × 1061.2828 × 1061.2785 × 1061.1133 × 1061.2595 × 106 1.0887 × 106
Table A2. Wilcoxon test results—penalty-free scenario. Wilcoxon test result (PSO vs. UCB-ACO): p = 3.0199 × 10−11, h = 1 (statistically significant).
Table A2. Wilcoxon test results—penalty-free scenario. Wilcoxon test result (PSO vs. UCB-ACO): p = 3.0199 × 10−11, h = 1 (statistically significant).
Run No PSO ABO ACO GWO NSGA-II UCB-ACO
1996.9389975.5487990.1734791.1781964.7050760.5960
2982.6983947.9322945.9737773.5182925.4727741.7333
3986.3728953.8377945.2668770.3836930.3306743.4539
4958.4001957.9446958.4804768.4844924.1303739.7597
5996.7396957.3826960.6533776.9590944.2143745.9909
6997.6046992.0178991.5790803.8769978.6657771.1500
71.0120 × 103980.1317984.2309792.1204954.2794760.0173
8996.22511.0000 × 103985.4532805.4885954.3796769.9884
9959.4940947.1648942.9705760.2149928.7951733.9675
10982.2004966.3568973.7182784.0629945.9761751.9862
11989.7349960.3385960.7945769.2094949.0321746.6212
12972.6890948.1390958.1756774.9525929.0108742.6604
13939.4437945.3489938.0361749.8244926.8317726.4743
14991.0429993.3129985.9692797.0695942.7986764.6077
15985.8967986.4633992.7889791.1412972.5439764.4931
16974.5326953.4771955.2973765.0864942.8128736.4340
17997.8711981.2950981.9287786.1683966.9225756.3635
18970.3263922.9963936.0356759.8556933.2423732.5258
19912.1148904.2576908.3866731.6888877.8232696.7215
20982.1370940.2471951.1952758.7193934.1692738.4820
211.0192 × 103979.4640996.2816801.3156964.5414770.6028
221.0135 × 103988.6135991.1109806.1801970.9320769.6812
23992.4489959.3218973.0105769.6325930.8447743.5213
24971.7393949.1161953.4417767.6727932.0349739.7558
25972.9982957.5228958.0376767.6765928.6391744.1675
26986.4249976.2263970.6125786.7616950.9954754.6415
27982.9131979.0629976.9576777.0983944.1524754.3637
28964.9506938.1744937.4755759.3774934.9630732.1487
29985.8634978.9233949.5561775.1551949.6239748.0906
30982.2271969.0658980.4937778.1713946.0938749.9805
MEAN 981.8938 962.9908 964.4695 776.6348 942.6319 747.7007
STD DEV 21.378821.815021.519617.434219.733915.8573
BEST 912.1148904.2576908.3866731.6888877.8232 696.7215

References

  1. Deb, K.; Pratap, A.; Agarwal, S.; Meyarivan, T. A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II. IEEE Trans. Evol. Comput. 2002, 6, 182–197. [Google Scholar] [CrossRef] [Scilit]
  2. Dorigo, M.; Maniezzo, V.; Colorni, A. Ant System: Optimization by a Colony of Cooperating Agents. IEEE Trans. Syst. Man. Cybern. B 1996, 26, 29–41. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of the ICNN’95—International Conference on Neural Networks; IEEE: Perth, WA, Australia, 1995; Volume 4, pp. 1942–1948. [Google Scholar]
  4. Karaboga, D.; Basturk, B. A Powerful and Efficient Algorithm for Numerical Function Optimization: Artificial Bee Colony (ABC) Algorithm. J. Glob. Optim. 2007, 39, 459–471. [Google Scholar] [CrossRef] [Scilit]
  5. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef] [Scilit]
  6. Guerrero, C.; Lera, I.; Juiz, C. Genetic-Based Optimization in Fog Computing: Current Trends and Research Opportunities. Swarm Evol. Comput. 2022, 72, 101094. [Google Scholar] [CrossRef] [Scilit]
  7. Khaledian, N.; Voelp, M.; Azizi, S.; Shirvani, M.H. AI-Based & Heuristic Workflow Scheduling in Cloud and Fog Computing: A Systematic Review. Clust. Comput. 2024, 27, 10265–10298. [Google Scholar] [CrossRef] [Scilit]
  8. Khan, Z.A.; Aziz, I.A.; Osman, N.A.B.; Ullah, I. A Review on Task Scheduling Techniques in Cloud and Fog Computing: Taxonomy, Tools, Open Issues, Challenges, and Future Directions. IEEE Access 2023, 11, 143417–143445. [Google Scholar] [CrossRef] [Scilit]
  9. Mahapatra, A.; Mishra, K.; Pradhan, R.; Majhi, S.K. Next Generation Task Offloading Techniques in Evolving Computing Paradigms: Comparative Analysis, Current Challenges, and Future Research Perspectives. Arch. Comput. Methods Eng. 2024, 31, 1405–1474. [Google Scholar] [CrossRef] [Scilit]
  10. Bachiega, J.; Costa, B.; Carvalho, L.R.; Rosa, M.J.F.; Araujo, A. Computational Resource Allocation in Fog Computing: A Comprehensive Survey. ACM Comput. Surv. 2023, 55, 1–31. [Google Scholar] [CrossRef] [Scilit]
  11. Taheri-abed, S.; Eftekhari Moghadam, A.M.; Rezvani, M.H. Machine Learning-Based Computation Offloading in Edge and Fog: A Systematic Review. Clust. Comput. 2023, 26, 3113–3144. [Google Scholar] [CrossRef] [Scilit]
  12. Gill, S.S.; Golec, M.; Hu, J.; Xu, M.; Du, J.; Wu, H.; Walia, G.K.; Murugesan, S.S.; Ali, B.; Kumar, M.; et al. Edge AI: A Taxonomy, Systematic Review and Future Directions. Clust. Comput. 2025, 28, 18. [Google Scholar] [CrossRef] [Scilit]
  13. Zabihi, Z.; Eftekhari Moghadam, A.M.; Rezvani, M.H. Reinforcement Learning Methods for Computation Offloading: A Systematic Review. ACM Comput. Surv. 2024, 56, 1–41. [Google Scholar] [CrossRef] [Scilit]
  14. Tabatabaee Malazi, H.; Chaudhry, S.R.; Kazmi, A.; Palade, A.; Cabrera, C.; White, G.; Clarke, S. Dynamic Service Placement in Multi-Access Edge Computing: A Systematic Literature Review. IEEE Access 2022, 10, 32639–32688. [Google Scholar] [CrossRef] [Scilit]
  15. Feng, L.; Hassan, S.; Alsamman, M. Exploring Trust Management in Fog Computing: A Comprehensive Review and Future Challenges in Task Offloading. Int. J. Adv. Comput. Sci. Appl. 2025, 16, 143. [Google Scholar] [CrossRef] [Scilit]
  16. Bali, M.S.; Gupta, K.; Koundal, D.; Zaguia, A.; Mahajan, S.; Pandit, A.K. Smart Architectural Framework for Symmetrical Data Offloading in IoT. Symmetry 2021, 13, 1889. [Google Scholar] [CrossRef] [Scilit]
  17. Akhlaqi, M.Y.; Mohd Hanapi, Z.B. Task Offloading Paradigm in Mobile Edge Computing-Current Issues, Adopted Approaches, and Future Directions. J. Netw. Comput. Appl. 2023, 212, 103568. [Google Scholar] [CrossRef] [Scilit]
  18. Khan, S.; Jiangbin, Z.; Ali, H. Soft Computing Approaches for Dynamic Multi-Objective Evaluation of Computational Offloading: A Literature Review. Clust. Comput. 2024, 27, 12459–12481. [Google Scholar] [CrossRef] [Scilit]
  19. Latip, R.; Aminu, J.; Hanafi, Z.M.; Kamarudin, S.; Gabi, D. Metaheuristic Task Offloading Approaches for Minimization of Energy Consumption on Edge Computing: A Systematic Review. Discov. Internet Things 2024, 4, 35. [Google Scholar] [CrossRef] [Scilit]
  20. Kanupriya; Chana, I.; Goyal, R.K. Computation Offloading Techniques in Edge Computing: A Systematic Review Based on Energy, QoS and Authentication. Concurr. Comput. 2024, 36, e8050. [Google Scholar] [CrossRef] [Scilit]
  21. Malti, A.N.; Hakem, M.; Benmammar, B. A New Hybrid Multi-Objective Optimization Algorithm for Task Scheduling in Cloud Systems. Clust. Comput. 2024, 27, 2525–2548. [Google Scholar] [CrossRef] [Scilit]
  22. Keshavarznejad, M.; Rezvani, M.H.; Adabi, S. Delay-Aware Optimization of Energy Consumption for Task Offloading in Fog Environments Using Metaheuristic Algorithms. Clust. Comput. 2021, 24, 1825–1853. [Google Scholar] [CrossRef] [Scilit]
  23. Ali, I.M.; Sallam, K.M.; Moustafa, N.; Chakraborty, R.; Ryan, M.; Choo, K.-K.R. An Automated Task Scheduling Model Using Non-Dominated Sorting Genetic Algorithm II for Fog-Cloud Systems. IEEE Trans. Cloud Comput. 2022, 10, 2294–2308. [Google Scholar] [CrossRef] [Scilit]
  24. Peng, G.; Wu, H.; Wu, H.; Wolter, K. Constrained Multiobjective Optimization for IoT-Enabled Computation Offloading in Collaborative Edge and Cloud Computing. IEEE Internet Things J. 2021, 8, 13723–13736. [Google Scholar] [CrossRef] [Scilit]
  25. Mukherjee, M.; Kumar, V.; Zhang, Q.; Mavromoustakis, C.X.; Matam, R. Optimal Pricing for Offloaded Hard- and Soft-Deadline Tasks in Edge Computing. IEEE Trans. Intell. Transp. Syst. 2022, 23, 9829–9839. [Google Scholar] [CrossRef] [Scilit]
  26. Du, J.; Zhao, L.; Feng, J.; Chu, X. Computation Offloading and Resource Allocation in Mixed Fog/Cloud Computing Systems With Min-Max Fairness Guarantee. IEEE Trans. Commun. 2018, 66, 1594–1608. [Google Scholar] [CrossRef] [Scilit]
  27. Pettorali, M.; Righetti, F.; Vallati, C.; Das, S.K.; Anastasi, G. J-NECORA: A Framework for Optimal Resource Allocation in Cloud–Edge–Things Continuum for Industrial Applications With Mobile Nodes. IEEE Internet Things J. 2025, 12, 16525–16542. [Google Scholar] [CrossRef] [Scilit]
  28. Saif, F.A.; Latip, R.; Hanapi, Z.M.; Alrshah, M.A.; Kamarudin, S. Workload Allocation Toward Energy Consumption-Delay Trade-Off in Cloud-Fog Computing Using Multi-Objective NPSO Algorithm. IEEE Access 2023, 11, 45393–45404. [Google Scholar] [CrossRef] [Scilit]
  29. Liu, X.; Wang, Z.; Zhang, C.; Cao, B.; Fridenfalk, M.; Kumar Singh, A. Multiobjective Resource Allocation for Cloud-Edge–Terminal Collaboration. IEEE Internet Things J. 2025, 12, 17024–17033. [Google Scholar] [CrossRef] [Scilit]
  30. Huang, L.; Feng, X.; Zhang, L.; Qian, L.; Wu, Y. Multi-Server Multi-User Multi-Task Computation Offloading for Mobile Edge Computing Networks. Sensors 2019, 19, 1446. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  31. Tank, B.; Gandhi, V. A Comparative Study on Cloud Computing, Edge Computing and Fog Computing. In Advances in Transdisciplinary Engineering; Ramachandra Murthy, K., Kumar, S., Kumar Singh, M., Eds.; IOS Press: Amsterdam, The Netherlands, 2023; ISBN 978-1-64368-360-7. [Google Scholar]
  32. Dolui, K.; Datta, S.K. Comparison of Edge Computing Implementations: Fog Computing, Cloudlet and Mobile Edge Computing. In Proceedings of the 2017 Global Internet of Things Summit (GIoTS); IEEE: Geneva, Switzerland, 2017; pp. 1–6. [Google Scholar]
  33. Thinh, T.Q.; Tang, J.; La, Q.D.; Quek, T.Q.S. Offloading in Mobile Edge Computing: Task Allocation and Computational Frequency Scaling. IEEE Trans. Commun. 2017, 65, 3571–3584. [Google Scholar] [CrossRef] [Scilit]
  34. Devanathan, B.; Selvaraj, P.; Suyampulingam, A. Nonlinear Model Predictive Control for Internet of Things Using Particle Swarm Optimization and Cloud Computing. IEEE Access 2025, 13, 55324–55331. [Google Scholar] [CrossRef] [Scilit]
  35. Al Reshan, M.S.; Syed, D.; Islam, N.; Shaikh, A.; Hamdi, M.; Elmagzoub, M.A.; Muhammad, G.; Hussain Talpur, K. A Fast Converging and Globally Optimized Approach for Load Balancing in Cloud Computing. IEEE Access 2023, 11, 11390–11404. [Google Scholar] [CrossRef] [Scilit]
  36. Yang, T.; Gao, S.; Li, J.; Qin, M.; Sun, X.; Zhang, R.; Wang, M.; Li, X. Multi-Armed Bandits Learning for Task Offloading in Maritime Edge Intelligence Networks. IEEE Trans. Veh. Technol. 2022, 71, 4212–4224. [Google Scholar] [CrossRef] [Scilit]
  37. Sun, G.; Wang, Y.; Sun, Z.; Wu, Q.; Kang, J.; Niyato, D.; Leung, V.C.M. Multi-Objective Optimization for Multi-UAV-Assisted Mobile Edge Computing. IEEE Trans. Mob. Comput. 2024, 23, 14803–14820. [Google Scholar] [CrossRef] [Scilit]
  38. Huang, P.-Q.; Wang, Y.; Wang, K.; Liu, Z.-Z. A Bilevel Optimization Approach for Joint Offloading Decision and Resource Allocation in Cooperative Mobile Edge Computing. IEEE Trans. Cybern. 2020, 50, 4228–4241. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  39. Nujhat, N.; Haque Shanta, F.; Sarker, S.; Roy, P.; Razzaque, M.A.; Mamun-Or-Rashid, M.; Hassan, M.M.; Fortino, G. Task Offloading Exploiting Grey Wolf Optimization in Collaborative Edge Computing. J. Cloud Comput. 2024, 13, 23. [Google Scholar] [CrossRef] [Scilit]
  40. Ma, S.; Song, S.; Yang, L.; Zhao, J.; Yang, F.; Zhai, L. Dependent Tasks Offloading Based on Particle Swarm Optimization Algorithm in Multi-Access Edge Computing. Appl. Soft Comput. 2021, 112, 107790. [Google Scholar] [CrossRef] [Scilit]
  41. Li, S.; Li, W.; Zheng, W.; Xia, Y.; Guo, K.; Peng, Q.; Li, X.; Ren, J. Multi-User Joint Task Offloading and Resource Allocation Based on Mobile Edge Computing in Mining Scenarios. Sci. Rep. 2025, 15, 16170. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  42. You, Q.; Tang, B. Efficient Task Offloading Using Particle Swarm Optimization Algorithm in Edge Computing for Industrial Internet of Things. J. Cloud Comput. 2021, 10, 41. [Google Scholar] [CrossRef] [Scilit]
  43. Bozorgchenani, A.; Mashhadi, F.; Tarchi, D.; Salinas Monroy, S.A. Multi-Objective Computation Sharing in Energy and Delay Constrained Mobile Edge Computing Environments. IEEE Trans. Mob. Comput. 2021, 20, 2992–3005. [Google Scholar] [CrossRef] [Scilit]
  44. Wakgra, F.G.; Kar, B.; Tadele, S.B.; Shen, S.-H.; Khan, A.U. Multi-Objective Offloading Optimization in MEC and Vehicular-Fog Systems: A Distributed-TD3 Approach. Trans. Intell. Transp. Syst. 2024, 25, 16897–16909. [Google Scholar] [CrossRef] [Scilit]
  45. Gong, Y.; Bian, K.; Hao, F.; Sun, Y.; Wu, Y. Dependent Tasks Offloading in Mobile Edge Computing: A Multi-Objective Evolutionary Optimization Strategy. Future Gener. Comput. Syst. 2023, 148, 314–325. [Google Scholar] [CrossRef] [Scilit]
  46. Zhang, H.; Liu, R.; Kaushik, A.; Gao, X. Satellite Edge Computing With Collaborative Computation Offloading: An Intelligent Deep Deterministic Policy Gradient Approach. IEEE Internet Things J. 2023, 10, 9092–9107. [Google Scholar] [CrossRef] [Scilit]
  47. Liu, L.; Chen, H.; Xu, Z. SPMOO: A Multi-Objective Offloading Algorithm for Dependent Tasks in IoT Cloud-Edge-End Collaboration. Information 2022, 13, 75. [Google Scholar] [CrossRef] [Scilit]
  48. Li, L.; Qiu, Q.; Xiao, Z.; Lin, Q.; Gu, J.; Ming, Z. A Two-Stage Hybrid Multi-Objective Optimization Evolutionary Algorithm for Computing Offloading in Sustainable Edge Computing. IEEE Trans. Consum. Electron. 2024, 70, 735–746. [Google Scholar] [CrossRef] [Scilit]
  49. Ullah, I.; Lim, H.-K.; Seok, Y.-J.; Han, Y.-H. Optimizing Task Offloading and Resource Allocation in Edge-Cloud Networks: A DRL Approach. J. Cloud Comput. 2023, 12, 112. [Google Scholar] [CrossRef] [Scilit]
  50. Long, S.; Zhang, Y.; Deng, Q.; Pei, T.; Ouyang, J.; Xia, Z. An Efficient Task Offloading Approach Based on Multi-Objective Evolutionary Algorithm in Cloud-Edge Collaborative Environment. IEEE Trans. Netw. Sci. Eng. 2023, 10, 645–657. [Google Scholar] [CrossRef] [Scilit]
  51. Van Huynh, D.; Nguyen, V.-D.; Chatzinotas, S.; Khosravirad, S.R.; Poor, H.V.; Duong, T.Q. Joint Communication and Computation Offloading for Ultra-Reliable and Low-Latency With Multi-Tier Computing. IEEE J. Sel. Areas Commun. 2023, 41, 521–537. [Google Scholar] [CrossRef] [Scilit]
  52. Gendreau, M.; Potvin, J.-Y. (Eds.) Handbook of Metaheuristics; International Series in Operations Research & Management Science; Springer International Publishing: Cham, Switzerland, 2019; Volume 272, ISBN 978-3-319-91085-7. [Google Scholar]
  53. Jakšić, Z.; Devi, S.; Jakšić, O.; Guha, K. A Comprehensive Review of Bio-Inspired Optimization Algorithms Including Applications in Microelectronics and Nanophotonics. Biomimetics 2023, 8, 278. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  54. Iorga, M.; Feldman, L.; Barton, R.; Martin, M.J.; Goren, N.; Mahmoudi, C. Fog Computing Conceptual Model; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2018; p. NIST SP 500-325. [Google Scholar]
  55. Goldsmith, A. Wireless Communications; Cambridge University Press: New York, NY, USA, 2005. [Google Scholar]
  56. Tse, D.; Viswanath, P. Fundamentals of Wireless Communication, 1st ed.; Cambridge University Press: New York, NY, USA, 2005; ISBN 978-0-521-84527-4. [Google Scholar]
  57. Chen, X.; Jiao, L.; Li, W.; Fu, X. Efficient Multi-User Computation Offloading for Mobile-Edge Cloud Computing. IEEE/ACM Trans. Netw. 2016, 24, 2795–2808. [Google Scholar] [CrossRef] [Scilit]
  58. Deng, S.; Xiang, Z.; Taheri, J.; Khoshkholghi, M.A.; Yin, J.; Zomaya, A.Y.; Dustdar, S. Optimal Application Deployment in Resource Constrained Distributed Edges. IEEE Trans. Mob. Comput. 2021, 20, 1907–1923. [Google Scholar] [CrossRef] [Scilit]
  59. Mao, Y.; You, C.; Zhang, J.; Huang, K.; Letaief, K.B. A Survey on Mobile Edge Computing: The Communication Perspective. IEEE Commun. Surv. Tutor. 2017, 19, 2322–2358. [Google Scholar] [CrossRef] [Scilit]
  60. Schulz, P.; Matthe, M.; Klessig, H.; Simsek, M.; Fettweis, G.; Ansari, J.; Ashraf, S.A.; Almeroth, B.; Voigt, J.; Riedel, I.; et al. Latency Critical IoT Applications in 5G: Perspective on the Design of Radio Interface and Network Architecture. IEEE Commun. Mag. 2017, 55, 70–78. [Google Scholar] [CrossRef] [Scilit]
  61. Di Martino, B.; Li, K.-C.; Yang, L.T.; Esposito, A. (Eds.) Internet of Everything; Internet of Things; Springer: Singapore, 2018; ISBN 978-981-10-5860-8. [Google Scholar]
  62. Mach, P.; Becvar, Z. Mobile Edge Computing: A Survey on Architecture and Computation Offloading. IEEE Commun. Surv. Tutor. 2017, 19, 1628–1656. [Google Scholar] [CrossRef] [Scilit]
  63. Messac, A. Optimization in Practice with MATLAB for Engineering Students and Professionals; Cambridge University Press: New York, NY, USA, 2015; ISBN 978-1-107-10918-6. [Google Scholar]
  64. Nocedal, J.; Wright, S.J. Numerical Optimization, 2nd ed.; Springer series in operations research and financial engineering; Springer: New York, NY, USA, 2006; ISBN 978-0-387-30303-1. [Google Scholar]
  65. Karaca, O.; Sokullu, R.; Prasad, N.R.; Prasad, R. Application Oriented Multi Criteria Optimization in WSNs Using on AHP. Wirel. Pers. Commun. 2012, 65, 689–712. [Google Scholar] [CrossRef] [Scilit]
  66. Auer, P.; Cesa-Bianchi, N.O.; Fischer, P. Finite-Time Analysis of the Multiarmed Bandit Problem. Mach. Learn. 2002, 47, 235–256. [Google Scholar] [CrossRef] [Scilit]
  67. MATLAB, Version 25.1.0 (R2025b); The MathWorks Inc.: Natick, MA, USA, 2025.
  68. Global Optimization Toolbox, Version 25.1.0 (R2025b); The MathWorks Inc.: Natick, MA, USA, 2025.
  69. Statistics and Machine Learning Toolbox, Version 25.1.0 (R2025b); The MathWorks Inc.: Natick, MA, USA, 2025.
  70. Communications Toolbox, Version 25.1.0 (R2025b); The MathWorks Inc.: Natick, MA, USA, 2025.
  71. IEEE Std 802.15.4; IEEE Standard for Low-Rate Wireless Networks. IEEE: New York, NY, USA, 2020.
Figure 1. Meta-heuristic hybridization method classification. Adapted from [53].
Figure 1. Meta-heuristic hybridization method classification. Adapted from [53].
Biomimetics 11 00509 g001
Figure 2. The taxonomy of RL algorithms. Adapted with permission from [13].
Figure 2. The taxonomy of RL algorithms. Adapted with permission from [13].
Biomimetics 11 00509 g002
Figure 3. The proposed hierarchical four-tier system model.
Figure 3. The proposed hierarchical four-tier system model.
Biomimetics 11 00509 g003
Figure 4. The flowchart of the proposed UCB-ACO algorithm, where X* denotes the optimal offloading mapping.
Figure 4. The flowchart of the proposed UCB-ACO algorithm, where X* denotes the optimal offloading mapping.
Biomimetics 11 00509 g004
Figure 5. Iteration vs. mean fitness.
Figure 5. Iteration vs. mean fitness.
Biomimetics 11 00509 g005
Figure 6. Iteration vs. mean energy consumption.
Figure 6. Iteration vs. mean energy consumption.
Biomimetics 11 00509 g006
Figure 7. Iteration vs. mean delay.
Figure 7. Iteration vs. mean delay.
Biomimetics 11 00509 g007
Figure 8. Iteration vs. successful tasks per device.
Figure 8. Iteration vs. successful tasks per device.
Biomimetics 11 00509 g008
Figure 9. Task vs. energy consumption.
Figure 9. Task vs. energy consumption.
Biomimetics 11 00509 g009
Figure 10. Task vs. fitness.
Figure 10. Task vs. fitness.
Biomimetics 11 00509 g010
Figure 11. Scalability on stress testing.
Figure 11. Scalability on stress testing.
Biomimetics 11 00509 g011
Figure 12. Pareto front—cumulative total delay for 500 tasks (seconds) vs. cumulative total energy for 500 tasks (Joules).
Figure 12. Pareto front—cumulative total delay for 500 tasks (seconds) vs. cumulative total energy for 500 tasks (Joules).
Biomimetics 11 00509 g012
Figure 13. Algorithm vs. total energy consumption in energy-weighted scenario.
Figure 13. Algorithm vs. total energy consumption in energy-weighted scenario.
Biomimetics 11 00509 g013
Figure 14. Algorithm vs. total delay in time-weighted scenario.
Figure 14. Algorithm vs. total delay in time-weighted scenario.
Biomimetics 11 00509 g014
Figure 15. Algorithm vs. remaining energy level in balanced scenario.
Figure 15. Algorithm vs. remaining energy level in balanced scenario.
Biomimetics 11 00509 g015
Figure 16. Compatibility profile radar graph.
Figure 16. Compatibility profile radar graph.
Biomimetics 11 00509 g016
Table 1. Comparison table of the proposed study and existing methodologies.
Table 1. Comparison table of the proposed study and existing methodologies.
StudyAuthor (Year)Multi-Objective (Energy + Delay + Cost)Algorithm(s)Architecture/EnvironmentSimilarity to Proposed Study
[24]Peng et al. (2021)Yes (Energy + Delay)CMOEAsEdge–CloudModerate (Shared objectives)
[27]Pettorali et al. (2025)No (Delay only)J-NECORACloud–Edge–ThingsLow (Industrial focus)
[36]Yang et al. (2022)Yes (Energy + Delay)UCB1 (Multi-Armed Bandit)Maritime EdgeHigh (Use of UCB mechanism)
[22]Keshavarznejad (2021)Yes (Energy + Delay)NSGA-II, Bees AlgorithmCloud–Fog–MDHigh (Similar architecture)
[28]Saif et al. (2023)Yes (Energy + Delay)NPSO (PSO), NSGA-IICloud–FogModerate (PSO & Apps)
[35]Al Reshan (2023)Yes (Time + Cost)IFA (Firefly Algorithm)Cloud-onlyLow (Lacks multi-tier depth, different algorithm)
[23]Ali et al. (2022)Yes (Delay + Cost)DNSGA-IIFog + CloudModerate-High (NSGA-II usage)
[29]Liu et al. (2025)Yes (Delay + Cost)DFGAN-LSMOEATerminal + Edge + CloudHigh (Architectural similarity)
[34]Devanathan (2025)Partially (Control-oriented)PSOEdge + CloudLow (Control oriented problem)
[30]Huang et al. (2019)Yes (Energy + Delay)DDLO (Deep Learning)WD + Edge + CloudModerate-High (Multi-tier/Multi-user)
[31]Tank & Gandhi (2023)No (Survey)Comparative ReviewCloud–Edge–FogLow (Conceptual/Review)
[32]Dolui & Datta (2017)No (Review)Taxonomy & Decision TreeCloudlet–Fog–MECLow (Decision framework)
[26]Du et al. (2018)Yes (Energy + Delay)Semidefinite RelaxationMixed Fog–CloudModerate (Optimization focus)
[33]Dinh et al. (2017)Yes (Energy + Delay)SDR-based OptimizationMD-to-Multiple EdgeModerate (Task allocation focus)
[25]Mukherjee (2022)Yes (Delay/Price)Wardrop EquilibriumEdge–CloudLow (Economic/Pricing)
[21]Malti et al. (2024)Yes (Time + Energy)Hybrid Meta-heuristicCloud-onlyModerate (Hybridization logic)
Table 2. The weights based on the application type.
Table 2. The weights based on the application type.
Application Profile w 1 (Latency) w 2 (Energy)Priority
Healthcare/Autonomous 0.80.2Time-Weighted
Surveillance/Smart City 0.50.5Balanced
Agriculture/Environment 0.10.9Energy-Weighted
Table 3. Sensitivity analysis of the UCB exploration constant ( c ).
Table 3. Sensitivity analysis of the UCB exploration constant ( c ).
UCB   Exploration   Constant   ( c ) Algorithmic
Behavior
Impact on Mean FitnessConvergence Stability
c = 1.0 High Exploitation 1.1530 × 10 6
+ 0.43 %   variance
Rapid initial convergence, prone to local optima
c = 2.0
(Proposed)
Balanced 1.1480 × 10 6
Optimal   baseline
Optimal balance, strictly stable convergence
c = 4.0 High Exploration 1.1514 × 10 6
+ 0.29 %   variance
Slower convergence, broader search space coverage
Table 4. Hyperparameter settings of the algorithms.
Table 4. Hyperparameter settings of the algorithms.
AlgorithmHyperparameters
Common SettingsPopulation Size = 30; maximum Iterations = 100; runs = 30
UCB-ACO Pheromone   evaporation   rate   ( ρ ) = 0.1 ;   UCB   exploration   constant   ( c ) = 2.0
PSO Inertia   weight   ( w ) = 0.5 ;   c 1 = 1.5 ,
GWO Control   parameter   a linearly decreases from 2 to 0
NSGA-IICrossover rate = 0; mutation rate = 1/N; selection = truncation (top 50%)
Discrete ABOModification = 1 dimension/iteration; acceptance = greedy; limit parameter = N/A
ACO α = 1 ; β = 1 ;   evaporation = 0.1 ;   c = 2
Table 5. Theoretical computational complexity profiles of benchmarked algorithms.
Table 5. Theoretical computational complexity profiles of benchmarked algorithms.
AlgorithmComputational Complexity (Big-O Notation)Key Drivers/Execution Bottlenecks
PSO O T N M Velocity and position updates for each particle per task.
GWO O T N M Hunting   coefficient   updates   and   distance   calculations   from   α , β , δ wolves.
ABO O T N M Neighborhood search and nectar source evaluations via the fitness function.
ACO O T N M K Pheromone   tracking   and   probabilistic   path   selection   across   K tiers.
NSGA-II O T N 2 M Dominance   sorting   and   crowding   distance   calculations   ( N 2 scaling).
UCB-ACO (Proposed) O T N M K Lightweight   UCB   calculation   ( O M K ) combined with standard ACO path construction.
Table 6. The simulation parameters of Algorithm and Network categories (network, device, and Zigbee protocol configurations).
Table 6. The simulation parameters of Algorithm and Network categories (network, device, and Zigbee protocol configurations).
CategoryParameterValueCategoryParameterValue
Algorithm
Parameters
Maximum Iterations100 Network and
Communication parameters
Total shared ISM bandwidth (B)20 MHz
Population/Swarm Size30Transmission Power (Ptx)0.3 W
Number of Independent Runs30Reception Power (Prx)0.1 W
Baseline Penalty ( α )1000Mobile Idle Power (Pidle)0.05 W
Penalty Factor ( β )500Background Noise (σ2)10−9
Table 7. The simulation parameters of Task and Edge Constraints category.
Table 7. The simulation parameters of Task and Edge Constraints category.
CategoryParameterValue
Task and Edge
Constraints parameters
Number of Devices10
Tasks per Device50
Number of Fog Servers3
Number of Edge Servers2
Number of Cloud Servers1
Task Size RangeUniformly distributed between [10, 100] MB
Required CPU CyclesUniformly distributed between [1.0, 5.0] Mega cycles
Task Deadline ThresholdUniformly distributed between [0.1, 0.5] s
Task Overhead Time0.005 s
Allocated Offloading Energy Budget 500 Joules
Table 8. (a) Statistical performance summary (fitness value metrics) in energy-weighted scenario. (b) Statistical performance summary (total energy (Joules)) in energy-weighted scenario. (c) Statistical performance summary (total delay (seconds)) in energy-weighted scenario. (d) Statistical performance summary (successful tasks per device) in energy-weighted scenario.
Table 8. (a) Statistical performance summary (fitness value metrics) in energy-weighted scenario. (b) Statistical performance summary (total energy (Joules)) in energy-weighted scenario. (c) Statistical performance summary (total delay (seconds)) in energy-weighted scenario. (d) Statistical performance summary (successful tasks per device) in energy-weighted scenario.
Algorithm(s)Best (Min)Worst (Max)MeanStd. Dev.
(a)
PSO1,332,849.85241,400,711.23841,365,914.948314,886.5108
ABO1,312,069.00841,372,170.85911,347,457.575814,048.0968
ACO1,313,777.61951,376,535.07841,344,931.680214,819.3849
GWO1,141,343.00341,195,523.89101,171,431.899812,682.7540
NSGA-II1,298,762.08331,358,395.35081,330,627.028214,413.7625
UCB-ACO1,127,771.66631,178,487.00611,151,784.184712,729.9638
(b)
PSO279.3213302.6806289.05635.7942
ABO274.3499293.2167284.10934.7783
ACO272.4518292.0488283.57174.8526
GWO220.7608237.4790228.78713.8016
NSGA-II268.5632289.1706277.87744.9411
UCB-ACO212.7131228.1925220.12713.6132
(c)
PSO1031.46531117.38471066.783421.2369
ABO1012.77631081.46071048.320517.5135
ACO1004.85991077.03541046.272517.8112
GWO814.1911875.0682843.393313.8659
NSGA-II990.43961066.33651024.740318.1031
UCB-ACO784.9930841.5220812.073213.1943
(d)
PSO1.80000.00000.71330.4569
ABO1.60000.00000.64000.4182
ACO1.40000.00000.64000.3616
GWO3.00000.20001.28000.6359
NSGA-II2.00000.00000.75330.4508
UCB-ACO3.00000.40001.34670.6474
Bold values indicate the results of the proposed UCB-ACO framework.
Table 9. (a) Statistical performance summary (fitness value metrics) in time-weighted scenario. (b) Statistical performance summary (total energy (Joules)) in time-weighted scenario. (c) Statistical performance summary (total delay (seconds)) in time-weighted scenario. (d) Statistical performance summary (successful tasks per device) in time-weighted scenario.
Table 9. (a) Statistical performance summary (fitness value metrics) in time-weighted scenario. (b) Statistical performance summary (total energy (Joules)) in time-weighted scenario. (c) Statistical performance summary (total delay (seconds)) in time-weighted scenario. (d) Statistical performance summary (successful tasks per device) in time-weighted scenario.
Algorithm(s)Best (Min)Worst (Max)MeanStd. Dev.
(a)
PSO1,324,808.241,408,660.411,361,631.3819,512.20
ABO1,312,391.181,381,801.271,337,782.1618,751.43
ACO1,307,828.371,378,505.411,340,126.3817,520.34
GWO1,138,989.921,206,916.111,165,892.2116,948.61
NSGA-II1,297,257.091,362,352.281,323,695.6519,315.02
UCB-ACO1,121,152.911,186,968.191,147,210.4016,378.69
(b)
PSO272.5593307.2315287.74327.7311
ABO270.6022294.6465280.88026.1585
ACO270.4675298.8739281.95896.7912
GWO218.3311238.4936226.94455.2436
NSGA-II264.7764288.8577275.24546.4873
UCB-ACO210.1263228.5350218.39264.7490
(c)
PSO1006.35381134.18451062.225728.5343
ABO998.47891087.00431036.349522.6321
ACO999.04861102.17381040.328924.8132
GWO805.1456878.7116836.655019.1188
NSGA-II976.84441065.36031015.093023.7476
UCB-ACO775.5504842.7607805.743117.3425
(d)
PSO1.20000.20000.67330.3216
ABO1.20000.20000.65330.3148
ACO1.60000.00000.73330.3907
GWO2.40000.60001.27330.4996
NSGA-II1.40000.20000.75330.3137
UCB-ACO2.40000.60001.32670.4884
Bold values indicate the results of the proposed UCB-ACO framework.
Table 10. (a) Statistical performance summary (fitness value metrics) in balanced scenario. (b) Statistical performance summary (total energy (Joules)) in balanced scenario. (c) Statistical performance summary (total delay (seconds)) in balanced scenario. (d) Statistical performance summary (successful tasks per device) in balanced scenario.
Table 10. (a) Statistical performance summary (fitness value metrics) in balanced scenario. (b) Statistical performance summary (total energy (Joules)) in balanced scenario. (c) Statistical performance summary (total delay (seconds)) in balanced scenario. (d) Statistical performance summary (successful tasks per device) in balanced scenario.
Algorithm(s)Best (Min)Worst (Max)MeanStd. Dev.
(a)
PSO1,322,572.12881,400,150.74401,360,796.808619,341.7152
ABO1,299,908.62071,376,581.36011,339,642.467517,696.3729
ACO1,297,845.03811,380,677.29401,341,608.931119,521.2277
GWO1,131,876.34761,194,990.09151,167,027.271518,167.7213
NSGA-II1,288,901.09331,358,503.20091,324,609.043417,913.5742
UCB-ACO1,110,352.47461,183,615.99601,148,343.474317,863.5462
(b)
PSO277.8075299.9399288.08416.2873
ABO270.5041293.0884281.67085.7685
ACO269.5528298.1982282.25046.0259
GWO218.9433239.7172227.41145.0293
NSGA-II266.0681290.6273276.49865.5602
UCB-ACO210.4360230.6609218.87694.6177
(c)
PSO1025.66151106.36151063.405822.9457
ABO998.15081081.01901039.336521.1672
ACO994.81161099.84671041.278522.0816
GWO807.5050883.3571838.369518.3623
NSGA-II981.38291071.32431019.721320.2506
UCB-ACO776.7175850.5650807.514316.8627
(d)
PSO1.40000.00000.63330.3407
ABO1.20000.20000.70000.2665
ACO1.60000.20000.70000.3184
GWO2.00000.40001.34670.4232
NSGA-II1.60000.20000.78670.3928
UCB-ACO2.40000.40001.38000.4619
Bold values indicate the results of the proposed UCB-ACO framework.
Table 11. Wilcoxon test results.
Table 11. Wilcoxon test results.
Algorithm(s)p-Value
(With Penalty)
Significance
(With Penalty)
p-Value
(Penalty-Free)
Significance
(Penalty-Free)
PSO3.0199 × 10−11 * Significant 3.0199 × 10−11 * Significant
ABO3.0199 × 10−11 * Significant 3.0199 × 10−11 * Significant
ACO3.0199 × 10−11 * Significant 3.0199 × 10−11 * Significant
GWO8.6634 × 10−5 Significant 7.6950 × 10−8 Significant
NSGA-II3.0199 × 10−11 * Significant 3.0199 × 10−11 * Significant
* Note: The identical minimum p-value of 3.0199 × 10 11 across multiple algorithms represents the exact asymptotic output of the Wilcoxon rank-sum test indicating complete data separation ( U = 0 , zero overlap) between the 30 runs.
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.

Share and Cite

MDPI and ACS Style

Akkan, L.Ö. A Learning-Guided Meta-Heuristic Approach for Task Offloading in Four-Tier IoT Networks: A Hybrid UCB-ACO Algorithm. Biomimetics 2026, 11, 509. https://doi.org/10.3390/biomimetics11070509

AMA Style

Akkan LÖ. A Learning-Guided Meta-Heuristic Approach for Task Offloading in Four-Tier IoT Networks: A Hybrid UCB-ACO Algorithm. Biomimetics. 2026; 11(7):509. https://doi.org/10.3390/biomimetics11070509

Chicago/Turabian Style

Akkan, Lütfiye Özlem. 2026. "A Learning-Guided Meta-Heuristic Approach for Task Offloading in Four-Tier IoT Networks: A Hybrid UCB-ACO Algorithm" Biomimetics 11, no. 7: 509. https://doi.org/10.3390/biomimetics11070509

APA Style

Akkan, L. Ö. (2026). A Learning-Guided Meta-Heuristic Approach for Task Offloading in Four-Tier IoT Networks: A Hybrid UCB-ACO Algorithm. Biomimetics, 11(7), 509. https://doi.org/10.3390/biomimetics11070509

Article Metrics

Back to TopTop