<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Spectrum Patrolling with Crowdsourced Spectrum Sensors</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>04/01/2018</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10149362</idno>
					<idno type="doi">10.1109/INFOCOM.2018.8486343</idno>
					<title level='j'>IEEE INFOCOM 2018 - IEEE Conference on Computer Communications</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Ayon Chakraborty</author><author>Arani Bhattacharya</author><author>Snigdha Kamal</author><author>Samir R. Das</author><author>Himanshu Gupta</author><author>Petar M. Djuric</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We use a crowdsourcing approach for RF spectrum patrolling, where heterogeneous, low-cost spectrum sensors are deployed widely and are tasked with detecting unauthorized transmissions in a collaborative fashion while consuming only a limited amount of resources. We pose this as a collaborative signal detection problem where the individual sensor's detection performance may vary widely based on their respective hardware or software configurations, but are hard to model using traditional approaches. Still an optimal subset of sensors and their configurations must be chosen to maximize the overall detection performance subject to given resource (cost) limitations. We present the challenges of this problem in crowdsourced settings and present a set of methods to address them. The proposed methods use data-driven approaches to model individual sensors and develops mechanisms for sensor selection and fusion while accounting for their correlated nature. We present performance results using examples of commodity-based spectrum sensors and show significant improvements relative to baseline approaches.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>With growing realization of mobile communication's impact on the nation's economic prosperity, RF spectrum has emerged as an important natural resource that is in limited supply <ref type="bibr">[1]</ref>. While various spectrum sharing models are being developed to improve spectrum usage, 'spectrum patrolling' to detect unauthorized spectrum use is emerging as a critical technology <ref type="bibr">[2]</ref>. Such unauthorized uses can take many forms, such as lower-tier devices accessing spectrum reserved for higher tier devices in a tired spectrum sharing model <ref type="bibr">[3]</ref>, unauthorized devices accessing licensed spectra using software radios, or various forms of denial of service attacks. Techniques must be developed to detect such unauthorized accesses and largescale spectrum monitoring is one effective way to do this.</p><p>However, large-scale spectrum monitoring using lab-grade spectrum analyzers is not scalable, given that such devices cost anywhere from several thousands to tens of thousands of US$ depending on the exact capability and require availability of AC power. Several recent papers have proposed to address this scalability issue by deploying low-cost, small form-factor, low-power spectrum sensors in large numbers perhaps using a crowdsourcing paradigm <ref type="bibr">[4,</ref><ref type="bibr">5,</ref><ref type="bibr">6</ref>]. 1 The overall monitoring performance achieved by a large number of such low-cost sensors can exceed that of a handful of lab-grade spectrum analyzers while costing several orders of magnitude less <ref type="bibr">[4]</ref>. Due to this reason there is a growing body of literature in 1 There is at least one commercially successful crowdsourced application of spectrum sensing. FlightAware <ref type="bibr">[7]</ref> deploys low-cost sensors via crowdsourcing to detect signals from aircrafts flying overhead.</p><p>studying the performance characteristics of commodity-based inexpensive sensors <ref type="bibr">[8,</ref><ref type="bibr">9,</ref><ref type="bibr">6]</ref>.</p><p>Although using inexpensive, commodity-grade sensors in large numbers may provide a very encouraging costperformance tradeoff, use of a crowdsourcing paradigm brings in certain management problems. Spectrum patrolling must involve signal detection. It is unlikely that all deployed sensors will be used in specific detection tasks <ref type="bibr">[4]</ref>. Only a subset will be typically be employed ensuring that the required level of detection performance is achieved. This conserves the backhaul bandwidth and also energy when the sensors are battery operated (e.g., when mobile phones serve as spectrum sensors <ref type="bibr">[8]</ref>). In case of multiple sensing needs in the same geographical space (e.g., detecting specific signals in multiple spectrum bands), sensors may need to be configured to engage in one specific task as their processing powers may not be sufficient for multiple concurrent signal detection tasks. The broad goal of this work is to develop mechanisms to select the right set of sensors that optimizes the performance of detection task for a given cost. There are two sub-problems that arise: 1) modeling individual sensor performance and cost for given configurations, 2) fusing data from multiple sensors and selecting the optimal subset to maximize detection performance subject to cost limitations (or, minimizing cost subject to a given detection performance). While these problems are not entirely new in a general sense, the specific nature of crowdsourced spectrum patrolling problem makes them challenging. Challenge 1 -Modeling Individual Sensors: Fundamentally spectrum sensors must perform a signal detection task in form of a binary hypothesis testing (intruding transmitter present/absent). Detection performance is usually characterized by standard metrics like the probability of detection (P D ) or false alarm rate (P F A ). Assigning a specific sensor to a specific sensing task and choosing specific configurations, requires accurate estimation of its P D and P F A metrics and cost for such configurations. Modeling of the cost depends on the scenario and can include, e.g., energy cost, backhaul data cost or any form incentives to be paid to the owner of the sensor. However, given the heterogeneity and diversity of spectrum sensors in a crowdsensing paradigm estimating such metrics accurately is challenging. Existing literature extensively uses so-called first principles modeling approach that could miss various forms of imperfections (e.g., clock skew, I/Q imbalance, RF front end non-linearity) and noises common in commodity platforms. Even when they are able to account for those, they require knowledge of internal details of the sensor or separate calibration efforts. These are either not practical or do not scale well. More specifics of these issues will be discussed in Section II. Instead of relying on first principles models, we use a datadriven (blackbox) approach where models are created based on data from prolonged observation of the sensor. This type of approach is getting traction in other communities such as industrial process control where first-principles approaches are not practical for largely similar reasons (see, e.g., <ref type="bibr">[10]</ref>). We abstract out the observable and easily quantifiable parameters of a sensor, its operating environment or runtime configuration. We use machine learning methods that treats the internal sensor hardware information (otherwise inaccessible) as hidden variables. This gives our methodology a direct and practical advantage over involved analytical models. Second, such models get richer with time and can easily accommodate new sensors without the need of explicitly calibrating them, an otherwise impossible task. Challenge 2 -Sensor Selection and Fusion: Once individual sensors are modeled, we must select the subset of sensors (and their configurations if they are configurable) to achieve the best cost-performance tradeoff, i.e., the best detection performance for a given total cost (or minimum cost for a given desired performance). Here, the local sensor decisions (target present/absent) are to be combined into a global 'fused' decision. Thus, a fusion rule is needed. While there is a very rich literature on sensor fusion and developing optimal fusion rules much of techniques in literature assume that sensor decisions are conditionally independent. This is not true for spectrum sensors, where their decisions could be correlated depending on the sensor locations. The reason is that sensors located in the same neighborhood are likely to face the same fading environment, resulting in correlations in their observations/decisions. The case for correlated observations have been indeed studied (see, e.g., <ref type="bibr">[11,</ref><ref type="bibr">12,</ref><ref type="bibr">13]</ref>). But these methods are either too complex computationally to implement in practical systems and/or requires prior knowledge of the correlation structure (e.g., in terms of higher-order moments of the sensor observations under each hypothesis <ref type="bibr">[11]</ref> or spatial correlation coefficient <ref type="bibr">[14]</ref>, etc). Also, these techniques do not help addressing the sensor selection problem.</p><p>Instead, we propose a method that follows a two step process, 1) first decorrelating the sensors via a clustering technique and 2) then performing a sensor selection using these clusters for guidance. The method is computationally efficient and uses the data-driven approach developed as a part of challenge 1 to model individual sensor's cost vs. performance. Overall, this makes the proposed method perfect fit for crowdsourced spectrum sensing. Contributions: Figure <ref type="figure">1</ref> pictorially describes the overall approach with pointers to various sections of the paper. Overall, we make two sets of contributions. First, we develop a systematic approach for data-driven models of spectrum sensors engaged in signal detection (Section III). The model takes the sensor's configuration and SNR as input and estimates detection performance and cost (we use energy to model cost in this work). We precede this modeling approach by highlighting limitations of traditional first-principles based analytical modeling approaches (Section II) and demonstrate improved model performance using the proposed data-driven approach using actual spectrum sensor hardware. Second, we develop a technique for the sensor selection and fusion problem taking into account the fact spectrum sensors are not conditionally independent (Section IV). The proposed technique though based on heuristics is suitable for crowdsourcing as it does not require information that is hard to obtain or estimate. We show that the overall detection performance improves significantly relative to baseline techniques.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. MODELING DETECTION PERFORMANCE</head><p>The spectrum sensor detects the absence or presence of an intruding transmitter's signal. The corresponding hypotheses are denoted as H 0 (absence) and H 1 (presence) respectively. Raw sensed samples from the sensor are fed to the corresponding detection algorithm on board of the sensor that computes a sensing metric. The sensing metric is compared against a threshold (S T ) to output a binary decision. This is the local decision of the sensor.   Performance Metrics: Given H 1 , the rate at which the sensor detects the transmitter is known as the probability of detection (P D ). Second, given H 0 , the rate at which the sensor incorrectly flags the presence of a transmitter is known as the probability of false alarm (P F A ). Figure <ref type="figure">2</ref> demonstrates the basic working principle. The sensing metric has two different distributions under hypotheses H 0 and H 1 . Under H 0 , the distribution reflects noise. P D and P F A depends on the selection of S T . Varying S T varies both P D and P F A between 0 and 1. This produces the receiver operating characteristics (ROC) curve. Specifying P F A (common case) also determines P D as per the ROC curve. However, the ROC curve itself would look different if the distributions of the sensing metric shown in Figure <ref type="figure">2</ref>(a) change. This is possible when the signal power from the transmitter changes (due to a different location, e.g.). More on this below. Challenges: Estimating an optimal value of S T is straightforward when the distributions of the sensing metric for H 0 or H 1 (Figure <ref type="figure">2</ref>(a)) are known or can be accurately estimated. Unfortunately, this is not the case in practice. The distributions depend on a variety of factors including the detection algorithm, specifics of the sensor hardware, SNR or SINR at the sensor location, number of sensed samples, FFT resolution and so on. Common detection algorithms are energy-based, waveform or feature-based, autocorrelation or cyclostationarybased. Existing analytical techniques <ref type="bibr">[15,</ref><ref type="bibr">16,</ref><ref type="bibr">17]</ref> can help model such algorithms to estimate an optimal S T . However, such models typically result in significant estimation errors <ref type="bibr">[15,</ref><ref type="bibr">16]</ref>. The reasons are as follows. First, many of these  models make idealistic assumptions about the distribution of the signal or noise or the noise associated with sensor hardware. For example, <ref type="bibr">[18]</ref> shows that the performance of a sensor actually depends on both the signal parameters and the amount of RF front-end non-linearities of the sensors. Second, complex models do exist that take into account such factors <ref type="bibr">[18,</ref><ref type="bibr">19]</ref>, but it is seldom possible to parameterize them correctly. This is due to the uncertainty in the hardware itself or inaccessible components that makes reliable measurements impossible. Third, even when such measurements are possible manual calibration of individual sensors does not scale well, especially in the context of crowdsourcing.</p><p>We provide two sets of benchmarking experiments to highlight the challenges. Clock-skew: As an example, we study the clock skew associated with the local oscillator (LO) in the sensor. The frequency set in LO tunes the sensor to the desired frequency. However, the LO-frequency drifts giving rise to clock skew. To understand the nature of such drifts in commodity sensor hardware, we use two different spectrum sensors based on RTL-SDR and USRPB210. These sensors are chosen due to their low-power, small form factor nature <ref type="bibr">[8]</ref>. They are both USB-powered and could be driven by an embedded CPU board or even a smartphone. Three test signals are used for detection. The first two are constant frequency tones in the 915 MHz band and the pilot tone of an ATSC signal (DTV band). In both cases we observe a non-trivial frequency drift that varies widely across individual sensor instances. For the third, we use an LTE downlink signal from a real network (AT&amp;T) using these sensors and recorded the frequency correction needed in order to decode the synchronization signals. The results are summarized in Figure <ref type="figure">3(a)</ref>. In most cases RTL-SDR suffers from a appreciable clock skew which is less prevalent in more expensive hardware like USRP. In Figure <ref type="figure">3</ref>(b) we show the impact of such clock-skew in detecting an ATSC signal. The ATSC signal has a pilot tone located at an offset of 310 KHz that is expected by our waveform based detector algorithm. We create two variations of the algorithm that expects the pilot tone (i) exactly at the 310 KHz offset and (ii) &#8776;100 KHz surrounding the expected location that it scans. In a low SNR scenario, scanning provides almost a 50% improvement in P D compared to the detector that expects the pilot at a fixed offset demonstrating the impact of the clock skew problem. I/Q imbalance: Apart from clock skew, I/Q imbalance and RF front-end non linearities are other prominent issues. I/Q imbalance is introduced as a result of mismatch between the in-phase (I) and quadrature (Q) signal paths of the RF receive chain. For example, phase difference between the I and Q components is not always exactly 90 &#8226; which results in an amplitude and phase offset in an I/Q sample. Since we do not have direct control over the radio circuitry we simulate I/Q imbalance by adding amplitude and phase offsets to real I/Q traces obtained for an ATSC signal using a RTL-SDR device. For both cases, we use an offset drawn from a zero-mean Gaussian with a standard deviation as shown in Figure <ref type="figure">4</ref>. We report the detection rate of the ATSC signal using a waveform based detector that identifies the ATSC pilot signal. As the I/Q imbalance becomes more prominent it becomes impossible to detect the signal. Although I/Q imbalance can be addressed directly in the hardware <ref type="bibr">[19]</ref> we expect crowdsourced spectrum sensors may use inexpensive hardware unable to do such corrections.</p><p>As mentioned earlier, while such problems can be accounted for by applying models that 'corrects' for such errors, these models are based on the 'first principles' approach. These models can only be applied only after knowing specific sensorspecific parameters (e.g., characteristics of frequency drift, whether the algorithm scans, or nature of I/Q imbalance, etc). This information may not be available in a crowdsourcing scenario given significant possible heterogeneity.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. DATA-DRIVEN PERFORMANCE MODELING</head><p>To address this problem of scalable modeling of heterogeneous sensors, we borrow from the concept of data-driven soft sensors utilized in industrial processes <ref type="bibr">[10,</ref><ref type="bibr">20]</ref>. Industrial processes find it impossible to use first principles models for their physical and chemical processes. These models are often idealized (e.g., assumes steady state behavior) or requires parameters that are hard to obtain. Instead, data-driven soft sensors models are gaining ground that takes an alternative blackbox approach where massive amount of collected data is used to model and predict the industrial process behavior in realistic conditions using statistical or machine learning techniques (see, e.g., <ref type="bibr">[10,</ref><ref type="bibr">20]</ref>).</p><p>In the following we present our approach for the datadriven analysis using an example dataset. We first present our dataset, quantify the errors associated with first-principles based analytical models and then present our data-driven performance model of spectrum sensors.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Dataset</head><p>We collect spectrum sensor measurements in an outdoor setting within the university campus. As shown in figure <ref type="figure">5</ref>(a), we setup a USRP B210 based transmitter that transmits a constant tone in the 915 MHz band and collect sensing data (I/Q samples) using three RTL-SDR and two USRP B210 devices. We collect 1M samples at every location and our  . We bias our data collection towards relatively lower SNR zones so as to have more variations in detection performance. This also presents a more challenging test case -detection is much easier when SNR is high. Using the same set of sensors we also collect a noise dataset by turning off the transmitter. This data corresponds to the distribution for H 0 . Note that H 0 is agnostic to the sensor's location.</p><p>For every location we employ three different detection algorithms feature and autocorrelation based) <ref type="bibr">[8]</ref> both on the signal and the noise dataset. We vary two key parameters of the algorithm that directly influences P D -P F A as well as energy cost in the sensor <ref type="bibr">[8]</ref>: (i) N , number of sensed samples and (ii) N F F T , resolution of the FFT. N and N F F T are varied from 32 (2 5 ) to 4096 (2 12 ) by repeated doubling with the constraint of N &#8805; N F F T (36 configurations). We introduce heterogeneity in the resolution of sensed samples by changing the number of bits per sample. We produce additional data sets of 14, 12, 10 and 6 bit samples by ignoring least significant bits from the collected 16 bit samples. Note that this depends on the resolution of the ADC in the sensor and heavily influences the dollar cost.</p><p>Across all locations, detection algorithms running with different configurations (&#8776;650K in all) we obtain the sensing metrics for H 0 and H 1 respectively. For each location and for every possible configuration at that location, we repeat the detection experiment 1000 times by selecting a contiguous chunk of N samples from the respective 1 M samples starting at a random offset. This gives us 1000 instances of the sensing metrics under the same configuration and we compute P D and P F A for a given value of the sensing threshold, S T . By varying S T , we obtain the ground truth ROC curves for all such configurations across all locations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Limitations of Analytical Models</head><p>Before directly delving into the internals of the data driven model, we first demonstrate the limitations of first-principles based analytical models using our dataset. Due to space restriction we are not able to explain individual variations of analytical models we use but will explain the general conclusions and trends. Figure <ref type="figure">6</ref>  to estimate the distributions for H 0 and H 1 for the same location. Figure <ref type="figure">6</ref>(a) visually shows the difference between ground truth and estimated distributions. In Figure <ref type="figure">6</ref>(b) we present the estimation errors for different values of P F A . Note that the median error can be as high as 25% that in many cases. We observe that the errors are particularly higher in low SNR scenarios. We also show (Figure <ref type="figure">6(c)</ref>) the correlation of such errors to the sensing configurations. Unlike other factors, the number of ADC-bits does not show a very high degree of correlation. This may be because we attempt to detect a simple tone at a constant power in this study.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Data-Driven Performance Model</head><p>Given the relatively poor performance of parametric models, we make use of 'training data' collected from spectrum sensors to take a non-parametric data-driven approach. Essentially, the task of the model is to determine an optimal sensing threshold, S opt T that maximizes P D for a given P F A . For training the model we use feature vectors of the form V: &lt;Algorithm, N, NFFT, B, SNR, P target F A</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>&gt;. P target F A</head><p>is the allowable false alarm rate. Algorithm refers to the signal detection algorithm the sensor runs that uses N, B-bit samples and involves an NFFT-bin FFT. We use energy, waveform and autocorrelation based detection algorithms. SNR refers to the signal-to-noise ratio of the intended signal at the sensor's location. Every V i is mapped to a corresponding S opti T in the training examples. Note that we do not explicitly take into account internal hardware details unlike the involved analytical models <ref type="bibr">[21,</ref><ref type="bibr">22]</ref>. We explore off-the-shelf machine learning techniques to learn the estimator for S opt T . Out of several popular techniques we tried out, the Support Vector Regressors (SVR) works best in our case. We have also explored deep-learning methodologies <ref type="bibr">[10]</ref> using convolutional neural networks (CNN), however the amount of training data required to get reasonable estimation performance is significant. This makes CNN impractical in our case and we adopt SVR for creating the performance model. Evaluation: We demonstrate the performance of our datadriven model in Figure <ref type="figure">7</ref>. Given configuration of the sensor and the SNR it operates in, our model predicts the optimal threshold S opt T that maximizes P D for a fixed P F A . We use  the sensor traces and the model predicted S opt T to compute P D for a given P F A . The relative error of P D with respect to P D is reported. We restrict our evaluation to sensor traces that has moderate to low SNR values as under such scenarios the models are error prone. We show estimation error in P D for P F A equal to 0.1%, 1% and 10% respectively. The datadriven models are indicated by M OD P F A in Figure <ref type="figure">7</ref>. We also present the estimation errors of the analytical models (AN A P F A ) for the same set of data points (low/moderate SNRs). In all cases after our model is moderately trained we reduce our estimation error by a significant margin with respect to the analytical models. For instance, M OD 10 outperforms AN A 10 by &#8776; 12% for a training set of size 20%. With more training samples the estimation error of our model becomes negligible and we see a clear improvement over analytical performance models.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. SENSOR SELECTION AND FUSION</head><p>The approach described in the previous section gives us the power to estimate the detection performance of an individual sensor deployed in the wild without explicitly calibrating it. In this section we use such models to optimize the (network-wide or global) detection rate. This is done by selecting an optimal set of sensors (and their configurations such as number of ADC bits, number of samples or FFT bins etc.) and fusing their local decisions into a network-wide (global) decision. This needs a simultaneous solution of sensor selection and sensor fusion problems. As discussed in Section I, a wide body of literature exists that propose mathematical techniques to fuse sensor decisions to optimize certain detection performance metrics (typically Bayes risk). In a widely used method proposed by Chair and Varshney <ref type="bibr">[23]</ref> that we will also use, an optimal fusion rule is developed to minimize the sum of false alarm and missed detection rates, but specifically for case when the sensors are conditionally independent.</p><p>As explained in Section I, the conditional independence assumption does not hold for spectrum sensors and existing techniques to account for correlated sensor observations are hard to apply for case of crowdsourced spectrum sensors either due to complexity or unavailable parameters. We develop an alternative heuristics-based approach below that we will demonstrate to perform well in practice.</p><p>First as a de-correlation step, we partition the set of sensors into spatial clusters (Section IV-A). As a result of the clustering we can assume that the sensors belonging to two different clusters are independent. This allows us to fuse decisions from sensors belonging to different clusters using the Chair-Varshney fusion rule <ref type="bibr">[23]</ref>. Second, we develop algorithms that select sensors from each cluster to maximize network-wide probability of detection subject to a given cost budget (Section IV-B). Several variations of the algorithm are proposed: i) homogeneous sensors, ii) heterogeneous sensors, where a 'better' sensor incurs a higher cost, iii) heterogeneous sensors where sensor configurations can be chosen and we select sensors along with their respective configurations. The sensor's energy usage is used as proxy for cost, though our work can be easily adapted for other cost models.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. De-correlated Sensors</head><p>Assume a spatial distribution of sensors in the region of interest. Sensors closer to each other have a higher likelihood to face similar fading environment and record similar observations. This is the basis of our clustering scheme. We use both spatial proximity of the sensors as well as similarity of the RSS values in computing the distance metric in between two sensors. The spatial proximity alone is not sufficient as similar distances in between sensors may not result in similar differences in the RSS values. This is due to the non-uniform nature of propagation losses of a wireless signal due to location specific shadowing effects.</p><p>We use the k-means clustering algorithm to partition the set of sensors into k 'de-correlated' clusters. The distance metric D ij (Mahalonobis distance) between sensors S i and S j is computed as,</p><p>D Euclidean is the Euclidean distance between the sensors S i and S j . D RSS is the absolute difference of their respective RSS values, |RSS i -RSS j |. The weights w 1 and w 2 are equal to the inverse-variance of the Euclidean distance among the sensors and RSS values across the sensors, respectively. We choose the value of k using the Bayesian Information Criterion (BIC) method as proposed by Banfield and Raftery <ref type="bibr">[24]</ref> for model based clustering techniques. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Sensor Selection</head><p>Transmitter Prior Model: Consider a geographical region consisting of K discrete locations 1, . . . , K. Let L be the discrete random variable that represents such locations, L &#8712; {1, . . . , K}. We assume the existence of a probability mass function (pmf) &#960; l representing the prior probabilities (also called prior map) that the intruder or transmitter in question is at location l. Note that to each location l, we associate a coordinate (x l , y l ) in the physical 2-d plane. See Figure <ref type="figure">8</ref> for an example that is used later in our simulations.</p><p>Sensor Cost Model: As mentioned before, we use energy as a proxy for sensor cost. This is reasonable as we anticipate that in a crowdsourced scenarios many sensors could be battery driven and could be a part of a mobile device <ref type="bibr">[8,</ref><ref type="bibr">25]</ref>. We adopt some of the energy benchmark results presented in <ref type="bibr">[8]</ref>. The energy benchmarks are available for different software configurations (samples, FFT resolution) of signal detection algorithms running on a Raspberry-Pi device interfaced with RTL-SDR. We create a cost model for a sensor using such measurements. We then normalize the cost values to the range (0,1] as shown in Figure <ref type="figure">9</ref>.</p><p>To optimize performance under the constraint of a cost budget, we need to select a set of sensors S that collectively offers the best network-wide detection performance. Let P D (S) denote the probability that the set of sensors S detects an intruder. We denote the selection of a sensor by setting the decision variable z i = 1, otherwise z i = 0. Let C i denote the cost of utilizing sensor i. Our objective is to maximize the probability of detection while keeping the cost within a fixed budget B:</p><p>Sensor Ranking: To solve the above optimization problem, we want to rank the sensors based on their contribution to P D (S). Such ranking depends on the SNR at the sensor's location and hence the location of the intruder itself. Intruder locations are obtained by sampling the prior probabilities. Every location of the intruder is associated with a spatial distribution of received signal strength (RSS) over the sensor locations. This is obtained using a log-normal propagation model. Next, we de-correlate the sensors to generate clusters of sensors as discussed in the previous section.   The sensor clusters are ordered based on the Euclidean distance of the cluster centroid from the sampled intruder location. We rank the sensors by iterating over every cluster in order and selecting the sensor with the highest P D value. Once a sensor is chosen from every cluster we repeat the process and choose sensors with the second highest P D and so on.</p><p>Let the vector</p><p>denote the local ranking of the N sensors present for the i th possible location of the intruder. In R i local , w i j denotes the local rank of sensor S j . The weight of sensor S j is computed as:</p><p>The sensors are ranked in the decreasing order of their weights.</p><p>Sensor selection schemes: For each sensor S i , we now have a fixed weight W i and a particular cost C i . This is an instance of a 0-1 knapsack problem, which is in general NP-hard. Figure <ref type="figure">10</ref> shows a schematic diagram of our process of calculating weights and costs for use by our knapsack selection. We first look at solving it in the simple case where sensors are homogeneous in terms of configurations, and followed by heterogeneous configurations. Homogeneous Sensors (HOMS) We assume all sensors are identical and have the same configuration. Hence their costs are equal and we assume unit cost for every sensor, i.e., C i = 1. In this case we always need to choose the sensors with the highest weights (W i ). This can be simply achieved by selecting sensors in decreasing order of their W i 's, until their sum exhausts the cost budget. Heterogeneous Sensors (HETS): In this case the sensors have heterogeneous configurations that are preconfigured for every sensor and cannot be changed. Accordingly, the sensor's cost C i is a function of its configuration as demonstrated in Figure <ref type="figure">9</ref>(b). Depending on the sensor's configuration, C i can vary anywhere from the minimum cost value to 1. Thus, we select sensors based on their weights, while also ensuring that selecting them does not incur too much cost. This problem can be solved approximately by keeping track of the cost for each sensor added to the existing set of selected sensors using dynamic programming (Algorithm 1). This algorithm solves the problem in O(N 3 /&#952;) time, where &#952; is a parameter representing the tradeoff between optimality and time complexity. Here, increasing the value of &#952; reduces time complexity while increasing the level of approximation and vice-versa. Reconfigurable Sensors (RES): In this case there are multiple possible configurations, making it difficult to rank the individual contributions of each sensor. We therefore divide the budget B itself into different components B loc for each cluster. We formulate this problem as follows. Let there be M possible configurations for each sensor. Each sensor S i needs to choose some configuration j from {1, . . . , M }. Then each sensor configuration has a weight W ij and a cost C ij , &#8704;j &#8712; {1, . . . , M }. We also augment the decision variable to z ij , where z ij denotes whether sensor S i uses j th configuration. We rewrite the optimization problem as:</p><p>Maximize P D (S) subject to:</p><p>This is an instance of multiple-choice knapsack problem.</p><p>We solve this by adding another dimension to Algorithm 1 and then using a similar dynamic programming approach.</p><p>Figure <ref type="figure">10</ref> shows a schematic of the entire sensor selection process.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Sensor Fusion</head><p>We now have a selection of sensors and their configurations. We use the Chair-Varshney optimal sensor fusion rule <ref type="bibr">[23]</ref> that fuses the local decisions of the individual sensors into a global (fused) decision to minimize the error rate. We apply this fusion rule repeatedly for each possible location of the intruder. Assume that U i,L=j is the local decision (1 or 0) of the sensor S i , if the intruder signal is detected or not detected (respectively) by this sensor given the intruder is at location j. Using <ref type="bibr">[23]</ref>, we compute the fused decision U L=j of the sensors given this location of the intruder as:   for all k = 0, . . . , T do 9:</p><p>if G i &lt; k then 10:</p><p>A The summation above is for all selected sensors. P Di,L=j is the probability of detection of sensor S i for intruder location j. U L=j &gt; 0 indicates presence of the intruder (at location j), otherwise it is considered absent. To estimate the presence of an intruder anywhere, we first compute the values of U L=j for all possible locations j. We conclude that there is an intruder anywhere only if at least one of these U L=j 's is positive. Otherwise, we conclude that no intruder is present.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Evaluation</head><p>We simulate a 1000 m&#215;1000 m grid where we randomly deploy 100 spectrum sensors. The sensors can choose among 36 different configurations. Each configuration corresponds to the tuple (N, NFFT), N being the number of I/Q samples and NFFT, the resolution of the FFT in the sensor's detection algorithm. N, NFFT &#8712; {2 5 , 2 6 , &#8226; &#8226; &#8226; , 2 12 } such that N &#8805; NFFT. For each sensor, we set P F A = 10% (or 0.1) and obtain the P D from our data-driven performance model (M OD 10 ). The sensors have a cost model as mentioned in Section IV-B. Next, we simulate an intruder in the grid. The intruder is represented by a wireless transmitter with a transmit power of 10 dB. We use the log-normal model to compute RSS at all the sensor locations. We make the intruder's prior map realistic to account for different factors such as terrain information or proximity to residential or navigable areas. We create the prior map directly from a snapshot of Google map's satellite imagery data. To remove intricate details (e.g., buildings, texture) in the image, we apply Gaussian blur, a well known image filtering technique. Next we resize the image to a dimension of 1000&#215;1000 to emulate our grid. We make the prior probability of the transmitter to be present in a certain cell &lt; i, j &gt; proportional to the pixel intensity at &lt; i, j &gt;. Figure <ref type="figure">8</ref> shows our prior map. For all simulations we sample the intruder's location 10 K times from the prior map that we use to obtain weights for our sensor selection algorithms. Every time the intruder appears the selected sensors attempt to determine its presence with their respective values of P D . The fused decision is compared to the ground truth and the detection rate for the given instance of selected sensor is computed by simulating the intruder 1000 times.</p><p>We compare the performance of our sensor selection algorithms with two baseline algorithms. As baseline, we first run a random selection algorithm where we pick the sensors randomly with uniform probability across the region of interest. We also run a greedy algorithm where we pick the best sensors without accounting for their correlation. When the sensors are homogeneous, the greedy algorithm selects the sensors for which the prior probabilities are the highest. For other cases, the greedy algorithm selects sensors in decreasing order of their P D 's.</p><p>Observation: Figure <ref type="figure">11</ref> shows the P D obtained by the sensors selected by our algorithms compared baseline heuristics across different cost budgets. For HOMS, we consider the number of sensors as the cost, i.e., C i = 1. However for HETS and RES, the cost C i &#8712; [min cost , 1]. We note that our algorithms perform significantly well compared to greedy and random schemes for higher budget levels. For all cases, till a budget of 2, our algorithms perform similar to the greedy scheme. This is because both of them select sensors only from the cluster with high prior probability. When we increase the budget above 2, the greedy method keeps selecting from the same cluster, since it does not consider the effect of correlation. For instance, at a budget of 15, HONS, HETS and RETS outperform greedy scheme by 40%, 35% and 28% respectively and outperforms the random scheme by 50%, 35% and 37%. Our algorithms, because of its system of sensor weights, selects sensors from the different clusters which improves the detection rate much faster after a certain budget level.</p><p>V. RELATED WORK Shared spectrum architectures need to enforce suitable policies to control spectrum access among secondaries <ref type="bibr">[26,</ref><ref type="bibr">27]</ref>. Second, with the advent of cheaper radio hardware the licensed spectrum is prone to unauthorized use <ref type="bibr">[28]</ref>. This makes the problem of spectrum patrolling important. <ref type="bibr">[2]</ref> introduces the concept of crowdsourced enforcement of spectrum policies. Performance of low cost spectrum sensors: The authors in <ref type="bibr">[2]</ref> assume complete knowledge about the performance of crowdsourced sensors which is not practical. <ref type="bibr">[2]</ref> also assumes the sensors to be homogeneous which is generally not true in a crowdsourced environment. Spectrum monitoring using cheap crowdsourced sensors is not new <ref type="bibr">[4,</ref><ref type="bibr">9,</ref><ref type="bibr">6]</ref> but they do not provide any insights regarding performance or reliability of sensing. We also show that analytical techniques <ref type="bibr">[29]</ref> that model the sensor's detection performance are often simplistic and error prone. <ref type="bibr">[19,</ref><ref type="bibr">21]</ref> builds upon the analytical techniques providing corrections for hardware related aspects like I/Q imbalance, RF front-end non-linearities etc. Inspired by <ref type="bibr">[20,</ref><ref type="bibr">10]</ref>, we use a data-driven approach to create performance models of heterogeneous spectrum sensors. Sensor Selection and Fusion: A good amount of literature exists that study the problem of selecting sensors and combining the decisions of multiple sensors. Chair and Varshney <ref type="bibr">[23]</ref> provide an optimal sensor fusion rule when the individual sensor outputs are conditionally independent of one another. Different techniques of fusing multiple sensor decisions are presented in <ref type="bibr">[30]</ref>. Some studies have also looked at the problem of distributed spectrum monitoring. <ref type="bibr">[3]</ref> proposes using collaborative sensing across multiple sensors to better monitor spectrum. Our work builds upon these studies to focus on detecting the presence of spectrum intruder.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VI. CONCLUSION</head><p>In this work we address the problem of spectrum patrolling using crowsourced heterogeneous sensors. To the best of our knowledge this is the first work that models the performance of a spectrum sensor in a data-driven way. Our model provides significant improvement over state-of-the-art 'whitebox' models. Next we address the problem of sensor selection and fusion of heterogeneous sensors deployed over a region of interest to improve intrusion detection performance within a cost budget. We investigate different scenarios of homogeneous, heterogeneous and reconfigurable sensors. Our sensor selection algorithms perform significantly better than reasonable baseline heuristics. We highlight challenges of the patrolling problem in a cost-effective fashion using crowdsourced sensors and develop mechanisms to address them.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>Authorized licensed use limited to: SUNY AT STONY BROOK. Downloaded on May 09,2020 at 21:54:58 UTC from IEEE Xplore. Restrictions apply.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_1"><p>Authorized licensed use limited to: SUNY AT STONY BROOK. Downloaded on May 09,2020 at UTC from IEEE Xplore. Restrictions apply.</p></note>
		</body>
		</text>
</TEI>
