Skip to Content
You are currently on the new version of our website. Access the old version .
Applied SciencesApplied Sciences
  • Article
  • Open Access

16 May 2025

23 Pages

Adaptive Scheduling in Cognitive IoT Sensors for Optimizing Network Performance Using Reinforcement Learning

,
and
1
Department of Smart Security, Gachon University, Seongnam-si 13120, Gyeonggi-do, Republic of Korea
2
Department of Computer Engineering, Gachon University, Seongnam-si 13120, Gyeonggi-do, Republic of Korea
*
Authors to whom correspondence should be addressed.
This article belongs to the Collection Trends and Prospects in Multimedia

Abstract

Cognitive sensors are embedded in home appliances and other surrounding devices to create a connected, intelligent environment for providing pervasive and ubiquitous services. These sensors frequently create massive amounts of data with many redundant and repeating bit values. Cognitive sensors are always restricted in resources, and if careful strategy is not applied at the time of deployment, the sensors become disconnected, degrading the system’s performance in terms of energy, reconfiguration, delay, latency, and packet loss. To address these challenges and to establish a connected network, there is always a need for a system to evaluate the contents of detected data values and dynamically switch sensor states based on their function. Here in this article, we propose a reinforcement learning-based mechanism called “Adaptive Scheduling in Cognitive IoT Sensors for Optimizing Network Performance using Reinforcement Learning (ASC-RL)”. For reinforcement learning, the proposed scheme uses three types of parameters: internal parameters (states), environmental parameters (sensing values), and history parameters (energy levels, roles, number of switching states) and derives a function for the state-changing policy. Based on this policy, sensors adjust and adapt to different energy states. These states minimize extensive sensing, reduce costly processing, and lessen frequent communication. The proposed scheme reduces network traffic and optimizes network performance in terms of network energy. The main factors evaluated are joint Gaussian distributions and event correlations, with derived results of signal strengths, noise, prediction accuracy, and energy efficiency with a combined reward score. Through comparative analysis, ASC-RL enhances the overall system’s performance by 3.5% in detection and transition probabilities. The false alarm probabilities are reduced to 25.7%, the transmission success rate is increased by 6.25%, and the energy efficiency and reliability threshold are increased by 35%.

1. Introduction

The Internet of Things (IoT) [1,2,3] plays a vital role in transforming the device-centric approach to a user-centric approach using seamless connectivity and providing pervasive services according to context and user mode [4,5]. Integrating cognitive sensors with IoT infrastructure has brought about a significant change in real applications such as energy production and transmission, intelligent transportation systems (ITS) [6], healthcare (E-Health and Telemedicine) [7], agriculture (E-Forming) [8,9], smart homes [10], and smart cities [11]. Most of the IoT is based on physical sensors embedded in other devices and home appliances to create these smart spaces. However, these sensors are resource-restricted and require a careful strategy in deployment because the intensive use of resources can lead these systems to stall and disconnect before performing their intended tasks [12,13].
Cognitive IoT sensors collect data from the environment and disseminate it to other sensors and central authorities for decision making and further processing. A huge volume of data is produced at frequent intervals at central points [14,15]. These frequent communications inside the system not only create congestion and buffer overflow, but also consume a significant amount of energy. The detection of redundant and useless data communications has greatly affected network performance. Suppose that the same data is circulated, and the system remains busy with these unwanted packets. In that case, system resources are used for undesirable data collection, and many useful sensing cycles are wasted [16,17,18,19].
With the emergence of artificial intelligence techniques such as deep learning ( D L ) , systems have become more resilient, responsive, interactive, and intelligent [20]. D L trains and learns from available data and responds accordingly to any situation. Typically, it consists of perception and comprehension, learning and judgment, rationality and planning, and finally design and resolution [21,22,23]. With the integration of cognitive sensors, most IoT devices learn and decide like humans. A cognitive sensor with different controllers collects data from the environment and transmits it to other devices and central points. All of these entities collaboratively manage the situation and respond to any event. Based on an external event with machine learning procedures, cognitive sensors play an important role in data collection and automation [24]. Using these machine learning procedures, the devices can optimize according to the situation and the user mode and can provide services according to the situation based on the external event [25,26]. The main aim is to develop a novel scheme that uses reinforcement learning to optimize the operations of an IoT network, according to traffic conditions and sensor functions. Instead of using the static structure of CAS-IIoT-RL [22], LSTM-RL [27], and AEM-RL [28], ASC-RL has been implemented for a dynamic IoT. These baseline schemes use vector features, time series, and QoS metrics, respectively, while ASC-RL uses sensor states and traffic conditions for the optimization of network operations. In these schemes, no critical infrastructure parameters are found, while in the proposed method, there are three types of parameters. These changes affect all performance parameters, including energy enhancement, sensor reconfiguration, and minimizing delay, latencies, and packet loss.
The main contributions of the ASC-RL are as follows.
  • Propose a novel scheme for the use of cognitive techniques in IoT sensors with a reinforcement learning procedure to dynamically change the state of the sensors. A sensor state model is established, and each sensor adapts its new state based on three types of parameters. These changes affect all performance parameters, including energy enhancement, sensor reconfiguration, and minimizing delay, latencies, and packet loss.
  • Define and utilize three types of parameters to create a reward function in which the states adaptively switch from current to new states, and the agent learns from the traffic condition and plays a vital role in changing these states.
  • Implement the proposed ASC-RL in Python and check its applicability with various parameters such as joint Gaussian distributions, event correlations, prediction accuracy, and energy efficiency with a combined reward score. Finally, a comparative analysis was performed with the detection and transition probabilities, false alarm probabilities, and transmission success rate.
Problem Statement and Motivation: Cognitive sensors often create massive amounts of data with redundant and repeated bit values. Sensing this redundant and useless data and broadcasting not only requires a good amount of energy, but it also affects many other performance parameters such as reconfiguration, delay, latency, and packet loss. To address these challenges, we need a new method to check and adjust the state of cognitive sensors according to the roles and functions within these networks. A reinforcement learning-based approach is useful for dynamically switching states and adjusting sensors. Here, we propose a novel reinforcement learning-based mechanism called “Adaptive Scheduling in Cognitive IoT Sensors for Optimizing Network Performance using Reinforcement Learning”. There are three types of parameters: internal parameters (states), environmental parameters (sensing values), and history parameters (energy levels, roles, and number of switching states). The mechanism aims to reduce extensive sensing, minimize costly processing, and control frequent communication, as well as reduce network traffic and optimize network performance in terms of network energy.
The rest of this paper is arranged as follows: Section 2 is the related work in RL-based approaches with cognitive IoT networks; Section 3 is the preliminaries and basics of ASC-RL; Section 4 is the details of the system model of ASC-RL; Section 5 is the simulation parameters and concerned metric values that are discussed; Section 6 is the evaluation part; Section 7 compares the proposed scheme with other schemes; and finally, the paper is concluded in Section 8.

3. Preliminaries

Massive volumes of data with several repetitive and repeating bit values are frequently produced by cognitive sensors. In addition to consuming a significant amount of energy in broadcasting, this redundant and useless data also has an impact on other performance metrics, including reconfiguration, latency, delay, and packet loss. We require a fresh approach to monitoring and modifying the condition of cognitive sensors based on the roles and functions inside these networks to overcome these difficulties. We need a method based on reinforcement learning that helps dynamically change the states and modify the structure of the network. Here, a novel scheme based on reinforcement learning is implemented to schedule IoT sensors. The proposed scheme (ASC-RL) must move memorylessly from one state to the next, meaning that the subsequent state is solely dependent on the current state and not on past events. In the following subsections, the basics of ASC-RL are explained in detail. The system works in a way that checks the traffic conditions with some other parameters, which include internal parameters, environmental parameters, and historical parameters. The state of the cognitive sensor will change due to changing parameters, while the RL algorithm applies all these parameters, and a reward function is created to check the rate of change. A good/bad value decides the change in the network structure and adjusts the sensor to different states. The following are some of the basic preliminaries of the proposed system. The basic notations and their meanings are shown in Table 2.
Table 2. Symbols and their meaning.

3.1. System Model for ASC-RL

A cognitive sensor can be adjusted in various states according to its intrinsic components. A sensor consists mainly of three primary parts that participate in energy consumption. These are a microprocessor ( M P n ), sensing module ( S M n ), and radio module ( R M n ) for communication. Consider a cognitive sensor already existing in any state ( S n ) and an action ( A C n ) needed to switch to another state. To represent this state and action, a real number vector is used as F ( S n , A c n ) . The agent, in the form of F ( S n , A c n ) , will provide a reward. The reward is responsible for changing S n depending on the internal, environmental, and historical parameters. The Markov Decision Process is used for timely decision making in changing states from one state to another.

3.2. Four State Model

A four-state transition model based on sensor internal components was developed to ensure that no events are missed while the states change dynamically. Combining these modules generates a total of sixteen possible states. However, in this case, only four states are employed to increase energy efficiency and avoid missing any important events. In other words, when the four-state model is used, the sensor never misses an event and may change states without compromising network performance. After calculating a reward function F ( S n , A c n ) , the state can change to another based on the agent’s values. The sensing data slices are marked as μ ; using the Markov process of changing states, this can be represented as follows: A state will remain the same if the detected data slice μ remains the same. The values of each state will change if the change is based on the number of times it is shown as 1 − μ . The four states with symbols and transitions are shown in Figure 1. This figure also shows the distributions of the states that change from one state to another based on the detected data packets μ .
Figure 1. Four state model.
The Markov Decision Process is used to calculate the state-changing policy due to the stochastic nature of dynamic state change using a four-state model. Using the above, we have the four-state model with different probabilities because ASC-RL moves from one state to another, and these transitions may occur simultaneously or asynchronously among multiple nodes. With the above state transition values, the probabilities of each row in ASC-RL, the states changing, can be modeled as
P r ( S t ) = μ 1 − μ 3 1 − μ 3 1 − μ 3 1 − μ 3 μ 1 − μ 3 1 − μ 3 1 − μ 3 1 − μ 3 μ 1 − μ 3 1 − μ 3 1 − μ 3 1 − μ 3 μ
Based on the probability distribution over these four states, the system must move somewhere; the total probability of all transitions from any given state must equal one. In Equation (1), the valid value of the stochastic matrix is 1 in each row; otherwise, the probability is marked as erroneous. For this matrix, the sums are 1.
μ + 3 · 1 − μ 3 = μ + ( 1 − μ ) = 1
For each cognitive sensor, it measures the surroundings and processes the data using its R M n , and based on these values, it will adjust the state of the sensor. These values of μ in the n-th slot can be written as
μ ( n ) S t = μ ( 1 ) S t 1 , μ ( 2 ) S t 2 , … , μ ( n − 1 ) S t n − 1 , … μ ( n + 1 ) S t n + 1 ∈ { 0 , 1 } ) i × j
where μ ( n ) S t = μ ( 1 ) S t 1 , μ ( 2 ) S t 2 , … , μ ( n − 1 ) S t n − 1 , … μ ( n + 1 ) S t n + 1 are the values sensed by different sensors at different times.

3.3. Component-Based Cognitive Sensor

A typical sensor consists of five main components: microprocesssor ( M P n ) , sensing module ( S M n ) , radio-link module ( R M n ) , memory, and built-in power source. Here, in ASC-RL, the three components are used in the energy calculations, while the other two are assumed to be ignored. The other three components are used to calculate the energy levels in any transaction in dynamic scheduling. The current flow inside the sensor is the amount of energy that these three components use. The total current in the form of energy is shown in Figure 2, where Equation (8) is the total charge with internal components.
I T o t a l = I M P + I S M + I R M
Figure 2. State changing in the ASC-RL function.
Here, “I” represents the current flow inside the cognitive sensor, and each module consumes an amount of energy in the system. This energy in the form of power can be discretized into many power levels that exactly match the four states. These states use different amounts of energy. It can be expressed for all sensors with states as
I T o t a l = f ( q t h I q t − 1 / q t h )
Here, function f ( X n ) represents the discrete power levels that depend on the state of the sensor. The function can be expressed as f ( x n ) if I T o t a l is closest to x n .

3.4. States in ASC-RL

The states are the energy levels that the cognitive sensor applies during working conditions. These four states can be represented by S n ; these are ( S A c t ) , ( S W t ) , ( S R o t ) , and ( S S l p ) . With the combination of the internal components, many other states may be possible, but due to the structure and functionality of these networks, in ASC-RL, only four states are used and implemented. To decide on the change in the cognitive network, many parameters are needed, but the state of the sensor is one of them. The states are the energy levels that any sensor can use depending on its current state and the contents of the detected data packets. This finalizes the relevant information that the agent needs to make a decision.
S A S C - R L = ( S A c t ) + ( S W t ) + ( S R o t ) + ( S S l p )

3.5. Actions in ASC-RL

The states change with actions that meet the conditions of the reward function. These actions affect the status, and they are all set up by traffic conditions and other parameters (internal, environmental, and historical). Actions can be represented with A c n = A c n 1 , A c 2 , …, A c n + 1 . The action space is the combination of these states for these sensors.
A c n = A c n 1 + A c 2 + … , + A c n + 1

3.6. Rewards in ASC-RL

The agent receives feedback for an A c n , based on the scope of the performance of A c n . It may be either good/better or bad/worse in that specific scenario. Its main aim is to learn about the state change and other parameters to maximize the cumulative reward. The feedback works like a reward function and depends on many parameters.
R t = R ( S s ) + R ( β ) + R E ( P ) + A c ( n )
Equation (8) is the combination of five tuples for a reward function R t . These values influence the final reward value. R S s is the environment state space (states: S n ) for event detection and obtaining μ , R β is the observed space, R E ( P ) is the action space for the same event, and A c ( n ) is explained in Equation (7). After the preliminaries above, in the subsequent section, we will present a detailed model of ASC-RL.

4. Adaptive Scheduling in Cognitive IoT Sensors for Optimizing Network Performance Using Reinforcement Learning (ASC-RL)

RL-based scheduling in cognitive sensors is a promising idea, implementing different types of parameters, including internal, environmental, and historical. These parameters mainly constitute the policy of state change and create a dynamic and adaptive sensor state system applied in real-world IoT networks.

4.1. Working Procedure of the ASC-RL

The dynamic state change process for optimizing network performance is divided into two phases: the training phase and the deployment phase. In the training phase, the system is trained using sensor data ( μ n ) , which is a real-time collection of data, while three other parameters are used in this phase. These are internal parameters, including the state of the sensors ( S n ) and historical parameters such as energy level, remaining energy, and role in detection.
The environmental parameters are similar to the sensor values. During the deployment phase, the trained agent ( A n t ) is deployed and uses a reward function F ( s , n ) to generate various actions ( A c n ) . The sensors are set to different states based on A c n . These S n will be sent back to F ( s , n ) to be A n t reconfigured in the form of a circle. Figure 3 illustrates the main phases of training and deployment, including the parameters and transitions between them.
Figure 3. Generic model of ASC-RL.

4.2. Sensor Data Collection

Cognitive sensors are deployed for the data collection from any environment. Let (i, j) be two variable values, where i = i 1 , i 2 , i 3 , … i n and j = j 1 , j 2 , j 3 , … j n . These are vector values of length n. i n and j n are sensor readings at any time T n . The prediction probability of reading values from cognitive sensor P r ( I / J ) is defined as
P r ( I / J ) = P r ( I / j 1 , j 2 , j 3 , … , j n )
P r ( I / J ) = ∑ n = 1 n + 1 P r ( j n / j 1 , j 2 , j 3 , … , j n ; i 1 , i 2 , i 3 , … , i n )
These values are random and are obtained from the environmental parameters. These values depend on the state, as shown in Figure 3. They can be written for each changing state as
P r ( I / J ) = ∑ n = 1 n + 1 P r ( j n / j 1 , j 2 , j 3 , … , j n ; i 1 )

4.3. Problem Formulation

Using the MDP, the problem is derived based on the values collected from different resources, including environmental, internal, and system history. Based on these parameters, the states and actions are defined and used. The states are defined as s ∈ S , while actions are denoted as n ∈ N i . The state-changing probabilities are defined by Pr(s′/s, n) = Pr( S t + 1 = s), A t = n. Based on these values, an expected reward can be obtained as r(S, s, n). The required reward depends on the state that changes from s to S on the expected action n. All these values are provided to the agent for persistent action. The reward R t + 1 is in R, and this reward is the indication of a better or worse prediction. The reward is the amount of energy that is consumed by the sensor in any transaction. All sensors are in S A c t , and after some cycles, the network adjusts itself using traffic conditions. Other parameters can also help calculate these values. These values are defined over a range 1 − N i for each sensor. Other factors are the accuracy parameter ( A P ) and the energy parameter ( E P ) for each sensor. Both are used to balance accuracy and energy. When a sensor is in S A c t , the agent gains a level of accuracy in the form of an event detection ratio. Four states with their reward functions are depicted in the equations below:
R t = { A P ∑ n = 1 n + 1 k i < i > − N E P , : : I f S n = S A c t
R t = { N . E P + A P . ∑ n = 1 n + 1 ( k i < i > × k i ′ < i > ) − A P . ∑ n = 1 n + 1 ( k i < i > − k i ′ < i > ) : : I f S n = S W t
R t = { N . E P + A P . ∑ n = 1 n + 1 ( k i < i > × k i ′ < i > ) − A P . ∑ n = 1 n + 1 ( k i < i > + k i ′ < i > ) : : I f S n = S R o t
R t = { N . E P + A P . ∑ n = 1 n + 1 ( k i < i > × k i ′ < i > ) − A P . ∑ n = 1 n + 1 ( k i < i > × k i ′ < i > ) : : I f S n = S S l p
In Equations (12)–(15), the agent obtains accuracy based on the sum of the detected values, μ , which starts from any value n = 1 and can end at n + 1. For k i < i > = 1, k i < i > is the ith element of vector k i . Here, N is the total number of sensors at the time of state transition in a specific state S n . When all sensors are in the S S l p state, the agent receives all the gains in E p . But in other cases, the gain in precision depends on the prediction of the μ terms of events, which is k ′ < i > , in contrast to k i = 1. The states are S n = S A c t , S W t , S R o t , and S S l p . These equations ensure that the four states are based on the different parameters that are used in the state-changing policy. The three S A c t , S R o t , and S W t ensure that the probability is 1, while in the case of S S l P , Pr(s/S, n), it will be 0 as given in the following equation:
P r ( s / S , n ) = 1 if P r ( j i / j i − 1 ; h i ) : : S n = S A c t 1 if s = S s t and S n = S R o t 1 if P r ( k i / k i − 1 ; h i ) : : S n = S W t 0 otherwise

4.4. Reinforcement Learning-Based Optimum Solutions

For dynamic state change in an IoT-based network, an optimum action results in several states that ensure two main requirements: (1) never missing an event and (2) having optimum number of S A c t , S W t , S R o t , and S S l p sensors adaptively in the whole network. For the uniform and adaptive strategy, an optimal policy ( ϕ ∗ ) is defined. ϕ ∗ is based on the A c n taken by A g . The latter is a mapping from the current state to the action to be taken by the A n t . This A n t is responsible for maximizing the discounted cumulative reward ( R t ) . The discount rate is always marked as D r a t e   ∈ [ 0 , 1 ] .
The new states will be decided soon on the basis of this cumulative reward. f ( S n , A c n ) has already been defined, from which an output is returned, A c n , for the next state. The ( ϕ ∗ ) can be defined as
ϕ ∗ = F ( ϕ ∗ ) [ S n , A c n ]
This function operates iteratively and updates with increasing epochs and can converge to the optimal action value.
ϕ ∗ = F n + 1 ( ϕ ∗ ) [ S n + 1 ′ , A c , n + 1 ]
For ϕ i → ϕ i ∗ and i → ∞ ,
ϕ S t = F ( ϕ ∗ ) [ S t , A c t ]
ϕ S t = ∑ s ′ S P r ( s ′ / S , A c n ) [ R t + D R a t e + ϕ ( s t ) ]
Equation (20) is the function that manages the sensor state under policy ϕ ∗ n . The outcomes from A g are based on A c n and S n , and all these make up the policy for changing the state of the sensor dynamically.

4.5. Derivation in Baseline for ASC-RL Agent

The energy consumption limits in the baselines are defined with some precision. Let any value x n ∈ X n be a binary value for an optimal decision at any time t n . Then, x n = 1, which means that the sensor is in any of three states, S A c t , S W t , or S R o t , for any slot t n . The optimization is derived based on Equation (20). Some prediction errors can be expressed as
∑ n = 1 n + 1 ( 1 − x n ) ∑ n = 1 n + 1 ( k i < i > − k i < i > ) 2 ≤ T , : : i n ∈ { 0 , 1 }
where “n” is any random/increasing order value, starting from 3, …, n, and “i” is the prediction error, either 0 or 1. If “i” is 1, the sensor is in a firing state ( S A c t , S W t , or S R o t ), and when “i” is 0, the sensor is in a sleep state S S l p . This equation expresses the overall prediction error as a weighted binary vector. Exact value prediction is feasible in three states, except for S S l p , where no communication happens.

5. Experimental Setup and Performance Metrics

ASC-RL was implemented in a particular setting using the PPO algorithm [48] and various metric values. The system was established with the right operating methods, principles, and procedures. In Table 3, different parameters, network topology, sensor count, and data generation processes are listed.
Table 3. Simulation parameters, symbols, and metric values.
Python was used in the development of ASC-RL, using the basic concept of the PPO algorithm for reinforcement learning. It is useful because it supports the adaptive scheduling solution for IoT cognitive sensors. The G y m library was used to model the IoT scheduling environment, and P y T o r c h and s t a b l e − b a s e l i n e s 3 were used for different reinforcement learning modules. The N u m P y and p a n d a s libraries have support for numerical calculations, and we used them for sensor data handling, and m a t p l o t l i b was used to visualize performance.

6. Performance Evaluation of ASC-RL

Different methods are used to evaluate the performance of the RL-based scheme. Here, many parameters are used to verify performance evaluation, including joint Gaussian distributions and event correlation.

6.1. Joint Gaussian Distributions in ASC-RL

For measuring the actual energy flow in cognitive sensors, the joint Gaussian distributions ( J G D s ) over energy, noise, and signal strengths were measured. These parameters are statistically correlated, and their behavior is visually mapped. JGD was calculated for real-time network scenarios, and here in ASC-RL, it is used for these three interdependent variables. In ASC-RL, the total cognitive sensors in these experiments consisted of four states: S A c t , S W t , S R o t , and S S l p . Different messages were sent, and the network was dynamically adjusted for optimal data flow with fully connected sensors. In Figure 4, the JDC for signal strengths and energy is visually mapped, with the x-axis showing the signal strength and the y-axis showing the energy with reward R t . In this figure, the award ( R t ) values are reflected by colored points at different locations. More color points at a higher order mean good/better R t values, and that ASC-RL performs better. These colored values indicate strong signals with optimized or minimum energy consumption.
Figure 4. JDC for energy and signal strengths.
Based on the reward function, the J G D over-energy and noise are compared with the attributed values of the award R t . In Figure 5, the J G D values are mapped at different points. The colored points at different positions depict the values of the reward function. This figure suggests lower noise values, moderate energy consumption, and a good R t value. On the other hand, when the usage of noise and energy is considered, R t decreases.
Figure 5. JDC for noise and energy.
When comparing the values of the signal strength J G D with the noise and signal strength in Figure 6, the noise is inversely related to the signal strength, with low R t . This suggests that low signals ultimately lead to poor communication with a low average R t . In Table 4, a summary of the three graphs is shown with the appropriate attributes.
Figure 6. JDC for noise and signal strength.
Table 4. ASC-RL using different parameters in JGD.

6.2. Event Correlations Inside ASC-RL

This parameter is used to predict the next state and depends on various factors. Probabilistic temporal logic is applied to check the contents of bit values in different sensing cycles, and event correlation was derived from cognitive sensors. As shown in Figure 7, correlations between different cognitive sensors were derived and mapped with high and low correlations. The range of values is from “−1” to “+1”, in which “+1” is a complete positive correlation with increasing and decreasing correlating values. A 0 correlation means that these sensor values have no dependency, and they have no bits that correlate with each other. A “−1” correlation is an inverse correlation; as one increases, the other decreases. If there is a strong correlation, like 0.85, it means that these sensors sense similar nature data with the same bit repetitions. In weak correlations, such as 0.05, these sensors sense rare types of data, or they are deployed very far apart from each other. In a negative correlation, such as −0.05, it works inversely; when one increases, the other decreases. In ASC-RL, this correlation is helpful in state change based on the correlation.
Figure 7. ASC-RL event correlation.
In correlating the values in Figure 7 with the values in Figure 1, four states for any sensor are shown with a structured Markov transition matrix. The probability of a sensor remaining in its current state is defined by the diagonal element μ , but the off-diagonal elements are defined as 1 − μ 3 . This equally divides the remaining probability among transitions to the other three states. Higher values of μ suggest stronger persistence in the current state. This means that each node has a constant and balanced probability of changing states. On the other hand, Figure 7, illustrates the relationships between event patterns in ten sensors. Some sensors show stronger correlations, such as C S 1 , C S 4 , C S 7 , and C S 1 0 , as they share a base signal. It can be correlated with Figure 1, as this phenomenon is consistent, which states that sensors with high μ and similar functions are more likely to exhibit state changes over time. The heatmap in Figure 7 illustrates that organized transitions in a Markov model can result in visible correlations between sensors.

6.3. Prediction Accuracy and Energy Efficiency with Combined Reward Score

ASC-RL has been tested with using three performance metrics: prediction accuracy ( P A ) , energy efficiency ( E E ) , and a combined reward score ( C R ) . The values start with a range of 0.0 to 1.0 with increments of 0.01, as shown in Figure 8. This means that 0 values indicate that the sensors are inactive in saving energy. On the other hand, the value of 1 confirms that sensors are in any of the three states, with a maximum of S A c t state sensors. With the increasing S A c t states of multiple sensors, the PA increases (blue color) because more S A c t sensors collect more data and information, resulting in more accurate results. But the results do not follow linear growth, with little fluctuation. This deviation in obtained values may be due to some environmental factors like noise and interference. The weighted accuracy and efficiency (red color) is the reward score over E P = 0.3 and A P = 0.7, and indicates that the expected P A is approximately 70%. However, at this stage, E E is around 30%, which reveals a balance between resource conservation and predictive performance. With increasing activation of many S S l p sensors, it increases the P A , but a broad activation of all sensors may affect the E E due to continuous sending. First, the reward curve increases up to a peak level and then starts declining in the region of 0.6 and 0.8 activation levels inside the network.
Figure 8. Prediction accuracy and energy efficiency with combined reward score.

7. Comparative Analysis

ASC-RL was experimented with and compared with other schemes to ensure its authenticity and efficiency. ASC-RL was compared to CAS-IIoT-RL [22], LSTM-RL [27], and AEM-RL [28] for various metrics. These experiments are described in more detail in the following sections.

7.1. Detection and Transition Probabilities

In the first experiment, ASC-RL was tested with other schemes in detection and transition probabilities. At the start of the experiment, at low transition probabilities of 0.0, all schemes work in the same way with an average detection probability of 0.55, as shown in Figure 9. With the increasing trend of transition probability around 0.4, ASC-RL shows better results than other schemes. This increase in detection probability suggests that ASC-RL can detect better, and it dynamically changes the states where other schemes (CAS-IIoT-RL, LSTM-RL and AEM-RL) have no such four-state policy, and their detection probability is lower. In analyzing the average percentage increase in the three schemes with the proposed scheme, as depicted in Table 5, increasing transition probabilities is shown to enhance overall performance by 3.5%. These experiments cover the transition probabilities from 0.0 to 1.0, but do not include the confidence intervals. These experiments are deterministic without repeated sampling. In the future, we want to improve the system’s robustness and reproducibility by testing it with repeated trials.
Figure 9. Detection probability and transition probability comparison of ASC-RL with CAS-IIoT-RL, LSTM-RL, and AEM-RL.
Table 5. Detection probability comparison of ASC-RL with CAS-IIoT-RL, LSTM-RL, and AEM-RL.

7.2. False Alarm Probabilities

In comparing the values of the false alarm rate of ASC-RL with those of other schemes, initially, they exhibit the same values but increase with more episodes, as shown in Figure 10. The ASC-RL performs differently, with values decreasing due to frequent state changes based on the reward function and the training of A g . Toward episode 100, ASC-RL achieves a 0.296 false alarm rate with an average of 0.335 for the other three schemes, representing a 10.10% increase. Similarly, upon reaching 500 episodes, the proposed scheme reduces the false alarm rate to 0.112, with an average of 0.1506 for the other schemes. Compared with the average of the three schemes, the proposed scheme accounts for around 25.7%, which shows its ability to learn the ratio of the reward function to decrease false alarm rates. These values are displayed in Table 6.
Figure 10. False alarm probability comparison of ASC-RL with CAS-IIoT-RL, LSTM-RL, and AEM-RL.
Table 6. False alarm probability of ASC-RL with CAS-IIoT-RL, LSTM-RL, and AEM-RL.

7.3. Transmission Success Rate

For the transmission success rate, ASC-RL was implemented in different settings with the other three schemes, and it was found that the proposed scheme obtained a better transmission success rate with maximum latency thresholds. It performed better than the other schemes, achieved about 5.73% on average, and finally reached 6.25%, as shown in Figure 11. This steady improvement suggests that ASC-RL is more suited for high-latency dynamic settings where performance is greatly affected by clever adaptive techniques, as shown in Table 7.
Figure 11. False alarm probability comparison.
Table 7. Transmission success probability with increasing latency threshold.

7.4. Energy Efficiency and Reliability Threshold

ASC-RL was tested with another energy parameter related to the reliability threshold. It outperforms all three schemes because LSTM-RL is based on temporal learning through recurrent networks; AEM-RL works on adaptive energy distribution, and CAS-IIoT-RL is based on context-aware sensing, which delimits the balanced energy consumption and reliability, as shown in Figure 12. ASC-RL uses a multi-objective reward function that maximizes reliability and energy efficiency. It improves the energy usage, with the reliability factor of the other three schemes being 35% and marked at each point in Table 8.
Figure 12. Energy efficiency and reliability threshold of ASC-RL with CAS-IIoT-RL, LSTM-RL, and AEM-RL.
Table 8. Energy efficiency comparison of schemes with ASC-RL improvement.

7.5. Training Performance with Comparative Evaluation

In these experiments, the ASC-RL was compared with other baseline schemes (CAS-IIoT-RL, LSTM-RL, and AEM-RL) in an equal number of episodes with a median success rate. In fixing some hyperparameters like the discount rate and exploration strategy, the proposed scheme achieves high success rates, while the other schemes, with moderate adaptation, exhibit low success rates. In Figure 13, the behavior of these schemes is shown with 90% up to 50 epochs and less noise for ASC-RL. CAS-IIoT-RL with a delay component of up to five epochs exhibits slightly slower convergence. The other two, LSTM-RL and AEM-RL, have more noise and delayed convergence. The success rate is 85–90% and 80–88%, respectively. The statistical values of this experiment are shown in Table 9, in which ASC-RL training performance is shown with the other three baseline schemes. A total of 200 epochs, with different success rates, were used for the main metric. In this table, it is shown that ASC-RL has the highest success rate of 0.997, while the other schemes’ highest success rate is 0.862, with the lowest standard deviation of 0.205. In this experiment, it is observed that a success rate greater than 0.8 is observed in just 36 epochs, demonstrating faster convergence. As far as hardware details are concerned, we intend to implement it in hardware in the future. Our published work implemented the off-the-shelf “CC2420” module with some APIs to simulate IoT-based communication.
Figure 13. Compartive Performance of ASC-RL with CAS-IIoT-RL, LSTM-RL, and AEM-RL (Success Rate).
Table 9. Training performance of ASC-RL in 200 epochs with success rate with CAS-IIoT-RL, LSTM-RL, and AEM-RL.
To verify the overall efficiency and optimization in IoT networks, ASC-RL was thoroughly compared with all known parameters with other baseline schemes, as shown in Table 10. Each scheme has its implementation, creating specific results based on the environment. Most of the parameters in this table are types of algorithms, action spaces, state spaces, confidence intervals, discount factors, the number of episodes, and implementation tools.
Table 10. Comparison of ASC-RL and CAS-IIoT-RL, LSTM-RL, and AEM-RL.

8. Conclusions

Cognitive sensors have limited resources, and if no appropriate approach is used during deployment, the sensors are disconnected due to redundant sensing of the same data. The collection of redundant information in IoT networks has an impact on system performance, including energy efficiency, reconfiguration time, latency, and packet loss. To address these issues, we suggest a new reinforcement learning-based technique, “Adaptive scheduling in cognitive IoT sensors to optimize network performance using reinforcement learning (ASC-RL)”. It constructs a function for a state-changing policy from three kinds of parameters: internal parameters (states), environmental parameters (sensing values), and historical parameters (energy levels, roles, and number of switching states). These states eliminate extensive sensing, reduce processing costs, and minimize communication over the radio link. The suggested system minimizes network traffic while improving network performance in terms of energy. The primary parameters assessed are joint Gaussian distributions and event correlations, with the resulting signal intensities, noise, prediction accuracy, and energy efficiency with a combined reward score. In a comparative analysis, ASC-RL improves the overall system performance by 3.5% in detection and transition probability. The probability of false alarms is reduced by 25.7%, the transmission success rate increased by 6.25%, and the energy efficiency and reliability thresholds are increased by 35%.
In future work, we intend to create a Q-learning approach combined with reinforcement learning and apply the transfer learning procedures that allow rewards and agents to apply generic knowledge in the same tasks, reducing time and functional cost. To obtain high learning performance, we intend to incorporate prioritized sampling, experience replay, and adaptive exploration.

Author Contributions

M.N.K.: conceptualization, methodology, software, validation, and writing—review and editing. M.S.: supervision and writing—review and editing. S.L.: supervision and reviewing. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Nuclear Safety Research Program through the Korea Foundation of Nuclear Safety (koFONS) using the financial resource granted by the Nuclear Safety and Security Commission (NSSC) of the Republic of Korea (RS-2021-KN051410, Development of cyber incident response assessment technology for critical digital assets of nuclear power plant (NPP)).

Data Availability Statement

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

Conflicts of Interest

The authors declare that none of the work described in this publication may have been influenced by any known conflicting financial interests or personal ties.

Correction Statement

Due to an error during the publication process, the DAS (Data Availability Statement) provided by the authors was not published. This information has now been updated.

References

  1. Li, C.; Wang, J.; Wang, S.; Zhang, Y. A review of IoT applications in healthcare. Neurocomputing 2024, 565, 127017. [Google Scholar] [CrossRef] [Scilit]
  2. Gkagkas, G.; Vergados, D.J.; Michalas, A.; Dossis, M. The Advantage of the 5G Network for Enhancing the Internet of Things and the Evolution of the 6G Network. Sensors 2024, 24, 2455. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Khan, M.N.; Rahman, H.U.; Khan, M.Z. An energy efficient adaptive scheduling scheme (EASS) for mesh grid wireless sensor networks. J. Parallel Distrib. Comput. 2020, 146, 139–157. [Google Scholar] [CrossRef] [Scilit]
  4. Ullah, I.; Adhikari, D.; Su, X.; Palmieri, F.; Wu, C.; Choi, C. Integration of data science with the intelligent IoT (IIoT): Current challenges and future perspectives. Digit. Commun. Netw. 2024, 11, 280–298. [Google Scholar] [CrossRef] [Scilit]
  5. Casillo, M.; Cecere, L.; Colace, F.; Lorusso, A.; Santaniello, D. Integrating the internet of things (IoT) in SPA medicine: Innovations and challenges in digital wellness. Computers 2024, 13, 67. [Google Scholar] [CrossRef] [Scilit]
  6. Rajkumar, Y.; Santhosh Kumar, S. A comprehensive survey on communication techniques for the realization of intelligent transportation systems in IoT based smart cities. Peer-to-Peer Netw. Appl. 2024, 17, 1263–1308. [Google Scholar] [CrossRef] [Scilit]
  7. Pulimamidi, R. To enhance customer (or patient) experience based on IoT analytical study through technology (IT) transformation for E-healthcare. Meas. Sens. 2024, 33, 101087. [Google Scholar] [CrossRef] [Scilit]
  8. Shahab, H.; Iqbal, M.; Sohaib, A.; Khan, F.U.; Waqas, M. IoT-based agriculture management techniques for sustainable farming: A comprehensive review. Comput. Electron. Agric. 2024, 220, 108851. [Google Scholar] [CrossRef] [Scilit]
  9. Duguma, A.; Bai, X. Contribution of Internet of Things (IoT) in improving agricultural systems. Int. J. Environ. Sci. Technol. 2024, 21, 2195–2208. [Google Scholar] [CrossRef] [Scilit]
  10. Magara, T.; Zhou, Y. Internet of things (IoT) of smart homes: Privacy and security. J. Electr. Comput. Eng. 2024, 2024, 7716956. [Google Scholar] [CrossRef] [Scilit]
  11. Nassereddine, M.; Khang, A. Applications of Internet of Things (IoT) in smart cities. In Advanced IoT Technologies and Applications in the Industry 4.0 Digital Economy; CRC Press: Boca Raton, FL, USA, 2024; pp. 109–136. [Google Scholar]
  12. Khan, M.N.; Rahman, H.U.; Khan, M.Z.; Mehmood, G.; Sulaiman, A.; Shaikh, A.; Alqhatani, A. Energy-efficient dynamic and adaptive state-based scheduling (EDASS) scheme for wireless sensor networks. IEEE Sens. J. 2022, 22, 12386–12403. [Google Scholar] [CrossRef] [Scilit]
  13. Nilima, S.I.; Bhuyan, M.K.; Kamruzzaman, M.; Akter, J.; Hasan, R.; Johora, F.T. Optimizing Resource Management for IoT Devices in Constrained Environments. J. Comput. Commun. 2024, 12, 81–98. [Google Scholar] [CrossRef]
  14. Poyyamozhi, M.; Murugesan, B.; Rajamanickam, N.; Shorfuzzaman, M.; Aboelmagd, Y. IoT—A Promising Solution to Energy Management in Smart Buildings: A Systematic Review, Applications, Barriers, and Future Scope. Buildings 2024, 14, 3446. [Google Scholar] [CrossRef] [Scilit]
  15. Pandey, S.; Bhushan, B. Recent Lightweight cryptography (LWC) based security advances for resource-constrained IoT networks. Wirel. Netw. 2024, 30, 2987–3026. [Google Scholar] [CrossRef] [Scilit]
  16. Sun, Y.; Jung, H. Machine Learning (ML) Modeling, IoT, and Optimizing Organizational Operations through Integrated Strategies: The Role of Technology and Human Resource Management. Sustainability 2024, 16, 6751. [Google Scholar] [CrossRef] [Scilit]
  17. Arshi, O.; Rai, A.; Gupta, G.; Pandey, J.K.; Mondal, S. IoT in energy: A comprehensive review of technologies, applications, and future directions. Peer-to-Peer Netw. Appl. 2024, 17, 2830–2869. [Google Scholar] [CrossRef] [Scilit]
  18. Khan, M.N.; Rahman, H.U.; Hussain, T.; Yang, B.; Qaisar, S.M. Enabling Trust in Automotive IoT: Lightweight Mutual Authentication Scheme for Electronic Connected Devices in Internet of Things. IEEE Trans. Consum. Electron. 2024, 70, 5065–5078. [Google Scholar] [CrossRef] [Scilit]
  19. Khan, M.N.; Khalil, I.; Ullah, I.; Singh, S.K.; Dhahbi, S.; Khan, H.; Alwabli, A.; Al-Khasawneh, M.A. Self-adaptive and content-based scheduling for reducing idle listening and overhearing in securing quantum IoT sensors. Internet Things 2024, 27, 101312. [Google Scholar] [CrossRef] [Scilit]
  20. Mumuni, A.; Mumuni, F. Automated data processing and feature engineering for deep learning and big data applications: A survey. J. Inf. Intell. 2024, 3, 113–153. [Google Scholar] [CrossRef] [Scilit]
  21. Hu, B. Deep learning image feature recognition algorithm for judgment on the rationality of landscape planning and design. Complexity 2021, 2021, 9921095. [Google Scholar] [CrossRef] [Scilit]
  22. Rajawat, A.S.; Goyal, S.; Chauhan, C.; Bedi, P.; Prasad, M.; Jan, T. Cognitive adaptive systems for industrial internet of things using reinforcement algorithm. Electronics 2023, 12, 217. [Google Scholar] [CrossRef] [Scilit]
  23. Rubio-Martín, S.; García-Ordás, M.T.; Bayón-Gutiérrez, M.; Prieto-Fernández, N.; Benítez-Andrades, J.A. Enhancing ASD detection accuracy: A combined approach of machine learning and deep learning models with natural language processing. Health Inf. Sci. Syst. 2024, 12, 20. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  24. Muzaffar, M.U.; Sharqi, R. A review of spectrum sensing in modern cognitive radio networks. Telecommun. Syst. 2024, 85, 347–363. [Google Scholar] [CrossRef] [Scilit]
  25. Ge, J.; Liang, Y.C.; Wang, S.; Sun, C. RIS-assisted cooperative spectrum sensing for cognitive radio networks. IEEE Trans. Wirel. Commun. 2024, 23, 12547–12562. [Google Scholar] [CrossRef] [Scilit]
  26. Wang, J.; Wang, Z.; Zhang, L. A simultaneous wireless information and power transfer-based multi-hop uneven clustering routing protocol for EH-cognitive radio sensor networks. Big Data Cogn. Comput. 2024, 8, 15. [Google Scholar] [CrossRef] [Scilit]
  27. Laidi, R.; Djenouri, D.; Balasingham, I. On predicting sensor readings with sequence modeling and reinforcement learning for energy-efficient IoT applications. IEEE Trans. Syst. Man, Cybern. Syst. 2021, 52, 5140–5151. [Google Scholar] [CrossRef] [Scilit]
  28. Gao, A.; Wang, Q.; Wang, Y.; Du, C.; Hu, Y.; Liang, W.; Ng, S.X. Attention enhanced multi-agent reinforcement learning for cooperative spectrum sensing in cognitive radio networks. IEEE Trans. Veh. Technol. 2024, 73, 10464–10477. [Google Scholar] [CrossRef] [Scilit]
  29. Malik, T.S.; Malik, K.R.; Afzal, A.; Ibrar, M.; Wang, L.; Song, H.; Shah, N. RL-IoT: Reinforcement learning-based routing approach for cognitive radio-enabled IoT communications. IEEE Internet Things J. 2022, 10, 1836–1847. [Google Scholar] [CrossRef] [Scilit]
  30. Ghamry, W.K.; Shukry, S. Spectrum access in cognitive IoT using reinforcement learning. Clust. Comput. 2021, 24, 2909–2925. [Google Scholar] [CrossRef] [Scilit]
  31. Liu, X.; Sun, C.; Yu, W.; Zhou, M. Reinforcement-learning-based dynamic spectrum access for software-defined cognitive industrial internet of things. IEEE Trans. Ind. Inform. 2021, 18, 4244–4253. [Google Scholar] [CrossRef] [Scilit]
  32. Tan, X.; Zhou, L.; Wang, H.; Sun, Y.; Zhao, H.; Seet, B.C.; Wei, J.; Leung, V.C. Cooperative multi-agent reinforcement-learning-based distributed dynamic spectrum access in cognitive radio networks. IEEE Internet Things J. 2022, 9, 19477–19488. [Google Scholar] [CrossRef] [Scilit]
  33. Hemelatha, S.; Kumar, A.; Manchanda, M.; Manashree, K.G.; Kulkarni, O.S. Cognitive Radio-Enabled Internet of Things Communications: A Reinforcement Learning-Based Routing Method. In Proceedings of the 2024 Global Conference on Communications and Information Technologies (GCCIT), Bangalore, India, 25–26 October 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 1–7. [Google Scholar]
  34. Pham, T.T.H.; Noh, W.; Cho, S. Multi-agent reinforcement learning based optimal energy sensing threshold control in distributed cognitive radio networks with directional antenna. ICT Express 2024, 10, 472–478. [Google Scholar] [CrossRef] [Scilit]
  35. Ghamry, W.K.; Shukry, S. Multi-objective intelligent clustering routing schema for internet of things enabled wireless sensor networks using deep reinforcement learning. Clust. Comput. 2024, 27, 4941–4961. [Google Scholar] [CrossRef] [Scilit]
  36. Mukherjee, A.; Divya, A.; Sivvani, M.; Pal, S.K. Cognitive intelligence in industrial robots and manufacturing. Comput. Ind. Eng. 2024, 191, 110106. [Google Scholar] [CrossRef] [Scilit]
  37. Dvir, E.; Shifrin, M.; Gurewitz, O. Cooperative Multi-Agent Reinforcement Learning for Data Gathering in Energy-Harvesting Wireless Sensor Networks. Mathematics 2024, 12, 2102. [Google Scholar] [CrossRef] [Scilit]
  38. Matei, A.; Cocoșatu, M. Artificial Internet of Things, sensor-based digital twin urban computing vision algorithms, and blockchain cloud networks in sustainable smart city administration. Sustainability 2024, 16, 6749. [Google Scholar] [CrossRef] [Scilit]
  39. Al-Quayed, F.; Humayun, M.; Alnusairi, T.S.; Ullah, I.; Bashir, A.K.; Hussain, T. Context-Aware Prediction with Secure and Lightweight Cognitive Decision Model in Smart Cities. Cogn. Comput. 2025, 17, 44. [Google Scholar] [CrossRef] [Scilit]
  40. Sultan, S.M.; Waleed, M.; Pyun, J.Y.; Um, T.W. Energy conservation for internet of things tracking applications using deep reinforcement learning. Sensors 2021, 21, 3261. [Google Scholar] [CrossRef] [Scilit]
  41. Bai, W.; Zheng, G.; Xia, W.; Mu, Y.; Xue, Y. Multi-User Opportunistic Spectrum Access for Cognitive Radio Networks Based on Multi-Head Self-Attention and Multi-Agent Deep Reinforcement Learning. Sensors 2025, 25, 2025. [Google Scholar] [CrossRef] [Scilit]
  42. Tripathy, J.; Balasubramani, M.; Rajan, V.A.; Aeron, A.; Arora, M. Reinforcement learning for optimizing real-time interventions and personalized feedback using wearable sensors. Meas. Sens. 2024, 33, 101151. [Google Scholar] [CrossRef] [Scilit]
  43. Suresh, S.S.; Prabhu, V.; Parthasarathy, V.; Senthilkumar, G.; Gundu, V. Intelligent data routing strategy based on federated deep reinforcement learning for IOT-enabled wireless sensor networks. Meas. Sens. 2024, 31, 101012. [Google Scholar] [CrossRef] [Scilit]
  44. Chen, J.; Zhang, Z.; Fan, D.; Hou, C.; Zhang, Y.; Hou, T.; Zou, X.; Zhao, J. Distributed Decision Making for Electromagnetic Radiation Source Localization Using Multi-Agent Deep Reinforcement Learning. Drones 2025, 9, 216. [Google Scholar] [CrossRef] [Scilit]
  45. Flandermeyer, S.A.; Mattingly, R.G.; Metcalf, J.G. Deep reinforcement learning for cognitive radar spectrum sharing: A continuous control approach. IEEE Trans. Radar Syst. 2024, 2, 125–137. [Google Scholar] [CrossRef] [Scilit]
  46. Mei, R.; Wang, Z. Multi-Agent Deep Reinforcement Learning-Based Resource Allocation for Cognitive Radio Networks. IEEE Trans. Veh. Technol. 2024. [Google Scholar] [CrossRef] [Scilit]
  47. Canese, L.; Cardarilli, G.C.; Dehghan Pir, M.M.; Di Nunzio, L.; Spanò, S. Design and Development of Multi-Agent Reinforcement Learning Intelligence on the Robotarium Platform for Embedded System Applications. Electronics 2024, 13, 1819. [Google Scholar] [CrossRef] [Scilit]
  48. Schulman, J.; Wolski, F.; Dhariwal, P.; Radford, A.; Klimov, O. Proximal policy optimization algorithms. arXiv 2017, arXiv:1707.06347. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

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