Skip to Content
SensorsSensors
  • Article
  • Open Access

21 November 2025

23 Pages

Improving Data Aggregation in IoT Sensor Networks Using Self-Organizing Maps and Firefly Optimization Algorithm

and
Department of Information Technology, Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah 21589, Saudi Arabia
*
Author to whom correspondence should be addressed.

Abstract

Internet of Things (IoT) sensor networks comprise diminutive sensor units primarily designed for monitoring phenomena within a designated area. However, reaching the complete potential of this kind of network is extremely difficult due to several challenges, including the fact that the data transmitted by the sensor nodes contains a large amount of duplicates. Data aggregation can be employed to address this issue in routing packets from nodes that send data to the base station (BS). In this study, a novel, hybrid data aggregation framework for IoT sensor networks is proposed by integrating Self-Organizing Maps (SOMs) with the Firefly Optimization Algorithm (FOA). The core motivation for this integration is to address persistent challenges in IoT sensor networks, chiefly energy efficiency, network longevity, and the reliability of data transmission. By combining the adaptive, unsupervised clustering capabilities of SOMs with the robust, multi-objective optimization properties of the FOA, the method aims to achieve more intelligent, adaptive, and practical solutions for real-world IoT systems. This work presents an innovative framework that synergistically leverages the strengths of FOA and SOM, offering a new methodology that addresses key challenges in scalable and energy-efficient IoT sensor network clustering. The suggested algorithm’s validity has been verified using an experimental analysis performed in MATLAB. Experimental results show the proposed method extends network lifetime by 15% and reduces energy consumption by 10% compared to FOA, SOM, and LEACH benchmarks. A notable classification rate was attained after implementing and testing the proposed method using the Intel Berkeley Research Lab dataset.

1. Introduction

The rapid expansion of IoT deployments has fundamentally changed how data is gathered, processed, and sent across distributed sensor networks. Contemporary IoT applications, including smart cities and industrial monitoring systems, produce extensive volumes of diverse data, necessitating effective aggregation methods to guarantee optimal network performance, energy efficiency, and data integrity. Data aggregation has become an essential process that entails systematic collection, processing, integration, and transmission of data from various distributed sensor nodes to diminish redundancy, reduce energy consumption, and improve the overall network performance while preserving data integrity and quality of service standards.
The importance of efficient data aggregation in IoT sensor networks is particularly clear when acknowledging the inherent constraints of conventional Wireless Sensor Networks (WSNs), such as limited battery life, restricted computational resources, bandwidth constraints, and the necessity to sustain network connectivity despite node failures and environmental fluctuations. Recent studies indicate that cluster-based data aggregation methods can markedly improve the network efficiency and lifetime. Notably, ref. [1] introduced a cluster-based data aggregation framework tailored for IoT sensor networks by employing the FOA. This approach demonstrated significant enhancements in energy efficiency and network performance relative to traditional clustering techniques. This study laid the groundwork for bio-inspired optimization methods in IoT data aggregation by illustrating how the natural luminescent activity of fireflies may be converted into efficient clustering and routing strategies.
Expanding the use of firefly optimization to tree-based energy-efficient data aggregation techniques in IoT settings introduced a hierarchical strategy that enhances both data-routing pathways and energy consumption patterns. The tree-based approach [2] tackles essential issues with data transmission latency and energy distribution across network nodes, showcasing notable enhancements in network longevity and data delivery efficacy. This study emphasized the adaptability of firefly optimization in managing various network topologies and aggregation procedures, facilitating the development of more advanced optimization methods in IoT sensor networks. The researchers used adaptive brightness parameters that are altered dynamically according to node energy levels and data traffic patterns, leading to more equitable energy consumption throughout the network hierarchy [2].
The substantial validation of firefly-based optimization in WSNs has been demonstrated through various research initiatives. Mosavvar and Ghaffari [3] performed an extensive study on data aggregation with the Firefly Algorithm (FA) in conventional WSNs, defining foundational principles and performance metrics that have impacted later research in IoT applications. In the suggested methodology, sensor nodes are separated into multiple regions by clustering. Within each cluster, nodes exhibit periodic activity and inactivity. Factors such as energy and distance are considered in the selection of active nodes. Consequently, nodes with greater residual energy and increased distance will be identified as active nodes [3].
In addition to the optimization capabilities of the FOA, SOMs have emerged as potent unsupervised learning instruments for data grouping and pattern detection in sensor networks [4,5]. SOMs present distinct benefits in data aggregation contexts by employing adaptive clustering techniques that proficiently categorize analogous data patterns while minimizing the dimensionality and computing demands [6,7]. The use of SOMs in WSNs has demonstrated favorable outcomes across multiple applications, such as energy-efficient clustering algorithms [7,8], distributed data processing [9], and network security enhancement [10].
Although FOA and SOM strategies have individually succeeded in optimizing various facets of sensor networks, a substantial research gap remains in utilizing their combined capabilities for enhancing data aggregation comprehensively. The integration of these complementary approaches presents an opportunity to create hybrid solutions that can simultaneously optimize multiple network parameters while maintaining adaptive learning capabilities [11]. This combination may overcome the shortcomings of current methods by merging the global optimization advantages of FOA with the pattern recognition and clustering abilities of SOMs.
The examination of the FOA indicates that it is incapable of identifying optimal solutions. Furthermore, when firefly particles become ensnared in the local minimum, they are unable to get rid of it and exhibit a diminished convergence rate. To address these limitations, we have suggested the integration of a SOM and the FOA. Consequently, the rate of convergence and the precision of the outcomes have improved; also, the issue with the convergence of solutions to local optima and the entrapment in local minima has been largely addressed. This research aims to explore the beneficial potential of integrating SOMs with the FOA to develop an improved data aggregation framework for IoT sensor networks and overcome the significant issues of energy efficiency, network longevity, and data transmission reliability in contemporary IoT implementations by taking advantage of the multi-objective optimization capability of FOA and the adaptive clustering capability of SOMs. The proposed method is anticipated to enhance intelligent data aggregation approaches and offer realistic solutions for real-world IoT applications.
The subsequent sections are structured as follows: Section 2 analyzes relevant literature. The proposed method is detailed in Section 3. Section 4 establishes the results and discussion derived from simulating the suggested model and contrasts this model with alternative models. Ultimately, Section 5 delineates the conclusion of the research.

3. Proposed Method

This paper proposes an innovative hybrid framework that integrates SOMs and FOA to tackle the critical issues of energy efficiency, network lifetime, and data transmission reliability in IoT sensor networks. The framework leverages the adaptive clustering features of SOMs and the multi-parameter optimization capabilities of FOA to efficiently aggregate and transmit sensor data, with the objectives of reducing redundancy, optimizing resource use, and improving real-world applicability in contemporary IoT environments. In the initial phase of the proposed methodology, SOMs are employed to dynamically cluster sensor nodes according to their spatial locations, commonalities in sensed data, and current resource conditions, including energy levels and connectivity. In contrast to static clustering methods, SOMs dynamically restructure the network into clusters that correspond to variations in the node distribution, data patterns, and network conditions. This yields clusters that are optimally balanced regarding the load and spatial distribution, which is essential for reducing duplicated transmissions and maximizing the network resource efficiency.
Following the formation of clusters using the SOM method, the next phase utilizes the FOA to pinpoint the best CHs within each cluster. The FOA is ideally equipped for this purpose owing to its capacity to identify optimal solutions inside intricate, multi-parameter environments. The FOA assesses each prospective node through a fitness function that integrates essential criteria, including the residual energy, signal-to-noise ratio, distance to the base station, and the number of hops needed for data transmission. The FOA’s light attraction mechanism is adapted so that nodes with higher fitness—those more suited to serve as CHs—attract other nodes and are more likely to be selected. This dynamic and distributed optimization ensures that CHs are chosen not just for their location but for their ability to prolong the network lifetime and maintain robust communication links. CHs are responsible for aggregating data from their respective cluster members. The CHs subsequently transmit the consolidated data to the BS.

3.1. Firefly Optimization Algorithm

The suggested technique integrates the flexible grouping capabilities of SOMs with the optimization powers of the FOA to efficiently collect and transmit sensor data, with the objective of reducing superfluous data, optimizing resource utilization, and improving practical applications in contemporary IoT environments. By using sensor nodes analogous to fireflies and light intensity (fitness) as a measure of solution quality, the FA is employed to identify a specific number of nodes that have at least one neighboring node within a threshold distance, therefore facilitating the strategic election of CHs. The array (lightIntensity) stores the fitness (light intensity) of each firefly. The light intensity (fitness) of each firefly is determined by evaluating the intended function. An exceptionally luminous firefly interacts with others inside the specified search space to identify the optimal solution. Figure 1 illustrates the flowchart of the proposed methodology. The fitness value is a variable parameter derived from the residual energy, signal-to-noise ratio, inter-node distance, and HoP count. The algorithm progressively adjusts the locations of the fireflies to enhance the quality of the solutions (Equation (1)). The election of the CHs is executed in a completely decentralized manner using a fitness function. This technique employs a principle of great attraction to identify an appropriate CH. Prior to calculating the fitness function, it is necessary to determine the residual energy, signal-to-noise ratio, inter-node distance, and HoP count (Equations (2)–(5)). Consequently, the objective fitness function for nodes demonstrating the highest attraction is calculated in accordance with Equation (6).
X i = x i + β 0 e γ r 2   x j − x i + a r a n d − 1 2  
Figure 1. Flowchart of the suggested approach.
Each solution X i is verified against every solution x j , j = 1, 2, …, i , starting from j = 1. β 0 = 1 which represents the attractiveness, and γ = 1 which illustrates the absorption coefficient for all simulations. a is a parameter utilized for randomization, where a ∈ [0, 1]. In our methodology, the value of a is 0.2. r represents the distance between firefly i and firefly j .
E = R e , i ∑ i = 1 N R e
which gives the residual energy of node i with relation to the aggregate residual energy of all nodes within the cluster. R e , i represents residual energy of node i. N illustrates total number of nodes in the cluster.
S = S I N R i ∑ i = 1 N S I N R i
which gives the signal-to-noise ratio of node i in relation to the overall SINR of all nodes inside the cluster. S I N R i represents Signal-to-Interference-plus-Noise Ratio of node i. N illustrates total number of nodes in the cluster.
R = r i , j ∑ i = 1 N r i , j    
which gives the distance between two nodes in relation to the aggregate distances across all nodes within the cluster. r i , j represents distance between node i and node j.
H = H O P c o u n t i , j ∑ i = 1 N H O P c o u n t i , j  
which gives the HoP count between two nodes in relation to the total HoP counts across all nodes within the cluster. H O P c o u n t i , j illustrates number of hops required to reach from node i to node j.
f i = ∑ i = 1 N W 1 ∗ E + ( W 2 ∗   S + ( W 3 ∗ 1 − R ) ) + ( W 4 ∗ ( 1 − H ) )
W 1 + W 2 + W 3 + W 4 = 1
The pseudocode of the Firefly Algorithm is given in Algorithm 1.
Algorithm 1. Pseudocode of the Firefly Algorithm
  • function Objective function f x
  • u i = i t h firefly, i ε 1 , n ;
  • n = number of fireflies;
  • max generation = number of generations of firefly;
  • I i = light intensity;
  • Υ = absorption coefficient;
  • Firefly Algorithm
  • Begin
  • Objective function of f x , x = x 1 , … … , x d T
  • Create the starting population of fireflies. x i = i = 1,2 , … … , n
  • Light intensity I i at x i is determined by f x
  • Determine absorption coefficient Υ
  • While (t < MaxGen)
  • for i = 1:n;
  • for j = 1:n;
  • I i = Objective Function (fireflies(i,:));
  • if  I j > I i ;
  • end if Attractiveness changes based on distance r;
  • Assess novel solutions and illumination update
  • brightness;
  • end for j;
  • end for i;
  • end while
  • Post-processing outcomes and visualization;
  • end procedure
The pseudocode SOM method is given in Algorithm 2.
Algorithm 2. Pseudocode of SOM method
  • Initialize:
  • Normalize all input vectors X
  • Set SOM grid of size G with M = G1 × G2 neurons
  • Randomly initialize weight vector wⱼ ∈ ℝᵈ for each neuron j, where d is dimensionality of xᵢ
  • Assign each neuron a grid position posⱼ ∈ ℝ2
  • for t = 1 to T do
  • Shuffle input vectors X
  • for each input vector xᵢ do
  • Compute BMU (Best Matching Unit):
  • for each neuron j, compute distance:
  •     distⱼ = ‖xᵢ − wⱼ‖2
11.
Find index j* where distⱼ is minimized
12.
Update learning parameters:
13.
Update weights for each neuron j:
14.
Compute grid distance: d_grid = ‖posⱼ − posⱼ*‖
15.
Compute neighborhood function:
  •     Update weight vector:
  •     Assign clusters:
16.
for each xᵢ, find its BMU
17.
Assign xᵢ to cluster Cⱼ* based on nearest neuron
18.
end for;
19.
end for;
20.
end for;
21.
end for;

3.2. Data Collection

The Intel Berkeley Research Lab dataset is an open-source collection compiled at the Intel Berkeley Research Lab. The capturing period spanned from 28 February to 5 April 2004. Figure 2 illustrates that the Intel lab dataset comprises eight features as observational variables, whereas the recorded sensed data instances total 2,313,682. The dataset was gathered utilizing 54 Mica 2 Dot sensors in conjunction with weather sensors deployed at the Intel Berkeley Research Lab. These sensors measure temperature, humidity, and light weather characteristics every 31 s [35].
Figure 2. Sensor nodes deployed to collect the Intel Berkeley Research Lab dataset.

3.3. Data Pre-Processing

To ascertain the precise specifications and total repeats for each sensor, the utilization of each sensor for measuring the temperature, humidity, and light was conducted to facilitate subsequent steps and identify the suitable algorithms and functions that would ultimately enhance the efficacy of the data aggregation strategy, thereby minimizing the aforementioned excess data. Figure 3 illustrates the measurement frequencies of the three occurrences over 54 sensors (Mote IDs).
Figure 3. The measurement frequencies of 54 sensors.

3.4. Distance Calculation

The FOA demands accurate calculation of the distance between two nodes (or fireflies) to ascertain the degree of attraction one firefly exerts upon another (Equation (7)). The appeal of the environment influences the communication of fireflies throughout the search space, guiding them toward the optimal choices.
r = x 1 − x 2 2 + y 1 − y 2 2
where r represents the distance between fireflies. Each firefly informally pursues superior solutions by attracting brighter fireflies, as the brightness of a firefly correlates with the effectiveness of the solution it embodies in the optimization problem. The distance calculation ensures that this communication is flexible and responsive to the varying brightnesses of fireflies.
d i j = ∑ k = 1 d P 1 i k − P 2 j k   2
Employing Equation (8) is essential for calculating the distance between two sets of points, which is fundamental in assessing the relative attractiveness of fireflies. Their advancement within the search space is directed by their allure. As the algorithm progresses, it repeatedly recalculates the distances between fireflies, enabling it to adapt dynamically to their changing positions. This ensures that the inquiry is timely and adept at thoroughly examining the issue space. In this equation, d represents the number of dimensions, whereas P 1 i k and P 2 j k are the coordinates of fireflies i and j in the k-th dimension [1].

3.5. Cluster Formation with Self-Organizing Maps

SOMs are an unsupervised learning approach designed to generate a low-dimensional representation of high-dimensional data while maintaining the data’s topological characteristics. In the realm of IoT sensor networks, SOMs can be utilized to create clusters of sensor nodes according to their attributes, including data patterns, energy levels, and proximities.
Steps for cluster formation with SOMs:
  • Initialization: SOMs commence with a preliminary weight matrix, wherein each sensor node in the SOM is linked to a weight vector that matches the dimensionality of the input data.
  • Input data representation: Each sensor node i is denoted by a feature vector:
x i = [   x i ,   y i ,   E r e s i ,   D B S i ,   S I N R   i ]
( x i ,   y i ) represent the node’s position coordinates, E r e s i is its residual energy, D B S i is the distance to the base station, and S I N R   i is the signal-to-noise ratio.
3.
Finding the Best Matching Unit (BMU): For each input vector x i , the SOM determines the BMU, which is defined as the sensor node with the weight vector most analogous to the input vector. Similarity is frequently quantified by the Euclidean distance:
d i s t a n c e = ∥ x i − w j ∥ = ∑ k = 1 d x i k − w j k 2
where x i is the input vector for sensor node i ; w j is the weight vector for sensor node j ; d is the dimensionality of the input space; and x i k and w j k are the k-th components of the input and weight vectors, respectively.
4.
Updating weights: Once the BMU is identified, the weights of the BMU and its adjacent sensor nodes are modified to align more closely with the input vector. The weight update formula is specified as follows:
w j t + 1 = w j t + α t .   h j , j ∗   t .   ( x i − w j t )
α t is the learning rate, and h j , j * t is the neighborhood function that determines the influence of the BMU on its neighbors.
5.
Iteration: Steps 3 and 4 are reiterated for a predetermined number of iterations or until the weight vectors achieve convergence. Eventually, the sensor nodes will arrange into clusters that reflect the fundamental structure of the input data.
6.
Cluster formation: Following training, sensor nodes with analogous weight vectors are combined into clusters. Each cluster signifies a collection of sensor nodes that exhibit analogous properties derived from the attributes utilized in the input vector.

3.6. Data Aggregation and Energy Consumption

In conventional IoT sensor networks, duplicate sensor coverage and linked sensing frequently result in redundant data transmission, causing excessive energy consumption and network congestion. Effective data aggregation methods are essential to alleviate these problems. Static clustering or suboptimal CH selection may lead to disproportionate energy usage and diminished network longevity. The proposed method combines SOM-based adaptive clustering with FOA-driven CH selection and data aggregation to solve these issues.
Upon electing CHs, these nodes are tasked with accumulating data from their respective cluster members. The aggregation process aims to eliminate redundant and associated data, thus minimizing the transmission overhead. The CHs subsequently relay the aggregated data to the BS, enhancing the communication energy efficiency and data delivery dependability. The energy for the aggregated data in these nodes is calculated using Equation (12):
E D a = l p   × E a g g
E a g g = 1 ∑ j = 1 k ( E C H j )
where l p denotes the packet length, while E a g g signifies the energy consumed for aggregated data is calculated using Equation (13). Energy usage is a critically important subject. Effectively managing and depicting the energy consumption of the sensor nodes is essential in the proposed method for accurately estimating the network’s efficiency and longevity. The following formulas are utilized to assess the quantity of energy consumed:
E T X   ( l p ) = l p   × E e l e c + l p + E a g g × d 2   i f   d   < d 0
E T X   ( l p ) = l p × E e l e c + l p + E t r × d 4   i f   d > d 0
E R X = l p × E e l e c
where lp signifies the duration of the transmitted or received packet, whilst d indicates the distance between the destination and the transmitter. The value of d 0 is ascertained utilizing Equation (17) [1]:
d 0 = E a g g E t r
The energy overhead introduced by cluster formation using the integrated SOM and FOA in IoT sensor networks is estimated to range between 5% and 12% of the total per-round energy expenditure, depending on network density and re-clustering frequency. This overhead arises primarily from data exchanges and network adaptation processes associated with cluster head selection and cluster membership updates. Notably, these additional energy costs are largely offset by improved data aggregation efficiency and reduced redundant transmissions-benefits which translate into extended network lifetime and enhanced overall energy utilization across nodes. Recent simulation-based studies consistently demonstrate that the proposed SOM–FOA hybrid approach achieves superior performance compared to traditional clustering methods, validating the practical value of the incurred overhead in optimizing IoT sensor network operations [1,3,13]. Table 3 summarizes the mathematical notation.
Table 3. Summary of mathematical notation.

4. Simulation and Results

This paper presents a novel hybrid architecture that combines SOMs and the FOA to address the significant challenges of energy efficiency and network longevity in IoT sensor networks. The framework utilizes the adaptive clustering attributes of SOMs and the multi-parameter optimization functions of the FOA to effectively consolidate and transmit sensor data, aiming to minimize redundancy, optimize resource utilization, and enhance practical applicability in modern IoT settings. SOMs are utilized to dynamically cluster sensor nodes based on their spatial placements, similarities in sensed data, and prevailing resource conditions, such as energy levels and connectivity. This produces clusters that are ideally balanced regarding the load and spatial distribution, which is crucial for minimizing redundant transmissions and optimizing network resource efficiency. Subsequent to the establishment of clusters using SOM, the ensuing phase employs the FOA to identify the optimal CHs inside each cluster. The FOA is well-suited for this task due to its ability to discern optimal solutions within complex, multi-parameter contexts.

4.1. Simulation Environment

We applied the MATLAB 2024b simulator to conduct data simulation and analysis.
Table 4 provides a brief overview of the simulation parameters and variables incorporated in this methodology. Figure 4 depicts the sensor nodes distribution in the Intel Berkeley Research Lab. The value E e l e c denotes the energy consumed per bit in the transmitter or receiving circuit. The parameters E t r and   E a g g are derived from the fundamental model of the sender circuit. The variable β 0 represents the allure of firefly j to firefly i, which diminishes as the distance between them increases. Typically, β 0 should be a value ranging from 0 to 1. The parameter γ dictates the pace at which attraction wanes as the distance from the communicating firefly increases. Generally, it ranges from 0.01 to 100 in most applications. Our proposed FOA uses values of β 0 = 1 and γ = 1 for all simulations. a is a parameter utilized for randomization, where a ∈ [0, 1]. In our methodology, the value of a is 0.2. The FOA parameters were selected based on a literature review [1,2,3] and thorough empirical tuning through simulations, crucially balancing exploration and exploitation to optimize convergence speed and solution quality for efficient data aggregation in IoT sensor networks. To assess the effectiveness of the proposed method in comparison with the SOM method, FOA and LEACH, we employ the following metrics: accuracy and error, residual energy, throughput, and network lifetime.
Table 4. Simulation parameters.
Figure 4. Sensor nodes distribution in Intel Berkeley Research Lab.

4.2. Accuracy and Error Comparison of Algorithms

The proposed method, SOM-FOA, demonstrates the highest accuracy of the four, suggesting superior performance in accurately forecasting or aggregating data (Figure 5). The enhanced performance is due to adaptive clustering and optimization approaches that improve data management. Results indicate that the SOM-FOA achieved an accuracy of 68% and an error rate of 31%, while SOM alone showed 67% accuracy and 31% error, demonstrating comparable performance. The minimal difference between SOM-FOA and SOM can be attributed to their shared reliance on SOM-based clustering; however, the integration of the FOA has the potential to deliver greater benefits in more complex or larger-scale network scenarios.
Figure 5. Accuracy and error comparisons of algorithms.

4.3. Residual Energy per Round

Although SOMs efficiently organize data, energy consumption patterns are contingent upon the network structure and frequency of node activations. Energy is expended in data processing and communication, resulting in a progressive depletion of residual energy as rounds advance. The suggested SOM-FOA method improves the conventional SOM technique by refining the initial clustering procedure. SOM-FOA helps with the selection of the optimal number of clusters and positions for the CHs, leading to more effective energy management. Through the optimization of grouping, SOM-FOA diminishes the energy burden on individual sensors. The SOM-FOA technique has a markedly superior level of residual energy relative to FOA, SOM, and LEACH over the rounds (Figure 6). This signifies that the optimization process using SOM-FOA efficiently distributes the energy load throughout the network.
Figure 6. Residual energy per round.

4.4. Throughput with Number of Nodes

The performance of different algorithms greatly influences how well IoT systems work, affecting factors such as real-time monitoring and energy use. The SOM-FOA approach consistently demonstrates superior throughput across all node quantities. The optimization offered by SOM guarantees the more efficient formation of clusters, resulting in enhanced data transmission rates. Both SOM and SOM-FOA demonstrate exceptional scalability, with the throughput augmented in accordance with the rise in the number of nodes. Nonetheless, SOM-FOA demonstrates enhanced scalability, exhibiting considerable advancements in throughput (Figure 7). The throughput is determined in kilobits per second (Kbps) using Equation (18):
T h r o u g h p u t =   ( N u m b e r   o f   b y t e s   r e c e i v e d   × 8 ) S i m u l a t i o n   t i m e   × 1000   k b p s
Figure 7. Throughput with number of nodes.

4.5. Network Lifetime

The lifetime is a crucial parameter when assessing the performance of IoT sensor networks. It denotes the period in which the network can function efficiently, enabling nodes to interact and execute their sensing activities. The SOM-FOA method integrates SOMs’ advantages with FOA’s optimization potential. This hybrid methodology optimizes the cluster head selection and routing pathways utilizing real-time measurements, hence enhancing the overall network efficiency. The suggested technique consistently adjusts to fluctuating network conditions, facilitating more efficient management of energy resources. This adaptability is crucial for sustaining network performance in dynamic contexts where node circumstances may vary. SOM-FOA exhibits superior performance for network longevity (Figure 8). The network lifetime is ascertained utilizing Equation (19):
N e t w o r k   L i f e t i m e = E i n i t i a l E t o t a l
E t o t a l = E T x l   p + E R x l   p + E a g g
Figure 8. Network lifetime.
The principal parameters influencing the network lifetime performance, E i n i t i a l and E t o t a l , denote the initial energy of the nodes and the total energy necessary for data transmission, reception, and aggregation, respectively (Equation (20)).

5. Conclusions and Future Work

This research introduces an innovative hybrid framework that enhances data aggregation in IoT sensor networks through the integration of SOMs and the FOA. This integration was motivated by the urgent issues encountered in IoT networks, such as data redundancy, energy efficiency, and the necessity for dependable data transfer. Our research proved that the integration of the adaptive clustering capabilities of SOMs with FOA’s resilient optimization approaches considerably improves the performance of data aggregation.
The experimental research, performed through MATLAB simulations, has yielded persuasive proof of the efficacy of our proposed strategy. The findings indicate a significant decrease in energy usage, enhanced throughput, and prolonged network longevity. The implementation of our approach on the Intel Berkeley Research Lab dataset resulted in a high classification rate, thereby confirming its practical applicability in real-world contexts. Our research highlights the efficacy of hybrid approaches in tackling the complex challenges associated with IoT sensor networks. By utilizing the advantages of both SOMs and the FOA, we have established a foundation for more sophisticated and adaptable data aggregation methodologies. This study paves the way for further research on improving network protocols and increasing the overall effectiveness of IoT systems, helping them reach their full potential in various applications. The applications of the current methodology may be expanded in future to evaluate the efficiency of the proposed approach in comparison with other PSO versions and recent algorithms, or by including statistical measurements. Future research should focus on advancing innovative data aggregation, including IoT scalability and cluster head selection in heterogeneous networks, as well as the applicability of this approach to different contexts or datasets. Concrete future experiments will involve systematic measurement and comparative analysis of the energy consumed during both clustering and data transmission phases, using varied network scales and different re-clustering intervals to robustly validate the energy efficiency and scalability of the proposed SOM-FOA approach.

Author Contributions

H.S.A. contributed in terms of conceptualization, formal analysis, methodology, experimentations, validation, visualization, writing the original draft, and final review and editing; F.B. led the conceptualization, project administration, and supervision. All authors have read and agreed to the published version of the manuscript.

Funding

The project was funded by KAU Endowment (WAQF) at king Abdulaziz University, Jeddah, Saudi Arabia. The authors, therefore, acknowledge with thanks WAQF and the Deanship of Scientific Research (DSR) for technical and financial support.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

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

Conflicts of Interest

The authors declare no conflicts of interest.

Correction Statement

This article has been republished with a minor correction to the existing affiliation information. This change does not affect the scientific content of the article.

References

  1. Alshehri, H.; Bajaber, F. A Cluster-Based Data Aggregation in IoT Sensor Networks Using the Firefly Optimization Algorithm. J. Comput. Netw. Commun. 2024, 2024, 8349653. [Google Scholar] [CrossRef] [Scilit]
  2. Zhang, L. A Tree-Based Energy-Aware Data Aggregation Method in the Internet of Things Using the Firefly Optimization Algorithm. Multiscale Multidiscip. Model. Exp. Des. 2023, 6, 223–233. [Google Scholar] [CrossRef] [Scilit]
  3. Mosavvar, I.; Ghaffari, A. Data Aggregation in Wireless Sensor Networks Using Firefly Algorithm. Wirel. Pers. Commun. 2018, 104, 307–324. [Google Scholar] [CrossRef] [Scilit]
  4. Ullah, I.; Youn, H.Y. A Novel Data Aggregation Scheme Based on Self-Organized Map for WSN. J. Supercomput. 2019, 75, 3975–3996. [Google Scholar] [CrossRef] [Scilit]
  5. Abdalkafor, A.S.; Aliesawi, S. Applying of (SOM, HAC, and RBF) Algorithms for Data Aggregation in Wireless Sensors Networks. Bull. Electr. Eng. Inform. 2022, 11, 354–363. [Google Scholar] [CrossRef] [Scilit]
  6. Wang, L.; Yan, Z.; Yan, H.; Liu, J.; Liu, J.; Wang, Y. Load aggregation method for electric vehicle based on som neural network clustering. In Proceedings of the IEEE/IAS Industrial and Commercial Power Systems Asia, Chongqing, China, 7–9 July 2023; pp. 908–912. [Google Scholar]
  7. George, M.N.; Shelly, S. Energy-Efficient LEACH Approach Employing SOM and K-Means. In Proceedings of the IEEE Recent Advances in Intelligent Computational Systems (RAICS), Kothamangalam, Kerala, India, 16–18 May 2024; pp. 1–6. [Google Scholar]
  8. Merah, M.; Aliouat, Z.; Kara-Mohamed, C. An energy efficient self organizing map based clustering protocol for iot networks. In Proceedings of the IEEE 9th International Conference on Sciences of Electronics, Technologies of Information and Telecommunications (SETIT), Hammamet, Tunisia, 28–30 May 2022; pp. 197–203. [Google Scholar]
  9. Panwar, A.; Nanda, S.J. Data Analysis in Wireless Sensor Networks with Distributed Self Organizing Map. In Proceedings of the IEEE 1st International Conference on Advances in Signal Processing, Power, Communication, and Computing (ASPCC), Bhubaneswar, India, 19–21 December 2024; pp. 61–66. [Google Scholar]
  10. Zhang, X.; Shen, W.; Cui, L. Network Information Security Technology and Application Based on SOM-BP Neural Network. In Proceedings of the 2024 IEEE 13th International Conference on Communication Systems and Network Technologies (CSNT), Jabalpur, India, 6–7 April 2024; pp. 329–333. [Google Scholar]
  11. Mohammadi, M.; Mobarakeh, M.I. An integrated clustering algorithm based on firefly algorithm and self-organized neural network. Prog. Artif. Intell. 2022, 11, 207–217. [Google Scholar] [CrossRef] [Scilit]
  12. Zivkovic, M.; Bacanin, N.; Tuba, E.; Strumberger, I.; Bezdan, T.; Tuba, M. Wireless Sensor Networks Life Time Optimization Based on the Improved Firefly Algorithm. In Proceedings of the 2020 International Wireless Communications and Mobile Computing (IWCMC), Limassol, Cyprus, 15–19 June 2020; pp. 1176–1181. [Google Scholar]
  13. Pakdel, H.; Fotohi, R. A firefly algorithm for power management in wireless sensor networks (WSNs). J. Supercomput. 2021, 77, 9411–9432. [Google Scholar] [CrossRef] [Scilit]
  14. Hosseinzadeh, M.; Ionescu-Feleaga, L.; Ionescu, B.-Ș.; Sadrishojaei, M.; Kazemian, F.; Rahmani, A.M.; Khan, F. A Hybrid Delay Aware Clustered Routing Approach Using Aquila Optimizer and Firefly Algorithm in Internet of Things. Mathematics 2022, 10, 4331. [Google Scholar] [CrossRef] [Scilit]
  15. Abdalkafor, A.S.; Aliesawi, S.A. The impact of data aggregation strategy on a performance of wireless sensor networks (WSNs). In Proceedings of the 14th International Conference on Developments in eSystems Engineering (DeSE) IEEE, Sharjah, United Arab Emirates, 7–10 December 2021; pp. 217–222. [Google Scholar]
  16. Bhushan, S.; Kumar, M.; Kumar, P.; Stephan, T.; Shankar, A.; Liu, P. FAJIT: A fuzzy-based data aggregation technique for energy efficiency in wireless sensor network. Complex Intell. Syst. 2021, 7, 997–1007. [Google Scholar] [CrossRef] [Scilit]
  17. Sudha, C.; Suresh, D.; Nagesh, A. Accurate data aggregation created by neural network and data classification processed through machine learning in wireless sensor networks. Theor. Comput. Sci. 2022, 925, 25–36. [Google Scholar] [CrossRef] [Scilit]
  18. Krishnasamy, L.; Dhanaraj, R.K.; Ganesh Gopal, D.; Reddy Gadekallu, T.; Aboudaif, M.K.; Abouel Nasr, E. A Heuristic Angular Clustering Framework for Secured Statistical Data Aggregation in Sensor Networks. Sensors 2020, 20, 4937. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  19. Surya, S.; Suresh, K. A novel Hybrid technique for solving Data Aggregation problem based on Extended Weighted K-means algorithm and Key Performance Indicators. In Proceedings of the IEEE 2nd Mysore Sub Section International Conference (MysuruCon), Mysuru, India, 16–17 October 2022; pp. 1–8. [Google Scholar]
  20. Tanushree, M.; Roopa, H.; Vani, V. Hierarchical Cluster Based Data Aggregation with Fault Tolerance to Extend Network Lifetime. In Proceedings of the Second International Conference on Inventive Research in Computing Applications (ICIRCA), Coimbatore, India, 15–17 July 2020; pp. 785–789. [Google Scholar] [CrossRef] [Scilit]
  21. Roy, N.R.; Chandra, P. EEDAC-WSN: Energy efficient data aggregation in clustered WSN. In Proceedings of the International Conference on Automation, Computational and Technology Management (ICACTM) IEEE, London, UK, 24–26 April 2019; pp. 586–592. [Google Scholar]
  22. Al-Humidi, N.; Chowdhary, V. Lightweight data transmission scheme based on data aggregation technique in wireless sensor networks. In Proceedings of the International Conference on Communication and Information Processing (ICCIP), Pune, India, 17–18 May 2019. [Google Scholar]
  23. Sharifi, S.S.; Barati, H. A method for routing and data aggregating in cluster-based wireless sensor networks. Int. J. Commun. Syst. 2021, 34, e4754. [Google Scholar] [CrossRef] [Scilit]
  24. Ruan, D.; Huang, J. A PSO-Based Uneven Dynamic Clustering Multi-Hop Routing Protocol for Wireless Sensor Networks. Sensors 2019, 19, 1835. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  25. Wang, J.; Gao, Y.; Liu, W.; Sangaiah, A.K.; Kim, H.-J. An Improved Routing Schema with Special Clustering Using PSO Algorithm for Heterogeneous Wireless Sensor Network. Sensors 2019, 19, 671. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  26. Manuel, A.J.; Deverajan, G.G.; Patan, R.; Gandomi, A.H. Optimization of Routing-Based Clustering Approaches in Wireless Sensor Network: Review and Open Research Issues. Electronics 2020, 9, 1630. [Google Scholar] [CrossRef] [Scilit]
  27. Manshahia, M.S.; Dave, M.; Singh, S. Firefly Algorithm-Based Clustering Technique for Wireless Sensor Networks. In Proceedings of the International Conference on Wireless Communications, Signal Processing and Networking (WiSPNET), Chennai, India, 23–25 March 2016; pp. 1273–1276. [Google Scholar] [CrossRef] [Scilit]
  28. Rayenizadeh, M.; Kuchaki Rafsanjani, M.; Borumand Saeid, A. Cluster Head Selection Using Hesitant Fuzzy and Firefly Algorithm in Wireless Sensor Networks. Evol. Syst. 2022, 13, 65–84. [Google Scholar] [CrossRef] [Scilit]
  29. Battar, S.; Kumar, R. A Hybrid Approach to Increase Network Lifetime in WSN Using PSO and Firefly Optimization. In Proceedings of the IEEE International Conference on Electrical, Computer and Communication Technologies (ICECCT), Coimbatore, India, 20–22 February 2019; pp. 1–7. [Google Scholar] [CrossRef] [Scilit]
  30. Christian, L.; Camacho, V.; Thomas, S.; Marco, D. Grey Wolf, Firefly and Bat Algorithms: Three Widespread Algorithms that Do Not Contain Any Novelty. In Proceedings of the International Conference on Swarm Intelligence (ANTS), Barcelona, Spain, 26–28 October 2020; pp. 122–133. [Google Scholar] [CrossRef] [Scilit]
  31. Christian, L.; Camacho, V.; Marco, D.; Thomas, S. Exposing the grey wolf, moth-flame, whale, firefly, bat, and antlion algorithms: Six misleading optimization techniques inspired by bestial metaphors. Int. Trans. Oper. Res. Wiley 2022, 30, 2945–2971. [Google Scholar] [CrossRef] [Scilit]
  32. Aranha, C.; Villalón, C.L.C.; Campelo, F.; Dorigo, M.; Ruiz, R.; Sevaux, M.; Sörensen, K.; Stützle, T. Metaphor-based metaheuristics, a call for action: The elephant in the room. Swarm Intell. 2022, 16, 1–6. [Google Scholar] [CrossRef] [Scilit]
  33. Sumedha, S.; Samarth, A. Issues of data aggregation methods in wireless sensor network: A survey. Proc. Comput. Sci. 2015, 49, 194–201. [Google Scholar] [CrossRef] [Scilit]
  34. Choudhari, R.; Uday, R. Data Aggregation Approaches in WSNs. In Proceedings of the International Conference on Computer Communication and Informatics (ICCCI), Coimbatore, India, 27–29 January 2021; pp. 1–6. [Google Scholar]
  35. The Intel Berkeley Research Lab Dataset. Available online: https://db.csail.mit.edu/labdata/labdata.html (accessed on 7 July 2025).
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.