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

6 July 2026

16 Pages

Reinforcement Learning for Resource Allocation in Energy-Harvesting Cooperative IoT Networks

,
and
Department of Electrical Engineering/F’SATI, Tshwane University of Technology, Pretoria 0001, South Africa
*
Author to whom correspondence should be addressed.

Abstract

The internet of things (IoT) has rapidly evolved into a ubiquitous communication paradigm for enabling the deployment of autonomous wireless networks across diverse application domains. However, the limited energy storage capacity and computational resources of IoT devices (IoTDs) pose a serious concern to their long-term sustainability and the expected quality of service delivery. Moreover, in the foreseeable era of the internet of everything, centralised network resource management is likely to constrain network scalability. To tackle these challenges in the current and next-generation communication networks, the adoption of adaptive and lightweight computational frameworks coupled with energy-efficient transmission strategies is essential. To demonstrate this, we exploit the concept of cooperative communication and radio frequency-based energy-harvesting to improve the network throughput while maintaining power supply to the IoTDs. Furthermore, to intelligently and autonomously perform resource allocation, we employ the reinforcement learning frameworks, particularly state–action–reward–state–action (SARSA) and Q-learning. Based on key performance evaluation metrics, we compare our findings with the baseline methods, including the equal, random, and greedy power level selection schemes, with SARSA exhibiting the most favourable performance trade-offs.

1. Introduction

Recently, the pervasive deployment of internet of things devices (IoTDs) for different applications has revolutionised various fields. These applications include environmental monitoring for weather forecasts in meteorology, health monitoring of buildings and bridges in structural engineering, precision farming and smart irrigation in agriculture, patient health monitoring in medicine, and so on [1,2]. Therefore, the importance of real-time data processing in internet of things (IoT) networks for enabling rapid decision-making cannot be overemphasised.
However, IoTDs are characterised by low computational capability and constrained energy resources. Consequently, they may be unable to efficiently support the local execution of complex signal processing algorithms and advanced security protocols. As a result, the computational tasks are often offloaded to the cloud or edge servers for processing [3,4]. However, this strategy introduces additional delay, bandwidth constraints, and energy consumption, particularly during data re-transmission due to link failure [5,6]. Moreover, IoTDs are often deployed in complex environments or remote areas where signal coverage may be limited. Consequently, the integration of intermediate transmitters in IoT networks, such as relay nodes, has been proposed to enhance link reliability between the serving transmitter and the IoTDs, an approach commonly referred to as cooperative IoT communication [7,8,9].
To support the scalability of cooperative IoT networks, battery-powered relays are deployed to overcome challenges associated with extending conventional power supply to harsh or remote environments. In line with the sustainable development goal of affordable and clean energy, recent studies have demonstrated the integration of energy-harvesting technologies into cooperative IoT networks. The primary objective is to harness ambient renewable energy sources (e.g., solar and radio frequency (RF)), which are subsequently converted into electrical energy to replenish relay batteries [10,11]. In this regard, energy harvesters, such as photovoltaic cells or rectennas, are integrated into relay receiver hardware to capture energy from renewable sources, thereby mitigating the challenge of manual battery recharging or replacement and enabling autonomous network operation [12,13,14].
Given the intermittent nature of renewable energy sources and the randomness of fading transmission channels, cooperative energy-harvesting IoT networks can be regarded as causal systems [15]. Consequently, efficient and adaptive resource management is essential for optimizing network performance. Traditional closed-form and iterative optimisation methods often rely on non-causal knowledge of network parameters, which may be impractical in real-world deployments. Furthermore, when complex mathematical models are involved, these solutions may not scale effectively, as they can become computationally intractable at each node in large-scale network scenarios [16].
To overcome this challenge, reward-oriented machine learning algorithms, particularly reinforcement learning, have attracted significant attention for solving various resource allocation problems in stochastic networks without requiring prior knowledge of network parameters [17]. The reinforcement learning (RL) framework enables a decision-making node within the network to learn an optimal policy that maximises an objective function through direct interaction with the network environment using a trial-and-error approach [18]. Furthermore, given the limited energy and computational resources of the IoTDs, RL algorithms are relatively lightweight and can be easily integrated at each node, in contrast to widely adopted deep learning algorithms that rely on computationally intensive frameworks [19]. Therefore, in this paper, our aim is to develop efficient and adaptive resource allocation policies for optimal operation of energy-harvesting cooperative IoT networks.

3. System Model

The network scenario depicted in Figure 1 illustrates a cooperative IoT network with single antenna–antenna nodes. The main access point (AP) transmits data to the user equipment (UE), U k , k ∈ { 1 , 2 } , in the network. Here, U 1 and U 2 are designated as the relay and the destination IoT devices, respectively. Owing to the near–far effect on the transmit signals, U 2 may experience deep fading. Thus, U 1 can be employed to serve as an intermediate transmitter for U 2 . The transmission is scheduled in N orthogonal time slots with a total time duration of T. Furthermore, a quasi-static fading channel is assumed in the downlink transmission, where the channel gains between the AP and the UE remain fixed during each transmission block of duration T but vary independently between blocks.
Figure 1. System model.
As depicted in Figure 2, each transmission block is partitioned into three time slots of duration τ T , ( 1 − τ ) T / 2 , and ( 1 − τ ) T / 2 , for energy-harvesting at U 1 , data transfer from AP to U 1 and U 2 , and data transfer from U 1 to U 2 , respectively, and τ is the fraction of time allocated for each slot. Let p 0 , i denote the transmit power of the AP at the ith fading block; hence, the corresponding harvested energy by U 1 can be written as
e i = η τ T p 0 , i | h 1 | 2 , i ∈ { 1 , 2 , … , I } ,
where 0 < η < 1 is the energy conversion efficiency and h 1 is the fading channel coefficient between AP and U 1 . The harvested energy is stored in the U 1 battery; hence, we denote the battery level over a transmission block T as b i having a finite capacity of B. Since U 1 also receives the broadcast signal from AP in the first ( 1 − τ ) T / 2 time slot, it uses its harvested energy to forward the received signal to U 2 in the second ( 1 − τ ) T / 2 using the decode-and-forward protocol. Thus, the achievable rate at U k at a particular fading block is given as
R k , i ( 1 ) = 1 − τ 2 log 2 ( 1 + | h k , i | 2 p 0 , i σ 2 ) , k ∈ { 1 , 2 }
where σ is the noise variance at U k , i . Furthermore, U 1 can only use the harvested energy for transmission after it has been stored in the battery. Hence, the achievable rate in the second transmission time slot can be given as
R 2 , i ( 2 ) = 1 − τ 2 log 2 ( 1 + | h 12 , i | 2 p 1 , i σ 2 ) ,
where p 1 , i is the harvested power allocated for transmitting the data of U 2 . The harvested power can be computed from (1) as
p 1 , i = η τ p 0 , i | h 1 | 2
Furthermore, we assume that the direct and cooperative links are aggregated at the U 2 based on a maximum ratio combining (MRC) technique, which can be given as
R 2 M R C = 1 − τ 2 log 2 1 + 1 σ 2 ( | h 2 , i | 2 p 0 , i + | h 12 , i | 2 p 1 , i ) .
Figure 2. Energy and data transfer protocol.
Further, to satisfy the energy overflow constraints at the relay, we have
b i − e ^ i + e i ≤ B max ,
where b i and B max denote the instantaneous battery and maximum battery levels in the ith transmission block, and e ^ i = e i ( 1 − τ ) 2 denotes the energy utilised for transmitting the data of U 2 . Moreover, the battery state at the next transmission block can be expressed as
b i + 1 = min ( b i − e ^ + e i , B max , k )
Similarly, U 1 must satisfy data transmission feasibility and overflow constraints as specified in (8) and (9), respectively.
R 1 , i ( 1 ) ≤ D 1 , i
d 1 , i + 1 = min ( D 1 , i − R 1 , i , D max , k )
The constraint in (8) ensures that U 1 transmits only its stored data, while (9) discards incoming data once its maximum data buffer capacity is reached. D 1 , i and D max denote the data buffer and maximum data buffer levels, respectively.

4. Problem Formulation

Here, we consider a resource allocation approach that ensures successful data delivery to the destination IoT node within a specified time interval of a given transmission block. Since the direct AP- U 2 link may experience deep fading, the likelihood of data outage at the destination IoT node largely depends on the harvested energy and data availability at the relay node. Consequently, given (6)–(8), the problem can be formulated as a power allocation problem aimed at maximising throughput, as expressed in (10a).
P 1 : max p n , i n ∈ { 0 , 1 } , ∑ i = 1 I R 2 M R C , subject to :
∑ i = 1 I e ^ i − ∑ i = 1 I e i ≤ B max , k ,
  ∑ i = 1 I e i ≤ ∑ i = 1 I e ^ i ,
  ∑ i = 1 I R k , i ≤ ∑ i = 1 I D m a x ,
  p n , i ≥ σ 2 | h k , i | 2 ψ ,
    L k , i ′ ≥ L k , i R t h
where the constraints (10b)–(10d) ensure that the battery capacity, harvested energy, and buffer capacity over the entire transmission block are not violated. The constraint in (10e) is the minimum transmit power required to ensure data throughput in the network, and ψ = 2 2 R t h 1 − τ − 1 and R t h are the corresponding SNR and target data rate, respectively. The latency constraint is given in (10f), where L k , i denotes the transmitted packet size.

5. Proposed Solution

In problem (10), observe that the continuous-time random processes, including the energy arrival rate at U 1 , data arrival rate at both U 1 and U 2 , and the channel fading coefficients between the network nodes, are involved. Also, note that the time allocation for the energy and information transfer is defined over a discrete interval. Therefore, the problem can be formulated as a mixed-integer nonlinear optimisation problem, which is challenging to solve.
One could simplify the solution by applying traditional optimisation methods, such as the Lagrangian optimisation method, based on the assumption of global energy constraints. For instance, consider the transmit power constraints in (10e) having a Lagrangian expression of   
L i = 1 − τ 2 log 2 ( 1 + | h 2 , i | 2 p 0 , i + | h 12 , i | 2 p 1 , i σ 2 ) − λ n p n , i − σ 2 | h k , i | 2 ψ , n ∈ { 0 , 1 } ,
where λ n denotes the Lagrange multiplier for the transmit power constraint. Using the Karush–Kuhn–Tucker conditions, the derivative with respect to p 0 , i and p 1 , i can be given as
∂ L i ∂ p 0 , i = 1 − τ 2 ln 2 | h 2 , i | 2 σ 2 + | h 2 , i | 2 p 0 , i + | h 12 | 2 p 1 , i − λ 0 = 0
and
∂ L i ∂ p 0 , i = 1 − τ 2 ln 2 | h 12 , i | 2 σ 2 + | h 2 , i | 2 p 0 , i + | h 12 | 2 p 1 , i − λ 1 = 0 ,
respectively. The solutions to (12) and (13) admit a generalised water-filling closed-form solution, which can be written as
p 0 , i * = 1 − τ 2 ln 2 1 λ 0 − σ 2 + | h 12 , i | 2 p 1 , i * | h 2 , i | 2 + ,
and
p 1 , i * = 1 − τ 2 ln 2 1 λ 1 − σ 2 + | h 2 , i | 2 p 0 , i * | h 12 , i | 2 + ,
respectively.
However, aside from the oversimplified form of the solutions in (14) and (15), this approach and other similar closed-form optimisation methods would require non-causal knowledge of the aforementioned random processes, which is unrealistic in practice. Hence, by leveraging both present and past information on the decisions taken at the AP and the relay, including the selection of transmit power levels and operation of the relay in cooperative mode, the throughput of the IoT node can maximised, thereby minimizing transmission delay. Since these decisions are based on energy availability, channel conditions, and the levels of the energy and data buffers, the optimisation problem can be modelled as a Markov decision process (MDP) and RL can be employed to obtain an optimal solution.

MDP Preliminaries

An MDP provides the framework that enables decision-makers or agents (i.e., the AP and relay) to learn via direct interaction with the network environment. It can be defined by a tuple ( S , A , P , R ) , where S represents a finite set of states, A is the finite set of actions chosen by an agent, and P : S × S × A → [ 1 , 0 ] is the transition probability to a new state s ′ ∈ S after an action a ∈ A is taken in state s ∈ S . The notation r : S × A → R is the expected reward for executing the selected action. In the following, we map the described elements to the formulated optimisation problem.
(1)
States: These consist of the battery and harvested energy levels of the relay, that is, b 1 , i and e 1 , i , respectively, the buffer levels of the relay and the IoT devices d k , i , and the channel coefficients between the nodes h k and h 12 . Hence, the state space can be expressed as s i ∈ { b 1 , i , e 1 , i , d k , i , h k , h 12 } .
(2)
Actions: The set of actions, A, includes the transmit power values of the AP and the relay that can be selected to maximise the throughput of the destination IoT device. This can be expressed as p n , i ∈ A n = { 0 , ξ n , 2 ξ n , … , P n , max } n ∈ { 0 , 1 } , where ξ denotes the step size. To relax the constraints in (10), we reconstruct the action space to enforce (10b) and (10e) such that
A n = p n , i p n , i ≥ σ 2 | h k , i | 2 ψ , e 1 , i ≤ b 1 , i 0 otherwise .
(3)
Reward: This is related to the impact of the selected transmit power on the expected throughput of the IoT device, which can be formulated as
R i = E ∑ i = 1 I γ i R 2 M R C ,
where 0 ≤ γ ≤ 1 is the discount factor.
Accordingly, we can reformulate (10) as
P 2 : max p n , i n ∈ { 0 , 1 } E ∑ i = 1 I γ i R 2 M R C subject to : ( 10 b ) − ( 10 f )

6. RL Framework

Here, we propose the RL algorithms to solve the MDP problem in (18). Due to the dynamic and unpredictable nature of the state space elements coupled with the requirement of their non-causal knowledge in constraints (10b)–(10f) to solve the problem, it is appropriate to employ the model-free RL algorithm. Hence, we investigate the performance of SARSA and Q-learning algorithms to find the power allocation policies that maximise the system throughput.
The SARSA algorithm is based on learning the action-value function Q ( s , a ) . During the ith interval, the A P and U 1 are in state s n , i and they select from the set of A n , comprising different transmit power levels. After the transmission is performed, they transition into a new state s n , i + 1 , having an immediate reward of R n , i + 1 . The expression for the update rule of the learned Q-value in the Q-table can be performed recursively as
Q ( s n , i , p n , i ) ← Q ( s n , i , p n , i ) + α [ R n , i + 1 + γ Q ( s n , i + 1 , p n , i + 1 ) − Q ( s n , i , p n , i ) ] ,
where α ∈ [ 0 , 1 ] is the learning rate. Furthermore, to ensure convergence, it is necessary to balance the trade-off between the exploration and exploitation of the agents’ environment. Thus, we employ an ε -greedy strategy for the action selection at any state s n , i , which can be expressed as follows:
p n , i = argmax p n , i Q ( s n , i , p n , i ) with probability 1 − ε , random p n , i with probability ε .
Note that the SARSA learning in (19) is regarded as an on-policy RL technique since the Q-values are updated by choosing the power values in the next state according to the ε -greedy policy [36]. On the other hand, the Q-learning technique updates its Q-values towards the greedy target policies by selecting the power value p n , i ′ that maximises the Q-values in the next state [37,38]. Therefore, Q-learning is regarded as an off-policy RL technique, which can be modified as
Q ( s n , i , p n , i ) ← Q ( s n , i , p n , i ) + α [ R n , i + 1 + γ max p i , n ′ Q ( s n , i + 1 , p n , i ′ ) − Q ( s n , i , p n , i ′ ) ] .
As stated in expressions (19) and (21), the RL-based algorithms for the throughput maximisation problem in (18) are summarised in Algorithms 1 and 2, respectively.
Algorithm 1 SARSA for Throughput Maximisation
  • Input parameters: α , γ , ε , ξ
  • Output: Optimised Q-values
1:
Initialise Q ( s n , i , p n , i ) = 0 for all ( s n , i , p n , i ) pairs
2:
for each episode do
3:
      initialise s n , i
4:
      choose p n , i according to (20)
5:
      for  i ∈ { 1 , … I }  do
6:
         use selected p n , i to transmit data
7:
         get the reward R n , i + 1
8:
         observe the next state s n , i + 1
9:
         select the next action according to (20)
10:
        get Q ( s n , i + 1 , p n , i + 1 ) from the Q-table
11:
        update Q ( s n , i , p n , i ) by (19)
12:
        set s n , i = s n , i + 1 ; p n , i = p n , i + 1
13:
    end for
14:
end for
Algorithm 2 Q-learning for Throughput Maximisation
  • Input parameters: α , γ , ε , ξ
  • Output: Optimised Q-values
1:
Initialise Q ( s n , i , p n , i ) = 0 for all ( s n , i , p n , i ) pairs
2:
for each episode do
3:
      initialise s n , i
4:
      choose p n , i according to (20)
5:
      for  i ∈ { 1 , … I }  do
6:
         using selected p n , i to transmit data
7:
         get the reward R n , i + 1
8:
         observe the next state s n , i + 1
9:
         select the next action according to (20)
10:
        get max p i , n ′ Q ( s n , i + 1 , p n , i ′ ) from the Q-table
11:
        update Q ( s n , i , p n , i ) by (21)
12:
        set s n , i = s n , i + 1
13:
    end for
14:
end for

Complexity

Regarding the computational complexities of the proposed algorithms, the analysis is performed in terms of the number of users in the network N, the number of episodes E, the number of iterations per episode I, and the action space A. In the case of SARSA, for each iteration with an episode, the action selection based on the ε -policy has the complexity of O ( A ) . For Q-table lookup, reward computation and Q-value update, each process has a computation of O ( 1 ) . Therefore, the complexity per iteration per user is O ( A ) . Consequently, the complexity per episode can be computed as O ( N A I E ) . In the case of Q-learning, the ε -action selection strategy requires a computation of O ( A ) and the maximum Q-value computation max p i , n ′ Q ( s n , i + 1 , p n , i ′ ) → O ( A ) . Thus, Q-learning exhibits the same asymptotic computational complexity as SARSA.

7. Results and Discussion

The network and simulation parameters used in this study are provided in Table 1.
Table 1. System simulation parameters.
The scripting and execution of the algorithms are performed and executed in MATLAB R2024b on Windows 11 with a 2.40 GHz i5-1135G7 processor and 16 GB RAM. The channel gains are estimated following the Rayliegh channel model h k ∈ { 1 , 2 } = d n − λ and h 12 = d 3 − λ , where d k and d 12 represent the distance from the AP to U 1 and U 2 , and the distance from U 1 to U 2 , respectively. λ is the path loss exponent. We compare the results obtained with baseline scenarios where the chosen transmit power in each time slot is ( i ) equal, ( i i ) randomly selected, and ( i i i ) the case where the maximum feasible transmit power is always selected, referred to as the greedy method.
In addition to evaluating the network throughput performance, we further analyze the energy efficiency and system latency, which are defined as follows.
Energy Efficiency = 1 − τ 2 ∑ i = 0 I log 2 1 + 1 σ 2 | h k , i | 2 p 0 , i + | h 2 , i | 2 p 0 , i + | h 12 , i | 2 p 1 , i p 0 + p n c − p 1
where P 0 , p n c and p i denote the AP transmission power, circuit power consumption of the AP and the relay, and the harvest power at the relay.
Latency = L k , i max { 1 − τ 2 ∑ i = 0 I log 2 ( 1 + | h k , i | 2 p 0 , i σ 2 ) ,   1 − τ 2 ∑ i = 0 I log 2 ( 1 + 1 σ 2 ( | h 2 , i | 2 p 0 , i + | h 12 , i | 2 p 1 , i ) ) } ,
where L k , i denotes the transmitted packet size.

7.1. Throughput of Destination IoTD

Figure 3 depicts the throughput performance of the destination IoTD, U 2 . We observe a significant transition to the convergence region at approximately 600 episodes. Furthermore, prior to the convergence phase, the proposed Q-learning and SARSA operate predominantly in the exploration–exploitation phase, indicating incomplete convergence of the policy. Beyond this phase, Q-learning achieves the highest instantaneous throughput performance, followed by SARSA. This gain can be attributed to its off-policy approach to power level selection, where the decision-making nodes greedily choose a higher transmit power level at the successive time slot.
Figure 3. Convergence of throughput of destination IoTD R t h = 0.5 bps/Hz.
In contrast, although SARSA attains a lower throughput than Q-learning, its on-policy learning mechanism promotes more stable power allocation decisions. As a result, it can reduce large fluctuations in battery levels and energy consumption, thereby supporting more sustainable network operation. Among the baseline methods, the greedy algorithm initially demonstrates the best performance, followed by the equal transmit power selection. However, rapid degradation is later observed in both schemes, which can be attributed to the fast depletion of the U 1 battery, potentially limiting effective cooperation in the network. The degradation observed under equal power selection can be linked to the inability of the AP and U 1 to adapt to the energy, channel, and data causality. This lack of adaptability also explains the worst-case performance exhibited by the random power selection scheme.

7.2. Throughput of Destination IoTD Under Higher Rate Threshold

In Figure 4, we examine the throughput performance of U 2 when R t h is increased to 1 bps/Hz, in contrast to the scenario depicted in Figure 3, where R t h = 0.5 bps/Hz. For both SARSA and Q-learning, convergence is observed after approximately 300 episodes. This behaviour is due to the fact that as the rate threshold increases, the reward function in the algorithms will assign a lesser reward to power selection that yields insufficient throughput, thereby leading to a faster transition to the convergence region. Moreover, as the R t h increases, there is a high likelihood of the direct link not satisfying this value due to deep fading. This may lead to higher exploitation of the cooperative links, i.e., h 1 and h 12 . Therefore, as the R t h increases asymptotically, we can infer that the throughput of the system will be dominated by the cooperative link. However, to satisfy a higher R t h , an increase in the transmit power of both the AP and U 1 may be required, which can adversely impact the system’s energy efficiency.
Figure 4. Convergence of throughput of destination IoTD R t h = 1 bps/Hz.

7.3. Sum-Throughput of the System

The outcome of the aggregation of the network sum-throughput based on the expressions in (2) and (5) is depicted in Figure 5. As expected, SARSA and Q-learning outperform the baseline methods. Moreover, an early convergence of both algorithms is observed, indicating fair resource allocation in the proposed solution. In the case of equal and greedy power selection schemes, though their performances remain below Q-learning and SARSA, a negligible difference is observed in both schemes. This is primarily due to the choice of power allocation scheme enforced in the simulation, which is 0.8 P n ∈ { 0 , 1 } , while the greedy algorithms always aim for the selection of the highest feasible power level. As observed in the previous results, the random power selection scheme yields the poorest performance among all considered methods. Since transmit power levels are selected without considering the network state information, the scheme frequently allocates resources inefficiently, resulting in reduced cooperation efficiency and a significantly lower network sum-throughput.
Figure 5. Convergence of system sum-throughput.

7.4. Energy Efficiency

Figure 6 illustrates the energy efficiency of the developed system, which is computed in (22) as the ratio of the sum-throughput to total power consumption in the network. Both Q-learning and SARSA exhibit fluctuations in the first 500 episodes, which can be attributed to the exploration of different transmission power levels. Beyond this phase, both algorithms progressively converge, with Q-learning showing marginal improvement over SARSA. Although SARSA is expected to outperform Q-learning due to its more conservative selection of power levels, which leads to a relatively lower throughput, this constitutes the primary factor limiting its overall energy efficiency. Furthermore, the greedy scheme exhibits the worst performance as it consistently selects high transmit power at every successive time slot. This observation validates the fact that higher power consumption is not desirable for energy-efficient system design.
Figure 6. System energy efficiency.

7.5. System Latency

In Figure 7, we examine the latency performance of the system. We observe a slight improvement in the latency of Q-learning compared with SARSA, where the convergence is observed at mean values of 4 s and 5 s, respectively. Q-learning rapidly converges to a policy that maximises the system throughput due to its aggressive reward structure, which encourages the selection of transmit power levels that maximise the system throughput. Also, we observe that Q-learning and SARSA exhibit marginal performance with the baseline schemes, except for the random scheme with the poorest performance. This observation suggests that while the baseline schemes can achieve acceptable latency performance under certain conditions, they are unable to consistently adapt their transmission decisions to the dynamic network environment. In contrast, the learning-based approaches continuously adjust their actions according to variations in channel quality, battery state, harvested energy, and queue conditions, enabling more efficient utilisation of network resources.
Figure 7. System latency.

8. Conclusions

In this paper, the development of an RL framework for resource allocation in a cooperative IoT network is demonstrated. Moreover, an RF-based energy-harvesting technique is employed to replenish the battery of the relay node. The resource allocation problem is formulated such that the throughput of the destination IoTD is maximised. Owing to the unavailability of non-causal or statistical information regarding harvested energy, channel conditions, and data arrival rates, we adopt model-free RL approaches, namely SARSA and Q-learning. Based on the simulation results, SARSA shows the most favourable performance trade-offs in comparison with Q-learning. In addition, our findings outperform the baseline methods such as the equal, random, and greedy transmission power level schemes, with the random power level selection approach exhibiting the worst performance. In our future work, we intend to incorporate an edge computing framework within large-scale IoT networks to enhance the computational performance of the developed system. Moreover, we shall also introduce the concept of post-decision state to accelerate the convergence rate of the proposed SARSA and Q-learning.

Author Contributions

Conceptualization; O.A., T.O.O. and M.E.M.; methodology, O.A.; validation, T.O.O., M.E.M. and O.A.; formal analysis. O.A.; writing—original draft preparation, O.A.; writing—review and editing, T.O.O. and M.E.M.; resources, T.O.O. and M.E.M.; supervision, T.O.O. and M.E.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Tshwane University of Technology, South Africa.

Data Availability Statement

The dataset used is contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Ullah, I.; Bilal, H.; Sharafian, A.; Betalo, M.L.; Samy, S.A.; Bai, X. The Internet of Nature Things (IoNT): Pioneering a New Frontier in Environmental Monitoring and Sustainable Ecosystem Management. IEEE Internet Things J. 2026, 13, 4018–4045. [Google Scholar] [CrossRef] [Scilit]
  2. Sharma, B.P.; Peelam, M.S.; Gupta, A.; Shekhar, C.; Chamola, V. A Comprehensive Survey on Data Converters for IoT Applications: Scope, Issues, and Future Directions. IEEE Internet Things J. 2025, 12, 18993–19017. [Google Scholar] [CrossRef] [Scilit]
  3. Ribeiro, A.R.; Andrade, A.C.S.; dos Santos, G.L.; Marcondes Lopes, G.D.; Oliveira, E.M.d.; Souza, A.D.d.; Machado, J.B. Green Scheduling and Task Offloading in Edge Computing: A Systematic Review. Network 2026, 6, 17. [Google Scholar] [CrossRef] [Scilit]
  4. Kumar, A.; Pal, A. A Survey on Computation Offloading and Current Trends. IEEE Access 2025, 13, 185318–185356. [Google Scholar] [CrossRef] [Scilit]
  5. Schulz, J.; Seeling, P.; Reisslein, M.; Fitzek, F.H.P. No Further Delay: Making Time an Ally of Edge Computation of AI Workloads. IEEE Internet Things Mag. 2026, 9, 33–40. [Google Scholar] [CrossRef] [Scilit]
  6. Liu, J.; Du, Y.; Yang, K.; Wu, J.; Wang, Y.; Hu, X.; Wang, Z.; Liu, Y.; Sun, P.; Boukerche, A.; et al. Edge-Cloud Collaborative Computing on Distributed Intelligence and Model Optimization: A Survey. IEEE Commun. Surv. Tutor. 2026, 28, 5049–5080. [Google Scholar] [CrossRef] [Scilit]
  7. Cheikh, I.; Roy, S.; Sabir, E.; Aouami, R. Energy, Scalability, Data, and Security in Massive IoT: Current Landscape and Future Directions. IEEE Internet Things J. 2026, 13, 10127–10163. [Google Scholar] [CrossRef] [Scilit]
  8. Zhang, Z.; Atapattu, S.; Ren, B.; Wang, Y.; Di Renzo, M. Optimizing Energy-Efficient Cooperative MAC Strategies for Data Collection in IoT Networks with Terrestrial and Nonterrestrial Relays. IEEE Internet Things J. 2025, 12, 35556–35576. [Google Scholar] [CrossRef] [Scilit]
  9. Bagheri, A. Toward Next-Generation Connectivity: Analyzing Cell Edge User Connectivity in Cooperative NOMA-Based Cellular Networks Over Correlated Rayleigh Channels for B5G and 6G. IEEE Trans. Commun. 2025, 73, 12533–12544. [Google Scholar] [CrossRef] [Scilit]
  10. Hammoud, K.; Landivar, J.F.; Häkkinen, J.; Volskiy, V.; Schreurs, D.; Pollin, S.; Visser, H.J. Efficient Light Energy Harvesting and RF Distribution for Dense IoT Networks. IEEE Internet Things J. 2026, 13, 15005–15019. [Google Scholar] [CrossRef] [Scilit]
  11. Qasim Alazzawi, M.; Sánchez-Aarnoutse, J.C.; Martínez-Sala, A.S.; Cano, M.D. Green IoT: Energy Efficiency, Renewable Integration, and Security Implications. IET Netw. 2025, 14, e70003. [Google Scholar] [CrossRef] [Scilit]
  12. Safaei, B.; Peiravian, M.; Siamaki, M. Eco-Friendly IoT: Leveraging Energy Harvesting for a Sustainable Future. IEEE Sens. Rev. 2025, 2, 32–75. [Google Scholar] [CrossRef] [Scilit]
  13. Balouch, Z.A.; Sampe, J.; Misran, N.; Abdullah, H.; Rhazali, Z.A.; Yunus, N.H.M. Rectennas in RF energy harvesting: A comparative analysis on design, performance and challenges for low power devices. Sustain. Energy Technol. Assess. 2026, 87, 104918. [Google Scholar] [CrossRef] [Scilit]
  14. Li, X.; Jiang, J.; Wang, H.; Han, C.; Chen, G.; Du, J.; Hu, C.; Mumtaz, S. Physical Layer Security for Wireless-Powered Ambient Backscatter Cooperative Communication Networks. IEEE Trans. Cogn. Commun. Netw. 2023, 9, 927–939. [Google Scholar] [CrossRef] [Scilit]
  15. Alamu, O.; Olwal, T.O.; Migabo, E.M. Machine learning applications in energy harvesting internet of things networks: A review. IEEE Access 2025, 13, 4235–4266. [Google Scholar] [CrossRef] [Scilit]
  16. Dulaj, K.; Alhammadi, A.; Shayea, I.; El-Saleh, A.A.; Alnakhli, M. Harnessing Machine Learning for Intelligent Networking in 5G Technology and Beyond: Advancements, Applications and Challenges. IEEE Open J. Intell. Transp. Syst. 2025, 6, 605–633. [Google Scholar] [CrossRef] [Scilit]
  17. Hady, M.A.; Hu, S.; Pratama, M.; Cao, Z.; Kowalczyk, R. Multi-agent reinforcement learning for resources allocation optimization: A survey. Artif. Intell. Rev. 2025, 58, 354. [Google Scholar] [CrossRef] [Scilit]
  18. Frikha, M.S.; Gammar, S.M.; Lahmadi, A.; Andrey, L. Reinforcement and deep reinforcement learning for wireless Internet of Things: A survey. Comput. Commun. 2021, 178, 98–113. [Google Scholar] [CrossRef] [Scilit]
  19. Xi, M.; Dai, H.; He, J.; Li, W.; Wen, J.; Xiao, S.; Yang, J. A lightweight reinforcement-learning-based real-time path-planning method for unmanned aerial vehicles. IEEE Internet Things J. 2024, 11, 21061–21071. [Google Scholar] [CrossRef] [Scilit]
  20. An, H.; Park, H. Energy-Balancing Resource Allocation for Wireless Cooperative IoT Networks with SWIPT. IEEE Internet Things J. 2022, 9, 12258–12271. [Google Scholar] [CrossRef] [Scilit]
  21. Vu, T.H.; Nguyen, T.V.; Kim, S. Cooperative NOMA-Enabled SWIPT IoT Networks with Imperfect SIC: Performance Analysis and Deep Learning Evaluation. IEEE Internet Things J. 2022, 9, 2253–2266. [Google Scholar] [CrossRef] [Scilit]
  22. Alkhawatrah, M. Energy-Harvesting Cooperative NOMA in IOT Networks. Model. Simul. Eng. 2024, 2024, 1043973. [Google Scholar] [CrossRef] [Scilit]
  23. Alharbi, T.E. Resource Allocation and Energy Harvesting in UAV-Assisted Full-Duplex Cooperative NOMA Systems. Mathematics 2025, 13, 3544. [Google Scholar] [CrossRef] [Scilit]
  24. Minhaj, S.U.; Mahmood, A.; Abedin, S.F.; Hassan, S.A.; Bhatti, M.T.; Ali, S.H.; Gidlund, M. Intelligent resource allocation in LoRaWAN using machine learning techniques. IEEE Access 2023, 11, 10092–10106. [Google Scholar] [CrossRef] [Scilit]
  25. Ahsan, W.; Yi, W.; Qin, Z.; Liu, Y.; Nallanathan, A. Resource allocation in uplink NOMA-IoT networks: A reinforcement-learning approach. IEEE Trans. Wirel. Commun. 2021, 20, 5083–5098. [Google Scholar] [CrossRef] [Scilit]
  26. 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]
  27. Jayakumar, S.; Nandakumar, S. Distributed resource optimisation using the Q-learning algorithm, in device-to-device communication: A reinforcement learning paradigm. Results Eng. 2024, 23, 102462. [Google Scholar] [CrossRef] [Scilit]
  28. Jisi, C.; Roh, B.h.; Ali, J. Reliable paths prediction with intelligent data plane monitoring enabled reinforcement learning in SD-IoT. J. King Saud Univ. Comput. Inf. Sci. 2024, 36, 102006. [Google Scholar] [CrossRef] [Scilit]
  29. Chen, X.; Mao, Y.; Xu, Y.; Yang, W.; Chen, C.; Lei, B. Energy-efficient multi-hop LoRa broadcasting with reinforcement learning for IoT networks. Ad. Hoc. Netw. 2025, 169, 103729. [Google Scholar] [CrossRef] [Scilit]
  30. Nishat, T.A.H.; Jeong, J.H.; Jo, H.; Xia, S.; Liu, J. Reinforcement learning for adaptive battery management of structural health monitoring IoT sensor network. Appl. Energy 2025, 390, 125731. [Google Scholar] [CrossRef] [Scilit]
  31. Kang, J.M. Reinforcement learning based adaptive resource allocation for wireless powered communication systems. IEEE Commun. Lett. 2020, 24, 1752–1756. [Google Scholar] [CrossRef] [Scilit]
  32. Omidkar, A.; Khalili, A.; Nguyen, H.H.; Shafiei, H. Reinforcement-learning-based resource allocation for energy-harvesting-aided D2D communications in IoT networks. IEEE Internet Things J. 2022, 9, 16521–16531. [Google Scholar] [CrossRef] [Scilit]
  33. Ortiz, A.; Al-Shatri, H.; Li, X.; Weber, T.; Klein, A. Reinforcement learning for energy harvesting decode-and-forward two-hop communications. IEEE Trans. Green Commun. Netw. 2017, 1, 309–319. [Google Scholar] [CrossRef] [Scilit]
  34. Ortiz, A.; Weber, T.; Klein, A. Multi-agent reinforcement learning for energy harvesting two-hop communications with a partially observable system state. IEEE Trans. Green Commun. Netw. 2021, 5, 442–456. [Google Scholar] [CrossRef] [Scilit]
  35. Dutta, H.; Bhuyan, A.K.; Biswas, S. Cooperative Reinforcement Learning for Energy Management in Multi-Hop Networks with Energy Harvesting. IEEE Trans. Green Commun. Netw. 2025, 9, 1783–1793. [Google Scholar] [CrossRef] [Scilit]
  36. Rummery, G.A.; Niranjan, M. On-Line Q-Learning Using Connectionist Systems; University of Cambridge, Department of Engineering: Cambridge, UK, 1994; Volume 37. [Google Scholar]
  37. Watkins, C.J.; Dayan, P. Q-learning. Mach. Learn. 1992, 8, 279–292. [Google Scholar] [CrossRef] [Scilit]
  38. Sutton, R.S.; Barto, A.G. Reinforcement Learning: An Introduction, 2nd ed.; MIT Press: Cambridge, UK, 2018. [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.