Research Article | Open Access

Fanzi Zeng, Xinwang Shen, "Channel Selection Based on Trust and Multiarmed Bandit in Multiuser, Multichannel Cognitive Radio Networks", *The Scientific World Journal*, vol. 2014, Article ID 916156, 6 pages, 2014. https://doi.org/10.1155/2014/916156

# Channel Selection Based on Trust and Multiarmed Bandit in Multiuser, Multichannel Cognitive Radio Networks

**Academic Editor:**Z. Yu

#### Abstract

This paper proposes a channel selection scheme for the multiuser, multichannel cognitive radio networks. This scheme formulates the channel selection as the multiarmed bandit problem, where cognitive radio users are compared to the players and channels to the arms. By simulation negotiation we can achieve the potential reward on each channel after it is selected for transmission; then the channel with the maximum accumulated rewards is formally chosen. To further improve the performance, the trust model is proposed and combined with multi-armed bandit to address the channel selection problem. Simulation results validate the proposed scheme.

#### 1. Introduction

Radio spectrum is known to be a kind of valuable and limited resource. With the explosive growth in wireless applications, radio spectrum resources are almost exhausted. However, reliably experiments show that current spectrum is underutilized and that there exists spectrum opportunity over the space and time. To improve the utilization efficiency of spectrum, dynamic spectrum access (DSA) model based on cognitive radios [1] has been proposed, which allows secondary users (SUs) to exploit the spectrum opportunistically without interfering with primary users (PUs). In this paper, we focus on the critical issue of DSA in cognitive radio networks (CRNs): efficient channel selection strategy.

There exit many pieces of work on DSA strategy, most of which deal with spectrum sensing and channel sharing. In [1–3], the DSA strategies maximize the throughput of a single secondary user in a multichannel slotted primary network. But, there are always multiple secondary users seeking spectrum hole under licensed primary users in CRNs. So, it is very necessary and natural to address the problem of multiuser spectrum sharing in multichannel CRNs. For multi-channel CRNs, every secondary user should decide which channel must be selected to achieve highest throughput. Meanwhile, when multiple secondary users are contending for spectrum opportunities, they should take the best channel without colliding with other users. Effective channel selection for centralized and distributed system has been addressed extensively in the last decade. It is worth mentioning that for a centralized scheme, the communications between the fusion center and secondary users will raise the system reliability, but it also results in increasing the burden of the overall system, while the distributed scheme with lower complexity but no information exchange about the channel selection may lead to collisions among secondary users for some of them choosing the same channel.

In [4, 5], the authors analyzed the CRNs throughput using random sensing with negotiation, but it required an extra control channel for coordination among SUs. Hoang et al. [6] considered centralized power control and channel allocation in order to maximize the total throughput in CRNs, where each user requires the knowledge of all channel gains between PUs and SUs; in that way, it means a great deal of cooperation between PUs and SUs. The same problem has been introduced while jointly considering the result of spectrum sensing in [7]. Some papers have accrued interest in spectrum optimization for frequency selective channels (see [8, 9] and the reference therein). However, all of those pieces of work rely on central fusion controlling channel state information and statistics. In contrast, Li et al. [10] applied analytical results for throughput for a novel slotted ALOHA-based distributed access CR system in a proposed channel selection scheme by considering the relationship between the system throughput and the number of the sensing channels. In [11], Leshem et al. suggested Gale-Shapley stable marriage theorem from game theory into channel allocation, where the user and the channel achieve the stable allocation in the cost of high complexaity. A channel-and-sensing-aware channel access (CSCA) policy is proposed for multichannel interweaves cognitive radio systems in [12], in which a minimum channel gain threshold is set on each channel to limit the probability that the channel is accessed by SUs. Therefore, we can draw a conclusion that if the SU chooses one or a subset of possible channels to access, it is crucial for DSA to design an efficient channel selection strategy to find the best channel. This problem can be formulated as a multi-armed bandit (MAB) problem (has been applied in [13, 14]). The paper [15] used the PAC-MAB formulation with optimal active sensing, which enables the SU to optimally balance energy between sensing and probing and data transmission. This motivates our present work where we transfer the channel selection problem into a MAB problem. Considering that cognitive radio systems are inherently distributed, in this paper, we consider a distributed solution to maximize the total throughput in the multiuser, multichannel CRNs.

The remainder of the paper is organized as follows. The system model and some basic definitions and assumptions used in this paper are presented in Section 2. In Section 3, we solve the problem of determining the optimal access cardinalities based on trust and MAB formulation. Section 4 is the numerical results of our algorithm. Finally, in Section 5, we conclude this paper and provide future work.

#### 2. Problem Formulations

Suppose that there exist secondary users (SUs), available channels. Let denote the SU set and let denote the channels set. The channel selection problem is that SU chooses the suitable channel from the available channel list to transmit to maximize the total channel utility. It is assumed that each SU can select only one channel and access to different channel can obtain different gain. If is compared to the players and to the arms, the channel selection problem falls into the multi-arm bandit problem framework.

For the classical multi-armed bandit problems, the player repeatly selects an arm among a number of alternative arms and observes its associated reward to find an arm that maximizes the average cumulative reward, as close as possible to the ideal reward obtained if we were to try the “best” arm at all times.

Let denote channel transmission efficiency that th SU selects th channel to transmit, where is the transmission duration of th SU on th channel before collision occurs; is the probability of the th SU to access the channel ; is the bandwidth of channel ; is the transmission power of the th SU on channel , is the transmission power, is the data packet size that th SU wants to transmit, represents the distance between th SU and its receiver; is the transmission coefficient of channel chosen by ith SU and is the power spectral density of noise.

Suppose each SU maintains a list it contains the channel transmission efficiency of all channels that have been selected. For , let denote the channel decision history, transmission efficiency of the simulated selection channel when simulated negotiation can be expressed as , where is the number of times channel selected, where is the transmission efficiency gain after transmission, while is transmission efficiency gain achieved by simulated negotiation.

#### 3. Channel Selection Based on Multiarmed Bandit Problem

In above section, we formulate channel selection problem as MAB, where SU is compared to players and channels to arms. The player’s purpose in MAB system is to maximize his total reward over a sequence of trials. Since each arm is assumed to have a different distribution of reward, the goal is to find the arm with the best expected return. The ultimate objective is to find the reward on each arm; this problem can be solved by simulated negotiation. Therefore, we can apply the algorithm of simulated negotiation into CRNs to obtain channel’s reward distribution. In the condition of unknown channel’s characteristics, the CR user tries to choose the best channel based on its data characteristic and decision history.

CR user chooses the negotiation target according to the probability of the th SU to access the channel , and let the channel transmission efficiency gain between the simulation negotiation and the precedent efficiency record denote the interaction reward; that is, then, the reward of selecting channel at slot is

Let denote the total simulation negotiation reward of selecting channel at slot , which can be updated as follows:

Typically, to solve the MAB problem, the reward on each arm is generated by some statistical assumptions for some circumstance, the distribution of each arm’s reward is assumed to be a Gauss and time-invariant. But in fact, it is difficult or even impossible to determine the right statistical assumptions. In this paper, we use the nonstatistical assumptions technique to solve this classic MAB problem. In order to achieve each arm’s reward distribution, based on algorithm of discussed in the literature [16] with the simulation of negotiation, apply the MAB technique into the channel selection algorithm to acquire each channel’s reward distribution.

Let be the parameter to determine the probability of selecting the channel .

The algorithm is as follows.

*Initialization*. ,

Then for do the following:(1)According to the total simulation negotiation reward to calculate the probability of selecting channel is : (2)Opt the channel with the maximum as the next negotiation object; then, through simulation calculate the reward of selecting channel at slot .(3)Update the accumulated reward of channel : Then choose the channel :

However, this algorithm is defective; there may be a channel with a larger reward but its probability of being selected is relatively low. Therefore, we combine the probability distribution generated by the above algorithm with a uniform distribution to form the new probability distribution . At the same time, reevaluate each channel’s interactive reward to ensure the channel that owns greater rewards and has greater probability to be opted.

Consider the following:

We can see that accumulated reward is proportional to , and the expected reward is also proportional to the actual reward; that is, ; the expression of can guarantee . According to Lemma 4.2 introduced in the reference [17] can determine the parameters .

##### 3.1. Channel Selection Based on Trust and Multiarmed Bandit

Through the simulated negotiation and updating the cumulative interaction reward, eventually, the user finds the best transmission channels. However, the following conditions will affect the accuracy and validity of the above algorithm: (a) before slot , some channel may not be selected by SU which causes the negotiation history of these channels empty. Thus we cannot use (2) to calculate the interaction reward; (b) the negotiation history is too obsolete to present the current channel characteristic. Thus, in order to further improve efficiency and practicability of channel selection, in this paper, we introduce the trust model into multi-armed bandit problem to propose a channel selection algorithm.

Let denote channel utilization efficiency that th SU transmit on th channel, and , where is the number of transmitted packets and is the channel utilization of the th SU transmit on th channel, which has been solved in [18].

*Definition 1 (belief ). *Before the slot , if the sensor has finished () times transmission on channel and the channel utilization efficiencies are , where the maximum utilization are , then the belief of the user on channel is

*Definition 2 (reputation ). *Before the slot , if sensor hasnot transmitted on channel , we can achieve belief from other users, named sensor’s reputation. It is the average of the whole sensor’s belief on channel except sensor , which can be expressed as
where is the total number of sensors ever transmitted on channel , is the degree of trust of the sensor on other sensor , and . In this paper, we assume that .

So, the trust on channel is . Therefore, we’ll combine trust-reputation model with reward distribution to solve best channel selection problem. Firstly, combine trust model with the interactive reward distribution to achieve the probability distribution of each channel; then, apply the average distribution into the channel’s probability distribution; next, calculate the trust with the interactive reward and update the channel interactive reward; finally, select the appropriate negotiation target.

The outline of the algorithm is as follows.

*Initialization*. ,

Then for do the following:(1)Combine trust model with the interactive reward distribution to achieve the probability distribution of each channel. do the following:(2)Apply the average distribution into the channel’s probability distribution as follows: (3)Calculate the trust vector with the interactive reward as follows: (4)Update accumulative interactive reward of channel as follows: (5)Select the best channel:

#### 4. Simulation Results

In this section, we study the performance of the channel selection policy through simulation. 30 SUs associated with 40 channels are located within a circular ring area with radii between 200 m and 1 km, and the transmission coefficient is randomly selected in 0~1, but unchanged in the whole process of simulation. We run the simulation for 1000 times under the same conditions and each time our algorithm runs for 10000-time slots.

(1)When two or more than two users select a channel at the same time, it will lead to conflict. There are two methods to solve this problem: the back-off access method (all of the users quit the channel and find a new one) and random access method. In this paper, we apply RTS-CTS handshaking access; each user sends the preaccess signal before access in. The throughput curves of different access policies are shown in Figure 1. The RTS-CTS handshaking access achieves better throughput than the back-off access and the random access because it can avoid collisions by sending preaccess signal when the two users choose the same channel. Therefore, we jointly consider the proposed strategy and RTS-CTS handshaking access so as to improve the system throughput.(2)We now turn to test the gain of the proposed strategy under different SNR conditions, as it is depicted in Figure 2. Note that for higher values of SNR the gain of the users is higher. The reason is that the good channel that is selected can be fully used for transmission.(3)Here we compare the performance of three strategies in Figure 3: the strategy in [10], named ESS-based strategy, our proposed strategy, and the Gale-Shapley based strategy proposed in [11]. The results in the figure show the superiority of the proposed algorithm. It is noted that the system throughput first increases with the number of users, however, comes to saturation after a limited number of users. This occurs because the limited channel resource cannot bring more access opportunities; on the contrary, sometimes it may bring more collisions results in decreasing throughput.(4)In Figure 4, we compare the channel utilization between ESS-based strategy and our proposed strategy with fixed . We observe that the channel utilization degrades as the number of users increase. One potential cause is that along with the increase of the number of users, the conflict will increase and cause the waste of idle channel. We can also observe that our proposed scheme is more efficient than ESS-based strategy.#### 5. Conclusion

Multi-channel for multi-user to access in is a complicated course. In this paper, we proposed a distributed channel selection strategy based on the combination of trust-reputation model and multiarmed problem policies. Depending on the knowledge of the local observation and history decisions, a relatively efficient and channel selection strategy was obtained with the goal of maximizing the system throughput.

We provide numerical results with different scenarios regarding the system throughput; we show that higher values of SNR the gain higher throughput and the RTS-CTS handshaking access achieves better throughput than the back-off access and the random access. Furthermore, we compare our proposed channel selection algorithm with ESS-based and Gale-Shapley based strategy; simulation results show that this strategy performs better than the other two methods do in throughput gains or time overhead. As we all know, there exists a close relationship between the spectrum sensing and spectrum access; note that we did not consider this problem, which will be one of our future pieces of work.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work was supported in part by the National Natural Science Foundation of China under Grant nos. 61370096 and 61173012 and the Key Project of Natural Science Foundation of Hunan Province under Grant no. 12JJA005.

#### References

- Q. Zhao and A. Swami, “A survey of dynamic spectrum access: signal processing and networking perspectives,” in
*Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP '07)*, pp. IV1349–IV1352, April 2007. View at: Publisher Site | Google Scholar - Y. Yuan, P. Bahl, R. Chandra et al., “Knows: cognitive radio networks over white spaces,” in
*Proceedings of the 2nd IEEE International Symposium on New Frontiers in Dynamic Spectrum Access Networks*, pp. 416–427, April 2007. View at: Publisher Site | Google Scholar - Q. Zhao, S. Geirhofer, L. Tong, and B. M. Sadler, “Opportunistic spectrum access via periodic channel sensing,”
*IEEE Transactions on Signal Processing*, vol. 56, no. 2, pp. 785–796, 2008. View at: Publisher Site | Google Scholar - H. Su and X. Zhang, “Cross-layer based opportunistic MAC protocols for QoS provisionings over cognitive radio wireless networks,”
*IEEE Journal on Selected Areas in Communications*, vol. 26, no. 1, pp. 118–129, 2008. View at: Publisher Site | Google Scholar - H. Su and X. Zhang, “Design and analysis of a multi-channel cognitive MAC protocol for dynamic access spectrum networks,” in
*Proceedings of the IEEE Military Communications Conference (MILCOM '08)*, pp. 1–5, November 2008. View at: Publisher Site | Google Scholar - A. T. Hoang, Y.-C. Liang, and M. H. Islam, “Power control and channel allocation in cognitive radio networks with primary users' cooperation,”
*IEEE Transactions on Mobile Computing*, vol. 9, no. 3, pp. 348–360, 2010. View at: Publisher Site | Google Scholar - H. Mu and J. K. Tugnait, “Joint soft-decision cooperative spectrum sensing and power control in multiband cognitive radios,”
*IEEE Transactions on Signal Processing*, vol. 60, no. 10, pp. 5334–5346, 2011. View at: Google Scholar - A. Leshem and E. Zehavi, “Game theory and the frequency selective interference channel: a practical and theoretic point of view,”
*IEEE Signal Processing Magazine*, vol. 26, no. 5, pp. 28–40, 2009. View at: Publisher Site | Google Scholar - E. G. Larsson, E. A. Jorswieck, J. Lindblom, and R. Mochaourab, “Game theory and the flat-fading gaussian interference channel: analyzing resource conflicts in wireless networks,”
*IEEE Signal Processing Magazine*, vol. 26, no. 5, pp. 18–27, 2009. View at: Publisher Site | Google Scholar - X. Li, H. Liu, and S. Roy, “Throughput analysis for a multi-user, multi-channel ALOHA cognitive radio system,”
*IEEE Transactions on Wireless Communications*, vol. 11, no. 11, pp. 3900–3909, 2012. View at: Google Scholar - A. Leshem, E. Zehavi, and Y. Yaffe, “Multichannel opportunistic carrier sensing for stable channel access control in cognitive radio systems,”
*IEEE Journal on Selected Areas in Communications*, vol. 30, no. 1, pp. 82–95, 2012. View at: Publisher Site | Google Scholar - S. Wang, C.-Y. Hsu, and Y.-W. P. Hong, “Distributed exploitation of spectrum and channel state information for channel reservation and selection in interweave cognitive radio networks,”
*IEEE Transactions on Wireless Communications*, vol. 12, no. 7, pp. 3458–3472, 2013. View at: Google Scholar - Q. Zhao, B. Krishnamachari, and K. Liu, “On myopic sensing for multi-channel opportunistic access: structure, optimality, and performance,”
*IEEE Transactions on Wireless Communications*, vol. 7, no. 12, pp. 5431–5440, 2008. View at: Publisher Site | Google Scholar - L. Lai, H. E. Gamal, H. Jiang, and H. V. Poor, “Cognitive medium access: exploration, exploitation, and competition,”
*IEEE Transactions on Mobile Computing*, vol. 10, no. 2, pp. 239–253, 2011. View at: Google Scholar - T. V. Nguyen, H. Shin, T. Q. S. Quek, and M. Z. Win, “Sensing and probing cardinalities for active cognitive radios,”
*IEEE Transactions on Signal Processing*, vol. 60, no. 4, pp. 1833–1848, 2012. View at: Publisher Site | Google Scholar - Y. Freund and R. E. Schapire, “A decision-theoretic generalization of on-line learning and an application to boosting,”
*Journal of Computer and System Sciences*, vol. 55, no. 1, pp. 119–139, 1997. View at: Google Scholar - P. Auer, N. Cesa-Bianchi, Y. Freund, and R. E. Schapire, “Gambling in a rigged casino: the adversarial multi-armed bandit problem,” in
*Proceedings of the IEEE 36th Annual Symposium on Foundations of Computer Science*, pp. 322–331, October 1995. View at: Google Scholar - P. Tu, X. Huang, and E. Dutkiewicz, “Subband sdaptive filtering for efficient spectrum utilization in cognitive radios,” in
*Proceedings of the 3rd International Conference on Cognitive Radio Oriented Wireless Networks and Communications (CrownCom '08)*, pp. 1–4, May 2008. View at: Publisher Site | Google Scholar

#### Copyright

Copyright © 2014 Fanzi Zeng and Xinwang Shen. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.