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 vv completely. We assume that only a small subset Ω⊂{1,…,n}\Omega\subset\{1,\dots,n\} of the elements of vv are observed (with or without noise), and based on these observations we want to test whether v∈Sv\in S. 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 SS of dimension r≪nr\ll n, how many elements of vv must be observed so that we can reliably decide if it belongs to SS? The answer is that, under some mild incoherence conditions, the number is O(rlog⁡r)O(r\log r). 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 vv in SS based on only observing the elements {vi}i∈Ω\{v_{i}\}_{i\in\Omega}. 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 vΩv_{\Omega} be the vector of dimension ∣Ω∣×1|\Omega|\times 1 comprised of the elements viv_{i}, i∈Ωi\in\Omega, ordered lexigraphically; here ∣Ω∣|\Omega| denotes the cardinality of Ω\Omega. The energy of vv in the subspace SS is ∥PSv∣∣22\|P_{S}v||_{2}^{2}, where PSP_{S} denotes the projection operator onto SS. There are two natural estimators of ∥PSv∣∣22\|P_{S}v||_{2}^{2} based on vΩv_{\Omega}. The first is simply to form the n×1n\times 1 vector v~\widetilde{v} with elements viv_{i} if i∈Ωi\in\Omega and zero if i∉Ωi\not\in\Omega, for i=1,…,ni=1,\dots,n. This ‘zero-filled’ vector yields the simple estimator ∥PSv~∥22\|P_{S}\widetilde{v}\|_{2}^{2}. Filling missing elements with zero is a fairly common, albeit naïve, approach to dealing with missing data. Unfortunately, the estimator ∥Psv~∥22\|P_{s}\widetilde{v}\|_{2}^{2} is fundamentally flawed. Even if v∈Sv\in S, the zero-filled vector v~\widetilde{v} does not necessarily lie in SS.

A better estimator can be constructed as follows. Let UU be an n×rn\times r matrix whose columns span the rr-dimensional subspace SS. Note that for any such UU, PS=U(UTU)−1UTP_{S}=U(U^{T}U)^{-1}U^{T}. With this representation in mind, let UΩU_{\Omega} denote the ∣Ω∣×r|\Omega|\times r matrix, whose rows are the ∣Ω∣|\Omega| rows of UU indexed by the set Ω\Omega, arranged in lexigraphic order. Since we only observe vv on the set Ω\Omega, another approach to estimating its energy in SS is to assess how well vΩv_{\Omega} can be represented in terms of the rows of UΩU_{\Omega}. Define the projection operator PSΩ:=UΩ(UΩTUΩ)†UΩTP_{S_{\Omega}}:=U_{\Omega}(U^{T}_{\Omega}U_{\Omega})^{\dagger}U_{\Omega}^{T}, where † denotes the pseudoinverse. It follows immediately that if v∈Sv\in S, then ∥v−PSv∣∣22=0\|v-P_{S}v||_{2}^{2}=0 and ∥vΩ−PSΩvΩ∥22=0\|v_{\Omega}-P_{S_{\Omega}}v_{\Omega}\|_{2}^{2}=0, whereas ∥v~−PSv~∥22\|\widetilde{v}-P_{S}\widetilde{v}\|_{2}^{2} can be significantly greater than zero. This property makes ∥PSΩvΩ∥22\|P_{S_{\Omega}}v_{\Omega}\|_{2}^{2} a much better candidate estimator than ∥PSv~∥22\|P_{S}\widetilde{v}\|_{2}^{2}. However, if ∣Ω∣≤r|\Omega|\leq r, then it it is possible that ∥vΩ−PSΩvΩ∥22=0\|v_{\Omega}-P_{S_{\Omega}}v_{\Omega}\|_{2}^{2}=0, even if ∥v−PSv∣∣22>0\|v-P_{S}v||_{2}^{2}>0. Our main result shows that if ∣Ω∣|\Omega| is just slightly greater than rr, then with high probability ∥vΩ−PSΩvΩ∥22\|v_{\Omega}-P_{S_{\Omega}}v_{\Omega}\|_{2}^{2} is very close to ∣Ω∣n∥v−PSv∣∣22\frac{|\Omega|}{n}\|v-P_{S}v||_{2}^{2}.

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 vv outside the rr-dimensional subspace SS. 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 SS to be the quantity

That is, μ(S)\mu(S) measures the maximum magnitude attainable by projecting a standard basis element onto SS. Note that 1≤μ(S)≤nr1\leq\mu(S)\leq\tfrac{n}{r}. The minimum μ(S)=1\mu(S)=1 can be attained by looking at the span of any rr columns of the discrete Fourier transform. Any subspace that contains a standard basis element will maximize μ(S)\mu(S). For a vector zz, we let μ(z)\mu(z) denote the coherence of the subspace spanned by zz. By plugging in the definition, we have

To state our main theorem, write v=x+yv=x+y where x∈Sx\in S and y∈S⊥y\in S^{\perp}. Let the entries of vv be sampled uniformly with replacement. Again let Ω\Omega refer to the set of indices for observations of entries in vv, and denote ∣Ω∣=m|\Omega|=m. Given these conventions, we have the following.

Let δ>0\delta>0 and m≥83rμ(S)log⁡(2rδ)m\geq\frac{8}{3}r\mu(S)\log\left(\frac{2r}{\delta}\right). Then with probability at least 1−4δ1-4\delta,

where α=2μ(y)2mlog⁡(1δ)\alpha=\sqrt{\frac{2\mu(y)^{2}}{m}\log\left(\frac{1}{\delta}\right)}, β=2μ(y)log⁡(1δ)\beta=\sqrt{2\mu(y)\log\left(\frac{1}{\delta}\right)}, and γ=8rμ(S)3mlog⁡(2rδ)\gamma=\sqrt{\frac{8r\mu(S)}{3m}\log\left(\frac{2r}{\delta}\right)}.

In order to prove the theorem, we split the quantity of interest into three terms and bound each with high probability. Consider ∥vΩ−PSΩvΩ∥22=∥yΩ−PSΩyΩ∥22\|v_{\Omega}-P_{S_{\Omega}}v_{\Omega}\|_{2}^{2}=\|y_{\Omega}-P_{S_{\Omega}}y_{\Omega}\|_{2}^{2}. Let the rr columns of UU be an orthonormal basis for the subspace SS. We want to show that

is near mn∥y∥22\frac{m}{n}\|y\|_{2}^{2} with high probability. To proceed, we need the following three Lemmas whose proofs can be found in the Appendix.

with probability at least 1−δ1-\delta, provided that γ<1\gamma<1.

To apply these three Lemmas, write the second term of Equation (1) as

where WΩTWΩ=(UΩTUΩ)−1W_{\Omega}^{T}W_{\Omega}=\left(U_{\Omega}^{T}U_{\Omega}\right)^{-1}. By Lemma 3, UΩTUΩU_{\Omega}^{T}U_{\Omega} is invertible under the assumptions of our theorem, and hence WΩW_{\Omega} is well-defined and has spectral norm bounded by the square root of the inverse of the smallest eigenvalue of UΩTUΩU_{\Omega}^{T}U_{\Omega}. That is, we have

∥(UΩTUΩ)−1∥2\|\left(U_{\Omega}^{T}U_{\Omega}\right)^{-1}\|_{2} is bounded by Lemma 3 and ∥UΩTyΩ∥2\|U_{\Omega}^{T}y_{\Omega}\|_{2} 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 1−4δ1-4\delta

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 ∥vΩ−PSΩvΩ∥2\|v_{\Omega}-P_{S_{\Omega}}v_{\Omega}\|_{2}. If the parameters α,β,γ\alpha,\beta,\gamma are very near 00, our lower bound is approximately equal to

For an incoherent subspace, the parameter μ(S)=1\mu(S)=1. In this case, for m≤rm\leq r the bound is ≤0\leq 0, which is consistent with the fact that ∥vΩ−PSΩvΩ∥2=0\|v_{\Omega}-P_{S_{\Omega}}v_{\Omega}\|_{2}=0 always for m≤rm\leq r. Once m≥r+1m\geq r+1, linear algebraic reasoning tells us that ∥vΩ−PSΩvΩ∥2\|v_{\Omega}-P_{S_{\Omega}}v_{\Omega}\|_{2} will be strictly positive with positive probability; Theorem 1 goes further to say the norm is strictly positive with high probability once m∼O(rlogr)m\sim O(rlogr).

The parameters α,β,γ\alpha,\beta,\gamma all depend on log⁡(1δ)\sqrt{\log\left(\frac{1}{\delta}\right)}; these parameters grow as δ\delta gets very small. Increasing the number of observations mm will counteract this behavior for α\alpha and γ\gamma, but this does not hold for β\beta. In fact, even if the vector yy is incoherent and μ(y)=1\mu(y)=1, its minimum value, then β=2\beta=2 for δ≈.135\delta\approx.135. To get β\beta very near zero, δ\delta 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, ∥vΩ−PSΩvΩ∥2\|v_{\Omega}-P_{S_{\Omega}}v_{\Omega}\|_{2} is always positive for m>rμ(S)log⁡rm>r\mu(S)\log r. The plots show the minimum, maximum and mean value of ∥vΩ−PSΩvΩ∥2\|v_{\Omega}-P_{S_{\Omega}}v_{\Omega}\|_{2} over 100 simulations, for fixed SS and fixed vv such that ∥v∥22=1\|v\|_{2}^{2}=1 and v∈S⊥v\in S^{\perp}. For each value of the sample size mm, we sampled 100 different instances of Ω\Omegawithout replacement, giving us a realistic idea of how much energy of vv is captured by mm samples. Our simulations for the Fourier basis and a basis made of orthogonalized Gaussian random vectors always showed the estimate to be positive for m>rμ(S)log⁡rm>r\mu(S)\log r, 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 m>rμ(S)log⁡rm>r\mu(S)\log r.

V Matched Subspace Detection

We have the following detection set up. Our hypotheses are H0:v∈S\mathcal{H}_{0}:v\in S and H1:v∉S\mathcal{H}_{1}:v\notin S and the test statistic we will use is

When we introduce noise we have the same hypotheses, but we compute the statistic on v~Ω=vΩ+w\widetilde{v}_{\Omega}=v_{\Omega}+w where w∼N(0,1)w\sim\mathcal{N}(0,1) is Gaussian white noise:

We choose ηλ\eta_{\lambda} to fix the probability of false alarm:

We now show why the heuristic approach of zero-filling the incomplete vector vΩv_{\Omega} does not work. As we described in Section II, the zero-filling approach is to fill the vector vv with zeros and then project onto the full subspace SS. We denote the zero-filled vector as v0v_{0} and then calculate the projection energy only on the observed entries:

Simple algebraic consideration reveals that t0(vΩ)∣H0t_{0}(v_{\Omega})|\mathcal{H}_{0} is positive. In fact, even in the absence of noise, the probability of false alarm can be arbitrarily large as ∥v∥22\|v\|_{2}^{2} increases. The value of t0(vΩ)∣H0t_{0}(v_{\Omega})|\mathcal{H}_{0}, 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 X1,…,XnX_{1},\dots,X_{n} be independent random variables, and assume ff is a function for which there exist tit_{i}, i=1,…,ni=1,\dots,n satisfying

where xi^\hat{x_{i}} indicates replacing the sample value xix_{i} with any other of its possible values. Call f(X1,…,Xn):=Yf(X_{1},\dots,X_{n}):=Y. Then for any ϵ>0\epsilon>0,

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 f(X1,…,Xm)=∑i=1mXif(X_{1},\dots,X_{m})=\sum_{i=1}^{m}X_{i}. The resulting inequality is more commonly referred to as Hoeffding’s inequality.

We begin with the first inequality. Set Xi=yΩ(i)2X_{i}=y_{\Omega(i)}^{2}. We seek a good value for tit_{i}. Since yΩ(i)2≤∥y∥∞2y_{\Omega(i)}^{2}\leq\|y\|_{\infty}^{2} for all ii, we have

Plugging into Equation (3), the left hand side is

and letting ϵ=αmn∥y∥22\epsilon=\alpha\frac{m}{n}\|y\|_{2}^{2}, we then have that this probability is bounded by

Substituting our definitions of μ(y)\mu(y) and α\alpha shows that the lower bound holds with probability at least 1−δ1-\delta. 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 Xi=yΩ(i)UΩ(i)X_{i}=y_{\Omega(i)}U_{\Omega(i)}, where Ω(i)\Omega(i) refers to the ithi^{th} sample index. Thus yΩ(i)y_{\Omega(i)} is a scalar, and the notation UΩ(i)U_{\Omega(i)} refers to an r×1r\times 1 vector representing the transpose of the Ω(i)th\Omega(i)^{th} row of UU.

Let our function f(X1,…,Xm)=∥∑i=1mXi∥2=∥UΩTyΩ∥2f(X_{1},\dots,X_{m})=\|\sum_{i=1}^{m}X_{i}\|_{2}=\|U_{\Omega}^{T}y_{\Omega}\|_{2}. To find the tit_{i} of the theorem we first need to bound ∥Xi∥\|X_{i}\| for all ii. Observe that ∥UΩ(i)∥2=∥UTei∥2=∥PSei∥2≤rμ(S)/n\|U_{\Omega(i)}\|_{2}=\|U^{T}e_{i}\|_{2}=\|P_{S}e_{i}\|_{2}\leq\sqrt{r\mu(S)/n} by assumption. Thus,

Then observe ∣f(X1,…,Xm)−f(X1,…,Xk^,…,Xm)∣\left|f(X_{1},\dots,X_{m})-f(X_{1},\dots,\hat{X_{k}},\dots,X_{m})\right| 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 μ(y)\mu(y) and β\beta shows that the lower bound holds with probability at least 1−δ1-\delta, completing the proof.∎

We use the Noncommutative Bernstein Inequality as follows. Let Xk=UΩ(k)UΩ(k)T−1nIrX_{k}=U_{\Omega(k)}U_{\Omega(k)}^{T}-\frac{1}{n}I_{r}, where the notation UΩ(k)U_{\Omega(k)} is as before, i.e. is the transpose of the Ω(k)th\Omega(k)^{th} row of UU, and IrI_{r} is the r×rr\times r identity matrix. Note that this random variable is zero mean.

We must compute ρk2\rho_{k}^{2} and MM. Since Ω(k)\Omega(k) is chosen uniformly with replacement, the XkX_{k} are identically distributed, and ρ\rho does not depend on kk. For ease of notation we will denote UΩ(k)U_{\Omega(k)} as UkU_{k}.

Using the fact that for positive semi-definite matrices, ∥A−B∥2≤max⁡{∥A∥2,∥B∥2}{\|A-B\|_{2}\leq\max\{\|A\|_{2},\|B\|_{2}\}}, and recalling again that ∥Uk∥22=∥UTek∥22=∥PSek∥22≤rμ(S)/n\|U_{k}\|^{2}_{2}=\|U^{T}e_{k}\|^{2}_{2}=\|P_{S}e_{k}\|^{2}_{2}\leq r\mu(S)/n, we have

Now we can apply the Noncommutative Bernstein Inequality, Theorem 3. First we restrict τ\tau to be such that Mτ≤mρ2M\tau\leq m\rho^{2} to simplify the denominator of the exponent. Then we get that

Now take τ=γm/n\tau=\gamma m/n with γ\gamma defined in the statement of Theorem 1. Since γ<1\gamma<1 by assumption, Mτ≤mρ2M\tau\leq m\rho^{2} holds and we have

We note that ∥∑k∈ΩUkUkT−mnIr∥2≤mnγ\left\|\sum_{k\in\Omega}U_{k}U_{k}^{T}-\frac{m}{n}I_{r}\right\|_{2}\leq\frac{m}{n}\gamma implies that the minimum singular value of ∑k∈ΩUkUkT\sum_{k\in\Omega}U_{k}U_{k}^{T} is at least (1−γ)mn(1-\gamma)\frac{m}{n}. This in turn implies that

References