Skip to Content
ElectronicsElectronics
  • Article
  • Open Access

2 December 2026

25 Pages

A Communication Anti-Jamming Method Based on Dual-Head Contextual-Attention DDRQN

,
,
and
Shanxi Province Key Laboratory of Intelligent Detection Technology & Equipment, North University of China, Taiyuan 030051, China
*
Author to whom correspondence should be addressed.

Abstract

Under dynamic jamming and partial observability, unmanned aerial vehicle (UAV) communication systems cannot directly observe jammer states, making reliable channel selection and transmit-power control difficult. This paper proposes a dual-head contextual-attention-based Double Deep Recurrent Q-Network (DHC-DDRQN) for joint channel and power decision-making. A two-layer long short-term memory (LSTM) network captures temporal patterns in local observations, while an interaction context is constructed from past observations, actions, rewards, and communication feedback. Dual-head contextual attention weights historical information for the current decision, and a product-of-experts (PoE) mechanism fuses two Gaussian experts to obtain a contextual representation. This representation is combined with the current observation and recurrent hidden state to estimate the values of joint channel–power actions. The reward function considers communication utility, energy consumption, and frequency-hopping overhead. In simulations with 16 UAVs, 4 communication clusters, and 3 dynamic jammers, DHC-DDRQN achieves a mean communication success rate of 90.30% and a mean per-episode cumulative energy consumption of 12.02 J. Compared with the Double Deep Recurrent Q-Network (DDRQN) baseline, the success rate increases from 87.33% to 90.30%, while mean per-episode cumulative energy consumption decreases from 22.18 J to 12.02 J. These results indicate improved communication reliability and lower energy consumption under the tested conditions.

1. Introduction

Unmanned aerial vehicle (UAV) swarms support emergency communications, cooperative reconnaissance, and disaster relief through flexible deployment, high mobility, and wide-area coverage [1,2]. In the cluster-based communication setting considered here, each cluster head selects communication channels and transmit power for its links based only on locally available information. Dynamic jamming can reduce the communication success rate, while increasing transmit power raises transmission energy consumption and may intensify co-channel interference [3,4,5,6]. Frequent channel switching also incurs frequency-hopping overhead. The anti-jamming objective is therefore to maintain a high communication success rate while limiting transmission energy consumption and frequency-hopping overhead.
Existing studies have addressed resource allocation from three perspectives. For power control, Ma et al. adapted transmit power to jamming intensity using reinforcement learning [7]. For joint channel–power control, Yin et al. investigated collaborative multi-agent resource allocation [8], Li et al. modeled transmit frequency and power as joint actions while considering transmission energy consumption and frequency-switching overhead [9], and Chen et al. studied joint channel selection and power control for multi-UAV anti-jamming communication under an energy constraint [10]. For channel coordination, Xu et al. addressed intra-network interference and external jamming through distributed channel selection [11]. These studies establish the value of adaptive resource allocation and motivate decisions based on the information available when interference changes.
A related line of research investigates decision-making under unknown or time-varying interference. Lu et al. employed deep reinforcement learning to select UAV relay policies without prior knowledge of the jamming model [12]. Pourranjbar et al. studied joint channel selection and power allocation under partial observability—specifically, when information about the reactive jammer’s channel usage was unavailable [13]. Ke et al. proposed a hybrid reward function to jointly optimize frequency reuse and anti-jamming strategies in dynamic interference environments [14]. Collectively, these works adopt distinct assumptions regarding the availability and accuracy of jammer information—motivating a deeper investigation into how a cluster head can leverage its local observations and historical communication feedback to inform robust decisions. Xiao et al. explored robust narrowband interference detection using unlabeled data, thereby enhancing the reliability of sensory inputs available to the controller [15]. However, improved sensing reliability alone does not address the fundamental challenge of sequential channel–power decision-making under partial observability. In this work, the decision problem is formulated as selecting both a communication channel and a transmit power level, given that the available observations provide only incomplete information about the current interference state.
For such partially observable sequential decisions, deep reinforcement learning provides a suitable basis. Mnih et al. introduced the Deep Q-Network (DQN) for value-based learning [16], and Zhong et al. applied an actor–critic framework to dynamic multichannel access [17]. For partial observability and historical information, Wang et al. studied multichannel access with unknown system dynamics [18], Naparstek and Cohen investigated distributed access using local feedback [19], and Hausknecht and Stone incorporated recurrent memory into Q-learning [20]. Double DQN separately addresses Q-value overestimation by separating action selection from value evaluation [21]. Among later approaches, Han et al. reconstructed missing spectrum information [22], while Cong and Lang developed the Double Deep Recurrent Q-Network (DDRQN) for centralized dynamic multichannel access with observable channel states [23]. Rakelly et al. used probabilistic context variables to represent interaction experience in meta-reinforcement learning [24], and Zhang et al. investigated recurrent anti-jamming decisions under limited channel-state information [25]. These studies address incomplete sensing, memory, or context representation, but using the current decision state to identify and fuse relevant past observation–action–reward–feedback interactions for cluster-head joint channel–power control remains an open issue.
To bridge this gap, this paper proposes a Dual-Head Contextual Attention-based Dual-Depth Recurrent Q-Network (DHC-DDRQN). A two-layer LSTM encodes the local observation sequence to extract temporal features. In parallel, the most recent K completed interaction tuples—each comprising an observation, an action, a reward, and communication feedback—are encoded as historical context tokens; missing tokens (when fewer than K interactions are available) are masked. For each of the two independently parameterized attention heads, the current observation and the LSTM hidden state jointly generate the query, while the historical tokens collectively serve as keys and values. Each head outputs a Gaussian contextual estimate characterized by a mean vector and a log-variance vector. Assuming conditionally independent diagonal Gaussian estimates from the two heads, we fuse them by a product-of-experts (PoE) operation, which reduces to elementwise precision-weighted averaging: the precision of each head is computed as the inverse of its estimated variance, the fused mean is the precision-weighted average of the two head means, and the fused precision is the sum of the two head precisions. The resulting fused mean is then concatenated with the current observation features and the LSTM hidden state, and fed into a recurrent Dual-Dueling DQN value network, which decouples action selection from target evaluation to produce joint channel-power action values.
DHC-DDRQN extends recurrent action-value estimation with an explicit mechanism for selecting and combining historical interactions. The LSTM hidden state summarizes the observation sequence, while contextual attention uses the current observation and hidden state to query the last K completed interactions. The two heads produce Gaussian context estimates, which are combined through a product-of-experts operation before joint channel–power Q-value estimation. For each latent dimension, the estimated variances determine the relative contributions of the head estimates to the fused mean. Conventional multi-head attention concatenates the head outputs and applies a learned output projection. DHC-DDRQN introduces precision weighting at this fusion stage, integrating current-state-guided interaction retrieval with Gaussian context fusion within a recurrent Double DQN controller.
The contributions are twofold. First, we formulate cluster-head joint channel selection and transmit-power control under partial observability as a POMDP based on local observations and communication feedback. Second, we develop DHC-DDRQN, which differs from standard recurrent Q-networks and conventional attention-based methods in two respects: it retrieves the last K completed interaction tuples using a query conditioned on the current observation and recurrent hidden state, rather than relying solely on the hidden state to summarize history; and it treats the two attention heads as Gaussian experts and fuses them by precision weighting before joint action-value estimation, rather than concatenating head outputs and applying a learned projection. This variance-aware fusion integrates state-guided interaction retrieval with Gaussian contextual fusion within a recurrent Double DQN controller for joint channel–power decisions.

2. System Model and Problem Formulation

2.1. Communication and Jamming Environment

We consider a network comprising N UAV clusters and J external dynamic jammers. Within each cluster, a designated cluster head serves as the local decision-making agent and manages Ki intra-cluster communication links. Notably, Ki represents the number of controlled communication links—not the total number of physical UAVs in the cluster. Concurrent transmissions among these links may induce co-channel interference, while the external jammers dynamically occupy time-varying frequency channels. Consequently, frequency allocation, link quality, and energy consumption are tightly coupled design considerations [26]. The system model is illustrated in Figure 1.
Figure 1. System model of anti-jamming communication for UAV swarms.
The spectrum comprises M orthogonal channels, denoted by F = {0, 1, …, M − 1}. The transmit power set consists of L discrete power levels, denoted by P = {p1, …, pL}, where p1 < p2 < ⋯ < pL. The link from cluster head i to its j-th cluster member is denoted by li,j, where i ∈ {1, 2, …, N} and j ∈ {1, 2, …, Ki}. At time slot t = {1, 2, …, T}, the channel and transmit power selected for link li,j are denoted by f i , j t ∈ M and p i , j t ∈ P , respectively. Thus, the joint action of cluster head i at time slot t is a i ( t ) = { f i , j t , p i , j t } j = 1 K i .
External jammers introduce time-varying jamming on the channels, while concurrent UAV transmissions using the same channel cause co-channel interference. Since each cluster head can obtain only locally available information, the decision process is partially observable.
Jammer channel states and transition probabilities. The joint jammer state is an ordered tuple of occupied channels, with one channel assigned to each jammer and no duplicate channels within a tuple. For three jammers and eight available channels, the joint state space contains 336 states. At each channel update, the next joint state is sampled from the transition-matrix row associated with the current state. In the default matrix generator, the 336 initial weights in each row i are drawn independently from a uniform distribution on [0, 1). Let Si denote their initial sum. One column is selected uniformly at random and its weight is increased by Si/2. An additional Si/3 is assigned to a randomly selected column each time a new independent uniform draw exceeds 0.5. This procedure stops at the first draw of 0.5 or less. Column selection allows both repeated selections and self-transitions. The resulting weights are normalized within each row to obtain the transition probabilities. Within an episode, channel updates use the matrix supplied at reset. Because 2.28 s is not an integer multiple of 1.18 s, an update can occur within a decision slot. If it occurs during an ongoing packet, the simulator accounts for the jammer occupancy before and after the update.
Spatial mobility. The initial jammer positions are sampled within the simulation volume. Initial speeds are drawn uniformly from 10 to 20 m/s, and initial movement angles are randomized. The simulator updates each jammer’s speed and direction using a stochastic model that depends on its previous motion. When a jammer crosses a boundary, the simulator reflects its position and movement direction along the corresponding dimension.
Interference characteristics. Each jammer occupies one channel at a time and contributes interference only to links using that channel. The baseline transmit power is 30 dBm (1 W) per jammer, and each channel has a bandwidth of 1.8 MHz. The jammer-to-receiver channel gain accounts for distance-dependent path loss and Rayleigh fast fading. Equation (3) sums the received powers of the co-channel jammers. The resulting external interference term enters the SINR in Equation (4), together with co-channel interference from other UAV transmissions and receiver noise. When a channel update occurs during a transmission, the simulator accounts for the jammer occupancy before and after the update.

2.2. Link Transmission, Interference, and Energy-Consumption Model

Let L denote the set of UAV communication links and J the set of external jammers. At time slot t, link li,j selects channel f i , j t and transmit power p i , j t in dBm. Its transmit power in watts is P i , j t = 10 p i , j t − 30 / 10 . This is the standard dBm-to-watt conversion, in which 0 dBm corresponds to 1 mW.
Let g i , j t f denote the power gain of the desired link on channel f. The received desired-signal power is:
P i , j S ( t ) = P i , j t g i , j t f i , j t
Concurrent UAV links using the same channel cause co-channel interference. Let g u , v → i , j t f denote the channel power gain from the transmitter of link (u,v) to the receiver of link (i,j). The resulting interference is:
I i , j U ( t ) = ∑ u , v ∈ L − i , j I f u , v t = f i , j t P u , v t g u , v → i , j t f i , j t
Let f q J ( t ) and P q J ( t ) denote the occupied channel and transmit power in watts of jammer q, respectively. Let g q → i , j J , t f denote the power gain from jammer q to the receiver of link (i,j). The external jamming power is:
I i , j J ( t ) = ∑ q ∈ J I f q J ( t ) = f i , j t P q J ( t ) g q → i , j J , t f i , j t
If the jammer power is specified in dBm, it is converted to watts using the same conversion as the UAV transmit power. For each link and time slot, the received jammer-to-signal ratio (J/S) is the total received external jamming power in (3) divided by the received desired-signal power in (1). Equation (3) includes only jammers on the selected channel, and the ratio is zero when no jammer occupies that channel. The reported mean is defined as the arithmetic mean of these linear ratios over attempted link transmissions, including zero-valued samples. It depends on the desired-link and jammer-to-receiver channel gains as well as the transmit powers.
Let N i , j t denote the receiver noise power in watts, and let B be the bandwidth of one channel. The signal-to-interference-plus-noise ratio (SINR) and achievable transmission rate are:
γ i , j t = P i , j S ( t ) I i , j U ( t ) + I i , j J ( t ) + N i , j t , R i , j ( t ) = B log 2 1 + γ i , j ( t )
For a packet of size D bits and a time slot of duration Δt, the actual transmission duration and communication-success indicator are defined as:
τ i , j ( t ) = min D R i , j ( t ) , Δ t , c i , j ( t ) = I D R i , j ( t ) < Δ t
The corresponding transmission energy consumption is E i , j ( t ) = P i , j t τ i , j ( t ) , where τ denotes the slot duration. The above model shows that channel selection determines both the co-channel interference experienced by the link and whether external jamming affects the selected channel, whereas transmit power affects the received signal strength, achievable transmission rate, and energy consumption. Therefore, channel selection and power control should be jointly optimized [27,28]. While richer propagation models exist, the present formulation adopts a tractable multi-channel model based on channel power gains to compute the desired-signal power under the simulation model described above. For example, Lei et al. modeled and characterized low-altitude ultra-wideband channels, including frequency-dependent propagation effects [29]. Their results highlight the value of evaluating link-control policies under richer propagation models. Extending the present formulation to such models is left for future work.

2.3. POMDP Formulation for Joint Channel and Power Decision-Making

A cluster head can obtain only local channel measurements, current jamming-sensing results, and communication feedback; it cannot directly observe the jammer’s internal state or state-transition dynamics. Recent work on UAV swarm access under dynamic sweep jamming has likewise modeled decisions based on local, partial observations as a partially observable Markov decision process (POMDP) [30]. Accordingly, we formulate the joint channel and power decision problem as a POMDP [31,32]:
M = ⟨ S , A , P , R , O , Ω ⟩
where S denotes the global state space, A the action space, P the state-transition probability, R the reward function, O the local observation space, and Ω the observation probability function.

2.3.1. State and Observation Spaces

The global state contains the channel states, action configurations, and jammer states of all communication links; however, the complete global information is unavailable to an individual cluster head. The local observation of the i-th cluster head consists of the channel measurements over candidate channels for its intra-cluster links together with the current jamming-sensing results:
o i t = { g i , j t f , j ^ i t j = 1 , … , K i , f ∈ F }
where j ^ i t denotes the local jamming-sensing information available to the cluster head. The observations are normalized before being fed into the network. Global information unavailable to the agent, including global positions, complete actions of other clusters, and jammer state-transition parameters, is excluded from the local observation.

2.3.2. Action Space

The action of link (i,j) is defined as a i , j t = f i , j t , p i , j t , a i t = a i , 1 t , a i , 2 t , … , a i , K i t . Here a i t denotes the joint action of the i-th cluster head. Each link has ML channel-power combinations; therefore, the size of the joint action space is A i = ML K i .
In implementation, the channel and power indices are denoted by m i , j t ∈ { 0 , … , M − 1 } and l i , j t ∈ { 0 , … , L − 1 } respectively. A single-link action is encoded as u i , j t = m i , j t L + l i , j t , and ML is used as the radix to construct the cluster-head joint action. During decoding, integer-division and modulo operations are used to recover the channel and power indices, respectively, ensuring independent selection.

2.3.3. Reward Function and Optimization Objective

To reduce transmit-energy consumption while maintaining the communication success rate and suppressing unnecessary channel switching, the communication utility of a single link is defined as:
r i , j c t = 1 , c i , j ( t ) = 1 − 3 , c i , j ( t ) = 0
Let the single-link frequency-hopping indicator be h i , j ( t ) = I f i , j t ≠ f i , j t − 1 . Then the reward of the i-th cluster head at time slot t is defined as:
r i t = ∑ j = 1 K i [ α r i , j c ( t ) − β E i , j ( t ) − η h i , j ( t ) ]
where α,β and η are the weights of communication utility, transmit-energy consumption, and frequency-hopping overhead, respectively. The failure penalty is used only for policy training, whereas the communication success rate is evaluated independently according to the binary variable ci,j(t). The agent aims to maximize the expected discounted cumulative reward over a finite horizon:
max π i J π i = E π i [ ∑ t = 0 T − 1 γ t r i ( t ) ]
where πi is the decision policy of the i-th cluster head, T is the maximum number of interaction steps per episode, and γ ∈ [0, 1) is the discount factor. By balancing communication utility, transmit-energy consumption, and frequency-hopping overhead, this objective guides the agent to learn a joint channel-selection and power-control policy [33]. The joint-action encoding and single-slot interaction with the communication environment are illustrated in Figure 2.
Figure 2. Joint-action encoding and single-slot interaction process.
As shown in Figure 2, at time slot t, the cluster head uses local observation ot to select the joint-action index at and decodes it into the channel and transmit-power configurations of the intra-cluster links. After executing the action, the communication environment computes the communication outcome, transmit-energy consumption, and frequency-hopping overhead, and returns reward rt together with the next-slot observation ot+1, thereby forming a closed-loop interaction process.

3. DHC-DDRQN-Based Anti-Jamming Decision Method

3.1. Overall Architecture of DHC-DDRQN

Under dynamic jamming, each cluster head can access only local channel measurements and communication feedback, whereas the complete interference state remains unobservable. Moreover, the effect of a channel–power action may be reflected in subsequent observations and transmission outcomes. Therefore, the current observation alone is insufficient to characterize the decision state, and historical interaction information must be incorporated into the anti-jamming decision process.
To address this challenge, we develop a Dual-Head Contextual Attention-based Double Deep Recurrent Q-Network for joint channel selection and transmit-power control. The proposed architecture combines recurrent temporal modeling with interaction-context representation. A two-layer LSTM processes the local observation sequence to extract temporal dependencies, while recent interaction experiences, including observations, actions, rewards, and communication feedback, are encoded as contextual tokens. Two independently parameterized attention heads are then employed to capture potentially complementary dependency patterns among historical interactions. Their contextual representations are integrated through a probabilistic product-of-experts fusion mechanism, followed by latent variable sampling to obtain the fused context Z.
As illustrated in Figure 3, DHC-DDRQN consists of temporal feature encoding, interaction-context construction, dual-head contextual attention, probabilistic context fusion, and Double DQN value estimation. The current observation feature, LSTM hidden state, and fused contextual representation are concatenated and provided to a fully connected value network to estimate the Q-values of the local joint channel–power actions for each cluster head. Compared with DDRQN-based architectures that do not explicitly model the relative importance and probabilistic complementarity of recent interaction experiences, DHC-DDRQN provides a unified framework to exploit temporally correlated, decision-relevant information under partial observability, while retaining a decentralized action structure.
Figure 3. Overall architecture of the dual-head contextual-attention DDRQN.

3.2. Interaction Context Construction

At the end of time slot t, the interaction experience of cluster head i defined as et = (ot,at,rt,ft,ot+1,dt), where ot denotes the local observation, at denotes the selected joint channel–power action, rt denotes the received reward, ft denotes the communication feedback, ot+1 denotes the next observation, and dt ∈ {0, 1} denotes the episode-termination indicator. The communication feedback may include the transmission-success indicator, ACK/NACK information, SINR, packet-loss information, or other communication-quality measurements used by the environment.
The channel and power selections of each intra-cluster link are represented by one-hot vectors. For the l-th controlled link, the channel and power components are defined as a t , l ch ∈ { 0 , 1 } M , a t , l pw ∈ { 0 , 1 } L where M denotes the number of available channels and L denotes the number of discrete power levels. The corresponding factored link-action representation is a t , l = [ a t , l ch , a t , l pw ] ∈ { 0 , 1 } M + L . For a cluster head that controls ni communication links, the joint-action representation is a t = [ a t , 1 ; a t , 2 ; … ; a t , n i ] ∈ { 0 , 1 } n i M + L .
This one-hot encoding avoids introducing artificial numerical relationships among discrete channel and power indices. It is used for interaction-context encoding, whereas the value network outputs one Q-value for each local joint action in Ai.
When the action at time slot t is selected, the reward, communication feedback, and next observation generated by that action are not yet available. Therefore, the context used for the current decision is constructed only from the previous K experiences:
C t = { e t − K , e t − K + 1 , … , e t − 1 }
This causal construction prevents future information from leaking into the current decision. The context sequence is constructed only within the current episode and is reset at each episode boundary. If fewer than K valid experiences are available, zero padding is applied together with a valid-position mask. The mask prevents padded entries from participating in the attention computation and probabilistic context fusion.

3.3. Dual-Head Contextual Attention and Probabilistic Fusion

The dual-head contextual attention and probabilistic fusion module is illustrated in Figure 4. At time slot t, the module uses the current observation and recurrent hidden state to query the K most recent interaction experiences. Only experiences completed before the current decision are included in the context window.
Figure 4. Dual-head contextual-attention computation.
Within each attention head, the attention weights determine how much each historical interaction contributes to the context estimate. The product-of-experts (PoE) fusion then combines the resulting two Gaussian estimates. For each latent dimension, the head with the lower estimated variance contributes more to the fused mean. Conventional multi-head attention typically concatenates the head outputs and combines them through a learned output projection. Direct feature concatenation passes both outputs to the Q-network, leaving the combination to its downstream layers. In contrast, PoE uses the estimated variances to weight the two outputs explicitly before Q-value estimation. If these variances reflect the reliability of the context estimates, this weighting can reduce the influence of uncertain contexts on the estimated values of joint channel and transmit-power actions.
The fused Gaussian mean, denoted as zt, serves as the contextual representation. The detailed computation of the Q-values using zt is described in Section 3.4.
Let ek denote a historical interaction experience defined in Section 3.2. A shared context encoder maps each experience to a d-dimensional token. The context-token matrix and the current-state query are defined as:
x k = f enc ( e k ) , X t = [ x t − K , x t − K + 1 , … , x t − 1 ] ∈ ℝ K × d , q t = f q [ f o ( o t ) ; h t ] ∈ ℝ d
where fenc is the context encoder, fo is the current-observation encoder, and ht is the output of the second LSTM layer. When fewer than K experiences are available, the context window is zero-padded and a valid-position mask is applied.
For each attention head h ∈ {1, 2}, the query is projected from the current-state representation, whereas the keys and values are projected from the historical context tokens: Q t h = q t W Q h , K t h = X t W K h , V t h = X t W V h . Here, Q t h ∈ ℝ 1 × d h and K t h , V t h ∈ ℝ K × d h , where dh is the dimension of one attention head. The attention weights and weighted historical representation are:
a ( h ) = soft max Q t ( h ) K t ( h ) T d h + M t , v t ( h ) = a t ( h ) V t ( h )
The mask Mt ∈ ℝ1×K is defined by:
M t jk = 0 , if   the   k - th   context   position   is   valid − ∞ , if   the   k - th   context   position   is   padded
Consequently, padded positions receive zero attention weight. Each head produces one attention-weight vector a t h ∈ ℝ 1 × K , which indicates the relative contribution of the available historical experiences to the current decision.
An output projection maps v t h back to the dimension of qt. Residual connections, layer normalization, and a feedforward network then produce the contextual representation of head h: y t h = LayerNorm q t + v t h W o h , c t h = LayerNorm y t h + FF N h y t h .
Each head parameterizes a diagonal Gaussian expert through its contextual representation: μ t h = f μ h c t h , l t h = f l h c t h , σ t h 2 = exp clip l t h , l min , l max . Here, μ t h and σ t h 2 are the mean and elementwise variance of the h-th expert, respectively. Clipping the log-variance improves numerical stability. The two experts are combined using a product-of-experts (PoE) operation. For diagonal Gaussian experts, the fused precision, mean, and variance are calculated elementwise as:
λ t h = 1 σ t h 2 , λ t = λ t 1 + λ t 2
μ t = λ t 1 ⊙ μ t 1 + λ t 2 ⊙ μ t 2 λ t ,     σ t 2 = 1 λ t
The fused contextual representation is set to zt = μt. It is concatenated with the current-observation feature and the LSTM hidden state for the joint channel–power action-value estimation described in Section 3.4. If no valid historical experience is available at the beginning of an episode, the contextual representation is set to a zero vector; subsequent decisions use the available experiences and the valid-position mask.
Figure 4 indicates that the model employs a current-state-guided dual-head contextual attention mechanism and applies product-of-experts fusion. The current observation and LSTM hidden state generate the query for each head, while the encoded historical experiences generate keys and values. Each head assigns attention weights to the valid historical positions and produces a Gaussian expert. The two experts are fused to obtain the contextual representation zt.

3.4. Double DQN Training and Network Update

The local observation sequence is recursively processed by a two-layer LSTM. For the l-th LSTM layer, the hidden state and memory state are updated as:
h t i , l , m t i , l = LST M l x t i , l , h t − 1 i , l , m t − 1 i , l ,       l ∈ { 1 , 2 }
where x t i , 1 = o t i and x t i , 2 = h t i , 1 . The recurrent feature and memory state of cluster head i are taken from the second LSTM layer: h t i = h t i , 2 , m t i = m t i , 2 .
The current-observation feature, recurrent hidden state, and fused contextual representation are concatenated as u t i , + = [ f o [ o t i ] ; θ t i ; z t i ] , where fo(⋅) denotes the observation encoder and is distinct from the context encoder fenc(⋅) defined in Section 3.3. The superscript “+” indicates that the feature is generated by the online network.
The online value network outputs the Q-values of all local joint actions: Q i u t i , + ; θ ∈ ℝ A i , where θ denotes the parameters of the online network. For a specific local joint action a ∈ Ai, its Q-value is defined as Q i u t i , + , a ; θ = [ Q i u t i , + ; θ ] a . During training, the current action is selected using an ϵ-greedy policy:
a t i = A i , ϵ argmax Q i u t i , + , a ; θ , a ∈ A i 1 − ϵ
For the next state, the online network generates the next-state feature as:
u t + 1 i , + = ϕ i o t + 1 i , c t + 1 i , h t + 1 i , m t + 1 i ; θ
where ϕi(·) denotes the composite mapping consisting of the observation encoder, recurrent encoder, contextual encoder, attention module, and feature-fusion operations. The online network selects the next action according to a t + 1 * = argmax a ∈ A i Q i u t + 1 i , + , a ; θ .
The target network generates the corresponding next-state feature:
u t + 1 i , − = ϕ i o t + 1 i , c t + 1 i , h t + 1 i , − , m t + 1 i . − ; θ −
where the superscript “−” denotes the target network. The target value is then calculated as:
y t = r t + γ 1 − d t Q i − u t + 1 i , − , a t + 1 * ; θ −
where γ denotes the discount factor and dt ∈ {0, 1} is the episode-termination indicator. When dt = 1, the bootstrapped next-state value is removed.
For a minibatch of B samples, the Double DQN loss is defined as:
L θ = 1 B ∑ b = 1 B [ y b − Q i u b i , + , a b ; θ ] 2
where u b i , + and ab denote the online feature and selected action of the b-th sample, respectively. The target value yb is detached from gradient propagation.
The target network is periodically updated from the online network: θ− ← θ. Here, θ− represents a delayed copy of the complete online network, including the observation encoder, LSTM, context encoder, dual-head attention module, probabilistic fusion module, and value-estimation network. The target network is updated every C gradient updates.
Because both the recurrent hidden state and contextual representation depend on historical interactions, the replay buffer stores complete episode trajectories rather than isolated transitions. During training, a contiguous segment from a single episode is sampled. The recurrent hidden states are reconstructed from the corresponding historical prefix or burn-in sequence, and the context window at each time step t is constructed only from experiences generated before t within the same episode. If the available history is shorter than the predefined context length, zero padding and the valid-position mask are applied. The hidden states and context windows are reset at episode boundaries. This sequence-based replay procedure preserves the temporal continuity required for recurrent value learning and prevents information leakage across episodes.

3.5. Algorithm

To integrate the above sequence-based replay mechanism with the network updates, the complete training procedure of the proposed DHC-DDRQN is summarized in Algorithm 1. This procedure details how the agent samples contiguous segments, performs burn-in without loss, and updates the network parameters using Double DQN targets. It is worth noting that only completed episodes are sampled to ensure temporal continuity. At the beginning of each episode, the hidden states and context windows are reset. For short histories, zero-padding and masking are applied. Furthermore, the loss is averaged over the [n] learning positions, while the burn-in positions contribute no loss.
Algorithm 1. Training Procedure of DHC-DDRQN
Input: Episodes E; maximum slots per episode T; slot duration Δt; context length K; batch size B; burn-in length Lb; training length Lu; minimum number of eligible replay segments Nmin ≤ B; target update interval C.
Output: trained online-network parameters θ
  • Initialize online network Q(⋅;θ), target network Q−(⋅;θ−), and empty episode replay buffer D; set θ− ← θ and gradient-update counter u ← 0.
  • for episode = 1, 2, …, E do.
  • Reset the environment, LSTM states, and context windows; set the current trajectory τe ← ϕ.
  • For t = 0, 1, …, T − 1 do
  • Encode the current observation and history; select a joint channel–power action by the ε-greedy policy in (18).
  • Execute the action for one slot of duration Δt; observe the reward, next observation, and termination flag dt.
  • Append the transition to τe and update the context window using information available up to time t.
  • if D contains at least Nmin eligible segments of length Lb + Lu then.
  • Sample B contiguous segments from completed episodes in D; no segment crosses an episode boundary.
  • Use the first Lb positions for burn-in without a loss; use the following Lu positions for learning.
  • Calculate Double DQN targets by (21), compute the loss by (22), and update θ; set u ← u + 1.
  • if u mod C = 0, set θ− ← θ.
  • end if; if dt = 1, break.
  • end for
  • Add the completed trajectory τe to D and update ε. If the condition in step 8 is satisfied, perform one update using steps 9–12.
  • end for; save θ and the training log.

4. Simulation Results and Analysis

4.1. Simulation Setup

We consider a multichannel scenario with 16 UAVs in total, organized into four clusters, each consisting of one cluster head and three member UAVs. The UAVs operate in a horizontal area of 500 m × 250 m at altitudes of 60~120 m. Each cluster head acts as the local decision agent and, in each decision slot, schedules two of its three member links; for each scheduled link, it selects a channel and a transmit-power level based only on locally available observations and communication feedback. The spectrum consists of eight orthogonal channels, and each link has five selectable power levels, yielding 8 × 5 = 40 link actions and a per-cluster joint action space of 402 = 1600 per decision slot. The reported communication success rate is computed over the scheduled links. Each jammer transmits at a nominal power of 30 dBm, and the joint jammer channel state evolves according to a Markov chain. In the default setting, the three jammers occupy distinct channels, resulting in 336 joint jammer states, and the transition matrix is fixed within an episode. The main parameters are listed in Table 1.
Table 1. Simulation Parameters.
The discrete UAV transmit-power set is {23, 27, 30, 33, 36} dBm, corresponding to approximately 0.20–3.98 W. This range allows the policy to trade transmission energy against link reliability under different interference conditions. As a hardware reference, the Doodle Labs Mini Mesh Rider radio specifies a maximum RF transmit power of 32 dBm (1.6 W). The 23, 27, and 30 dBm settings are below this published maximum. The 33 and 36 dBm settings are included only to define an extended simulated action range above the hardware reference and are not claimed to be device-supported settings; 36 dBm is the upper bound of the simulated link. With the nominal 30 dBm jammer power, a jammer transmits 6 dB below the highest simulated UAV setting (36 dBm) and 7 dB above the lowest simulated UAV setting (23 dBm). The received J/S is evaluated using the received powers defined in Section 2.2.
Training and online-adaptation protocol. The local observation is a 19-dimensional vector containing channel measurements and locally available jamming-sensing information. For the context-based methods, each completed interaction is represented by a 65-dimensional token consisting of the current observation, the factored one-hot actions of the two controlled links, the scalar reward, and the next observation. Each link action is encoded using an eight-dimensional channel-selection vector and a five-dimensional transmit-power-selection vector. The token dimension is therefore: 19 + 19 + 2(8 + 5) + 1 = 65. The next observation includes the communication feedback used by the agent. The context window contains up to K = 10 completed interactions from the current episode and is reset at the beginning of each episode. When fewer than K interactions are available, missing tokens are masked. At each decision step, only interactions completed before that decision are available to the context encoder.
The experimental procedure comprises pretraining and subsequent online adaptation. During pretraining, each learning-based method is trained for 2000 episodes, with a maximum of 200 decision slots per episode, using the training task set comprising tasks 1–200. The networks are optimized using Adam with a learning rate of 5 × 10−4, a discount factor of 0.9, and a batch size of 32. Five independent runs of each method share the same set of Tasks 1–200; tasks starting from 201 are reserved exclusively for the online adaptation phase.
Following pretraining, the learned network weights are loaded for online adaptation on held-out tasks with indices starting from 201. These tasks are excluded from the pretraining task set. During this phase, the agent continues to collect interaction experiences and updates its network once every 40 environment steps. The exploration probability is reset to 1.0 at the beginning of the adaptation phase and is reduced by a factor of 0.98 after each episode until it reaches a minimum of 0.05. For adaptation episode e, indexed from one, the exploration schedule is expressed as εe = max(0.05, 0.98e−1).
Each online-adaptation run comprises 1000 episodes. All compared learning-based methods use the same adaptation episode budget, update interval, and exploration schedule. The resulting measurements characterize performance during continued learning on held-out jamming tasks. Accordingly, the 2000 pretraining episodes and the 1000 online-adaptation episodes constitute two separate experimental stages.
Curve presentation and performance aggregation. The horizontal axis of the adaptation curves denotes the episode index within the online-adaptation phase. For visualization, a trailing moving average with a window of 50 episodes is applied to the episode-level measurements. For the first 49 episodes, the average is calculated using the available preceding episodes and the current episode. Numerical results are calculated from the unsmoothed measurements over the final 100 adaptation episodes, corresponding to episodes 901–1000. This fixed reporting window is used consistently across the compared methods.
DHC-DDRQN is compared with six baseline algorithms: DDRQN, context-aware DDRQN (C-DDRQN), LSTM-based DDRQN, multi-head-attention context-aware DDRQN (MHA-DDRQN), DQN, and a random-policy baseline. All methods are evaluated in the same environment using the same performance metrics.

4.2. Performance Comparison of Different Algorithms

The algorithms are evaluated using the following four metrics: communication success rate, cumulative energy consumption, cumulative episode reward, and frequency-hopping overhead. The communication success rate measures link reliability, the cumulative energy consumption reflects the transmission energy cost, the cumulative episode reward measures the overall objective value accumulated per episode, and the frequency-hopping overhead measures the cost associated with channel switching. In Figure 5, Figure 6, Figure 7, Figure 8 and Figure 9, the solid lines represent the mean values across five independent runs, and the shaded regions denote the ±1 standard deviation.
Figure 5. Communication success rates of different algorithms. The solid lines represent the mean values, and the shaded regions indicate the ±1 standard deviation across five independent runs. The plot label “Test Episode” denotes online-adaptation episodes during which policy updates and exploration continue throughout execution.
Figure 6. Cumulative Transmission Energy per Cluster per Episode for Different Algorithms. The solid lines represent the mean values, and the shaded regions indicate the ±1 standard deviation across five independent runs. The plot label “Test Episode” denotes online-adaptation episodes during which policy updates and exploration continue throughout execution.
Figure 7. Cumulative episode rewards of different algorithms. The solid lines represent the mean values, and the shaded regions indicate the ±1 standard deviation across five independent runs. The plot label “Test Episode” denotes online-adaptation episodes during which policy updates and exploration continue throughout execution.
Figure 8. Frequency-hopping overhead of different algorithms. The solid lines represent the mean values, and the shaded regions indicate the ±1 standard deviation across five independent runs. The plot label “Test Episode” denotes online-adaptation episodes during which policy updates and exploration continue throughout execution.
Figure 9. Performance comparison under different ablation settings. The solid lines represent the mean values, and the shaded regions indicate the ±1 standard deviation across five independent runs in all four subfigures.
Figure 5 shows the communication success rates of the compared algorithms. Based on the statistics over the last 100 episodes, DHC-DDRQN achieves a mean communication success rate of 90.30% with a standard deviation of 1.88%. This is 2.97 percentage points higher than that of DDRQN and 5.41 percentage points higher than that of C-DDRQN. These results suggest that DHC-DDRQN maintains a high communication success rate with relatively low episode-to-episode variation.
As shown in Figure 6, DHC-DDRQN achieves the lowest mean cumulative energy consumption, at 12.02 J over the final 100 episodes. This is 10.16 J lower than DDRQN (22.18 J) and 6.94 J lower than C-DDRQN (18.96 J). Combined with its higher communication success rate, these results indicate that DHC-DDRQN reduces energy consumption while maintaining reliable communication under the tested conditions.
Figure 7 compares the cumulative episode rewards, which reflect communication utility, energy consumption, and frequency-hopping overhead according to the predefined reward weights. DHC-DDRQN achieves the highest mean reward, 144.54, exceeding DDRQN by 19.02 and C-DDRQN by 17.70. This result indicates that DHC-DDRQN performs best among these methods with respect to the defined reward objective.
Figure 8 shows that DHC-DDRQN achieves a mean frequency-hopping overhead of 17.79, which is 12.89 lower than that of the LSTM-based DDRQN. As summarized in Table 2, compared with the baseline algorithms, DHC-DDRQN achieves higher mean reward and communication success rate, together with lower mean energy consumption and frequency-hopping overhead.
Table 2. Performance comparison of different algorithms over the last 100 episodes (mean ± standard deviation).
Table 2 summarizes the performance of the seven algorithms over the final 100 episodes. Compared with the baselines, DHC-DDRQN achieves a higher mean cumulative episode reward and communication success rate, along with lower mean cumulative energy consumption and frequency-hopping overhead. In particular, compared with DDRQN, its mean cumulative episode reward increases by 19.02, and its communication success rate increases by 2.97 percentage points, from 87.33% to 90.30%. Its mean cumulative energy consumption decreases by 10.16 J, from 22.18 J to 12.02 J, while its mean frequency-hopping overhead decreases by 0.69, from 18.48 to 17.79. The standard deviation of its communication success rate over these episodes is 1.88 percentage points.
Overall, these results indicate that DHC-DDRQN achieves the best overall performance among the compared algorithms under dynamic jamming and partial observability, maintaining high communication reliability while reducing energy consumption and frequency-hopping overhead in the tested scenario.

4.3. Ablation Study

Two ablation experiments were conducted to examine the effects of contextual modeling and the number of attention heads. First, DDRQN, C-DDRQN, and DHC-DDRQN with two attention heads (H = 2) were compared to evaluate the performance of the context-aware and proposed architectures. Second, the number of attention heads in DHC-DDRQN was varied across H ∈ {1, 2, 4, 8}. The H = 4 configuration corresponds to MHA-DDRQN. All other network parameters, training settings, and simulation conditions were kept unchanged. Performance was evaluated using cumulative episode reward, cumulative energy consumption, communication success rate, and frequency-hopping overhead.
Figure 9 presents the results of the ablation experiments. Panels (a)–(d) show the communication success rate, cumulative transmission energy per episode, cumulative episode reward, and frequency-hopping overhead, respectively. The numerical results for the architecture comparison and attention-head configurations are reported in Table 3 and Table 4, respectively.
Table 3. Performance comparison of DDRQN, C-DDRQN, and DHC-DDRQN over the last 100 episodes.
Table 4. Performance under different numbers of attention heads over the last 100 episodes.
As shown in Table 3, DHC-DDRQN with two attention heads (H = 2) achieves a higher mean cumulative episode reward and communication success rate, together with lower mean cumulative energy consumption and frequency-hopping overhead, than DDRQN and C-DDRQN. Compared with C-DDRQN, its mean cumulative episode reward increases by approximately 13.96%, its communication success rate increases by 5.41 percentage points, and its mean cumulative energy consumption decreases by approximately 36.60%. These results show that DHC-DDRQN achieves better overall performance than these two baseline methods in terms of the reported metrics.
Table 4 compares configurations with one, two, four, and eight attention heads. Among the tested configurations, the two-head setting yielded the lowest mean energy consumption (12.02 J per episode) and the highest mean cumulative reward (144.54), while the four-head configuration did not outperform it on these metrics; we therefore selected two attention heads for DHC-DDRQN. This choice is also motivated by the architecture. The two heads provide two complementary context estimates that are kept separate before precision-weighted fusion and Double DQN value estimation, whereas a single head would collapse these estimates into one representation. With a fixed 64-dimensional embedding, two heads also keep each head at a sufficiently wide dimension of 32, which helps preserve distinct representations of historical interactions relevant to channel selection and transmit-power control. Increasing the head count beyond two reduces the per-head dimension and may introduce redundant heads, while using a single head removes the complementary context estimates. The two-head setting therefore balances architectural separation, per-head representational width, and the empirical energy reward trade-off observed in Table 4.
With eight heads, the communication success rate fell to 31.67%, mean energy consumption increased to 57.75 J per episode, and mean cumulative reward fell to −65.74. A possible explanation is that, with the total embedding dimension held constant, increasing the number of heads reduces the dimensionality available to each head. For a 64-dimensional embedding, increasing the head count from two to eight reduces the per-head dimension from 32 to 8. This narrower per-head representation may make it harder to distinguish historical interactions relevant to channel selection and transmit-power control, and may also introduce redundancy among heads and destabilize training. The extent to which the reduced per-head dimensionality contributed to the observed deterioration remains to be determined through controlled experiments.
Overall, the ablation supports the two-head contextual attention design; among the evaluated head counts, H = 2 provides the best balance among success rate, energy consumption, and cumulative reward.

4.4. Sensitivity to Jammer Transmit Power

To evaluate the sensitivity of DHC-DDRQN to jamming intensity, as shown in Figure 10, the transmit power of each jammer was set to 30, 33, 36, 38, and 40 dBm, while the UAV transmit power was varied across {23, 27, 30, 33, 36} dBm. All other network, channel, propagation, and jammer channel transition configurations remained identical to those specified in Section 4.1. The 30 dBm jammer power serves as the reference setting, under which the jammer power is 6 dB lower than that of the strongest UAV; at 38 and 40 dBm, the jammer power exceeds this reference by 2–4 dB, rendering further UAV power increases insufficient to recover the link budget. Each data point represents the mean over five independent simulation runs with distinct random seeds; error bars denote ±1 sample standard deviation. The 30 dBm results (90.30% communication success rate, 12.02 J average RF transmission energy) are consistent—within inter-run variability—with the reference values reported in Table 2.
Figure 10. Sensitivity of DHC-DDRQN to per-jammer transmit power: Data points denote means over five independent simulation runs (5 seeds); error bars represent ±1 sample standard deviation in all four subfigures.
Figure 11 shows that the average communication success rate decreases monotonically from 90% to 79% as jammer transmit power increases from 30 dBm to 40 dBm. Specifically, the success rates are 87.0%, 84.0%, and 81.5% at jammer powers of 33, 36, and 38 dBm, respectively—corresponding to an overall decline of 11 percentage points. Concurrently, the average RF transmission energy per cluster per episode rises from 12.0 J to 22.0 J, and the mean received jammer-to-signal (J/S) ratio increases from 1.06 to 10.91—approximately an order-of-magnitude increase. The number of frequency hops remains stable across the range of 16.5–18.5 hops per link per episode, exhibiting no monotonic trend. The observed energy increase can be explained via the relation E = P ⋅ τ and τ = D/R: decreasing SINR leads to reduced achievable data rate R, thereby increasing both the selected transmit power P and the transmission duration τ. The degradation in reliability exhibits comparable rates on either side of the UAV power ceiling: a 6.3-percentage-point drop from 30 to 36 dBm and a 5.0-percentage-point drop from 36 to 40 dBm—indicating that the policy remains robust and does not collapse when UAV power saturation is reached. Since hop count remains largely invariant, residual reliability stems primarily from intelligent channel reselection and transmission timing scheduling—not from increased hopping frequency. Notably, the measured J/S ratio reflects a policy-dependent outcome and cannot, in isolation, serve as an absolute metric of jamming intensity.
Figure 11. Effect of the failure penalty on DHC-DDRQN: Points are means over five runs (5 seeds); error bars show the sample standard deviation.
Overall, the jammer-power sensitivity results illustrate the trade-off between communication reliability and transmission energy consumption under stronger interference. These findings are limited to the tested jammer-power range and network configuration.
The study varied the transmit power per jammer while keeping the numbers of UAVs, communication channels, and jammers fixed. Consequently, scalability across different network configurations and adaptability to changes in the number of active jammers remain unverified. Future work will investigate these aspects by varying the UAV and channel counts and allowing jammers to enter or leave the environment dynamically.

4.5. Sensitivity to Reward Function Parameters

The reward in (9) combines communication success rate, RF transmission energy, and frequency-hopping overhead. Two sets of sensitivity experiments are reported: one varies the magnitude of the failure penalty at fixed weights, the other varies the weights at a fixed penalty. Each reported point or bar summarizes five independent runs, and the error bars denote the sample standard deviation across runs. Because a change in the reward definition changes what the cumulative return measures, the three physical metrics—communication success rate, RF transmission energy, and frequency-hopping overhead—are reported and compared separately. In the penalty experiment the success utility is +1and the failure utility is −c, with c ∈ {1, 2, 3, 5}, while (α, β, η) = (1, 2, 0.10). In the weight experiment the failure utility is held at −3 and α at 1. Only the ratios β/α and η/α affect the optimal policy, since multiplying the three weights by a positive constant leaves the argmax of the return unchanged; fixing α = 1 therefore loses no generality and allows β and η to be read as penalties relative to the unit success utility. β and η are varied one at a time over the configurations listed in Table 5, with the failure penalty held at −3.
Table 5. Reward-weight configurations used in the sensitivity analysis.

4.5.1. Effect of the Failure Penalty

Figure 11 compares the communication success rate and average RF transmission energy consumption under four failure penalty settings. As c changes from 1 to 2 and 3, the average communication success rate increases from approximately 86.5% to 88.0% and 90.3%, respectively, while the average RF transmission energy consumption increases from approximately 9.5 J to 10.02 J and 12.02 J. These results indicate that, within this range, increasing the magnitude of the failure penalty improves communication reliability at the cost of higher transmission energy consumption.
Although c = 1 yields the lowest average energy consumption, c = 3 is retained as the baseline because it achieves the highest communication success rate (90.3%) among the four settings, with an average energy consumption of 12.02 J. Given the primary objective of maintaining reliable communication, this setting provides a reasonable trade-off between reliability and energy consumption.
When c = 5, the communication success rate drops to approximately 15.5%, while the average energy consumption rises to 30.0 J, indicating a substantial deterioration in both metrics. These results suggest that an excessively large failure penalty may hinder policy learning, increasing energy consumption without improving communication reliability.

4.5.2. Effect of the Reward Weights

The baseline reaches 90.3% success, 12.02 J per cluster per episode and 17.79 hops per link per episode, reproducing the DHC-DDRQN result of Table 2 within rounding and run-to-run variation; the four alternatives yield 83.4–86.1% (Figure 12). The baseline has the highest mean success rate and the lowest mean energy, and is not dominated by any alternative within this set.
Figure 12. Sensitivity to the reward weights (baseline (1, 2, 0.10)): bars are means over five runs (5 seeds); error bars show the sample standard deviation.
Halving β(2 → 1) raises the energy to 36.3 J and the hopping to 23.0 while the success rate falls to 86.1%: once the energy term is weakened, additional power is spent without gaining reliability and itself raises co-channel interference. Doubling β(2 → 4) leaves the energy essentially unchanged at 13.2 J but lowers the success rate to 84.9% and raises the hopping to 21.8. β = 2 therefore already lies close to the effective lower bound of the energy needed to sustain a given success rate.
Halving η(0.10 → 0.05) raises the hopping to 23.2 and the energy to 14.6 J, so frequent switching carries a measurable cost. Doubling η(0.10 → 0.20)reduces the hopping to 15.0 (−14%) but raises the energy to 18.2 J and lowers the success rate to 84.5%: suppressing switching keeps a link on the same channel for longer, so sustained jamming must be countered by transmit power. Hopping overhead and transmit energy are thus substitutable, which is why the configuration that switches least is not preferable overall. Within the tested parameter ranges, the default (1, 2, 0.10) achieves favorable overall performance and is therefore adopted.

5. Conclusions

To address the challenge of joint channel selection and transmit-power control under dynamic jamming and partial observability, this paper proposes DHC-DDRQN. The method uses an LSTM to capture temporal patterns in local observations, while dual-head contextual attention and product-of-experts fusion incorporate decision-relevant information from recent interaction experiences. Simulation results show that DHC-DDRQN achieves a mean communication success rate of 90.30% and a mean cumulative energy consumption per episode of 12.02 J over the final 100 episodes. Compared with DDRQN, it increases the success rate by 2.97 percentage points and reduces mean cumulative energy consumption per episode from 22.18 J to 12.02 J, demonstrating improved communication reliability and energy efficiency under the tested conditions.

Author Contributions

Conceptualization, Z.Y., Y.D., H.W. and R.Y.; methodology, Z.Y. and Y.D.; software, Y.D. and H.W.; validation, Z.Y., Y.D. and R.Y.; formal analysis, Z.Y., Y.D., H.W. and R.Y.; investigation, Y.D.; resources, Z.Y.; data curation, Y.D. and H.W.; writing—original draft preparation, Y.D.; writing—review and editing, Z.Y., Y.D. and R.Y.; visualization, Y.D. and H.W.; supervision, Z.Y.; project administration, Z.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data supporting the findings of this study were generated from the simulation experiments described in this article. The simulation data, training logs, and experimental results are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
POMDPPartially Observable Markov Decision Process
DQNDeep Q-Network
DRQNDeep Recurrent Q-Network
DDRQNDouble Deep Recurrent Q-Network
DHC-DDRQNDual-Head Contextual-Attention Double Deep Recurrent Q-Network
C-DDRQNContext-Aware Double Deep Recurrent Q-Network
LSTMLong Short-Term Memory
SINRSignal-to-Interference-plus-Noise Ratio
MHAMulti-Head Attention

References

  1. Khute, T.; Doriya, R. A Comprehensive Study on Secured Swarm Drone Communication and Coordination in Defence. In Proceedings of the 2026 5th International Conference on Power, Control and Computing Technologies (ICPC2T), Chhattisgarh, India, 11–13 March 2026; Available online: https://ieeexplore.ieee.org/document/11646388 (accessed on 16 September 2026).
  2. Javaid, S.; Saeed, N.; Qadir, Z.; Fahim, H.; He, B.; Song, H.; Bilal, M. Communication and Control in Collaborative UAVs: Recent Advances and Future Trends. IEEE Trans. Intell. Transp. Syst. 2023, 24, 5719–5739. [Google Scholar] [CrossRef] [Scilit]
  3. Shen, Z.; Jiao, C. Cross-Layer Security for UAV Networks: RL, IRS Assisted Transmission, Cooperative Jamming, and Federated LLM Defenses. In Proceedings of the 2025 5th International Conference on Electronic Information Engineering and Computer Technology (EIECT), Jiangmen, China, 24–26 October 2025; pp. 542–547. [Google Scholar]
  4. Yang, J.; Cui, M.; Zhang, H.; Ji, F.; Lai, Z.; Wang, Y. Agent-Based Anti-Jamming Techniques for UAV Communications in Adversarial Environments: A Comprehensive Survey. arXiv 2025, arXiv:2508.11687. [Google Scholar] [CrossRef] [Scilit]
  5. Tariq, S.; Saleem, U.; Jangsher, S.; Ahmed, A.; Al-Dweik, A. Joint Power Allocation and Splitting Ratio for SWIPT-Enabled UAV Assisted Time-Shared Cooperative NOMA Network. In Innovation and Technological Advances for Sustainability; CRC Press: Boca Raton, FL, USA, 2024. [Google Scholar]
  6. Alnakhli, M.A. Joint Optimization of Spectrum and Power Control in 6G Multi-UAV Networks: Managing Data Redundancy. IEEE Access 2025, 13, 132913–132925. [Google Scholar] [CrossRef] [Scilit]
  7. Ma, N.; Xu, K.; Xia, X.; Wei, C.; Su, Q.; Shen, M.; Xie, W. Reinforcement Learning-Based Dynamic Anti-Jamming Power Control in UAV Networks: An Effective Jamming Signal Strength Based Approach. IEEE Commun. Lett. 2022, 26, 2355–2359. [Google Scholar] [CrossRef] [Scilit]
  8. Yin, Z.; Lin, Y.; Zhang, Y.; Qian, Y.; Shu, F.; Li, J. Collaborative Multiagent Reinforcement Learning Aided Resource Allocation for UAV Anti-Jamming Communication. IEEE Internet Things J. 2022, 9, 23995–24008. [Google Scholar] [CrossRef] [Scilit]
  9. Li, X.; Chen, J.; Ling, X.; Wu, T. Deep Reinforcement Learning-Based Anti-Jamming Algorithm Using Dual Action Network. IEEE Trans. Wirel. Commun. 2023, 22, 4625–4637. [Google Scholar] [CrossRef] [Scilit]
  10. Chen, Y.; Yang, H.; Xu, C.; Shao, Z.; Xiao, L.; Jiang, Y.; Xiong, Z. Joint Channel Selection and Power Control for Multi-UAV-Enabled Anti-Jamming Communications Based on Game Guided Reinforcement Learning. In Proceedings of the GLOBECOM 2024—2024 IEEE Global Communications Conference, Cape Town, South Africa, 8–12 December 2024; pp. 1485–1490. [Google Scholar]
  11. Xu, Y.; Ren, G.; Chen, J.; Zhang, X.; Jia, L.; Kong, L. Interference-Aware Cooperative Anti-Jamming Distributed Channel Selection in UAV Communication Networks. Appl. Sci. 2018, 8, 1911. [Google Scholar] [CrossRef] [Scilit]
  12. Lu, X.; Xiao, L.; Dai, C.; Dai, H. UAV-Aided Cellular Communications with Deep Reinforcement Learning Against Jamming. IEEE Wirel. Commun. 2020, 27, 48–53. [Google Scholar] [CrossRef] [Scilit]
  13. Pourranjbar, A.; Kaddoum, G.; Ferdowsi, A.; Saad, W. Reinforcement Learning for Deceiving Reactive Jammers in Wireless Networks. IEEE Trans. Commun. 2021, 69, 3682–3697. [Google Scholar] [CrossRef] [Scilit]
  14. Ke, Z.; Wang, X.; Du, Z.; Xiong, T.; Xu, Y.; Chen, J. Intelligent Frequency Reuse for Dynamic Spectrum Anti-Jamming: A Hybrid-Reward-Based Multi-Agent Deep Reinforcement Learning Approach. IEEE Wirel. Commun. Lett. 2025, 14, 771–775. [Google Scholar] [CrossRef] [Scilit]
  15. Xiao, Z.; Wang, R.; Ou, C.; Jiang, H.; Li, T.; Min, G.; Han, Z. Robustness-Enhanced Narrowband Interference Detection by Utilizing Unlabeled Data. IEEE Trans. Wirel. Commun. 2026, 25, 8645–8659. [Google Scholar] [CrossRef] [Scilit]
  16. Mnih, V.; Kavukcuoglu, K.; Silver, D.; Rusu, A.A.; Veness, J.; Bellemare, M.G.; Graves, A.; Riedmiller, M.; Fidjeland, A.K.; Ostrovski, G.; et al. Human-Level Control through Deep Reinforcement Learning. Nature 2015, 518, 529–533. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Zhong, C.; Lu, Z.; Gursoy, M.C.; Velipasalar, S. A Deep Actor-Critic Reinforcement Learning Framework for Dynamic Multichannel Access. IEEE Trans. Cogn. Commun. Netw. 2019, 5, 1125–1139. [Google Scholar] [CrossRef] [Scilit]
  18. 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. [Google Scholar] [CrossRef] [Scilit]
  19. Naparstek, O.; Cohen, K. Deep Multi-User Reinforcement Learning for Distributed Dynamic Spectrum Access. IEEE Trans. Wirel. Commun. 2019, 18, 310–323. [Google Scholar] [CrossRef] [Scilit]
  20. Hausknecht, M.; Stone, P. Deep Recurrent Q-Learning for Partially Observable MDPs. In Proceedings of the AAAI Fall Symposium on Sequential Decision Making for Intelligent Agents; AAAI Press: Arlington, VA, USA, 2017. [Google Scholar]
  21. Van Hasselt, H.; Guez, A.; Silver, D. Deep Reinforcement Learning with Double Q-Learning. Proc. AAAI Conf. Artif. Intell. 2016, 30. [Google Scholar] [CrossRef] [Scilit]
  22. Han, H.; Wang, X.; Gu, F.; Li, W.; Cai, Y.; Xu, Y.; Xu, Y. Better Late Than Never: GAN-Enhanced Dynamic Anti-Jamming Spectrum Access with Incomplete Sensing Information. IEEE Wirel. Commun. Lett. 2021, 10, 1800–1804. [Google Scholar] [CrossRef] [Scilit]
  23. Cong, Q.; Lang, W. Double Deep Recurrent Reinforcement Learning for Centralized Dynamic Multichannel Access. Wirel. Commun. Mob. Comput. 2021, 2021, 5577756. [Google Scholar] [CrossRef] [Scilit]
  24. Rakelly, K.; Zhou, A.; Quillen, D.; Finn, C.; Levine, S. Efficient Off-Policy Meta-Reinforcement Learning via Probabilistic Context Variables. In Proceedings of the 36th International Conference on Machine Learning; PMLR: Long Beach, CA, USA, 2019; Volume 97, pp. 5331–5340. [Google Scholar]
  25. Zhang, F.; Niu, Y.; Zhou, Q.; Chen, Q. Intelligent Anti-Jamming Decision Algorithm for Wireless Communication under Limited Channel State Information Conditions. Sci. Rep. 2025, 15, 6271. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  26. Alam, M.M.; Moh, S. Joint Trajectory Control, Frequency Allocation, and Routing for UAV Swarm Networks: A Multi-Agent Deep Reinforcement Learning Approach. IEEE Trans. Mob. Comput. 2024, 23, 11989–12005. [Google Scholar] [CrossRef] [Scilit]
  27. Zhang, F.; Niu, Y.; Zhou, W. Intelligent Anti-Jamming Decision Algorithm for Wireless Communication Based on MAPPO. Electronics 2025, 14, 462. [Google Scholar] [CrossRef] [Scilit]
  28. Rahman, S.; Akter, S.; Yoon, S. A Deep Q-Learning Based UAV Detouring Algorithm in a Constrained Wireless Sensor Network Environment. Electronics 2025, 14, 1. [Google Scholar] [CrossRef] [Scilit]
  29. Lei, T.; Mao, K.; Zhu, Q.; Zhang, R.; Ma, Z.; Hua, B.; Niyato, D.; Wu, Q. Ultra-Wideband Channel Modeling and Characterization under Low Altitude Scenarios. Chin. J. Aeronaut. 2026, 39, 104077. [Google Scholar] [CrossRef] [Scilit]
  30. Yuan, X.; Wen, J. A Curriculum-Learning-Assisted MAPPO-Based Algorithm for Dynamic Spectrum Access and Anti-Jamming in UAV Swarms. Sensors 2026, 26, 2912. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  31. Ma, Y.; Liu, K.; Liu, Y.; Wang, X.; Zhao, Z. An Intelligent Game-Based Anti-Jamming Solution Using Adversarial Populations for Aerial Communication Networks. IEEE Trans. Cogn. Commun. Netw. 2025, 11, 1981–1995. [Google Scholar] [CrossRef] [Scilit]
  32. Li, Y.; Zhao, T.; Wu, Z.; Lin, Y.; Zhang, Y. Energy-Harvesting-Assisted UAV Swarm Anti-Jamming Communication Based on Multi-Agent Reinforcement Learning. Drones 2026, 10, 294. [Google Scholar] [CrossRef] [Scilit]
  33. Cheng, L.; Shang, W. Multi-Head Attention DQN and Dynamic Priority for Path Planning of Unmanned Aerial Vehicles Oriented to Penetration. Electronics 2026, 15, 167. [Google Scholar] [CrossRef] [Scilit]
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.