Full text
Cooperation Reliability based on Reinforcement Learning for Cognitive Radio Networks Nemanja Vučević1 Signal Theory and Communications Dpt. Universitat Politècnica de Catalunya Barcelona, 08034, Spain Email: vucev[email protected].edu Ian F. Akyildiz Broadband Wireless Networking Lab. School of Electrical and Computer Engineering Georgia Institute of Technology Atlanta, GA, 30332, USA Email: [email protected] Jordi Pérez-Romero Signal Theory and Communications Dpt. Universitat Politècnica de Catalunya Barcelona, 08034, Spain Email: jorpere[email protected].edu Abstract —The primary objective of cooperation in Cognitive Radio (CR) networks is to increase the efficiency and improve the network performance. However, CR users may act destructively and decrease both their own and others’ performances. This can be due to Byzantine adversaries or unintentional erroneous conduct in cooperation. This work presents an autonomous cooperation solution for each CR user, i.e., each CR user decides with whom to cooperate. The objective of the proposed solution is to increase the spectrum access in cooperative CR networks. To realize this, a Reinforcement Learning (RL) algorithm is utilized to determine the suitability of the available cooperators and select the appropriate set of cooperators. In addition, the proposed solution determines the most appropriate number of cooperators to achieve the highest efficiency for spectrum access. Accordingly, the control communication overhead is reduced. The simulation results demonstrate the learning capabilities of the proposed to achieve reliable behavior under highly unreliable conditions. Keywordscognitive radio networks, cooperation, reinforcement learning, reliability. I. INTRODUCTION Cognitive Radio (CR) technology, as the core of CR networks, is a promising solution to spectrum scarcity and low spectrum use by Primary Users (PUs) [1]. Unlike primary wireless networks that have predefined frequency bands and are focused only on optimization of the resource utilization, CR networks need to perceive the behavior of PUs and perform opportunistic spectrum access without or with minimal interference to them. In order to do so, CR networks need to be capable of learning from the environment and adapt to current conditions. Opportunistic spectrum access (spectrum sensing, spectrum decision, spectrum sharing) requires that the CR users continuously gather and process information. With aim to increase the fairness and the performance of the network (e.g. time and energy consumption for information obtaining and processing) cooperation is introduced in CR networks [2]. Despite the fact that the purpose of cooperation is to improve the overall network performance, this may lead to malicious behavior and unreliability in CR networks. The cooperative CR networks need not only to dynamically adapt to the changes in the radio environment, but also they need to be resistant to various types of threats and system errors. The cooperation in CR networks needs to be performed with unknown or known cooperators that may change their behavior, in conditions where the knowledge of the success in cooperation is limited. Therefore, the cooperative CR networks are vulnerable to so-called Byzantine threats (i.e., traitors – inside threats from the cooperators that use its privileges to achieve its own goals). The cooperation reliability in CR networks can additionally be jeopardized by unintentional malicious effects (i.e., from the lack of reliability of devices or systems). Autonomous solutions, which are capable to learn and react dynamically according to the grade of reliability, should be developed to deal with these issues in real time. In this paper we address the reliability problem in cooperative CR networks. We present a solution that determines the reliability of the cooperators and selects which are appropriate for cooperation. The cooperator evaluation and selection in the proposed solution is based on the Reinforcement Learning (RL) [3] which is a branch of machine learning envisaged as a good candidate for dynamic control and adaptation in CR networks [4]. One of the threats to a CR network may be learning from false beliefs, thus, the learned information should not be permanent [5]. Our proposed solution uses exploratory properties of reinforcement learning to provide the ability to relearn the changes and react with reconfiguration. The rest of this paper is organized as follows. In the next section, the detailed problem formulation is given. In section III, the framework for the solution is described, followed by the algorithm description in section IV. Section V contains simulation results. Finally, the main conclusions are summarized in section VI. II. PROBLEM STATEMENT CR user needs to cooperate with other CR users (cooperators) in order to perform opportunistic spectrum access. A CR user collects information (the advices) from cooperators and makes a decision about its next actuation. The most straightforward application of this approach is in cooperative spectrum sensing, where the cooperators provide information about spectrum availability and the CR user decides whether to access a given spectrum or not. In a general case, the actuation may be any activity that satisfies the conditions explained in the remaining of this section (e.g., decisions regarding spectrum decision, spectrum sharing, and spectrum mobility). Cooperating CR users only exchange “hard decisions” on the unknown hypothesis, H0 (resource access not possible), H1 (resource access possible). Cooperator i makes a local decision, and forwards it as an advice (denoted by x(i)) to the CR user. In this paper we assume the local decision is H1 with the advice x(i)=1, and the local decision is H0 with the advice x(i)=0. Hard decisions lower the communication overhead. Hard decision can be derived from “soft decision”. For example: if the signal power is lower than a threshold, consider that a PU is not there. 1This work was conducted during his stay at the BWN Lab, School of Electrical and Computer Engineering, Georgia Institute of Technology, Atlanta, GA, in 2009. 978-1-4244-7213-0/10/$26.00 ©2010 IEEE
The usual data fusion rule for hard decisions is “K out of N” rule, meaning that at least K advices have to be H1, so the global decision is H1 [6]. The global decision is H1 by a particular CR user to access a resource when X=1. Otherwise, it is H0 when X=0. We assume that N cooperators exist. However, not all of them are necessary for cooperation. A CR user may select M (M≤N) cooperators based on their suitability to achieve the desired goal. The suitability should include both aspects of reliability and accuracy of the cooperators. In this paper, dynamic tracking of this suitability is carried out by means of reinforcement learning. Regarding the above aspects, the proposed method needs: to: • decide how many cooperators to use (M of N), • learn how to select reliable cooperators (which M), • make a decision from collected advices (K out of M). A. Malicious behavior in cooperation The malicious conduct in cooperation may be both intentional and unintentional: • The intentional malicious behavior is due to the Byzantine adversary that pretends to be a friend and uses its privilege to achieve its own desired goal. • The unintentional incorrect behavior may be from: - Cooperators that are manipulated by other opponent systems and are unaware of their malicious effects (e.g., sensors in range of jammers); - Technological limitations (i.e. hardware and software errors, failures and limitations); - Environment conditions (e.g. high shadowing zone). Additional complexity in the detection of the malicious cooperators comes from the fact that cooperators may change their behavior in time. Thus, a system needs to be capable of capturing possible dynamic changes. B. Erroneus advices and decisions Cooperator i can make erroneous positive advice when the resource access is not possible (x(i)=1|H0) and erroneous negative advice when the resource access is possible (x(i)=0|H1). Probabilities of these erroneous advices are: { } 1 () Pr () 0| err pi xi H== (1) { } 0 () Pr () 1| err qi xi H== (2) The probabilities of erroneous advice (1-2) influence the final error probabilities of decision. The probabilities of erroneous non-actuation (PERR) and erroneous actuation (QERR) are: { } 1 Pr 0 | ERR P XH== (3) { } 0 Pr 1| ERR QXH== (4) An optimal system will tend to minimize both PERR→0 and QERR→0. However, the erroneous resource access is often more destructive than erroneous non-actuation, because it can lead to interference with primaries. Therefore, QERR must be kept within very low limits to assure none or the minimal interference as a higher priority than minimization of PERR. An additional constraint in CR networks is that the evaluation of the actuation is only possible once the resource access has actually happened. This means that the erroneous resource access is perceived from the actuation itself (e.g., collision after accessing a spectrum when PU is active). Nevertheless, the erroneous non-actuation is usually not possible to detect (e.g. missed opportunities). In other words, there is no feedback when X=0. Thus, as a direct notion of PERR is not available, the way to minimize PERR is to maximize the resource access, i.e. to maximize Pr{X=1}. C. Challenges The goal is to maximize Pr{X=1}, but at the same time preserve QERR within very low limits. The following additional challenges are addressed: 1. The local decision of the cooperators is unknown and independent in each cooperator (cooperators are heterogeneous). 2. In this paper we consider a worst case scenario where probabilities qerr(i) and perr(i) are unknown, uncorrelated, and can vary dynamically and independently of each other. 3. Probabilities Pr{H1} and Pr{H0} are unknown and may change with time. 4. There is no knowledge on the success of decisions not to actuate, i.e. when X=0. 5. Number of cooperators (N) can vary with time. D. Related work To the best of authors’ knowledge, the problem with all the aforementioned assumptions and conditions has not been addressed in the literature up to date. However, as the proposed solution combines suitability evaluation, data fusion and decision making in unreliable conditions, some partially related studies are briefly discussed in the following. The classification of how good are cooperators often results in trust evaluation and is commonly compared with human behavior characteristics [7]. The application of trustworthiness for reliable path selection in ad-hoc and wireless sensor networks is present in the literature, e.g. [8]. Existing studies distinguish between direct and indirect trusts and address influence of reputation, respect and rumors on trust. Similarly, our CR user also evaluates and assigns a grade of suitability to cooperators. The suitability in our work reflects reliability of the cooperators that are used to make further decisions. Studies on expert advices address the problem of how to use several experts to guess hypothesis as close as possible to the best expert’s guesses, e.g. [9]. However, assumptions taken in existing studies never take into account all the explained constraints and limitations at the same time (challenges 1-5). Moreover, the behavior of the best cooperator does not guarantee that Pr{X=1} is maximized and does not preserve QERR within very low limits with higher priority. The problem to maximize Pr{X=1} while QERR is preserved within low limits appears as a Neyman-Pearson detection problem in the literature [6] - where the data fusion from sensors should optimize the decision following the “K out of N” rule. Due to their high complexity, the methods used for solving this problem have only limited applications in cases with small number of highly similar sensors [6]. These solutions are also not applicable for the entire set of challenges 1-5. III. CONSIDERED FRAMEWORK It is assumed that N cooperators are available to a CR user. Both the CR user and its cooperators may be a CR base station or a CR user in either centralized or ad-hoc CR networks. A CR user needs to determine which of the available cooperators to use in order to maximize its goals. Each cooperator has a
grade of reliability that can change with time when the cooperator changes behavior or when the general conditions change. The evaluation of cooperation suitability depends on the final outcomes of QERR and PERR when a cooperator is used. The proper learning mechanism should assure that the malicious cooperators are not used. Correct cooperator selection also reduces the signaling load of cooperation. A. Suitability list and cooperator selection Each CR user performs its own evaluation and selection based on personal experience. To this end, a CR user makes a list (i.e. the suitability list) of the N cooperators available to him at a given moment. The appearance and disappearance of cooperators (e.g., due to mobility) does not affect the algorithm, as they can easily be added or removed from the list. Each of these cooperators is characterized with a learning parameter pi, which is used to define their suitability πi. In Fig. 1, the general framework is presented where CR user selects M cooperators from the suitability list and starts an application period (i.e., a period in which the cooperation is carried out with the selected group of M cooperators). During this period TA application cycles are applied. In each application cycle the resource access decision depends on the current advices of the M cooperators in use. The decision is derived from the application policy (K out of M). After each decision, the reward r for that application period is updated. Each application period is followed by one learning cycle. The learning cycle starts from the reward obtained in the predecessor application period and updates the values of the learned parameter pi for each cooperator i used in that period. After this update, the reward accumulated ř from the learning algorithm is also updated. Finally, the suitability πi is computed for all available cooperators. Based on πi values, a new set of cooperators is formed for the cooperation in the following application period. The learned values pi are the key parameters in defining the suitability of each cooperator. Apart from the global reward value, these are the only values that need to be stored by the learning mechanism. Even more flexibility in adaptation can be achieved by adapting M to CR user’s needs through time. This change can be performed after the application period, independently from the RL algorithm that maintains the suitability list. B. Cooperation communication We assume the existence of a control channel over which the cooperation is performed. CR user either pools (invites) cooperators or listens to all cooperators and just ignores the ones denoted as unreliable. In the first case, the invitation to cooperate is performed only once after each application period (TA application cycles) and only if there has been a change in the set of used cooperators. In case when cooperators are invited for cooperation, the CR user also needs to perform occasional checkup of possibly new cooperators. This can be done only when the current performance is low for a long period, or when too many cooperators have disappeared. Note that the CR user can optionally set a maximum limit for the number of cooperators in a suitability list. With this option it can occasionally remove highly unreliable cooperators and replace them with the new ones. We assume direct data gathering from the cooperators. In general, data gathering can also be indirect (i.e. through an intermediate cooperator). Then, two options are possible. In the first option, the intermediate cooperator makes a unique local decision from gathered data and forwards it to a CR user. This makes only the intermediate cooperator visible in suitability list. In the second option, all the gathered data is forwarded. This opens the possibility to data falsification [10], however, it would only change the original advice error probabilities of the indirect cooperators. In both cases, the proposed solution remains unchanged. IV. LEARNING AND REASONING The application policy and the learning mechanism are first described for a fixed number of used cooperators (M). Afterwards, the framework is extended for a variable M. A. Application policy The application policy defines the advice interpretation by the system. As the solution works with hard decisions, the applied policy decides to actuate (X=1) only if at least K out of M advices are x(i)=1 (“K out of M”): 1 1 1, ( ) 0, ( ) M i M i xi K X xi K = = ⎧≥ ⎪ ⎪ =⎨ ⎪< ⎪ ⎩ ∑ ∑ (5) which makes the error probabilities PERR and QERR, defined in eq. (3) and (4): 1 1 1Pr () | MM ERR jK i P xi j H == ⎧ ⎫ ⎛⎞ ⎪ ⎪ =− = ⎨ ⎬ ⎜⎟ ⎪ ⎪ ⎝⎠ ⎩⎭ ∑∑ (6) 0 1 Pr ( ) | MM ERR jK i QxijH == ⎧ ⎫ ⎛⎞ ⎪ ⎪ == ⎨ ⎬ ⎜⎟ ⎪ ⎪ ⎝⎠ ⎩⎭ ∑∑ (7) The dependence of PERR and QERR on M and K is discussed in the Appendix. From equations (6) and (7) we see that for a given M, K closer to M decreases QERR, but increases PERR. As the primary objective of our solution is to maintain QERR very low, K=M can be the safest choice (i.e., all the cooperators have to decide x(i)=1 in order to have X=1). However, we select K=M-1 in this paper so the learning mechanism can permit one cooperator to advise x(i)=0 and still to decide X=1. This permits the learning algorithm to perform occasional exploration and learn Fig. 1: Cooperator selection based on RL and cooperation suitability list.
faster on the cooperators that may be malicious and are among selected M cooperators. Then PERR and QERR become: () 1 1 () 11()1 1() MM err ERR err i ierr pi Ppi pi = = ⎛⎞ ⎛⎞ =− − ⋅ + ⎜⎟ ⎜⎟ ⎜⎟ − ⎝⎠ ⎝⎠ ∑ ∏ (8) 1 1 1() () 1 () MM err ERR err i ierr qi Qqi qi = = ⎛⎞ ⎛⎞ − =+ ⎜⎟ ⎜⎟ ⎜⎟ ⎝⎠ ⎝⎠ ∑ ∏ (9) where the error probabilities perr(i), qerr(i), PERR and QERR are defined in equations (1-4). When K=M-1, than higher M increases PERR but decreases QERR (see Appendix). However, the probability QERR is low with only two cooperators with low qerr(i) (equation (26) in Appendix). Thus, with few cooperators having low qerr(i) and good cooperator selection, the QERR can be maintained low with M that does not have to be high. When this is not the case, we account on the adaptation of M explained in subsection C to increase M and protect QERR when necessary. Finally, it is left to the learning mechanism to encounter the best cooperators to maintain PERR value also as low as possible for a given M. B. Cooperator selection The learning capabilities of the proposed solution rely on reinforcement learning (RL) [3] algorithms to maintain the suitability parameter of the prospective cooperators. RL is a branch of machine learning where an agent learns through interaction with environment and decides on actions in order to maximize some long term reward. This work starts from the actor-critic learning, in particular from the REINFORCE algorithm [11]. Actor critic methods require minimal computation in order to select actions. The critic is a function that takes the form of temporal difference error and “criticizes” the actor’s behavior - evaluates if the results have gone better or worse than expected [3]. This is carried out based on the interaction with the environment through a reward function. Additionally, in this work, the correction to the global reward (critic) is introduced to lower the number of trials during exploration. This is similar to the supervisor that, by correcting the temporal difference error of the critic, contributes to faster learning [12] (Fig.2). In this paper the reward (critic) correction penalizes currently selected cooperators that do not contribute to correct actuation. The global reward function r is accumulated throughout the application period. At each application cycle when the final decision is actuation (X=1) reward is updated as: () (1 ) GB rrX C C αα ←+ ⋅ ⋅ + − ⋅ (10) Constants CG and CB define reward increment for correct and wrong actuations. Parameter α=1 when X=1|H1, or α=0 when X=1|H0. The reward from equation (8) corresponds to the overall actuation performance. The reward correction ρi for each active cooperator i is also computed for every application period: () 11 1() AA TT ittt tt xi X X ρ == =− ∑∑ (11) This reward represents the number of times the cooperator i gave advice x(i)=0 when decision was X=1, divided with the number of decisions to actuate (X=1) in that application period. After each application period a learning cycle follows. The learning parameter of each active cooperator i is updated: ()(1) ii i i pp rr βξρ π ←+⋅−−⋅ ⋅− (12) Here, β and ξ are positive constant parameters and πi is the suitability of the cooperator i to be selected for the cooperation. The parameter ř is the global rewards accumulate. It is updated after pi of all the active cooperators have been updated: (1 )rr r γγ ←⋅+− ⋅ (13) where the parameter γ is constant, 0<γ≤1. Finally, once the updates in the suitability parameter list are done, the suitability of each cooperator is obtained as: 1 j i N p p i j ee π = = ∑ (14) The suitability value πi determines the probability of each of the cooperators to be selected as active for the following application period. C. Variation of M Aimed at having a more adaptive system, the number of used cooperators (M) can be variable. In other words, when QERR is high, M should be incremented. However, when QERR is low, M may be decremented so that the PERR may be decreased more easily (see Appendix). To this end, QERR is tracked for each application period (i.e., percent of time X=1|H0), and averaged for the last T application periods (learning cycles): () 0 0 11 1 ( ) (,) (,) (,) AA TT sT t t ST X st H st X st T=− = = ⎛⎞ =⋅ ⎜⎟ ⎝⎠ ∑∑ ∑ (15) Here, s stands for the index of the application period, whereas t is the index of the application cycle. The average S(T) is independently tracked for the previous TX and TY learning cycles. Two threshold values are defined to control M: TH U and TH L (TH L< TH U). M is changed as: () 1 U XH ST T M M>→ =+ (16) () 1 L YH ST T M M<→ =− (17) Let us assume now that the number of the application periods from the last increment of M is TX *. Then, as long as TX *<TX, instead of using condition from equation (16), the modified condition to increment M is used: ** ** () ( )/2 1 U XX X HXX X TT ST TTT T MM<→ >⋅ + → =+ (18) Similarly, if M has been decreased before TY * application periods, and as long as TY *<TY, instead of (17), the modified condition for the next decrement of M is: **** () (2 )/ 1 L YY Y H YYY TT ST T TTT MM<→ <⋅ − → =− (19) The previously explained use of conditions (18) and (19) is done in order to disable consecutive changes of M due to the values that already have contributed to a change of M. Thus, the learning algorithm has time to readapt itself to the new number of cooperators in use. Whenever more than 3 cooperators are available (N≥3), we set the minimum number for M to be 3. This is due to the K=M-1, in order to have majority (K>M/2) when deciding to access spectrum (equation (5)). When this is not the case (N<3), one or two cooperators can also be used. Fig. 2: Supervised actor-critic reinforcement learning.
V. SIMULATION RESULTS A. Learning and reconfiguration The parameters in the simulation are: β=0.01, ξ=0.1, γ=0.4, TY=100, T X=10, TH U=0.001, TH L=TH U/100, TA=20, CG=2 and CB=-20. Initial values are p i(0)=0, M0=5 (for variable M). When new cooperator i appears, pi takes a random value. This set of results demonstrates the learning process. It is assumed that there are ten cooperators (C1-C10) available and that the error probabilities perr(i) and qerr(i) change as given in Table I. After every 2000 application cycles some of the probabilities change. Notation “--” indicates that the cooperator is unavailable after that moment. For this set of results, the resource availability is randomly generated with Pr{H1}=Pr{H0}=0.5. Statistics are averaged over the last 200 application periods. Fig.3a-c show an example of the adaptation for M=5. The probabilities to select the cooperators change through time with change of the error probabilities perr(i) and qerr(i). More than five cooperators are performing well enough to be included in cooperation at the beginning. Each time one of the used cooperators decreases performances by increasing an error probability (either perr(i) or qerr(i)), RL tries to reconfigure if necessary. Appearance and disappearance of cooperators is also followed by similar expected reaction. Note that when cooperator i appears, learning parameter pi is randomly assigned to it. So when C1 and C4 appear at the same time at the 18000th learning cycle, the probability to use C4 is high, whereas the probability to use C1 is low. However, the quality in the behavior of these two cooperators is perceived and these values are corrected fast. Also note that during the application periods from 6000th-8000th, there are only 3 cooperators with perr(i)=0.01 and one with perr(i)=0.5, whereas the rest of them have perr(i)=0.99. Then, there is no combination of M=5 cooperators that can give lower PERR than 0.5 (see eq. (6)). Similarly, for the application periods between 16000th-18000th, the combination of available qerr(i) values does not permit QERR values as low as TH U for M=5 (see eq. (7)). Consequently, in this period average QERR is E(QERR)=0.0022>2TH U (Fig.3c). Fig.3d presents the performances (PERR and QERR) for the case M=4. Now, PERR is significantly lower between the 6000th-8000th application periods. However, as expected, having one cooperator less can be a limitation for QERR. So, between the 16000th-18000th application periods, the average value of QERR is even higher, E(QERR)=0.0059≈6TH U. Finally, Fig.3e-f give the results for variable M. Now, the variation of M allows reducing PERR in periods in which QERR is not close to the threshold (between 6000th-8000th application periods). In the periods from 16000th-18000th, the values of PERR are higher than in both simulations with fixed M. Nevertheless, this tradeoff is done so the average value of QERR is now below the TH U (E(QERR)=0.0009 in Fig3e). As it is presented in section II, the primary objective was to maintain QERR very low and then to minimize PERR as much as possible. The presented results show how the mechanism maintains QERR low even in transitional periods (i.e., simulation initialization and preference changes when conditions worsen). At the same time, fast convergence of the RL algorithm lowers PERR relatively fast (e.g., after only ~300 application periods, even for M=5, PERR average is lowered below 0.05 without any previous knowledge - at session initialization). B. Performance evaluation In this section the total number of cooperators is N=15. Resource availability is simulated as two states of exponentially distributed length with mean of 500 application periods. The spectrum access is randomly available with probabilities Pr{H1}=0.2 and Pr{H1}=0.8 in the two states. The simulation length is 2·105 application periods for each point. All cooperators change their behavior independently for perr(i) and qerr(i) within separate time intervals. Each change happens after an exponentially generated number of application periods with mean 1/λp=1/λq=2000. Two behavior types are distinguished in this example - defined by the range from TABLE I. BEHAVIOR OF COOPERATORS THROUGH SIMULATION Application period Cooperators (Learning Cycle) [ C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 ] 0 perr = [ 0.01 0.50 0.01 0.01 0.01 0.01 0.01 0.01 0.99 -- ] qerr = [ 0.50 0.50 0.01 0.01 0.01 0.01 0.01 0.50 0.01 -- ] 2000 perr = [ 0.01 0.50 0.01 0.01 0.01 0.01 0.99 0.01 0.99 -- ] qerr = [ 0.50 0.50 0.01 0.01 0.01 0.01 0.01 0.50 0.01 -- ] 4000 perr = [ -- 0.50 0.01 0.01 0.01 0.99 0.99 0.01 0.99 -- ] qerr = [ -- 0.50 0.01 0.01 0.01 0.01 0.01 0.50 0.01 -- ] 6000 perr = [ -- 0.50 0.01 0.01 0.01 0.99 0.99 0.99 0.99 -- ] qerr = [ -- 0.50 0.01 0.01 0.01 0.01 0.01 0.50 0.01 -- ] 8000 perr = [ -- 0.50 0.01 0.01 0.01 0.99 0.99 0.99 0.99 0.01] qerr = [ -- 0.50 0.01 0.01 0.01 0.01 0.01 0.50 0.01 0.01] 10000 perr = [ -- 0.50 0.01 0.01 0.01 0.99 0.99 0.99 0.01 0.01] qerr = [ -- 0.50 0.01 0.01 0.01 0.01 0.01 0.50 0.01 0.01] 12000 perr = [ -- 0.50 0.01 -- 0.01 0.99 0.99 0.99 0.01 0.01] qerr = [ -- 0.50 0.01 -- 0.01 0.01 0.01 0.50 0.01 0.01] 14000 perr = [ -- 0.50 0.01 -- 0.01 0.01 0.99 0.01 0.01 0.01] qerr = [ -- 0.50 0.01 -- 0.01 0.50 0.50 0.50 0.50 0.01] 16000 perr = [ -- 0.50 0.01 -- 0.01 0.01 0.99 0.01 0.01 0.01] qerr = [ -- 0.50 0.01 -- 0.50 0.50 0.50 0.50 0.50 0.01] 18000 perr = [ 0.01 0.50 0.01 0.99 0.01 0.01 0.99 0.01 0.01 0.01] q err = [ 0.01 0.50 0.01 0.50 0.01 0.50 0.50 0.50 0.50 0.01] Fig. 3: Suitability of different cooperators (probability to cooperate)(a-b) and performance results for M=5 (c); performance results for M=4 (d); performance results when M is variable (e) and corresponding M value (f).
which error rates perr(i) or qerr(i) take value from. When cooperator i wants to change perr(i) or qerr(i), it first selects range interval: I1P (I1Q) with probability P1 (Q1) or I2P (I2Q) with probability P2 (Q2). Afterwards, the error rate perr(i) or qerr(i) is uniformly selected from the chosen interval. For simplicity reasons, we set P1=Q1 (P2=Q2), whereas behavior intervals are: Case 1: (I1Q,I1P,I2Q,I2P)=(0-0.05, 0-0.05, 0.95-1.00, 0.95-1.00), Case 2: (I1Q,I1P,I2Q,I2P)=(0-0.05, 0-0.05, 0.95-1.00, 0.05-1.00), Case 3: (I1Q,I1P,I2Q,I2P)=(0-0.05, 0-0.05, 0.05-1.00, 0.95-1.00), Case 4: includes two cooperators with constant perfect behavior (i.e., perr(i)=0, qerr(i)=0), whereas the rest 13 cooperators behave as in case 1. The results are presented in Fig.4. The proposed algorithm is compared with fixed “K out of N” solution. For each set (Q1,Q2,P1,P2) best “K out of N” result is taken from K=1,..,N. We consider that the valid results are those that preserve QERR close to the used threshold (<1.2·TH U, as this is the upper limit within which proposed solution maintains QERR). Thus, best “K out of N” solution is the one that is valid and has lowest PERR. Depending on the conditions this may be for different K. For example for P2=Q2=0.1 best K=7 for cases 1 and 2, best K=8 for case 3 and best K=6 for case 4; whereas for the P2=Q2=0.4 best K=12, 11,13 and 10 for the cases 1,2,3 and 4, respectively. In all the cases for P2=Q2>0.2, the proposed solution demonstrates significantly higher robustness. Cases 2 and 3 do not change general tendencies in behavior significantly when compared to case 1. With two perfect cooperators, best K in simulations for “K out of N” gives still high PERR values, similar to the cases 2 and 3. However, for the case 4, the proposed solution lowers PERR to 0. As expected from section IV, the learning mechanism manages to identify the cooperators to achieve good performances while reducing M, which leads to a considerable improvement of performance. Fig. 4: PERR as a function of P2 =Q2. VI. CONCLUSIONS This paper has addressed reliability in cooperative cognitive radio networks. The problem is how to maximize opportunistic radio access, with minimal or no interference to primary users, when cooperators advising on resource access are unreliable or malicious. We proposed a reinforcement learning-based solution that maintains a suitability list of cooperators and selects with which of them to cooperate. Results demonstrate the capability of the proposed solution to successfully learn and act in dynamic hostile environments. Additionally, the proposed solution adapts the number of used cooperators in accordance with their performances. When there are few highly accurate cooperators, the proposed solution successfully identifies them and bases the spectrum access decision only on their advices to achieve very high performances. APPENDIX Some additional expressions regarding dependence of PERR and QERR on M and K are derived here. From the general expressions for the error probabilities (6,7), it is clear that when K is closer to M, the probability PERR decreases, whereas QERR increases. Special case of (6,7) when K=M-1 are eq. (8,9). If the eq. (8,9) are now presented as: () ()1 1 ERR M M P MAB=− + (20) () () 1 ERR M M QMC D=+ (21) where AM, BM, CM and DM are: () 1 1 () 1(), 1() MM err MerrM i ierr pi ApiB pi = = =− = − ∑∏ (22) 1 1 1() (), () MM err MerrM i ierr qi CqiD qi = = − == ∑∏ (23) than recursive expressions, when one more cooperator is included, (M+1)th, can be derived as follows: () () * (1)1 1 1 ERR M M err PM A B p+=− + − (24) () * (1) 1 ERR M M err QM C Dq+= + (25) where the error probabilities of the (M+1)th cooperator are perr(M+1)=perr *, and qerr(M+1)=qerr *. From the previous equations it is clear that PERR increases and QERR decreases no matter how good or bad values perr * and qerr * are. Additionally, this may be presented for QERR as: { } ()min (), ,2 ERR ERR QM Qm m mM≤∀≤< (26) ACKNOWLEDGMENT This work is supported by the US National Science Foundation under contract ECCS-0900930; by the Spanish Research Council and FEDER funds under COGNOS grant (ref. TEC 2007-60985); and MEC-FPU Scholarship (AP2005-3739). REFERENCES [1] I.F. Akyildiz, W.Y. Lee, M.C. Vuran, S. Mohanty, “Next Generation/Dynamic Spectrum Access/Cognitive Radio Wireless Networks: A Survey”, Computer Networks, vol. 50, issue 13, Sept. 2006 [2] S.M. Mishra, A. Sahai, R.W. Brodersen, “Cooperative sensing among cognitive radios”, IEEE ICC, Jun 2006 [3] R.S. Sutton, A.G. Barto, Reinforcement Learning: An Introduction, A Bradford Book, MIT Press, Cambridge, MA 1998 [4] R.W. Thomas, D.H. Friend, L.A. DaSilva, A.B. MacKenzie, “Cognitive networks: adaptation and learning to achieve end-to-end performance objectives”, IEEE Communication Magazine, vol 44, iss 12, Dec. 2006 [5] T. Clancy, N. Goergen, “Security in Cognitive Radio Networks: Threats and Mitigation”, IEEE CrownCom, May 2008 [6] Q. Zhang, P.K. Varshney, R.D. Wesel, “Optimal bi-level quantization of i.i.d. sensor observations for binary hypotesis testing”, IEEE Transactions on Information Theory, vol 48, no 7., July 2002 [7] J.L. Burbank, W.T.M. Kasch, “The Application of Human and Social Behavioral-Inspired Security Models for Self-aware Collaborative Cognitive Radio Networks”, CollaborateCom, Nov. 2008 [8] G. Han, D. Choi, W. Lim, “A reliable and efficient approach of establishing trust for wireless sensor networks”, IEEE ICCP, Sept. 2007 [9] N. Cesa-Bianchi, et al., “How to use expert advice”, Journal of the ACM, vol. 44, issue 3, May 1997 [10] Chen Ruiliang, Park Jung-Min, Y.T. Hou, J.H. Reed, “Toward secure distributed spectrum sensing in cognitive radio networks”, IEEE Communications Magazine, vol. 46, issue 4, April 2008 [11] R.J. Williams, “Simple statistical gradient-following algorithms for connectionist reinforcement learning”, Machine Learning, vol. 8, 1992 [12] M.T. Rosenstein, A.G. Barto, “Supervised Actor-Critic Reinforcement Learning”, in Learning and Approximate Dynamic Programming: Scaling Up to the Real World, John Wiley & Sons, New York, 2004