Globally Optimal Cooperation in Dense Cognitive Radio Networks

Globally Optimal Cooperation in Dense Cognitive Radio Networks


The problem of calculating the local and global decision thresholds in hard decisions based cooperative spectrum sensing is well known for its mathematical intractability. Previous work relied on simple suboptimal counting rules for decision fusion in order to avoid the exhaustive numerical search required for obtaining the optimal thresholds. However, these simple rules are not globally optimal as they do not maximize the overall global detection probability by jointly selecting local and global thresholds. Instead, they maximize the detection probability for a specific global threshold. In this paper, a globally optimal decision fusion rule for Primary User signal detection based on the Neyman-Pearson (NP) criterion is derived. The algorithm is based on a novel representation for the global performance metrics in terms of the regularized incomplete beta function. Based on this mathematical representation, it is shown that the globally optimal NP hard decision fusion test can be put in the form of a conventional one dimensional convex optimization problem. A binary search for the global threshold can be applied yielding a complexity of , where represents the number of cooperating users. The logarithmic complexity is appreciated because we are concerned with dense networks, and thus is expected to be large. The proposed optimal scheme outperforms conventional counting rules, such as the OR, AND, and MAJORITY rules. It is shown via simulations that, although the optimal rule tends to the simple OR rule when the number of cooperating secondary users is small, it offers significant SNR gain in dense cognitive radio networks with large number of cooperating users.

Cooperative spectrum sensing Cognitive radio Decision Fusion Optimization

1 Introduction

Cognitive radio (CR) is a promising technology offering enhanced spectrum efficiency via dynamic spectrum access [1], [2]. In a CR network, unlicensed Secondary Users (SU) can opportunistically occupy the unused spectrum allocated to a licensed primary user (PU). This is achieved by means of PU signal detection. Detection of PU signal entails sensing the spectrum occupied by the licensed user in a continuous manner. Based on the sensing data, the SU is required to decide whether or not a PU exists. A common problem encountered in CR systems is the hidden terminal problem [3], where shadowing and multipath fading affect the strength of the PU signal causing it to be undetectable. Hence, spatial diversity is applied by utilizing multiple decisions from several SU terminals using a decision fusion rule. The fusion rule is applied by a central terminal known as the fusion center. Two basic approaches for decision combining are discussed in literature: soft decision (SD) and hard decision (HD) combining. The former relies on adding the sensed energies, while the latter combines one-bit local decisions to make a final decision [4].

In this work, we tackle the problem of optimizing the HD combining scheme based on Neyman-pearson (NP) criterion. While the optimal NP test has been formulated for the SD combining case [4], it is much more challenging to apply an optimal NP test for the HD combining scheme. The reason for this is that every SU employs a local detection threshold, while the fusion center applies a global threshold to make a final decision on the existence of a PU. Thus, unlike the simple one-dimensional problem in SD combining, two degrees of freedom are considered in the HD combining optimization problem. In his pioneering work, Tsitsiklist [5] showed that the problem is mathematically intractable and an exhaustive search would be used to obtain local detection thresholds. In a recent comprehensive survey, Quan et al [6] pointed out that computing the optimal decision thresholds under the NP criterion is mathematically intractable. Various suboptimal solutions were presented in literature. In [7], the problem was solved by simply fixing local thresholds and obtaining the optimum global threshold or vice versa. Recently, the problem was revisited in [8], were large deviation analysis was used to determine a local decision rule to optimize the asymptotic global performance. However, the intractability of the exact NP optimization problem was again emphasized. In literature, the adopted HD combining rules are never globally optimal. Researchers usually employ simple suboptimal AND, OR or MAJORITY counting rules for global detection [9][10]. Others try to calculate the optimim local and global thresholds but mainly using exhaustive numerical methods [11][12]. In [4], the performance of the SD combining scheme with NP test was compared with an OR-rule based HD combining scheme, which is not necessarily optimal. The problem of HD and SD performance comparison was thoroughly studied in [12]. However, the authors used suboptimal counting rules and stated that the threshold calculations are not trivial as complex optimization schemes are needed to solve them.

Although simple fusion rules, such as the OR rule, is usually found to be optimal for cognitive radio networks with small number of cooperating SUs, it was never verified in literature that the same applies for dense networks with large number of SUs. In this work, we propose a globally optimal decision fusion rule for HD combining based on Neyman-pearson criterion. It is shown that the NP optimal thresholds can be obtained by solving a simple one-dimensional convex optimization problem. Besides, we obtain a closed form expression for the local detection threshold as a function of the optimal global threshold. A simple and efficient algorithm for optimizing global and local thresholds is proposed. Although the algorithm is general and can be applied for any number of SUs, it is shown that it offers significant performance gain compared to the OR rule in networks with large number of cooperating users.

The rest of the paper is organized as follows. In section 2, we present the system model. Next, we propose the globally optimal HD combining scheme in section 3. Simulation results are discussed in section 4. Finally, we draw our conclusion in section 5.

2 System Model

We investigate cooperative spectrum sensing in a CR network with cognitive users and a single common receiver (Fusion Center). We assume that the SU observes samples for spectrum sensing. Energy detection is adopted as a spectrum sensing technique. It is assumed that the instantaneous SNR at the node is and the primary signalÓ³ sample at the CR is , and considered constant with unity power for the entire sensing period. The additive white noise is . Thus, the sample received at the CR is a binary hypothesis give by:


The conditional distributions on null and alternative hypotheses are:


where denotes the absence of the PU, while denotes the existence of the PU. After applying such signal to an energy detector and obtaining binary decisions on PU existence, the local false alarm and detection probabilities at the CR are [2]:



where is the local threshold, is the incomplete gamma function, is the gamma function, and is the generalized Marcum Q-function. We assume Rayleigh fading with an average SNR of . The average SNR is assumed to be the same for all CR users. The instantaneous SNR is assumed to be constant over the observable samples. Different observations perceive different SNR values. The SNR varies according to the exponential pdf:


The reporting channel between the SUs and the fusion center is assumed to be free of errors.

3 Globally Optimal Hard Decision Fusion

In this section, we propose a globally optimal algorithm for HD combining based on the Neyman-Pearson criterion. The ultimate goal of a Neyman-pearson test is to maximize the detection probability for a given false alarm probability. The overall performance of the HD scheme is determined by the global detection and false alarm probabilities, which are functions of the local detection and false alarm probabilities given in equation (3). As the fusion center employs an n-out-of-N rule fusion rule, we let be the test statistic denoting the number of votes for the existence of PU from the SU votes. Hence, the conditional pdfs follow the binomial distribution as [3]:



where is the local detection probability averaged over the fading channel pdf as follows:


and the global false alarm and detection probabilities and are [3][12]:


The global Neyman-pearson threshold for the discrete observable random variable is denoted by . We search for the pair of thresholds that maximizes the global detection probability for = . Unlike the conventional Neyman-Pearson detection schemes, we have two degrees of freedom dictated by the local and global thresholds.

The cumulative density function (CDF) of the binomial distribution can be written in the form of the regularized incomplete beta function defined as [13, eq. 6.6.2]:

where is the upper incomplete beta function and is the beta function. The CDF of a binomial random variable is [13, eq. 6.6.4]. Thus, the cumulative density of the discrete variable under hypothesis is given by:


and the global false alarm probability is given by:


One of the properties of the regularized incomplete beta function is the symmetry property [13, eq. 6.6.3]:

Applying this property to equation (9):


and by using the inverse regularized beta function, we can obtain the local false alarm probability by setting = :


The regularized beta function and its inverse are implemented with low complexity algorithms in mathematical software tools like MATLAB and MATHEMATICA. The same algorithms can be implemented at the SU recievers. Similarly, the global detection probability is given by:


Before presenting the proposed Neyman-Pearson algorithm, we construct some auxiliary mathematical tools. We define the functions and as:



With the inverse function given by:


Where is the inverse incomplete gamma function. We can rewrite the global false alarm probability and local threshold in terms of the function by combining equation (3) with equation (10):


Note that equation (15) is a single equation in two unknowns and . Thus, there is an infinte number of pairs that solve (15). We search for the pair that maximizes the expression in (12).

The global detection probability is a log-concave function of the global threshold . Thus, the global and local threshold pair is obtained by solving the convex optimization problem:



Our objective is to prove that the global detection probability in equation (12) is a log-concave function of . Hence, taking the negative of its natural logarithm leads to a straight forward convex optimization problem. Note that the regularized incomplete beta function can be written in terms of the gauss hypergeometric function as [14, eq. 8.392]:

Furthermore, the beta function can be obtained in terms of the gamma function as in [14, eq. 8.384.1] which yields:

By replacing the gauss hypergeometric function by the equivalent series representation [15, eq. (4)]:

where is Pochhammer’s symbol, which can be represented by [15, eq. (1)]. By simplifying the above expression using the gamma function representation of the Pochhammer symbols, the function becomes:



Thus, the global detection probability is composed of terms that are summed over . Every term is proportional (within a positive scale) to the product of the terms , , and as depicted by equation (18). We start by studying the behavior of each term individually.

  • log-concavity of
    In order to prove the log-concavity of Pochhammer’s symbol , we take the natural logarithm of the gamma function representation of as:

    Applying the second derevative test, we get:

    where is the first order polygamma function [13, eq. 6.4.1]. Based on the property [13, eq. 6.4.6], we conclude that . Thus, is always negative and the function is log-concave.

  • log-concavity of and
    The second derevative test for is given by:

    which is always negative as , . Hence, the second derevative test shows the log-concavity of . A similar analysis can be applied to .

    Figure 1: The behavior of local threshold as a function of the global threshold.
    Figure 2: The concavity of for various numbers of cooperating users.
    Figure 3: Convexity of the objective function.
  • log-concavity of
    Note that is given by

    The log-concavity of the functions and were shown in [14]. Thus, is a log-concave function of . By discretization of the integral defining , we obtain

    Because the terms in the summation are all positive, and the terms are all log-concave in , thus is the sum of positive scaled log-concave functions, which means that is also a log-concave function.

Based on the above discussion, we conclude that the function is a product of log-concave functions. As the product and addition operations preserve log-concavity [17], and are both log-concave on all positive values of . Because is a log-concave function of , we can obtain the global threshold by minimization of the convex function .

To sum up, a cognitive radio user needs to perform a simple two step algorithm in order to obtain the optimal thresholds. Given , , , and assuming that is odd, the SU applies the following two steps:

Step 1: Obtain the optimal global threshold by applying convex minimization to the objective function .

This can be done using a binary search as follows:

1:procedure Global threshold()
7:      while  do
8:            if  then
11:            else
14:            end if
15:      end while
16:      return
17:end procedure

Step 2: Obtain the optimal local thresholds using the equation .

The optimization of the objective function is a done using a simple binary search approach. The feasibility of binary search is due to the convexity of the set of points representing the discrete objective function . Thus, the algorithm has a complexity of , and it scales logarithmically with the number of cooperating users. Because we are mainly concerned with dense networks, the logarithmic complexity is appreciated. This would be appreciated by CR reciever designers as threshold optimization has to be done every time the listening or reporting channels change [12]. Figures 2 depicts the impact of the number of cooperating users and SNR on for a false alarm probability of 0.01. It is shown that as more users cooperate, the detection probability improves. It is found that an OR-rule would be optimal for the case of = 4 case. However, as increases, the maximum detection probability becomes interior to the range . Figure 3 depicts the convexity of the objective function at = 32. It is shown that increasing SNR will normally lead to an enhanced detection performance.

4 Simulation results

In this section, we aim at characterizing the performance of the proposed globally optimal algorithm. The optimal fusion rule employs the thresholds calculated via the optimization problem in (17). We first verify the accuracy of the analytic model adopted in our work. In figure 4, the simulated detection probability is plotted versus SNR and compared with the numerical results obtained from equation (12). It is shown that both results nearly coincide. In order to verify the optimality of the proposed algorithm, a comparison is done between the optimal rule and the conventional AND, OR and MAJORITY rules in figure 5. In all simulations, we set = 0.01. It is shown that for N = 16, the optimal rule offers 1 dB SNR gain over the OR-rule and 1.5 dB gain over MAJORITY rule. The optimal scheme significantly outperforms the AND rule scheme. Moreover, the impact of the number of sensing samples (or equivalently, the sensing time) is demonstrated in figure 6. At an SNR of -2 dB and N = 16, we plot the global detection probability for = 6, 12, 18, and 24. It is shown that the maximum detection probability is significantly boosted from more than 0.6 at = 6 to more than 0.9 at = 18. This boost in detection probability comes on the expense of sensing delay. Figure 7 translates this detection probability boost into an SNR gain for the same number of cooperating users ( = 16). It is found that increasing the number of sensing samples from 6 to 24 can offer up to a 4 dB SNR gain. It is worth mentioning that the proposed scheme offers significant gain only in networks with large number of cooperating users. As demonstrated by figure 8, when N = 8, the OR-rule and the optimal fusion rule have nearly equal performance. The attained SNR gain is only significant when the number of cooperating users increase to N = 16 and 32. The SNR gain attained in both cases are 1 dB and 2 dB respectively. Thus, the proposed scheme would be appreciated in dense cooperative networks.

Figure 4: Simulation results comapred with the proposed analysis.
Figure 5: Comparison between optimal rule and suboptimal counting rules.
Figure 6: Impact of the number of sensing samples on the global detection probability.
Figure 7: SNR gain obtained by increasing the number of sensing samples.
Figure 8: Optimality of the proposed fusion rule in networks with large number of cooperating users.

5 Conclusion

In this paper, we proposed a globally optimal hard decisions fusion scheme for cooperative spectrum sensing. This problem has been always known for being complex and mathematically intractable. We have proved that the optimal local and global Neyman-Pearson thresholds can be obtained by a simple convex optimization problem. This is achieved by utilizing the mathematical representation of the global detection and false alarm probabilities in terms of a regularized incomplete beta function. The log-concavity of global detection probability as a function of the global threshold paves the way for constructing a convex objective function. The proposed algorithm has a complexity of . Simulation results verify the optimality of the proposed scheme. It is shown that the globally optimal scheme offers significant gain only when the number of cooperating users is large. Otherwise, one can use a simple OR-rule.


  1. email:
  2. email:
  3. email:
  4. email:


  1. S. Haykin, ”Cognitive radio: brain-empowered wireless communications,” IEEE Journal on Selected Areas in Communications, vol. 23, pp. 201-220, Feb. 2005.
  2. A. Ghasemi and E. Sousa, ”Collaborative spectrum sensing for opportunistic access in fading environments,” First IEEE International Symposium on New Frontiers in Dynamic Spectrum Access Networks, pp. 131 Ö 136, Nov. 2005.
  3. Wei Zhang, R. K. Mallik and K. Ben Letaief, ”Cooperative Spectrum Sensing Optimization in Cognitive Radio Networks,” Proceedings of IEEE International Conference on Communications (ICCÒ°8), pp. 411 Ö 3415, May 2008.
  4. Jun Ma, Guodong Zhao and Ye Li, ”Soft Combination and Detection for Cooperative Spectrum Sensing in Cognitive Radio Networks,” IEEE Transactions on Wireless Communications, vol. 7, pp. 4502-4507, Nov. 2008.
  5. J. N. Tsitsiklist, ”Decentralized Detection by a Large Number of Sensors,” Mathematics of Control, Signals and Systems, vol. 1, no. 2, pp. 167Ö±82, 1988.
  6. Zhi Quan, Shuguang Cui, H. Vincent Poor, and Ali H. Sayed, ”Collaborative Wideband Sensing for Cognitive Radios,” IEEE Signal Processing Magazine, vol. 25, no. 6, pp. 60-73, Nov. 2008.
  7. Imad Y. Hoballah and Kumar Varshney, ”Neyman-Pearson detection wirh distributed sensors,” 1986 25th IEEE Conference on Decision and Control, Syracuse University, Syracuse, New York, Dec. 1986, pp. 237-241.
  8. Dongliang Duan, Liuqing Yang and Louis L. Scharf, ”Optimal Local Detection for Sensor Fusion by Large Deviatiob Analysis,” 20th European Signal Processing Conference (EUSIPCO 2012), Bucharest, Romania, August 27 - 31, 2012, pp. 744-748.
  9. Junyang Shen, Tao Jiang, Siyang Liu, and Zhongshan Zhang, ”Maximum Channel Throughput via Cooperative Spectrum Sensing in Cognitive Radio Networks,” IEEE Transactions on Wireless Communications, vol. 8, no. 10, pp. 5166-5175, Oct. 2009.
  10. Yunfei Chen, ”Analytical Performance of Collaborative Spectrum Sensing Using Censored Energy Detection,” IEEE Transactions on Wireless Communications, vol. 9, no. 12, pp. 3856-3865, Dec. 2010.
  11. J. Shen, S. Liu, L. Zeng, G. Xie, J. Gao and Y. Liu, ”Optimisation of cooperative spectrum sensing in cognitive radio network,” IET Communications, vol. 3, pp. 1170-1178, March 2008.
  12. S. Chaudhari, J. Lunden, V. Koivunen, H. V. Poor, ”Cooperative Sensing With Imperfect Reporting Channels: Hard Decisions or Soft Decisions?,” IEEE transactions on Signal Processing, vol. 60, pp. 18-28, Jan. 2012.
  13. Milton Abramowitz and Irene Stegun, ”Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables,” Dover Publications, ISBN 0-486-61272-4, 1964.
  14. Yin Sun, A. Baricz, and Shidong Zhou, ”On the monotonicity, log-concavity and tight bounds of the generalized Marcum and Nuttall Q−functions” IEEE Transactions on Information Theory, vol. 56, no. 3, pp. 1166 - 1186, March 2010.
  15. D.Karp and S.M. Sitnik, ”Log-convexity and log-concavity of hypergeometric-like functions,” Journal of Mathematical Analysis and Applications, vol. 364, issue 2, pp. 384–394, Apr. 2010.
  16. Arpad Baricz, Saminathan Ponnusamy, and Matti Vuoeinen, ”Functional Inequalities for Modified Bessel Functions,” Journal of Mathematical Analysis and Applications, vol. 364, issue 2, pp. 384–394, Mar. 2011.
  17. Mark Bagnoli and Ted Bergstrom, ”Log-Concave Probability and Its Applications,” Economic Theory, Springer, vol. 26, no. 2, pp. 445-469, Aug. 2005.
  18. Stephen Boyd and Lieven Vandenberghe, ”Convex Optimization,” Cambridge University Press, 2004.
Comments 0
Request Comment
You are adding the first comment!
How to quickly get a good reply:
  • Give credit where it’s due by listing out the positive aspects of a paper before getting into which changes should be made.
  • Be specific in your critique, and provide supporting evidence with appropriate references to substantiate general statements.
  • Your comment should inspire ideas to flow and help the author improves the paper.

The better we are at sharing our knowledge with each other, the faster we move forward.
The feedback must be of minumum 40 characters
Add comment
Loading ...
This is a comment super asjknd jkasnjk adsnkj
The feedback must be of minumum 40 characters
The feedback must be of minumum 40 characters

You are asking your first question!
How to quickly get a good answer:
  • Keep your question short and to the point
  • Check for grammar or spelling errors.
  • Phrase it like a question
Test description