High-Dimensional Matched Subspace Detection When Data are Missing
Laura Balzano, Bejamin Recht, Robert Nowak
I Introduction
This paper considers a variation on this classical problem, motivated by high-dimensional applications where it is prohibitive or impossible to measure completely. We assume that only a small subset of the elements of are observed (with or without noise), and based on these observations we want to test whether . For example, consider monitoring a large networked system such as a portion of the Internet. Measurement nodes in the network may have software that collects measurements such as upload and download rate, number of packets, or type of traffic given by the packet headers. In order to monitor the network these measurements will be collected in a central place for compilation, modeling and analysis. The effective dimension of the state of such systems is often much lower than the extrinsic dimension of the network itself. Subspace detection, therefore, can be a useful tool for detecting changes or anomalies. The challenge is that it may be impossible to obtain every measurement from every point in the network due to resource constraints, node outages, etc.
The main result of this paper answers the following question. Given a subspace of dimension , how many elements of must be observed so that we can reliably decide if it belongs to ? The answer is that, under some mild incoherence conditions, the number is . This means that reliable matched subspace detectors can be constructed from very few measurements, making them scalable and applicable to large-scale testing problems.
The main focus of this paper is an estimator of the energy of in based on only observing the elements . Section II proposes the estimator. Section III presents a theorem giving quantitative bounds on the estimator’s performance and the proof using three lemmas that are proved in the Appendix. Section IV presents numerical experiments. Section V applies the main result to the subspace detection problem, both with and without noise.
II Energy Estimation from Incomplete Data
Let be the vector of dimension comprised of the elements , , ordered lexigraphically; here denotes the cardinality of . The energy of in the subspace is , where denotes the projection operator onto . There are two natural estimators of based on . The first is simply to form the vector with elements if and zero if , for . This ‘zero-filled’ vector yields the simple estimator . Filling missing elements with zero is a fairly common, albeit naïve, approach to dealing with missing data. Unfortunately, the estimator is fundamentally flawed. Even if , the zero-filled vector does not necessarily lie in .
A better estimator can be constructed as follows. Let be an matrix whose columns span the -dimensional subspace . Note that for any such , . With this representation in mind, let denote the matrix, whose rows are the rows of indexed by the set , arranged in lexigraphic order. Since we only observe on the set , another approach to estimating its energy in is to assess how well can be represented in terms of the rows of . Define the projection operator , where † denotes the pseudoinverse. It follows immediately that if , then and , whereas can be significantly greater than zero. This property makes a much better candidate estimator than . However, if , then it it is possible that , even if . Our main result shows that if is just slightly greater than , then with high probability is very close to .
III Main Theorem
Let us now focus on our main goal of detecting from a very small number of samples whether there is energy in a vector outside the -dimensional subspace . In order to do so, we must first quantify how much information we can expect each sample to provide. The authors in defined the coherence of a subspace to be the quantity
That is, measures the maximum magnitude attainable by projecting a standard basis element onto . Note that . The minimum can be attained by looking at the span of any columns of the discrete Fourier transform. Any subspace that contains a standard basis element will maximize . For a vector , we let denote the coherence of the subspace spanned by . By plugging in the definition, we have
To state our main theorem, write where and . Let the entries of be sampled uniformly with replacement. Again let refer to the set of indices for observations of entries in , and denote . Given these conventions, we have the following.
Let and . Then with probability at least ,
where , , and .
In order to prove the theorem, we split the quantity of interest into three terms and bound each with high probability. Consider . Let the columns of be an orthonormal basis for the subspace . We want to show that
is near with high probability. To proceed, we need the following three Lemmas whose proofs can be found in the Appendix.
with probability at least , provided that .
To apply these three Lemmas, write the second term of Equation (1) as
where . By Lemma 3, is invertible under the assumptions of our theorem, and hence is well-defined and has spectral norm bounded by the square root of the inverse of the smallest eigenvalue of . That is, we have
is bounded by Lemma 3 and is bounded by Lemma 2. Putting these two bounds together with the bounds in Lemma 1 and using the union bound, we have that with probability at least
IV Discussion and Numerical Experiments
In this section we wish to give some intuition for the lower bound in Theorem 1 and show simulations of the estimate . If the parameters are very near , our lower bound is approximately equal to
For an incoherent subspace, the parameter . In this case, for the bound is , which is consistent with the fact that always for . Once , linear algebraic reasoning tells us that will be strictly positive with positive probability; Theorem 1 goes further to say the norm is strictly positive with high probability once .
The parameters all depend on ; these parameters grow as gets very small. Increasing the number of observations will counteract this behavior for and , but this does not hold for . In fact, even if the vector is incoherent and , its minimum value, then for . To get very near zero, must be very near one, but this is not a useful regime.
We can see, however, that in simulations these large constants are somewhat irrelevant; The large deviations analysis needed for the proof is overly conservative in most cases.
This plays out in the simulations shown in Figure 1, where we see that for very incoherent subspaces, is always positive for . The plots show the minimum, maximum and mean value of over 100 simulations, for fixed and fixed such that and . For each value of the sample size , we sampled 100 different instances of without replacement, giving us a realistic idea of how much energy of is captured by samples. Our simulations for the Fourier basis and a basis made of orthogonalized Gaussian random vectors always showed the estimate to be positive for , even for the worst-case simulation run. For more coherent subspaces, we often (but not always) see that the norm is positive as long as .
V Matched Subspace Detection
We have the following detection set up. Our hypotheses are and and the test statistic we will use is
When we introduce noise we have the same hypotheses, but we compute the statistic on where is Gaussian white noise:
We choose to fix the probability of false alarm:
We now show why the heuristic approach of zero-filling the incomplete vector does not work. As we described in Section II, the zero-filling approach is to fill the vector with zeros and then project onto the full subspace . We denote the zero-filled vector as and then calculate the projection energy only on the observed entries:
Simple algebraic consideration reveals that is positive. In fact, even in the absence of noise, the probability of false alarm can be arbitrarily large as increases. The value of , based on noiseless observations, is plotted as a function of the number of measurements in Figure 2.
We note that for unknown noise power or structured interference, these results can be extended using the GLRT .
VI Conclusion
We have shown that it is possible to detect whether a highly incomplete vector has energy outside a subspace. This is a fundamental result to add to a burgeoning collection of results for incomplete data analysis given a low-rank assumption. Missing data are the norm and not the exception in any massive data collection system, so this result has implications on many other areas of study.
One of our reviewers shared an insight that the process by which we observe some components and observe erasures in other components can be expressed as a projection operator. It may be possible to extend the results of Theorem 1 to a wide class of models of random projection operators beyond the class of deletion operators studied here.
Acknowledgments
The authors would like to thank the reviewers for their thoughtful comments. This work was supported in part by AFOSR grant FA9550-09-1-0140.
Appendix A Useful Inequalities
We will need the following two large deviation bounds in the proofs of our Lemmas below.
Let be independent random variables, and assume is a function for which there exist , satisfying
where indicates replacing the sample value with any other of its possible values. Call . Then for any ,
Appendix B Supporting Lemmas and Proofs
We now proceed with the proof of our three central Lemmas.
To prove this we use McDiarmid’s inequality from Theorem 2 for the function . The resulting inequality is more commonly referred to as Hoeffding’s inequality.
We begin with the first inequality. Set . We seek a good value for . Since for all , we have
Plugging into Equation (3), the left hand side is
and letting , we then have that this probability is bounded by
Substituting our definitions of and shows that the lower bound holds with probability at least . The argument for the upper bound is identical after replacing Equation (2) instead of (3). The Lemma now follows by applying the union bound. ∎
We use McDiarmid’s inequality in a very similar fashion to the proof of Lemma 1. Let , where refers to the sample index. Thus is a scalar, and the notation refers to an vector representing the transpose of the row of .
Let our function . To find the of the theorem we first need to bound for all . Observe that by assumption. Thus,
Then observe is
The step (5) follows because the cross terms cancel by orthogonality. The step (6) is because of our assumption that sampling is uniform with replacement.
Substituting our definitions of and shows that the lower bound holds with probability at least , completing the proof.∎
We use the Noncommutative Bernstein Inequality as follows. Let , where the notation is as before, i.e. is the transpose of the row of , and is the identity matrix. Note that this random variable is zero mean.
We must compute and . Since is chosen uniformly with replacement, the are identically distributed, and does not depend on . For ease of notation we will denote as .
Using the fact that for positive semi-definite matrices, , and recalling again that , we have
Now we can apply the Noncommutative Bernstein Inequality, Theorem 3. First we restrict to be such that to simplify the denominator of the exponent. Then we get that
Now take with defined in the statement of Theorem 1. Since by assumption, holds and we have
We note that implies that the minimum singular value of is at least . This in turn implies that