RL for IoT Routing and Resource Management
RL for IoT Routing and Resource Management
Review
Reinforcement-Learning-Based Routing and Resource
Management for Internet of Things Environments: Theoretical
Perspective and Challenges
Arslan Musaddiq * , Tobias Olsson and Fredrik Ahlgren
Department of Computer Science and Media Technology, Linnaeus University, 39182 Kalmar, Sweden;
[Link]@[Link] (T.O.); [Link]@[Link] (F.A.)
* Correspondence: [Link]@[Link]
Abstract: Internet of Things (IoT) devices are increasingly popular due to their wide array of
application domains. In IoT networks, sensor nodes are often connected in the form of a mesh
topology and deployed in large numbers. Managing these resource-constrained small devices
is complex and can lead to high system costs. A number of standardized protocols have been
developed to handle the operation of these devices. For example, in the network layer, these small
devices cannot run traditional routing mechanisms that require large computing powers and
overheads. Instead, routing protocols specifically designed for IoT devices, such as the routing
protocol for low-power and lossy networks, provide a more suitable and simple routing mecha-
nism. However, they incur high overheads as the network expands. Meanwhile, reinforcement
learning (RL) has proven to be one of the most effective solutions for decision making. RL holds
significant potential for its application in IoT device’s communication-related decision making,
with the goal of improving performance. In this paper, we explore RL’s potential in IoT devices
and discuss a theoretical framework in the context of network layers to stimulate further research.
The open issues and challenges are analyzed and discussed in the context of RL and IoT networks
for further study.
1.2. Motivation
These resource management challenges have motivated the research community
to look for efficient ways to manage the operation of IoT devices. Thus, this opens up
new opportunities for the machine learning (ML) paradigm. ML models can enable
the classification, detection, and prediction of future events [18]. With such models,
resource sharing [19], load balancing [20], channel access [21], and routing can be
performed efficiently [22]. Recently, ML, particularly reinforcement learning (RL), has
shown promising solutions in the field of network security [23], computer vision [24],
natural language processing [25], cognitive radios (CRs) [26], 6G communication [27],
and so on. RL is a powerful tool that provides machines with the ability to perform
a specific action without being programmed. In RL, an agent learns how to perform
actions within an environment to achieve certain goals by receiving feedback in the
form of a reward [28].
RL-based techniques have achieved remarkable success in various domains during
the past few years. RL algorithms are able to utilize learning processes to adapt to chang-
ing environments and make intelligent, long-term decisions. For example, RL has been
studied for wireless networking, particularly to enhance specific networking layers [29].
Similarly, an RL-based model for a workflow scheduling framework for edge-cloud
environments was proposed to reduce congestion and execution delays [30]. RL-based
algorithms have also shown their potential in fog computing environments [31]. In ad-
dition, the integration of deep learning with RL (DRL) has demonstrated an improved
performance in complex control tasks [32]. DRL has also been applied for trajectory
planning for the unmanned-aerial-vehicle-assisted IoT [33]. The RL algorithm is also
utilized to simplify the NP-hard optimization resource management problem, demon-
strating its effectiveness in optimizing renewable energy use within long-range (LoRa)
networks [34]. RL-based approaches have shown their potential to enhance CR capa-
Sensors 2023, 23, 8263 3 of 25
bilities [35]. In a similar manner, RL-based approaches have been applied to solve the
issue of limited licensed spectrum availability. RL algorithms address the challenge of
achieving both efficient and fair coexistence between long-term evolution and Wi-Fi tech-
nologies [36,37]. Numerous algorithms driven by RL have been suggested to enhance
the efficiency of IoT devices, such as a computation offloading scheme for healthcare
applications [38], spectrum access [39] for IoT networks, and target localization for IoT
sensor selection [40]. The resource management problem is also handled by using RL
for efficient networking protocols. These studies present a viable option for effectively
managing resources within IoT devices through the application of the RL framework.
1.3. Contributions
This paper presents a comprehensive review of state-of-the-art RL-based techniques
to address resource management challenges in an IoT networking environment. Addi-
tionally, this paper also discusses a theoretical framework for applying RL in solving
routing problems in IoT devices. IoT and RL-related concepts and the literature review
have led to the development of a theoretical framework that aims to increase researchers’
understanding and knowledge for future RL-based studies for IoT devices. The frame-
work also aims to serve as an explanation for RL and IoT device’s decision-making
scenarios. In the field of the IoT, we are still at an early stage regarding ML-based
devices in general and RL-based IoT networking decisions in particular. Gregor [41]
presented their seminal paper on the nature of theory in information systems, and we
are at a stage in which we are describing the attributes of RL-based networking and
developing taxonomies, i.e., a theory for analyzing and explanation. Numerous research
opportunities exist for future development and utilization of design artifacts rooted in
robust theories to provide explanations and predictions across various levels of analysis.
To highlight prospective areas for future research in the field of RL and the IoT, both
areas could significantly benefit from exploring how RL features can be integrated into
digital design elements within IoT interfaces.
• We highlight key issues regarding IoT network resource management with a focus on
network layer improvements.
• We examine the RL concept as a potential solution to enhance IoT network
routing performances.
• A detailed overview of how RL is being applied within the IoT network layer environ-
ment is provided.
• We discuss the challenges and explore associated open issues when using RL algo-
rithms in the context of IoT networks.
The remainder of the paper is organized as follows. Section 2 presents the key concepts
of the IoT environment, including its system model, network, and MAC layer. Section 3
provides an overview of the fundamentals of RL. Section 4 comprehensively reviews
existing works and explains the RL model for IoT networking management. Section 5
discusses the challenges and open issues, followed by Section 6, which concludes the paper.
The rank serves as an indication of the node’s position within the network hierarchy. Rank
is measured with a specific objective function (OF). The standardized mechanism uses
OF zero (OF0) based on hop counts and minimum rank with hysteresis OF (MRHOF),
which is based on the expected number of transmission counts (ETX) metric. DODAGs
created using a specific OF are maintained by a control message known as a DODAG
information object (DIO). IoT nodes operating in a lossy environment can have fluctuating
traffic patterns. In the IEEE 802.15.4-based MAC layer for medium access, channel sensing
occurs only once at the end of the BE period, and the BE increases each time the channel is
found to be busy.
The OF defines how nodes translate specific metrics, such as the link quality, energy
consumption, or latency, into a value known as rank. Rank is represented as follows [42]:
RC = h + R P + Rincrease (1)
where h represents the one hop distance defined in RFC 6719 [43]. The RC is the child
node rank, and R P is its preferred parent node rank. Rincrease refers to the numerical value
added to a node’s current rank when it becomes a parent for another node in the network.
For example, it is the ETX metric for the standardized MRHOF. Since IoT nodes are limited
in computational and energy resources, limiting the control overheads is essential. The
Sensors 2023, 23, 8263 5 of 25
RPL uses a trickle timer mechanism to control the frequency of DIO messages. It increases
the transmission frequency of DIO messages exponentially if the network is unstable.
The transmission frequency is reduced to the initial level if the network is stable. The trickle
algorithm is based on three key variables, i.e., a consistency counter referred to as counter,
the length of the trickle interval denoted as I, and a random interval of length t. It also has
two configuration parameters, i.e., minimum interval length Imin and maximum interval
length Imax , to determine the range within which the transmission intervals can vary. Each
node also maintains a trickle timer state using the current interval I and the number of
messages received within that interval k. Initially, the value of I is set within the range
of [Imin , Imax ], and counter is initialized to 0. Subsequently, a transmission interval t is
selected from the interval [I/2, I]. When a node receives a DIO message, it first checks the
message consistency. In the event of consistent transmission, which means no change in
the rank status of the node, counter is incremented by 1. The DIO is transmitted if counter
is below k; otherwise, transmission is suppressed. After the expiration of I, the trickle
algorithm doubles the interval length until it reaches Imax . In the case where an inconsistent
transmission is received, the timer is reset to the initial value [44]. Thus, by using the trickle
timer algorithm, RPL nodes dynamically adjust their transmission intervals based on the
stability of the network.
heterogeneous, as the network size grows, the computation and maintenance of ETX
values for all nodes in the network become more complex and computationally expen-
sive. The ETX metric is determined based on the reception ratio of acknowledgments
(ACKs) received from the destination node for the data packets transmitted over the link.
The calculation of ETX relies on regular data packet transmissions and the observation
of ACKs. When a source node sends a data packet to the destination node, it waits for
an ACK to confirm successful reception. If the destination node successfully receives
the packet, it returns an ACK to the source node. ETX is sensitive to network conditions,
including interference, congestion, and dynamic changes in link quality. Fluctuations in
link quality can lead to varying ETX values, making it challenging to maintain stable and
consistent routing decisions. ETX is also biased towards shorter paths, since a longer
path with more hops requires more transmissions, leading to higher ETX values. This
bias can result in suboptimal routing decisions, favoring shorter paths even when longer
paths may have a better link quality.
In the MAC layer, increasing the BE during channel sensing is an energy-efficient
approach to avoid node collisions. The idea is to increase the waiting time for a node
before accessing the shared communication channel, reducing the likelihood of collisions.
However, this approach may not perform well in larger networks or under heavy traffic
conditions. As the network size or traffic transmission increases, the likelihood of
collisions also increases, making it less effective to rely on the BE alone to manage
access to the channel. Furthermore, if the BE is increased and no collision is detected
after frame transmission, it results in an unnecessary access delay, further degrading
network performance.
3. Reinforcement Learning
3.1. Basic Concept
RL is a type of ML that focuses on learning the environment to maximize the cumula-
tive reward [47]. RL can be broadly classified into two main approaches, i.e., model-based
and model-free RL [48]. In a model-based approach, the agent considers the range of future
possibilities to decide the possible action beforehand. AlphaZero is one of the notable
examples of a model-based approach [49]. In a model-based approach, the agent’s model
based solely on its experiences can create challenges such as bias, leading to subpar perfor-
mance in a real environment. In addition, this approach is very computationally intensive,
which can lead to failures. In contrast, model-free methods are not based on “models” and
thus are easier to implement and tune, leading to a lower sample efficiency. Model-free
approaches can be split into two types based on the learning they are designed to perform.
The first is policy optimization and the second is Q-learning. Advantage actor–critic and
asynchronous advantage actor–critic [50], as well as proximal policy optimization [51], are
prime examples of this optimization method. In Q-learning, an optimal function Q∗ (s, a)
is learned by approximating it using Q(s, a). Most optimization techniques either use
policy optimization or the Q-learning method. However, some algorithms such as [52] use
both methods.
In the standard RL mechanism, at each time step t, the agent takes action at based
on its current state st [53]. This action leads to a change in the environment’s state, transi-
tioning from the current state to a new state. The agent then receives a reward rt from the
environment, which informs us about the quality of the current state. The agent’s ultimate
goal is typically defined in terms of maximizing the cumulative rewards over time. Thus,
the RL algorithm provides a way for the agent to learn the optimal behavior that leads
to achieving its goal [54]. The common symbols used in RL frameworks are described in
Table 1. Figure 2 depicts the fundamental operation of an RL framework.
Sensors 2023, 23, 8263 7 of 25
Parameters Labels
t Time step t
st State of the agent at t
at Action of the agent at t
rt Reward of the agent at t
A Action space
S State space
R Cumulative reward or return
π Policy
β Discount factor
α Learning rate
3.5. Policy
The policy refers to a strategy or a set of rules that an agent employs to determine its
actions in various states of an environment. The policy represents the strategy to map the
states to actions. A deterministic policy directly maps states to specific actions, where it
provides a probability distribution over actions. The policy is often represented by π ( a|s),
where a is an action and s is a state. The optimal policy, π ∗ , is the one that maximizes the
expected cumulative reward received by the agent.
Equation (2) is referred to as Bellman’s equation, in which Qπ (s, a) is the Q-value for
state s and action a under policy π, Eπ is the expected value under policy π, rt+1 is the
immediate reward received, β is the discount factor, s0 and a0 are the next state and action,
respectively, and st = s and at = a are the current state and action.
In addition, we obtain the expected discounted returns for the next potential state–
action pair. The update rule for the Q-value function is described as follows:
!
Q ( s t , a t ) = (1 − α ) · Q ( s t , a t ) + α R ( s t , a t ) + β · ∑ π ( a 0 | s t +1 ) · Q ( s t +1 , a 0 ) − Q ( s t , a t ) (3)
a0
The values of α and β are between 0 and 1. The learning rate α indicates to what extent
new information overrides the previous information. If α is 0, the agent learns nothing
and relies on previous knowledge only, whereas if α is 1, the agent only considers new
information irrespective of previous knowledge. Similarly, the discount factor β indicates
the importance of future rewards. If β is 0, that means only the current reward is considered,
and if β is 1, the agent considers long-term future rewards. The estimated Q-values are
stored in a look-up table for each s and a pair. The update rule adjusts the current Q-value
estimate based on the observed reward and the maximum expected cumulative reward
from the next state. This allows the Q-value estimate to converge towards the true Q-value
as more and more experience is gathered.
respond to fluctuations in link quality and changes in topology, which may occur as a
result of node mobility. The authors of [71] proposed an approach to enhance the quality
of service (QoS) and security of routing in SDN-based IoT environments. The reward
function for QoS-aware routing considers parameters such as the end-to-end delay,
packet loss rate, and energy consumption. A Q-learning reliable routing approach with
a weighting agent (QLRR-WA) was introduced in [72]. The QLRR-WA algorithm aims to
optimize network performance by learning a set of weights that minimize the weighted
cost equation. The weights are represented as the states of the agents, and the agents
take continuous actions to improve their weights. The reward is determined based on
the average network latency and expected network lifetime, which encourages the agent
to improve the network’s reliability.
The authors of [73] introduced QGeo, an extension to Q-routing designed to in-
corporate unmanned robot mobility. QGeo employs periodic Hello packets to update
the GPS locations of nodes, enabling them to select the next hop based on the geographic
distance to the destination. As a result, the distance metric serves as the primary guide for
routing decisions. This approach enables more efficient and effective routing in scenarios
where unmanned robots are utilized, thereby contributing to the advancement of robotic
systems. In [74], Sharma et al. proposed tailored Q-learning in WSNs to optimize the rout-
ing efficiency by minimizing the energy consumption in sensor nodes through a modified
Q-learning technique. This technique explores alternative routes through local information
sharing. Sink nodes act as agents, broadcasting messages to other sensor nodes, allowing
them to iteratively learn and build their routing tables based on these messages.
The authors of [75] also propose a new routing approach for WSNs that aims to
improve energy efficiency during information transmission. This approach allows nodes
to dynamically select optimal neighboring nodes for energy-efficient transmission. In this
approach, the sensor nodes gather and analyze different parameters related to neighboring
nodes, such as their transmission direction, distance, and energy consumption. This
information is used to update the Q-values of the neighboring sensors, which enables the
wireless sensor to determine the most suitable neighboring sensor to transmit information
based on the Q-value. Akbari and Tabatabaei [76] also present a routing mechanism that
utilizes fuzzy logic and RL to determine optimal routes based on sensor nodes’ remaining
energy, bandwidth, and distance to the sink. The proposed approach prioritizes maximizing
the lifetime of sensor networks.
The authors of [77] proposed a routing algorithm for mesh IoT networks. The authors
aimed to enhance the energy efficiency of the routing approach by introducing a cost
function based on the transmission power and remaining energy of both the transmitting
and receiving nodes. Another RL-based technique called RLProph [78] was proposed to
treat the opportunistic environment as an MDP and apply a dynamic programming-based
iterative algorithm to enhance delivery performance. The study in [79] introduces a rout-
ing agent that utilizes Q-learning to adjust the routing policy based on local information,
aiming to achieve an optimal solution that balances network latency and lifetime. The pro-
posed agent is rewarded for actions that extend the network lifetime and decrease the
average network latency. The work in [80] proposes a multi-hop routing technique for QoS
optimization in LoRa networks using the RL mechanism. This approach optimizes trans-
mission policy parameters such as the spreading factor, bandwidth, code rate, and carrier
frequency to achieve a high QoS in LoRa communication. Kaur et al. [81] also proposed
a DRL approach to enhance the routing scheme for IoT-enabled networks. The proposed
DRL-based intelligent routing scheme reduces delay and improves the overall network
lifetime. The authors suggested a novel clustering method that aims to prevent energy
imbalances within the network. This scheme utilizes unequal clustering, multiobjective
optimization, and load balancing to enhance the network performance and lifetime. In [82],
the authors introduced a multi-hop state-aware routing approach based on traffic flow
predictions. This strategy employs recurrent neural networks in conjunction with a deep
deterministic policy gradient technique.
Sensors 2023, 23, 8263 11 of 25
Krishnan et al. in [83] proposed a model that aims to avoid energy hole issues and
inefficient data collection to preserve network stability while improving the routing
performance using a Q-learning approach. The authors of [84] present a new adaptive
routing protocol called AQ-Routing, which is based on RL to handle mobile ad hoc
network (MANET) IoT systems. The AQ-Routing technique can detect each node’s
mobility level in the network. The mobility detection model allows each node to adjust
its routing behavior based on the updated mobility factor. Pandey et al. in [85] addressed
the issue of establishing extensive connectivity among IoT devices spanning a wide
geographic region. The paper proposes an RL-based technique to address multi-hop
data transmission challenges such as higher latency, increased interference, and reduced
throughput. The proposed approach periodically updates the network’s Q-matrix and
makes relay device selections at discrete time intervals to optimize the cumulative
reward value for chosen device gateway pairs.
The authors of [86] proposed MeFi to address the challenges of maximizing the energy
efficiency and network lifetime of battery-powered sensor networks. MeFi is based on
the mean-field RL mechanism and considers the average behavior of the network nodes
instead of dealing with each node individually. The authors leverage mean field theory
to manage the vast state space caused by numerous devices by focusing on interactions
among neighbors. The authors also introduce a prioritized sampling loop-free algorithm
to prevent routing loops and discard suboptimal routing strategies. In [87], the authors
proposed a routing scheme for Internet of Medical Things networks. The proposed scheme
categorizes network traffic into three classes, customizing the QoS for each, and divides the
network into zones to reduce message exchanges. Table 2 presents a summary of related
work in the field, highlighting their contributions, application domains, and the algorithmic
models they employed.
Table 2. Cont.
Table 2. Cont.
where h( x ) is the hop-count of child node x towards the root node, Rank(y) is the selected
parent y rank, and ETX ( x, y) is the ETX value between child x and parent y. The ETX value
acts as a reward function for Equation (4). The reward function is described in Equation (12).
Based on the reward function, each node updates its rank value during each state transition
process. The rank of the root node is Rank (root) = 1. Each node broadcasts a DIO message
containing its rank value. After receiving DIO messages, the nodes can generate a list of
potential parents as,
where Yx represents the list of potential parents of child node x, n x represents the set of
all one-hop neighboring nodes of child x, and δ is a threshold to remove neighbors with
unreliable links. To avoid routing loops, the child selects a forwarding path only if its
number of hops from sink nodes is less than its own hop counts h(n x ) < h( x ).
(2) Action Space:A node can select a parent from the list of potential parents. The action
at ( at ∈ A) is defined as the selection of forwarding parent y from the list of potential
forwarding parents. Environment E is defined as a wireless medium. When the IoT node
performs the action at at the time t, the state changes from st to st+1 . The IoT node receives
a reward from the environment E. A node x selects a parent y x from a list of potential
parents Yx .
In a given time period t, a node x has some rank value obtained from the last iteration
using (5). At a given rank status, the node can select the next parent from the list of a finite
number of potential parents (Yx ). Thus, at each state s, there is a set of a finite number of
permissible actions, which are elements of set A.
The state–action space is S × A, where S = (s1 , s2 , . . . , si ) and A(s) = a1 , a2 , . . . , a j .
The Q-values are stored in a look-up table for each state–action pair as,
y1 ··· yj
" # " #
Q( Rankx1 ,y1 ) Q( Rankx ,y )
1 j
Rank ( x1 ) π ··· π
p (s1 ,a1 )
p
" # " (s1 ,a j )
#
Q( Rankx2 ,y1 ) Q( Rankx ,y )
2 j
Rank ( x2 ) · · ·
pπ pπ
(6)
( s 2 1,a ) (s2 ,a j )
.. .. .. ..
. . . .
" # " #
Q( Rankx ,y )
Q( Rankxi ,y1 ) i j
Rank ( x )
i ··· π
pπ
(si ,a1 )
p
(si ,a j )
The reward is utilized to update the Q-value matrix Q(st , at ) using Equation (2). This
current Q-value matrix affects the subsequent action selection. For action selection, we can
adopt the e greedy mechanism. In the learning process, the learning agent balances the
short-term and long-term gains with exploration and exploitation. The e greedy mechanism
performs the exploration using e as a probability parameter. For action selection, a random
number rand between 0 and 1 is generated, which is then compared with the probability
parameter e. (
argminyx ∈Yx { Rank (y x )}, rand < e,
at = (7)
argmin ai Q(st , a j ), rand ≥ e,
Exploration is performed if rand < e. During the exploration phase, node x selects its
best alternative parent y x with a minimum rank. If rand ≥ e, the action with the largest
return reward will be selected. Let i be the index of action from a set of actions A and ai
represent the i-th action in action set A.
(3) Reward Function:The core of Equation (4) is the reward function r (st , at ). The learn-
ing objectives are achieved using appropriate reward functions. With each action at , state st
changes to st+1 and reward function r (st , at ) updates to r (st+1 , at+1 ). The reward function
r of the RPL-based network layer algorithm can be defined with regard to link quality
assessment between the child and parent node. The number of link layer retransmission
attempts reflects the throughput of an individual link. The ETX measures MAC layer frame
transmissions and retransmissions. ETX estimation involves measuring the probability of
the frame loss ratio at the link l to each neighboring node in both the forward (d f ) and
reverse (dr ) directions. The probability of unsuccessful frame transmission from node x to
node y is calculated as follows [88]:
p = 1 − 1 − p f × (1 − pr ) (8)
Sensors 2023, 23, 8263 16 of 25
1
ETXl = (10)
d f × dr
Alternatively, the ETX of the link is the inverse of the probability of successful packet
delivery or link reliability, represented as:
1
ETXl = (11)
reliability (l )
The reward associated with transmitting from a child node to a parent node is defined
as follows:
R = sgn( ETXnew − ETXold ) (12)
where ETXnew represents the new value of ETX, ETXold represents the previous value
of ETX, and the sign function sgn returns -1 if ETX increases and +1 if the value of
ETX decreases.
local IoT devices, the server aggregates them to calculate the global model. One of the
main challenges of model aggregation is the need for efficient communication between the
learners and the server node. Transmitting the entire local model from each node to the
server node can be impractical due to bandwidth constraints. The learning devices exchange
only model parameter updates such as Q-values. The frequency of communication between
child nodes and the server node depends on the FL application and network conditions.
It can be periodic, event-driven, or adaptive based on factors such as data availability or
resource constraints. In addition, synchronization in terms of the timing of model updates
is a crucial aspect of FL systems. Inconsistency in updating the local learning models may
lead to convergence issues. Convergence criteria can be based on the change in global
model parameters.
After federated averaging, the server node uses this aggregated value to obtain its
next value function. The learning agent updates the learning model using a locally learned
model from other child nodes with the same wireless environment. Model aggregation in
this scenario operates iteratively, with multiple rounds of local training and aggregation.
In each round, nodes update their local models based on the global model, and these
updates are subsequently aggregated. In this way, child nodes computing the forwarding
path can learn the wireless environment faster using a global learning model from the
learning agent. The child nodes assume a learning agent for global learning of the wireless
environment. Individual learned values may suffer from an overestimation of reward
information, leading to suboptimal or biased decision making. Each node integrates its
learned Q-values in the DIO packet to collaborate with the learning agent. Thus, it provides
a second value function for the learning agent. The global learned values in the learning
agent represent a fair estimation of the Q-value. In other words, both the local learned
values and global learned values are obtained from the same set of experiences in the same
environment. In this way, the learned Q-values have a lower chance of error variance.
coordinating and optimizing actions across different levels of the hierarchy while account-
ing for local and global objectives. Such structures also introduce temporal dependencies,
where actions at one level may have cascading effects on higher levels. RL agents in such
scenarios need to be able to learn policies at different hierarchical levels while considering
their distinct objectives.
(7) DistributedDecision Making: In a large-scale network, multiple IoT devices can
collaborate to optimize a common objective, such as reducing the network delay or energy
consumption. In such coordination among agents, handling dynamic network conditions
and ensuring convergence to optimal solutions are challenging. Generally, distributed
decision making for resource-constrained IoT device networks can be achieved with the
help of edge computing to process the data. Distributed decision making may or may not
involve learning; the IoT devices can make decisions based on fixed, pre-defined rules.
(8) Multi-AgentLearning: The typical IoT network consists of a large number of IoT
devices with heterogeneous sensing, computation, and communication capabilities. Multi-
agent learning problems arise due to the distributed and dynamic nature of IoT networks.
When dealing with multi-agent learning, the RL algorithm must be able to handle limited
device resources in changing network conditions. Multi-agent learning can be applied to
develop self-organizing routing algorithms that adapt to changing networking conditions
and traffic patterns. Multi-agent systems also face problems such as credit assignments, in
which it becomes hard to determine which actions of an agent contribute to a particular
outcome. Particularly in a large-scale system, agents must be able to determine not only
their own learning objectives but also the potential consequences of their actions on other
agents. Similarly, the agents may have conflicting objectives that can lead to suboptimal
outcomes. In terms of IoT device routing scenarios, the devices can converge to Nash
equilibrium, where no device is incentivized to unilaterally change its routing strategy,
especially in a non-convex and dynamic environment. In such scenarios, techniques from
game theory can be employed to analyze and identify a Nash equilibrium.
(9) Real-timeResponsiveness: Some IoT applications, such as in healthcare or factories,
may require devices to transmit real-time information. RL algorithms have long processing
times when dealing with large-scale state–action–reward tuples, which further increases in
scenarios where state and action spaces are multi-dimensional [89]. It becomes even more
complex when the IoT network is heterogeneous, where some devices are delay-sensitive
while others are delay-tolerant. DRL algorithms can be more efficient and quick in learning
such complexities; however, running the DRL in tiny IoT devices is quite challenging.
In such scenarios, edge computing can be leveraged to offload some of the computation
and memory requirements of DRL algorithms. However, transferring a large amount of
training data increases the number of overheads and burdens on the IoT networks. Another
way to solve such a problem is through transfer learning, in which the agent shares their
learned parameters. However, this would require an effective coordination mechanism
among the devices, which would increase the convergence delay.
(10) Explorationand Exploitation Performance Trade-off: The exploration–exploitation
trade-off involves a decision between selecting already known good actions or choosing
actions that are not explored yet. Balancing exploration and exploitation directly impacts
the performance of IoT devices. Using an effective exploration strategy such as the upper
confidence bound (UCB) algorithm can help the devices to avoid actions that are known to
be suboptimal. However, the UCB algorithm requires calculating the confidence bound
for each action, which can be computationally expensive. Similarly, stochastic algorithms
like UCB usually assume that the probabilities of different outcomes occurring stay the
same over time. Such an assumption of stationarity can result in the algorithm selecting
suboptimal actions. Similarly, UCB also assumes a fixed reward function, which may not
hold in IoT applications. In IoT devices, the reward function can be dynamic due to the
varying nature of the application requirements or environmental conditions. Similarly,
algorithms like Thompson sampling, which can solve the exploration–exploitation dilemma,
are susceptible to local optima, particularly when the number of actions is large or the
Sensors 2023, 23, 8263 20 of 25
environment is complex. The large action space and complex environment also face an
exploration bias problem.
(11) EnergyEfficiency Trade-off in RL-Enabled IoT Environments: RL algorithms require
a significant number of samples to effectively learn optimal policies. In IoT networks with
limited resources, sample efficiency is crucial to reduce data collection overheads and speed
up learning. During learning, the algorithms may involve frequent exchanges of information
between nodes, leading to increased communication overheads in IoT networks. Finding
lightweight communication mechanisms is essential to minimize energy consumption.
(12) DynamicChanging Environment for RL Algorithms: IoT devices often operate in
a non-stationary environment where the underlying distribution of rewards and states can
change over time. This leads to poor performance if the environment changes significantly.
In such a scenario, meta-learning [90] can be useful for an agent to adapt to new environ-
ments. Meta-learning also often faces limited generalization problems, i.e., the ability to
adapt to a new and unseen scenario. For example, the nodes in IoT networks may join and
leave frequently. This dynamic topology can cause instability in RL algorithms, and the
routing decisions made by an RL agent may quickly become obsolete as the network topol-
ogy changes. The quick adaptation to a dynamic changing environment also depends on
the sample efficiency.
(13) Implementationin Real-World Scenarios: The primary goal of employing RL
algorithms is to optimize the network’s performance, including improving the quality of
service, enhancing the network’s energy efficiency, and reducing latency, among other
metrics. RL algorithms have proven to be an effective solution for enabling intelligent
approaches for IoT device operation and management. However, the majority of current
studies solely assess the suggested RL-assisted control strategy through simulations based
on random data or models. This approach is far from the practical environment and may
not accurately reflect the challenges and complexities of real-world wireless networks. Thus,
to enable the widespread deployment of RL-aided schemes in real-world IoT networks, it
is necessary to develop robust and efficient algorithms that operate in changing network
conditions, such as changes in traffic patterns, user behavior, and device connectivity.
(14) Multi-ObjectiveReward Design Optimization: In heterogeneous IoT networks, de-
vices can have different and multiple performance objectives, e.g., energy efficiency op-
timization or delay minimization. Thus, designing a practical multi-objective reward
function is still a challenge. Devices with different performance objectives need to coexist.
Designing a practical multi-objective reward function requires careful consideration of
the trade-offs between these objectives. One approach is to assign weights to different
objectives which determine their relative importance. However, determining these weights
can be challenging, as different devices may have different preferences. One of the ways to
find optimal multiple-objective solutions is to use Pareto optimization. However, Pareto op-
timization can also face the curse of yjr dimensionality problem as the number of objectives
increases. With the increase in decision objective variables, the computational complexity
of Pareto optimization algorithms can become prohibitively expensive.
(15) Issueswith Enabling FRL: Enabling federated learning is an even bigger challenge
for heterogeneous IoT devices with very limited resources. Apart from learning the
environment, the devices would need to share their local learning model parameters with
other devices, putting a huge burden on a tiny device. Locally computing the learning
model and sending the learned model to other devices in a network with a massive
number of heterogeneous devices are difficult. Heterogeneity refers to differences in
computation resources (i.e., CPU cycles/sec), memory resources, communication, and en-
ergy resources. Having heterogeneous parameters can lead to significant differences in
learning model accuracy.
6. Conclusions
The integration of IoT networks has extended to numerous application areas, making
IoT devices ubiquitous in facilitating seamless connectivity and data exchange. Despite the
Sensors 2023, 23, 8263 21 of 25
widespread adoption of the IoT, the IoT paradigm also presents a number of challenges,
particularly in managing scarce resources and complex networking operations. Traditional
standardized protocols, while effective in some scenarios, struggle to cope with the increas-
ing network size and data volume, leading to suboptimal network performance. These
challenges stress the need to develop a more intelligent and adaptive approach to unlock
the true potential of the IoT paradigm. To this end, machine learning, particularly RL, has
been demonstrated as a promising avenue to handle the resource management challenges
in IoT networks. This paper highlights the potential of RL for IoT device networking
mechanisms. The concept of RL is briefly introduced to emphasize its pivotal role and algo-
rithmic model in facilitating optimal decision making across various practical applications.
The objective of this study was accomplished by developing a theoretical framework that
serves as a foundational basis for advancing research within the domains of RL and IoT
device networking. The primary contribution of the proposed framework is a finer-grained
understanding of the strategic decision of the IoT networking layer by adopting an RL
algorithm, and while this contribution holds substantial theoretical implications, this study
has some limitations that should be addressed in future research. Taking the example of an
RPL-based networking layer, this article echoes the call for more research to assess more
issues related to the IoT from an RL perspective. The proposed theoretical framework
requires additional support through empirical validation.
Abbreviations
The following abbreviations are used in this manuscript:
IoT Internet of Things
RL Reinforcement learning
LLN Low-power and lossy networks
MAC Medium access control
RPL Routing protocol for low-power and lossy networks
DODAG Destination-oriented directed acyclic graph
BE Backoff exponent
ML Machine learning
CRs Cognitive radios
LoRa Long-range
DRL Deep learning with RL
OF Objective function
OF0 Objective function zero
MRHOF Minimum rank with hysteresis OF
ETX Expected transmission count
DIO DODAG information object
DAO DODAG advertisement object
DIS DODAG information solicitation
DCF Distributed coordinated function
DIFS DCF interframe space
CW Contention window
NB Number of backoffs
ACKs Acknowledgments
MDP Markov decision process
RCAR RL-based congestion-avoided routing
CARMA Channel-aware RL-based multi-path adaptive routing
Sensors 2023, 23, 8263 22 of 25
References
1. Ahmadi, H.; Arji, G.; Shahmoradi, L.; Safdari, R.; Nilashi, M.; Alizadeh, M. The application of internet of things in healthcare: A
systematic literature review and classification. Univers. Access Inf. Soc. 2019, 18, 837–869.
2. Wang, R.; Yu, C.; Wang, J. Construction of supply chain financial risk management mode based on Internet of Things. IEEE
Access 2019, 7, 110323–110332. [CrossRef]
3. Pivoto, D.G.; de Almeida, L.F.; da Rosa Righi, R.; Rodrigues, J.J.; Lugli, A.B.; Alberti, A.M. Cyber-physical systems architectures
for industrial internet of things applications in Industry 4.0: A literature review. J. Manuf. Syst. 2021, 58, 176–192. [CrossRef]
4. Virmani, C.; Pillai, A. Internet of Things and Cyber Physical Systems: An Insight. In Recent Advances in Intelligent Systems and
Smart Applications; Springer: Cham, Switzerland, 2021; pp. 379–401.
5. Musaddiq, A.; Zikria, Y.B.; Hahm, O.; Yu, H.; Bashir, A.K.; Kim, S.W. A Survey on Resource Management in IoT Operating
Systems. IEEE Access 2018, 6, 8459–8482. [CrossRef]
6. Ghasempour, A. Internet of things in smart grid: Architecture, applications, services, key technologies, and challenges. Inventions
2019, 4, 22. [CrossRef]
7. Fantin Irudaya Raj, E.; Appadurai, M. Internet of things-based smart transportation system for smart cities. In Intelligent Systems
for Social Good: Theory and Practice; Springer: Singapore, 2022; pp. 39–50.
8. Shrestha, R.; Mishra, A.; Bajracharya, R.; Sinaei, S.; Kim, S. 6G Network for Connecting CPS and Industrial IoT (IIoT). In
Cyber-Physical Systems for Industrial Transformation; CRC Press: Boca Raton, FL, USA, 2023; pp. 17–38.
9. Almusaylim, Z.A.; Zaman, N. A review on smart home present state and challenges: Linked to context-awareness internet of
things (IoT). Wirel. Netw. 2019, 25, 3193–3204. [CrossRef]
10. Kritsis, K.; Papadopoulos, G.Z.; Gallais, A.; Chatzimisios, P.; Théoleyre, F. A Tutorial on Performance Evaluation and Validation
Methodology for Low-Power and Lossy Networks. IEEE Commun. Surv. Tutorials 2018, 20, 1799–1825. [CrossRef]
11. Yaqoob, I.; Ahmed, E.; Hashem, I.A.T.; Ahmed, A.I.A.; Gani, A.; Imran, M.; Guizani, M. Internet of things architecture: Recent
advances, taxonomy, requirements, and open challenges. IEEE Wirel. Commun. 2017, 24, 10–16. [CrossRef]
12. Dutta, D. IEEE 802.15. 4 as the MAC protocol for internet of things (IoT) applications for achieving QoS and energy efficiency. In
Proceedings of the Advances in Communication, Cloud, and Big Data: Proceedings of 2nd National Conference on CCB 2016,
Gangtok, India, 2–3 November 2016; Springer: Berlin/Heidelberg, Germany, 2019; pp. 127–132.
13. Ahmed, N.; Rahman, H.; Hussain, M.I. A comparison of 802.11 ah and 802.15. 4 for IoT. Ict Express 2016, 2, 100–102. [CrossRef]
14. Winter, T.; Thubert, P.; Brandt, A.; Hui, J.; Kelsey, R.; Levis, P.; Pister, K.; Struik, R.; Vasseur, J.P.; Alexander, R. RPL: IPv6 Routing
Protocol for Low-Power and Lossy Networks; Technical Report; Internet Engineering Task Force (IETF): Fremont, CA, USA, 2012.
15. Clausen, T.; Herberg, U.; Philipp, M. A critical evaluation of the IPv6 routing protocol for low power and lossy networks (RPL). In
Proceedings of the 2011 IEEE 7th International Conference on Wireless and Mobile Computing, Networking and Communications
(WiMob), Shanghai, China, 10–12 October 2011; pp. 365–372.
16. Musaddiq, A.; Rahim, T.; Kim, D.S. Enhancing IEEE 802.15.4 Access Mechanism with Machine Learning. In Proceedings of
the 2021 Twelfth International Conference on Ubiquitous and Future Networks (ICUFN), Jeju Island, Republic of Korea, 17–20
August 2021; pp. 210–212. [CrossRef]
17. Musaddiq, A.; Zikria, Y.B.; Kim, S.W. Routing protocol for Low-Power and Lossy Networks for heterogeneous traffic network.
EURASIP J. Wirel. Commun. Netw. 2020, 2020, 1–23. [CrossRef]
18. Alpaydin, E. Introduction to Machine Learning; MIT Press: Cambridge, MA, USA, 2020.
19. Yang, H.; Xie, X.; Kadoch, M. Machine learning techniques and a case study for intelligent wireless networks. IEEE Netw. 2020,
34, 208–215. [CrossRef]
20. Xu, Y.; Xu, W.; Wang, Z.; Lin, J.; Cui, S. Load balancing for ultradense networks: A deep reinforcement learning-based approach.
IEEE Internet Things J. 2019, 6, 9399–9412. [CrossRef]
21. Wang, S.; Liu, H.; Gomes, P.H.; Krishnamachari, B. Deep reinforcement learning for dynamic multichannel access in wireless
networks. IEEE Trans. Cogn. Commun. Netw. 2018, 4, 257–265. [CrossRef]
22. Musaddiq, A.; Ali, R.; Choi, J.G.; Kim, B.S.; Kim, S.W. Collision observation-based optimization of low-power and lossy IoT
network using reinforcement learning. Comput. Mater. Contin. 2021, 67, 799–814. [CrossRef]
23. Uprety, A.; Rawat, D.B. Reinforcement learning for iot security: A comprehensive survey. IEEE Internet Things J. 2020, 8, 8693–8706.
[CrossRef]
Sensors 2023, 23, 8263 23 of 25
24. Le, N.; Rathour, V.S.; Yamazaki, K.; Luu, K.; Savvides, M. Deep reinforcement learning in computer vision: A comprehensive
survey. Artif. Intell. Rev. 2022, 55, 2733–2819. [CrossRef]
25. Luketina, J.; Nardelli, N.; Farquhar, G.; Foerster, J.; Andreas, J.; Grefenstette, E.; Whiteson, S.; Rocktäschel, T. A survey of
reinforcement learning informed by natural language. arXiv 2019, arXiv:1906.03926.
26. Lin, Y.; Wang, C.; Wang, J.; Dou, Z. A novel dynamic spectrum access framework based on reinforcement learning for cognitive
radio sensor networks. Sensors 2016, 16, 1675. [CrossRef]
27. Bajracharya, R.; Shrestha, R.; Hassan, S.A.; Konstantin, K.; Jung, H. Dynamic Pricing for Intelligent Transportation System in the
6G Unlicensed Band. IEEE Trans. Intell. Transp. Syst. 2022, 23, 9853–9868. [CrossRef]
28. Sutton, R.S.; Barto, A.G. Reinforcement Learning: An Introduction; MIT Press: Cambridge, MA, USA, 2018.
29. Chen, Y.; Liu, Y.; Zeng, M.; Saleem, U.; Lu, Z.; Wen, X.; Jin, D.; Han, Z.; Jiang, T.; Li, Y. Reinforcement learning meets wireless
networks: A layering perspective. IEEE Internet Things J. 2020, 8, 85–111. [CrossRef]
30. Jayanetti, A.; Halgamuge, S.; Buyya, R. Deep reinforcement learning for energy and time optimized scheduling of precedence-
constrained tasks in edge–cloud computing environments. Future Gener. Comput. Syst. 2022, 137, 14–30. [CrossRef]
31. Tran-Dang, H.; Bhardwaj, S.; Rahim, T.; Musaddiq, A.; Kim, D.S. Reinforcement learning based resource management for fog
computing environment: Literature review, challenges, and open issues. J. Commun. Netw. 2022, 24, 83–98. [CrossRef]
32. Arulkumaran, K.; Deisenroth, M.P.; Brundage, M.; Bharath, A.A. Deep reinforcement learning: A brief survey. IEEE Signal
Process. Mag. 2017, 34, 26–38. [CrossRef]
33. Zhou, C.; He, H.; Yang, P.; Lyu, F.; Wu, W.; Cheng, N.; Shen, X. Deep RL-based trajectory planning for AoI minimization in
UAV-assisted IoT. In Proceedings of the 2019 11th International Conference on Wireless Communications and Signal Processing
(WCSP), Xi’an, China, 23–25 October 2019; pp. 1–6.
34. Hamdi, R.; Baccour, E.; Erbad, A.; Qaraqe, M.; Hamdi, M. LoRa-RL: Deep reinforcement learning for resource management in
hybrid energy LoRa wireless networks. IEEE Internet Things J. 2021, 9, 6458–6476. [CrossRef]
35. Wang, Y.; Ye, Z.; Wan, P.; Zhao, J. A survey of dynamic spectrum allocation based on reinforcement learning algorithms in
cognitive radio networks. Artif. Intell. Rev. 2019, 51, 493–506. [CrossRef]
36. Bajracharya, R.; Shrestha, R.; Jung, H. Bandit Approach for Fair and Efficient Coexistence of NR-U in Unlicensed Bands. IEEE
Trans. Veh. Technol. 2022, 72, 5208–5223. [CrossRef]
37. Bajracharya, R.; Shrestha, R.; Kim, S.W. Q-learning based fair and efficient coexistence of LTE in unlicensed band. Sensors 2019,
19, 2875. [CrossRef]
38. Yadav, R.; Zhang, W.; Elgendy, I.A.; Dong, G.; Shafiq, M.; Laghari, A.A.; Prakash, S. Smart healthcare: RL-based task offloading
scheme for edge-enable sensor networks. IEEE Sensors J. 2021, 21, 24910–24918. [CrossRef]
39. Naparstek, O.; Cohen, K. Deep multi-user reinforcement learning for distributed dynamic spectrum access. IEEE Trans. Wirel.
Commun. 2018, 18, 310–323. [CrossRef]
40. Shurrab, M.; Singh, S.; Mizouni, R.; Otrok, H. Iot sensor selection for target localization: A reinforcement learning based approach.
Ad Hoc. Netw. 2022, 134, 102927. [CrossRef]
41. Gregor, S. The nature of theory in information systems. MIS Q. 2006, 30, 611–642. [CrossRef]
42. Gaddour, O.; Koubâa, A. RPL in a nutshell: A survey. Comput. Netw. 2012, 56, 3163–3178. [CrossRef]
43. Gnawali, O.; Levis, P. Rfc 6719: The Minimum Rank with Hysteresis Objective Function; Internet Engineering Task Force (IETF);
Fremont, CA, USA, 2012.
44. Musaddiq, A.; Zikria, Y.B.; Kim, S.W. Energy-Aware Adaptive Trickle Timer Algorithm for RPL-based Routing in the Internet
of Things. In Proceedings of the 2018 28th International Telecommunication Networks and Applications Conference (ITNAC),
Sydney, NSW, Australia, 21–23 November 2018; pp. 1–6. [CrossRef]
45. Khorov, E.; Kiryanov, A.; Lyakhov, A.; Bianchi, G. A Tutorial on IEEE 802.11ax High Efficiency WLANs. IEEE Commun. Surv.
Tutorials 2019, 21, 197–216. [CrossRef]
46. IEEE Std 802.15.4-2020 (Revision of IEEE Std 802.15.4-2015); IEEE Standard for Low-Rate Wireless Networks. IEEE: New York, NY,
USA, 2020. [CrossRef]
47. Lindelauf, R. Nuclear Deterrence in the Algorithmic Age: Game Theory Revisited. NL ARMS 2021, 2, 421.
48. Moerland, T.M.; Broekens, J.; Plaat, A.; Jonker, C.M. Model-based reinforcement learning: A survey. Found. Trends Mach. Learn.
2023, 16, 1–118. [CrossRef]
49. Silver, D.; Hubert, T.; Schrittwieser, J.; Antonoglou, I.; Lai, M.; Guez, A.; Lanctot, M.; Sifre, L.; Kumaran, D.; Graepel, T.; et al.
Mastering chess and shogi by self-play with a general reinforcement learning algorithm. arXiv 2017, arXiv:1712.01815.
50. Mnih, V.; Badia, A.P.; Mirza, M.; Graves, A.; Lillicrap, T.; Harley, T.; Silver, D.; Kavukcuoglu, K. Asynchronous methods for deep
reinforcement learning. In Proceedings of the International Conference on Machine Learning, New York, NY, USA, 19–24 June
2016; pp. 1928–1937.
51. Schulman, J.; Wolski, F.; Dhariwal, P.; Radford, A.; Klimov, O. Proximal policy optimization algorithms. arXiv 2017,
arXiv:1707.06347.
52. Lillicrap, T.P.; Hunt, J.J.; Pritzel, A.; Heess, N.; Erez, T.; Tassa, Y.; Silver, D.; Wierstra, D. Continuous control with deep
reinforcement learning. arXiv 2015, arXiv:1509.02971.
53. Kim, C. Deep reinforcement learning by balancing offline Monte Carlo and online temporal difference use based on environment
experiences. Symmetry 2020, 12, 1685. [CrossRef]
Sensors 2023, 23, 8263 24 of 25
54. Kővári, B.; Hegedüs, F.; Bécsi, T. Design of a reinforcement learning-based lane keeping planning agent for automated vehicles.
Appl. Sci. 2020, 10, 7171. [CrossRef]
55. Mousavi, S.S.; Schukat, M.; Howley, E. Deep reinforcement learning: An overview. In Proceedings of the SAI Intelligent Systems
Conference (IntelliSys) 2016: Volume 2; Springer: Cham, Switzerland, 2018; pp. 426–440.
56. Chandak, Y.; Theocharous, G.; Kostas, J.; Jordan, S.; Thomas, P. Learning action representations for reinforcement learning. In
Proceedings of the International Conference on Machine Learning, Long Beach, CA, USA, 9–15 June 2019; pp. 941–950.
57. Kanervisto, A.; Scheller, C.; Hautamäki, V. Action space shaping in deep reinforcement learning. In Proceedings of the 2020 IEEE
Conference on Games (CoG), Osaka, Japan, 24–27 August 2020; pp. 479–486.
58. Kumar, A.; Buckley, T.; Lanier, J.B.; Wang, Q.; Kavelaars, A.; Kuzovkin, I. Offworld gym: Open-access physical robotics
environment for real-world reinforcement learning benchmark and research. arXiv 2019, arXiv:1910.08639.
59. Clifton, J.; Laber, E. Q-learning: Theory and applications. Annu. Rev. Stat. Its Appl. 2020, 7, 279–301. [CrossRef]
60. Jin, Z.; Zhao, Q.; Su, Y. RCAR: A Reinforcement-Learning-Based Routing Protocol for Congestion-Avoided Underwater Acoustic
Sensor Networks. IEEE Sensors J. 2019, 19, 10881–10891. [CrossRef]
61. Di Valerio, V.; Presti, F.L.; Petrioli, C.; Picari, L.; Spaccini, D.; Basagni, S. CARMA: Channel-aware reinforcement learning-based
multi-path adaptive routing for underwater wireless sensor networks. IEEE J. Sel. Areas Commun. 2019, 37, 2634–2647. [CrossRef]
62. Safdar Malik, T.; Razzaq Malik, K.; 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. 2023, 10, 1836–1847. [CrossRef]
63. Mao, B.; Tang, F.; Fadlullah, Z.M.; Kato, N. An Intelligent Route Computation Approach Based on Real-Time Deep Learning
Strategy for Software Defined Communication Systems. IEEE Trans. Emerg. Top. Comput. 2021, 9, 1554–1565. [CrossRef]
64. Safdar, T.; Hasbulah, H.B.; Rehan, M. Effect of reinforcement learning on routing of cognitive radio ad hoc networks. In
Proceedings of the 2015 International Symposium on Mathematical Sciences and Computing Research (iSMSC), Ipoh, Malaysia,
19–20 May 2015; pp. 42–48.
65. Stampa, G.; Arias, M.; Sánchez-Charles, D.; Muntés-Mulero, V.; Cabellos, A. A deep-reinforcement learning approach for
software-defined networking routing optimization. arXiv 2017, arXiv:1709.07080.
66. Cicioğlu, M.; Çalhan, A. MLaR: Machine-learning-assisted centralized link-state routing in software-defined-based wireless
networks. Neural Comput. Appl. 2023, 35, 5409–5420. [CrossRef]
67. Cheng, S.T.; Chang, T.Y. An Adaptive Learning Scheme for Load Balancing with Zone Partition in Multi-Sink Wireless Sensor
Network. Expert Syst. Appl. 2012, 39, 9427–9434. [CrossRef]
68. Wei, Z.; Zhang, Y.; Xu, X.; Shi, L.; Feng, L. A task scheduling algorithm based on Q-learning and shared value function for WSNs.
Comput. Netw. 2017, 126, 141–149. [CrossRef]
69. Wei, Z.; Liu, F.; Zhang, Y.; Xu, J.; Ji, J.; Lyu, Z. A Q-learning algorithm for task scheduling based on improved SVM in wireless
sensor networks. Comput. Netw. 2019, 161, 138–149. [CrossRef]
70. Ancillotti, E.; Vallati, C.; Bruno, R.; Mingozzi, E. A Reinforcement Learning-Based Link Quality Estimation Strategy for RPL and
Its Impact on Topology Management. Comput. Commun. 2017, 112, 1–13. [CrossRef]
71. Guo, X.; Lin, H.; Li, Z.; Peng, M. Deep-Reinforcement-Learning-Based QoS-Aware Secure Routing for SDN-IoT. IEEE Internet
Things J. 2020, 7, 6242–6251. [CrossRef]
72. Künzel, G.; Indrusiak, L.S.; Pereira, C.E. Latency and Lifetime Enhancements in Industrial Wireless Sensor Networks: A
Q-Learning Approach for Graph Routing. IEEE Trans. Ind. Inform. 2020, 16, 5617–5625. [CrossRef]
73. Jung, W.S.; Yim, J.; Ko, Y.B. QGeo: Q-learning-based geographic ad hoc routing protocol for unmanned robotic networks. IEEE
Commun. Lett. 2017, 21, 2258–2261. [CrossRef]
74. Sharma, V.K.; Shukla, S.S.P.; Singh, V. A tailored Q-Learning for routing in wireless sensor networks. In Proceedings of the 2012
2nd IEEE International Conference on Parallel, Distributed and Grid Computing, Solan, India, 6–8 December 2012; pp. 663–668.
75. Su, X.; Ren, Y.; Cai, Z.; Liang, Y.; Guo, L. A Q-learning based routing approach for energy efficient information transmission in
wireless sensor network. IEEE Trans. Netw. Serv. Manag. 2022, 20, 1949–1961. [CrossRef]
76. Akbari, Y.; Tabatabaei, S. A new method to find a high reliable route in IoT by using reinforcement learning and fuzzy logic.
Wirel. Pers. Commun. 2020, 112, 967–983. [CrossRef]
77. Liu, Y.; Tong, K.F.; Wong, K.K. Reinforcement learning based routing for energy sensitive wireless mesh IoT networks. Electron.
Lett. 2019, 55, 966–968. [CrossRef]
78. Sharma, D.K.; Rodrigues, J.J.; Vashishth, V.; Khanna, A.; Chhabra, A. RLProph: A dynamic programming based reinforcement
learning approach for optimal routing in opportunistic IoT networks. Wirel. Netw. 2020, 26, 4319–4338. [CrossRef]
79. Chakraborty, I.; Das, P.; Pradhan, B. An Intelligent Routing for Internet of Things Mesh Networks. Trans. Emerg. Telecommun.
Technol. 2022, e4628. [CrossRef]
80. Muthanna, M.S.A.; Muthanna, A.; Rafiq, A.; Hammoudeh, M.; Alkanhel, R.; Lynch, S.; Abd El-Latif, A.A. Deep reinforcement
learning based transmission policy enforcement and multi-hop routing in QoS aware LoRa IoT networks. Comput. Commun.
2022, 183, 33–50. [CrossRef]
81. Kaur, G.; Chanak, P.; Bhattacharya, M. Energy-efficient intelligent routing scheme for IoT-enabled WSNs. IEEE Internet Things J.
2021, 8, 11440–11449. [CrossRef]
82. Zhang, A.; Sun, M.; Wang, J.; Li, Z.; Cheng, Y.; Wang, C. Deep reinforcement learning-based multi-hop state-aware routing
strategy for wireless sensor networks. Appl. Sci. 2021, 11, 4436. [CrossRef]
Sensors 2023, 23, 8263 25 of 25
83. Krishnan, M.; Lim, Y. Reinforcement learning-based dynamic routing using mobile sink for data collection in WSNs and IoT
applications. J. Netw. Comput. Appl. 2021, 194, 103223. [CrossRef]
84. Serhani, A.; Naja, N.; Jamali, A. AQ-Routing: Mobility-, stability-aware adaptive routing protocol for data routing in MANET–IoT
systems. Clust. Comput. 2020, 23, 13–27. [CrossRef]
85. Pandey, O.J.; Yuvaraj, T.; Paul, J.K.; Nguyen, H.H.; Gundepudi, K.; Shukla, M.K. Improving energy efficiency and QoS of
LPWANs for IoT using Q-learning based data routing. IEEE Trans. Cogn. Commun. Netw. 2021, 8, 365–379. [CrossRef]
86. Ren, J.; Zheng, J.; Guo, X.; Song, T.; Wang, X.; Wang, S.; Zhang, W. MeFi: Mean Field Reinforcement Learning for Cooperative
Routing in Wireless Sensor Network. IEEE Internet Things J. 2023, 1. [CrossRef]
87. Nazari, A.; Kordabadi, M.; Mohammadi, R.; Lal, C. EQRSRL: An energy-aware and QoS-based routing schema using reinforce-
ment learning in IoMT. Wireless Netw. 2023, 29, 3239–3253. [CrossRef]
88. De Couto, D.S.; Aguayo, D.; Bicket, J.; Morris, R. A high-throughput path metric for multi-hop wireless routing. In Proceedings
of the 9th Annual International Conference on Mobile Computing and Networking, San Diego, CA, USA, 14–19 September 2003;
pp. 134–146.
89. Botvinick, M.; Ritter, S.; Wang, J.X.; Kurth-Nelson, Z.; Blundell, C.; Hassabis, D. Reinforcement learning, fast and slow. Trends
Cogn. Sci. 2019, 23, 408–422. [CrossRef]
90. Clavera, I.; Nagabandi, A.; Fearing, R.S.; Abbeel, P.; Levine, S.; Finn, C. Learning to adapt: Meta-learning for model-based control.
arXiv 2018, arXiv:1803.11347.
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.
Applying RL-based methods for managing IoT devices is challenging due to the limited computational resources of IoT devices. RL algorithms require significant time and resources to process data during exploration and exploitation phases . The state-action space's high dimensions compel the techniques to explore numerous state-action pairs, leading to poor performance and slow convergence . Additionally, the IoT devices face synchronization issues due to the stochastic nature of the network, making it challenging to keep devices updated with consistent routing information . Designing lightweight algorithms that align with limited computational resources is crucial to address these challenges .
Integrating neural networks with reinforcement learning for routing in Software-Defined Networks (SDN) offers the benefit of periodic learning of network dynamics. This approach enables the network to continuously adapt and optimize routing decisions based on real-time network conditions, enhancing the overall network performance . The use of convolutional neural networks (CNNs) within RL models allows the SDN to manage complex routing scenarios efficiently, leading to improved adaptability and optimization in dynamic environments .
Reinforcement learning mechanisms improve routing protocols in IoT networks by enabling devices to learn and adapt their routing policies dynamically. Traditional rule-based routing protocols can't adapt well to the dynamic and fluctuating nature of network environments, leading to suboptimal performance . RL-based solutions facilitate intelligent decision-making strategies that are context-aware. For instance, RL was applied to optimize network throughput and reduce latency by dynamically adjusting routing based on the state of the network . Moreover, RL algorithms like Q-learning assist in making performance-based routing decisions that enhance network performance under environmental fluctuations and uncertainties .
The "curse of dimensionality" significantly influences the performance of RL-based routing mechanisms in large IoT networks by causing poor performance and slow convergence. As the network size increases, the state-action space expands exponentially, making it difficult for an RL algorithm to explore all possible states and actions efficiently . This expansion increases computation overload and training time, reducing the algorithm's efficiency in adapting to the dynamic network conditions . As a result, agents may continue to use sub-optimal routing paths, leading to higher packet loss rates and lower throughput .
Reinforcement learning can improve routing in Cognitive Radio Networks (CRNs) by enabling the dynamic selection of channels and routes, thereby enhancing the data rate and throughput . Challenges associated with RL in CRNs include managing the high dimensions of state-action spaces and ensuring timely convergence despite varying network conditions . The dynamic nature of CRNs, including mobility and frequency changes, requires RL algorithms to efficiently explore different states and adapt to new conditions, which can be computationally intensive .
Synchronization issues in RL-based routing algorithms refer to the challenge of ensuring all devices in a network have consistent and up-to-date optimal routing information. In IoT networks, this is critical due to the stochastic nature of network environments, where devices might develop different routing information . Inconsistent data can lead to suboptimal routing paths, causing inefficiency and potential network degradation. Resolving these issues requires robust mechanisms to maintain synchronization across devices despite network variability and limitations such as bandwidth and computational resources .
To address the problem of delayed rewards in RL applications for IoT systems, approaches like value iteration, policy gradients, and model-based RL have been proposed. These methods help the learning agent account for the delayed effects of actions by considering the long-term consequences of decisions . The agent must determine how past actions contribute to current outcomes to ensure intelligent decision-making . Implementing these approaches can help in adjusting strategies to maximize the overall reward despite delayed feedback .
The RPL protocol plays a crucial role in enhancing energy efficiency and reducing communication overhead in IoT network applications by facilitating efficient data routing and management. It enables real-time control and energy conservation in smart applications like street lights and surveillance systems . The RL mechanism aids RPL-based routing by enabling devices to learn to route with minimal communication overhead, thus extending device operation time . This combination of intelligent routing with RPL helps in achieving sustained energy efficiency and communication effectiveness across IoT networks .
Autonomous networks benefit from reinforcement learning strategies for resource management by enabling context-aware, adaptive decision-making that optimizes performance despite network fluctuations. RL techniques facilitate dynamic resource allocation, reducing latency and congestion while optimizing throughput . They allow devices within a decentralized network to autonomously learn optimal routes and resource use by responding to real-time conditions such as interference and traffic, significantly enhancing network efficiency and performance .
Achieving high accuracy in decision-making with RL in IoT networks is challenging due to the complexity and uncertainty of environments, as well as the need for precise actions, especially in scenarios with specific QoS requirements like low latency or energy efficiency . Addressing these challenges involves selecting appropriate metrics aligned with the objectives of the RL problem and balancing multiple factors such as energy conservation and real-time response . Improved accuracy may be obtained by aggregating performance over multiple episodes and using nuanced action-space definitions .