Research on Resource Allocation in Cognitive Radio Networks Assisted by IRS
Shuo Shang, Zhiyong Chen, Dejian Zhang, Xinran Song, Mingyue Zhou

TL;DR
This paper proposes a resource allocation model for cognitive radio networks using IRS to improve energy efficiency and communication stability.
Contribution
A novel Chaotic Spider Wasp Optimization algorithm is introduced to solve the non-convex resource allocation problem in IRS-assisted cognitive radio networks.
Findings
The proposed model significantly improves system energy efficiency.
The algorithm enhances global search capability and avoids premature convergence.
Communication quality stability is improved through the model and optimization method.
Abstract
To address the reduction in energy efficiency caused by severe signal attenuation during long-distance transmission in cognitive radio networks, this paper constructs an IRS-assisted and energy-constrained relay cognitive radio resource allocation model operating in the underlay mode. By introducing controllable reflective paths, the model enhances link quality and improves energy utilization efficiency. Our objective is to maximize the energy efficiency of secondary users while satisfying the interference constraints imposed on the primary user. To effectively solve the highly non-convex and high-dimensional optimization problem, we propose a Chaotic Spider Wasp Optimization algorithm. The algorithm employs chaotic mapping to initialize the population and enhance population diversity, and incorporates a dynamic trade-off factor to achieve an adaptive balance between hunting and nesting…
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8- —natural fund of science and Technology Department of Jilin Province
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCognitive Radio Networks and Spectrum Sensing · Advanced Wireless Communication Technologies · Cooperative Communication and Network Coding
1. Introduction
With the rapid evolution of wireless communication technologies, the scarcity of spectrum resources has become increasingly severe. Cognitive radio (CR) has been proposed as a promising solution to this critical challenge [1,2]. Since a large portion of the licensed spectrum is underutilized, cognitive radio technology enables secondary users (SUs) to access unlicensed spectrum opportunistically while guaranteeing that the communication quality of primary users (PUs) is not adversely affected, thereby significantly improving spectrum utilization efficiency [3].
In long-distance transmission scenarios, severe signal attenuation makes conventional single-hop communication insufficient to meet reliability requirements. As a result, relay-assisted transmission is widely adopted to enhance communication performance. Previous studies have demonstrated that energy-harvesting relays can prolong network lifetime while improving spectrum efficiency and transmission reliability. Si et al. introduced a nonlinear energy-harvesting relay scheme and selected the relay with the strongest received power for cooperative transmission [4], thereby improving spectrum efficiency and communication performance. Boddapati et al. analyzed an incremental relaying scheme in cooperative multi-hop networks to reduce throughput loss during multi-hop transmissions [5]. Mondal et al. employed a time-switching-based energy-harvesting relay to enhance spectrum utilization and network lifetime in cognitive radio networks [6]. Extensive studies have confirmed that relay-assisted transmission plays a crucial role in extending communication coverage and improving spectrum efficiency [7,8,9].
With the growing demand for higher energy efficiency and broader coverage in wireless networks, traditional relay techniques alone are no longer sufficient to further enhance system performance. In this context, intelligent reflecting surfaces (IRSs), as a novel passive and reconfigurable transmission technology, have attracted considerable attention due to their ability to intelligently reconfigure the wireless propagation environment, thereby significantly improving link quality and energy efficiency [10,11]. Wang et al. investigated energy efficiency maximization in non-orthogonal multiple access (NOMA) systems by optimizing IRS phase shifts [12]. Le-Thanh et al. studied the performance of IRS-assisted cognitive radio systems under different interference levels [13], while Zhu et al. explored the application of IRS in heterogeneous cognitive radio networks [14].
Despite the rapid progress in IRS-assisted cognitive radio networks, several critical issues remain insufficiently addressed. Most existing studies focus on optimizing either IRS phase shifts or transmit power allocation in isolation, while the joint optimization of IRS configurations and NOMA power allocation under practical energy-harvesting constraints is still limited. Moreover, many works assume energy-unconstrained relays and neglect fairness among secondary users, which may lead to uneven resource allocation. In addition, conventional convex optimization-based approaches may become computationally inefficient or prone to local optima when dealing with high-dimensional IRS phase variables. These gaps motivate the present work.
In this paper, an IRS-assisted energy-constrained relay cognitive radio network is developed, with the objective of maximizing the energy efficiency of the CR network under energy-harvesting and power constraints. To this end, the IRS phase shift matrix and power allocation coefficients are jointly modeled and treated as optimization variables. However, the joint optimization of IRS phase shifts and power allocation is highly non-convex, tightly coupled, and high-dimensional, making direct optimization computationally intractable. To overcome these challenges, a chaotic spider wasp optimization (CSWO) algorithm is employed to solve the proposed joint optimization problem. The spider wasp optimization (SWO) algorithm is a recently developed intelligent optimization technique characterized by fast convergence speed and high solution accuracy [15]. By incorporating chaotic mechanisms, population diversity and global exploration capability are further enhanced, effectively reducing the risk of premature convergence and improving overall convergence performance.
The main contributions of this paper are summarized as follows:
- (1)We develop an IRS-assisted energy-harvesting relay-based cognitive radio network operating in the underlay mode, where the relay has no external power supply and relies solely on harvested RF energy. By jointly exploiting controllable reflective links and cooperative relaying, the proposed model effectively mitigates severe path loss and enhances energy utilization efficiency.
- (2)By integrating NOMA with SIC at the secondary users, the proposed framework improves spectrum utilization and supports multiple secondary users simultaneously under strict interference constraints imposed on the primary user.
- (3)We formulate a non-convex energy efficiency maximization problem that jointly optimizes the IRS phase shifts and NOMA power allocation coefficients, subject to interference, energy causality, and QoS constraints. This formulation provides a comprehensive characterization of the trade-offs between energy efficiency and interference management in IRS-assisted CRNs.
- (4)To efficiently solve the highly non-convex problem, we propose a chaotic Spider Wasp Optimization (CSWO) algorithm, which enhances population diversity and global exploration capability compared with conventional SWO and GWO. Simulation results demonstrate that the proposed CSWO achieves superior energy efficiency and faster convergence.
2. System Model
This paper investigates a cognitive radio relay communication system comprising both primary users (PU) and secondary users (SU), as shown in Figure 1.
The considered system consists of one primary user transmitter ( ), one primary user receiver ( ), one secondary user transmitter ( ), multiple secondary user receivers denoted by , and an energy-constrained relay equipped with an amplify-and-forward (AF) protocol. To improve link quality and enhance controllable reflection gains, an intelligent reflecting surface (IRS) with N reflecting elements is deployed. The IRS reflection coefficient matrix is denoted by , where represents the phase shift of the reflecting element. We assume that the IRS elements can adjust their phase shifts continuously within . This assumption is commonly used to characterize the upper-bound performance of IRS-assisted systems [16,17]. Let denote the channel gain between and . The channel gains from and to the relay are denoted by and , respectively, while represents the channel gain between and . Furthermore, and denote the channel gains from and to the IRS, respectively, denotes the channel gain between the IRS and the relay, represents the channel gain from the IRS to , denotes the channel gain from the relay to the , and represents the channel gain from the IRS to the .
The relay in the considered system is an energy-constrained device without a continuous external power supply. Instead, it harvests energy from the radio-frequency (RF) signals transmitted by and . The transmission process is divided into two equal time phases. In the first phase (the first , where T represents the entire time period for signal transmission), the relay performs energy harvesting by collecting energy from the uplink signals of both the PU and SU, where the signals reflected by the IRS further enhance the incident energy. In the second phase (last ), the relay operates in amplify-and-forward mode, amplifying the received superimposed signal and forwarding it to and .
To improve spectrum utilization efficiency and enable multi-user access for secondary users while sharing the licensed spectrum of the primary user, non-orthogonal multiple access (NOMA) is adopted at the secondary user side. Specifically, the transmits superimposed signals to multiple secondary users simultaneously over the same time–frequency resource, and power allocation is performed according to the ordering of users’ channel gains. Assume that the system consists of M secondary users, whose channel gains are ordered as:
For SU m, allocates a power coefficient for it, which satisfies:
In the first stage, transmits the signal to . The signal received by the primary user receiver can be expressed as:
where represents the transmit power of the , and represent the message sent by and , respectively, represents the transmit power of SU, represents the phase matrix of the first stage of IRS, and indicates the additive Gaussian white noise at PU.
In this phase, the signal received at relay can be expressed as:
where represents the additive Gaussian white noise at relay.
Since the relay does not have an external power supply, it performs energy collection at this stage. The energy collected during this stage can be expressed as:
where T represents the total time of the entire transmission stage. represents energy harvesting efficiency and represents the proportion of signal power used for energy harvest.
In the second phase, the relay utilizes the energy harvested in the first phase to forward the signal. Accordingly, the transmit power of the relay can be expressed as:
To enhance the communication quality of the wireless channel, the relay amplifies the received signal before forwarding it. Accordingly, the signal transmitted after relay amplification can be expressed as:
where A denotes the amplification factor, which is calculated as follows:
By substituting it into Equation (7), the signal forwarded by the relay can be expressed as . The relay then directly transmits this signal to the nodes. Accordingly, the signal received at the can be expressed as follows:
where denotes the background noise amplified by the relay. By substituting into Equation (9), the above expression can be expanded as follows:
The received signal at each user still contains superimposed interference from other users. Therefore, successive interference cancellation (SIC) is employed at the receiver to perform signal decoding. For the SU, the decoding order follows the NOMA principle: the signals of users with weaker channel gains than that of user m are first detected and canceled, whereas the signals of users with stronger channel gains are treated as non-cancelable interference. Accordingly, the signal-to-interference-plus-noise ratio (SINR) of the secondary user can be expressed as:
where denotes the composite channel gain of the secondary user, represents the noise power at the relay, denotes the composite channel gain corresponding to the interference from the primary user, represents the amplified interference channel gain and denotes the noise power at the secondary user receiver.
Our objective is to maximize the energy efficiency of the system. The energy efficiency, defined as the ratio of the system throughput to the total power consumption of the system, can be shown as:
where denotes the total system throughput, represents the total energy consumption of the system, and the achievable rate of the SU is given by:
Therefore, the system throughput can be expressed as:
The power consumption in the considered system mainly consists of the following components: (1) the transmit power of the secondary user transmitter; (2) the forwarding power of the relay. In addition, the IRS itself is assumed to consume no power, and the power consumption of the control circuitry is neglected; (3) the fixed circuit power consumption, which is assumed to be a constant. Accordingly, the total power consumption of the system can be expressed as:
Therefore, our optimization objective can be expanded as:
To guarantee the communication quality of the primary user, the instantaneous interference power caused by the secondary user and the relay at the PU-RX must not exceed the maximum interference threshold tolerable by the primary user at any time.
Meanwhile, to guarantee the communication quality among secondary users, the SINR of each secondary user is required to be no lower than a predefined minimum threshold .
Considering the different channel conditions among different secondary users in the NOMA scenario, to prevent excessive resource allocation to a subset of users, fairness in power allocation among secondary users must be ensured. In this paper, Jain’s fairness index is adopted as the performance metric, which is defined as:
where denotes the power allocation coefficient assigned to the secondary user. A larger value of Jain’s fairness index indicates a more equitable resource allocation among secondary users.
Under the above constraints, our optimization objective can be further expressed as:
In this paper, a hybrid channel fading model is adopted. Specifically, Rician fading is employed to characterize all IRS-related links due to the existence of dominant line-of-sight (LoS) components enabled by the intelligently deployed reflecting surface [18], e.g., , while Nakagami-m fading is used to model the non-IRS direct links, which are subject to rich scattering and non-line-of-sight (NLoS) propagation conditions [19]. e.g., . The links related to the IRS are modeled as
where is the Rician factor, and are the corresponding line-of-sight(LoS) channel matrix and non-line-sight(NLoS) channel matrix, respectively.
The channel model for non-IRS direct-link communication is modeled as
The commonly used probability density function (pdf) for Nakagami-m fading can be given by
where denotes the channel power gains, is the average power, m represents the fading severity parameter.
3. Chaotic SWO Algorithm for Power Allocation
The Spider Wasp Optimization (SWO) algorithm is a novel intelligent optimization method that simulates the hunting, nesting, and mating behaviors of female spider wasps to obtain optimal solutions, offering advantages such as fast convergence and high solution accuracy. However, when dealing with complex optimization problems, it may still fall into local optima. To address this issue, we introduce chaotic theory to enhance the algorithm’s performance.
3.1. Logistic-Tent Chaotic Map
In conventional intelligent optimization algorithms, the rand function is typically used to randomly generate the population. However, populations generated in this way often suffer from uneven distribution. Chaotic maps, due to their good randomness and global exploration properties, can effectively address this issue. In this work, we adopt the Logistic-Tent chaotic map, whose mapping principle is as follows:
where and represent the states at the and iterations, respectively, and is the control parameter used to regulate the chaos of the map and he larger the value, the higher the degree of chaos. By introducing the chaotic map, the population can be distributed more uniformly, which helps the algorithm better explore the solution space and avoid premature convergence to local optima.
In this work, we not only use the chaotic map to generate the initial population but also apply chaotic perturbations when the algorithm gets trapped in a local optimum to help it escape. The condition we use to determine that the algorithm has fallen into a local optimum is:
where denotes the best fitness value of the individuals in the generation, and represents the threshold for triggering the chaotic map. When the algorithm shows no significant improvement over G generations, the chaotic map is activated, and the magnitude of the perturbation is described by the following formula:
where indicates the range of variation of the variable and .
The update of individuals after the chaotic mapping can be expressed by the following formula:
where denotes the random direction of the chaotic perturbation, and represents the perturbation magnitude, which decreases as the number of iterations increases. If the new solution obtained from the chaotic map is better than the previous one, it is retained; otherwise, no action is taken.
3.2. Spider Wasp Optimization Algorithm
In hunting and nesting behavior, the position change of an individual is determined by the following formula:
where and represent the individuals in the population at time t and time , respectively, , N represents the number of population, , is a random number between 0 and 1, and is a random number following a normal distribution. , is a random number. , , , where l denotes a random number between −2 and 1, , and H and L represent the upper and lower bounds of the search space, respectively. , denotes a rand number between and k, represents the best solution at present, , is a random number generated by the Levy distribution, and U is calculated as follows:
In the mating behavior, new individuals are generated according to the following formula:
where and are two numbers generated according to the normal distribution. and are determined by the following formula:
where , and are individuals randomly selected from the entire population. represent the current individual, represents the current fitness.
To accelerate the algorithm’s convergence, the population size is updated according to the following formula:
where represents the minimum number of the population.
The trade-off between hunting, nesting behavior and mating behavior is controlled by a preset value . However, to improve the balance between exploration and exploitation during the optimization process, a dynamic trade-off factor is introduced to adaptively regulate the probabilities of hunting, nesting, and mating behaviors in the CSWO algorithm. Specifically, a larger value of encourages hunting and nesting behaviors, which enhances global exploration and helps the algorithm escape from local optima in the early stages. As the iteration progresses, a smaller increases the likelihood of mating behavior, thereby strengthening local exploitation and accelerating convergence toward high-quality solutions. Therefore, we improve the calculation of as follows:
where represents the minimum value of and represents the maximum value of .
The algorithm flow is illustrated in Figure 2:
4. Result Analysis
In this section, simulation experiments are conducted to verify the performance of the IRS-based chaotic Spider Wasp Optimization algorithm. In the experiments, part of the parameter settings are specified as follows: the number of PUs is set to 1, the number of SUs is set to 4, and the number of IRS elements is set to 64. The maximum interference that the PU can tolerate is set to 0.15 mW. The minimum SINR requirement is set to 2 dB, and the minimum fairness requirement is set to 0.9. The transmit power of PU-TX is set to 2 W. All simulation results are obtained by averaging over multiple independent Monte Carlo runs under random channel realizations to ensure statistical reliability.
4.1. Time Complexity Analysis
In this section, we analyzed the time complexity of the chaotic Spider Wasp Optimization (CSWO), Spider Wasp Optimization (SWO), Grey Wolf Optimization (GWO), and Particle Swarm Optimization (PSO). The computational complexity of these algorithm is mainly determined by the population size N, the problem dimension M and the maximum number of iterations T. The following are the time complexity of these algorithms.
Based on the above analysis of the time complexity of the algorithms, we compared the running times and average running times of all the algorithms, as shown in Table 1.
4.2. Simulation Analysis
Figure 3 illustrates the convergence behavior and energy efficiency performance of different optimization algorithms, including the proposed CSWO, SWO, GWO, and PSO, under identical system settings, with and without the assistance of an intelligent reflecting surface (IRS). As observed from the figure, the IRS-assisted schemes consistently achieve higher energy efficiency than the corresponding non-IRS schemes for all considered algorithms. This performance improvement validates the effectiveness of IRS in enhancing energy efficiency by exploiting cascaded channel gains and improving signal propagation conditions. Moreover, all algorithms exhibit stable convergence behaviors in both scenarios, indicating their feasibility in solving the formulated non-convex optimization problem. Among the compared methods, the proposed CSWO algorithm achieves the highest final energy efficiency and demonstrates faster convergence compared with SWO, GWO, and PSO. This superiority is evident in both IRS-assisted and non-IRS cases, highlighting the robustness of the proposed algorithm. The performance gain of CSWO mainly stems from the incorporation of chaotic strategies, which enhance population diversity in the early stages and improve the balance between global exploration and local exploitation, thereby reducing the risk of premature convergence. Overall, the results confirm that IRS deployment significantly improves network energy efficiency, while the proposed CSWO algorithm further enhances optimization performance, demonstrating the effectiveness of the proposed system model and optimization framework.
Figure 4 illustrates the impact of the number of IRS elements on the system energy efficiency under different numbers of users. The results show that as the number of IRS elements increases, the energy efficiency first decreases and then rises rapidly, reaching an inflection point around a certain value. After that, the growth of energy efficiency gradually becomes saturated. This is because the cascaded gain provided by the IRS tends to stabilize when a large-scale reflecting array is deployed. For different user numbers, the corresponding curves exhibit a similar variation trend. However, as the number of users increases, the total interference power consumption of the system becomes larger, which leads to an overall reduction in energy efficiency. These results indicate that appropriately increasing the number of IRS elements can significantly enhance system energy efficiency, whereas under large-scale IRS deployment, the marginal energy efficiency gain gradually.
Figure 5 compares the interference imposed on the primary user by secondary user transmissions when the chaotic Spider Wasp Optimization algorithm is applied, with and without IRS. It can be observed that the interference power in the IRS-assisted case is higher than that in the non-IRS case. This is because the IRS not only reflects the desired signals from the secondary users but also redirects part of the interference signals toward the primary user receiver. Nevertheless, the interference power in both the IRS-assisted and non-IRS scenarios remains below the maximum interference threshold tolerated by the primary user. This result demonstrates that the proposed algorithm does not compromise the normal communication of the primary user.
Figure 6a illustrates the variation of the signal-to-interference-plus-noise ratio (SINR) obtained by the chaotic Spider Wasp Optimization algorithm in scenarios with and without IRS. It can be observed that both the median and the average SINR in the IRS-assisted case are higher than those in the non-IRS case, and the curve exhibits a continuously increasing trend. This indicates that IRS can effectively enhance the cascaded channel gain, thereby significantly improving the communication quality of the system. In contrast, in the absence of IRS, the SINR remains at a relatively low level with larger fluctuations. Figure 6b presents a comparison of the average interquartile range (IQR) over the last 20 iterations for the two scenarios. It can be seen that the average IQR with IRS is significantly smaller than that without IRS, which further demonstrates that the use of IRS not only yields higher SINR gains but also improves the stability of the system. Overall, IRS shows clear advantages in enhancing signal quality and reducing SINR fluctuations, validating the effectiveness of the proposed system model.
Figure 7 illustrates the convergence process of power allocation for each secondary user over the iterations. It can be observed that the power allocation gradually stabilizes after approximately 80 iterations, indicating that the algorithm has reached a good convergence state at this stage. Moreover, the power allocation curves for all secondary users are smooth and uniform, with no bias toward any particular user, demonstrating a high degree of fairness in power distribution. These results validate the effectiveness of the fairness constraint introduced in this work, ensuring that all secondary users can achieve stable and reasonable communication performance. Consequently, each user is able to communicate efficiently, highlighting the necessity of the proposed fairness constraint.
Figure 8a illustrates the frequency distribution of the initial population generated based on chaotic mapping, while Figure 8b shows the frequency distribution of the population generated using random initialization. It can be observed that the population generated by chaotic mapping is more evenly distributed across different regions, with smaller frequency variance, which facilitates a more comprehensive exploration of the solution space in the initial stage and enhances the global search capability of the algorithm. In contrast, individuals generated through random initialization are relatively scattered and tend to cluster in certain regions during the early stage, increasing the risk of falling into local optima. These results validate the rationality and necessity of constructing the initial population using chaotic mapping.
5. Conclusions
This paper employs the chaotic Spider Wasp Optimization (CSWO) algorithm to jointly optimize IRS phase shifts and power allocation coefficients, aiming to maximize system energy efficiency under the underlay mode. The constructed signal transmission model can significantly enhance energy efficiency, while the proposed improved optimization algorithm effectively overcomes the tendency of traditional methods to get trapped in local optima, demonstrating stronger global search capability. To validate the effectiveness of the approach, comparisons were conducted between the energy efficiency achieved with and without IRS under different algorithms, and further comparisons were made for the same algorithm under the two model conditions. Simulation results indicate that the proposed model and algorithm not only achieve higher energy efficiency but also exhibit better stability and robustness.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Balachander T. Ramana K. Mohana R.M. Srivastava G. Gadekallu T.R. Cooperative spectrum sensing deployment for cognitive radio networks for Internet of Things 5G wireless communication Tsinghua Sci. Technol.20232969872010.26599/TST.2023.9010065 · doi ↗
- 2Wang H. Wang Y. Zeng F. Wang J. Cognitive radio resource scheduling using an adaptive multiobjective evolutionary algorithm Appl. Intell.2024544043406110.1007/s 10489-024-05398-x · doi ↗
- 3Najimi M. IRS-User Association, Spectrum Sensing and Primary-Secondary Transmission in Multi-IRS Assisted Multi-Band Cognitive Radio Networks Phys. Commun.20257410292910.1016/j.phycom.2025.102929 · doi ↗
- 4Si W. Zhang L. Zhai C. Zheng L. Yan J. Liu H. Xu Z. Nonlinear energy harvesting based cognitive relaying with best relay selection Phys. Commun.20256910260310.1016/j.phycom.2025.102603 · doi ↗
- 5Boddapati H.K. Bhatnagar M.R. Prakriya S. Performance of incremental relaying protocols for cooperative multihop CR Ns IEEE Trans. Veh. Technol.2018676006602210.1109/TVT.2018.2809794 · doi ↗
- 6Mondal S. Dhar Roy S. Kundu S. Energy harvesting based multihop relaying in cognitive radio network Wirel. Pers. Commun.2017976325634210.1007/s 11277-017-4840-9 · doi ↗
- 7Foukalas F. Khattab T. To relay or not to relay in cognitive radio sensor networks IEEE Trans. Veh. Technol.2014645221523110.1109/TVT.2014.2376944 · doi ↗
- 8Silva S. Ardakani M. Tellambura C. Interference suppression and energy efficiency improvement with massive MIMO and relay selection in cognitive two-way relay networks IEEE Trans. Green Commun. Netw.2020432633910.1109/TGCN.2020.2965116 · doi ↗
