ABSTRACT. The Gaussian Mixture Model (abbrv. GMM) is a classic generative model for clustered data, for which spectral clustering based on dimension reduction via PCA has been an effective framework. In this work, we investigate kernelised covariance matrices as an alternative mechanism for dimension reduction and spectral clustering, focusing on truncation kernels that select pairs of data points with suitable separation constraints. The structure of these matrices is motivated by considerations from statistical mechanics of repulsive particle systems. Our approach is particularly relevant for the setting of imbalanced clusters, where the sizes of the largest and smallest clusters have a diverging ratio with the problem size, and existing PCA-based methods turn out to be of limited effectiveness.
We demonstrate efficient dimension reduction and clustering performance of these modified covariance matrices, substantiated by quantitative bounds. In particular, they achieve superior dimension reduction guarantees compared to PCA for a wide range of parameters in the regime of imbalanced clusters. For spectral clustering, our approach exhibits improvements over PCA in the imbalanced setting, in particular guaranteeing accurate clustering in a much larger regime of intra-cluster separations. Our theoretical guarantees reflected in a range of simulation experiments that exhibit these improvements for unbalanced clustering problems. Our analytical approach, based on kernel Laplacians, provide a toolbox as well as a relevant conceptual ingredient for clustering problems at large. We believe that our work will motivate the application of such kernelised covariance matrices for related classes of statistical problems, as well as spur new investigations in the theory of random matrices.
CONTENTS
Introduction 2
1.1. Clustering and the Gaussian mixture model 2
1.2. Segmenting data with imbalanced clusters 3
1.3. Kernelised covariance matrices and statistical physics 3
Setup and background 5
2.1. Notation 5
2.2. Gaussian Mixture Model 5
2.3. Classical PCA based dimension reduction and clustering 7
Key ingredients and approach 8
3.1. A truncated covariance matrix and truncation matrices 9
3.2. The transformed data and noise reduction 10
3.3. Dimension reduction after truncation 11
3.4. Clustering post dimension reduction 12
3.5. Metrics for clustering error 12
3.6. On the choice of the kernel function 13
4. Main Results 14
4.1. Dimension Reduction 14
4.2. Clustering Accuracy 16
5. Simulation experiments 19
6. Proof overview 21
6.1. Ideal truncation and noise reduction. 21
6.2. Error decomposition. 24
6.3. Bounding the signal perturbation. 25
6.4. Bounding the transformed noise. 25
6.5. Dimension reduction and clustering error bounds. 26
7. Acknowledgements and AI Statement 26
7.1. AI Statement 26
7.2. Acknowledgements 26
References 26
Appendix A. Expectation of Data Truncation Matrices and Ideal Truncation 30
Appendix B. Error Induced by Fluctuation of the Data Truncation Matrices 31
B.1. Signal perturbation 31
B.2. Contribution from the noise 32
B.3. Final perturbation bound 33
Appendix C. Proof of Main Results on Dimension reduction 34
Appendix D. Proof of Main Results on Clustering Accuracy 34
Appendix E. Preliminaries 36
Appendix F. Partition into classes of disjoint pairs 38
Appendix G. Spectral k-means 39
Appendix H. Measure concentration 42
Appendix I. Ingredients from high dimensional probability 44
Appendix J. Proofs for classical PCA results 45
Appendix K. More details about the expectation of data truncation matrices and ideal truncation 46
Appendix L. Detailed proofs in section B 54
1. INTRODUCTION
1.1. Clustering and the Gaussian mixture model. The classical problem of clustering asks for a partition of a data set into groups of similar points. Clustering is foundational to machine learning and statistics, both classical and modern, with a wide array of applications such as lossy compression [1, 2], image classification in cryo-EM [3, 4], inference of genetic population structure [5], graphon estimation [6], and the discovery of cancer subtypes from gene-expression data [7, 8].
The Gaussian Mixture Model (GMM) is a typical model for the generation of clustered data, going back to Pearson [9], where the components of the GMM are the clusters. Clustering studies that use GMM include direct estimation [10, 11], likelihood and k-means [12, 13], learning theoretic aspects [14–16], and many more. To wit, one observes X1,…,Xn in Rp with
(1)
Xi=θzi∗∗+εi,εi∼N(0,σ2Ip),
the centres θ1∗,…,θk∗ and the labels z∗∈[k]n both unknown, and one wants to estimate z∗. Difficulty is governed by the minimum separation Δ∗:=mina=b∥θa∗−θb∗∥2, and the question is how small Δ∗ can be before recovery fails.
Broadly speaking, three families of methodological devices are in common use for the analysis of clustered data. The first approach entails direct minimisation of the so-called k-means objective, usually through iterative algorithms [1, 17, 18]. The second approach concerns likelihood fitting of a mixture, usually by EM [19, 20]. Finally, the third and perhaps the theoretically best substantiated approach entails spectral methods, which project the data onto a subspace read off from the spectrum of a data matrix and cluster the projected data [15, 21–27].
In [21], Löffler, Zhang, and Zhou showed that plain spectral clustering, PCA followed by k-means, attains the minimax optimal misclustering rate, with no iterative refinement needed. Abbe, Fan, and Wang [28] developed an ℓp analysis of PCA and spectral clustering. Later Zhang and Zhou [22] obtained spectral guarantees under weaker separation conditions and extended the analysis to sub-Gaussian mixtures. Lu and Zhou [29] gave matching guarantees for Lloyd's algorithm from a good initialisation. Exact recovery and its thresholds were studied by Giraud and Verzelen [30] and by Ndaoud [31]. Chen and Zhang [32] studied anisotropic Gaussian mixtures using a version of Lloyd's algorithm that estimates and uses the covariance matrices.
1.2. Segmenting data with imbalanced clusters. Data with an imbalanced clustering structure, e.g., the size of one cluster dominates, is of growing importance in a host of real-world applications. Principal instances include medical and biological data, where the healthy patients form one overwhelming group and the sub-population of interest is small [33–35], and rare cell populations must be distinguished from more abundant cell types [36]. In addition, fraudulent transactions run to a few per thousand [37], communities in a large network are small relative to the graph [38], and species abundances and word frequencies are heavy-tailed [39, 40].
In fact, average misclustering error is then a poor yardstick in the setting of imbalanced clusters, since it can be small while a minority cluster is lost entirely. In this work, we will therefore also investigate the worst rate over clusters to provide a more comprehensive picture.
Much of the existing theoretical literature, particularly in the context of the optimality of known rates, applies to the setting of balanced clusters. Roughly speaking, this entails that relative sizes of the biggest and smallest clusters stays bounded (e.g., in terms of their ratio) as the problem sizes grows to infinity. In [22] (and also other works such as [21]), the authors quantify the smallest cluster size by
β:=nknmin∈(0,1],nmin:=a∈[k]minna
and the guarantees established therein are minimax optimal when the separation satisfy condition (Δ/σ)≳β1, which is most meaningful for fixed β. In particular, if β→0 rapidly (e.g., β≍n1), a natural setting for data with imbalanced clusters, the separation condition becomes very restrictive. Therefore, these existing guarantees are of limited effectiveness in addressing clustered data with imbalanced clusters, which calls forth new ways of approaching the clustering problem. This is the problem we principally aim to address in this work. More precisely, our truncation based clustering method works for both balanced clusters and imbalanced clusters, and in particular, our method significantly improves the separation requirements when one cluster dominates and number of observations is much larger than the dimension (see Remark 4.9 for detailed discussion).
1.3. Kernelised covariance matrices and statistical physics
1.3.1. Clustering and Gaussian Determinantal Processes. Our approach to clustering passes through kernelisations of covariance matrices, motivated by recent works leveraging ideas from statistical mechanics. In particular, Ghosh and Rigollet [41] introduced a family of truncated covariance-type matrices in the course of their investigations on Gaussian Determinantal Processes (GDP) as a parametric model for repulsion in point sets and directionality phenomena in datasets. More specifically, Ghosh and Rigollet [41] proposes a matrix-valued test statistic that involves the truncated covariance matrix
(2)
ΣGDP∝i,j∑1{∥Xi−Xj∥2<r}(Xi−Xj)(Xi−Xj)⊤
for a cutoff r. The determinantal model was an ansatz there, in the spirit of the Wigner surmise, rather than a hypothesis about the nature of the data; and on benchmark clustering applications such as Fisher's iris data and the Wisconsin breast cancer data the resulting spectral subspaces exhibited strong performance in distinguishing the known clusters. More generally, it was demonstrated in [41] that the principal eigen-directions of aI−bΣGDP, with appropriate coefficients a and b, maybe deployed as a device for uncovering statistically significant directions in a dataset. For instance, in the simple setting of a two-cluster dataset, the canonical direction of interest is the line joining the centers of the two clusters.
In this work, we will work with the matrix-valued statistic that is of the form (2), with the inequality turned around:
(3)
i,j∑1{∥Xi−Xj∥22≥u0}(Xi−Xj)(Xi−Xj)⊤,
with a threshold u0 fixed suitably.
For contrast, in the setting of spectral clustering, we recall that the sample covariance matrix has the representation
where X:=n−1∑i=1nXi. Spectral clustering proceeds with projections on to the leading eigenspaces of (4). Now fix i and j in the same cluster. Then Xi−Xj=εi−εj, so the corresponding summand carries no information about the centres at all. With clusters of comparable size such pairs are a constant fraction of the sum. However, with one dominant cluster they are almost all of it, outlining a central difficulty that would emerge in the setting of imbalanced clustering. It is therefore of interest to focus on the pairs that straddle two clusters and drop the rest. This provides a natural heuristic in support of the structure of the matrix-valued statistic (3) leveraged in this work.
1.3.2. The Widom-Rowlinson Model as a mechanism for cluster formation. A direct view towards clustering phenomena is given by the related Widom-Rowlinson model [42] of repulsive particle systems from statistical mechanics. To briefly understand this model, let us consider two species of particles occupying a box, with unlike particles repelling and like particles not interacting at all. Ruelle [43] showed that at high activity it separates into phases. Confining the particles in a potential, one expects the equilibrium state to be a pair of blobs, one per species, pushed apart by the inter-species repulsion and held in by the potential.
While the Widom–Rowlinson model does provide a simple physical model for clustering phenomena, its direct applicability is constrained by the fact that its properties are not amenable to simple formulae and closed form analysis [44–46]. This is, in fact, typical of interacting particle systems, and determinantal processes are the exception: every k-point function is an explicit determinant, the pair correlation is in closed form, linear statistics have exact first and second moments, existence follows from a spectral condition on the kernel [47, 48], and there is an exact sampling algorithm. A parametric subfamily like the Gaussian Determinantal Processes carries an interpretable matrix-valued parameter, which is what made (2) usable. It may be emphasized that the analysis in this paper is carried out entirely under the Gaussian mixture (1), and the statistical mechanical considerations are purely for motivational purposes, along the lines of [41].
1.3.3. Kernelised and truncated covariance matrices. In fact, the statistic (3) admits a natural generalization to a class of kernelised covariance matrices given by
(5)
i,j∑Ψ(Xi,Xj;r)(Xi−Xj)(Xi−Xj)⊤,
where Ψ is an interaction kernel between the data points Xi and Xj, modulated by the parameter r. The kernelised statistic (5) can be further specialised to the translation invariant form
(6)
i,j∑Ψ(Xi−Xj;r)(Xi−Xj)(Xi−Xj)⊤,
which includes the important Gaussian kernel as a special case, accorded by the choice of Ψ(Xi−Xj;r)=1−exp(−∥Xi−Xj∥2/r2). The companion paper [49] analyses the spectral properties of kernelised covariance matrices as above, establishing novel limiting spectral distributions and generalisations of the Marcenko-Pastur law.
It is indeed of interest to consider such general kernel classes for particular applications, such as clustering. For our purposes of imbalanced clustering, however, it turns out that the far-neighbour indicator kernel as in (3) is a more appropriate choice than other possibilities (such as the Gaussian kernel). For a discussion of these matters, we refer the reader to Section 3.6.
2. SETUP AND BACKGROUND
2.1. Notation. For an integer m≥1, write [m]:={1,2,…,m}. We use the notation log+(x) for max{log(x),0}. For a vector v∈Rm, we write vi for its ith entry and ∥v∥2 for its Euclidean norm. For a matrix M∈Ra×b, we write Mi, for the ith row, M,j for the jth column, ∥M∥op for the operator norm, and ∥M∥F for the Frobenius norm. The n×n identity matrix is denoted by In. For a subset S⊆[n], define its indicator vector 1S∈Rn by (1S)i=1 if i∈S and (1S)i=0 otherwise. The all-zeros and all-ones vectors in Rm are denoted by 0m and 1[m] respectively. Further define Jm×m′:=1[m]1[m′]⊤, the m×m′ (possibly rectangular) matrix consisting only of 1's. For scalars y1,…,ym, diag(y1,…,ym) is the diagonal matrix with diagonal entries (y1,…,ym). For a symmetric positive semidefinite matrix A⪰0, the notation A1/2 refers to the unique symmetric positive semidefinite square root. For an subspace U in Rn, we denote the orthogonal projection onto U by ΠU.
The indicator of an event E is written as 1{E}. For x>0, write log+x:=max{0,logx}. The symbols χp2 and χp2(λ) denote, respectively, the central chi-square distribution with p degrees of freedom and the noncentral chi-square distribution with p degrees of freedom and noncentrality parameter λ≥0.
Throughout the paper, the symbols c4.1.1, c4.1.2, c1, c2, ..., C denote positive absolute constants.
2.2. Gaussian Mixture Model. Fix the number of clusters k≥2. Let
θ1∗,…,θk∗∈Rp
be the (unknown) cluster centers, and let
z∗=(z1∗,…,zn∗)∈[k]n
be the (unknown) cluster assignment vector. For each l∈[k], define the true cluster index set and its size by
Bl:={i∈[n]:zi∗=l},nl:=∣Bl∣.
Throughout this paper, we assume that every cluster is nonempty, i.e.
nl≥1foralll∈[k].
Let
(7)
nmax:=1≤a≤kmaxna,andm:=n−nmax.
In other words, all clusters outside a largest cluster contain a total of m observations. Without loss of generality, we may relabel the clusters so that
(8)
n1=nmax=n−m,a=2∑kna=m.
Since every cluster is nonempty, (7) also implies m≥k−1.
We also use the notation
(9)
nmin:=1≤a≤kminna.
for the size of the smallest cluster.
We observe independent random vectors X1,…,Xn∈Rp generated according to an isotropic Gaussian mixture model:
(10)
Xi=θzi∗∗+εi,εi∼N(0,σ2Ip),i∈[n],
where {εi}i=1n are independent. The goal of clustering is to estimate z∗ from the observed data {Xi}i=1n.
It is convenient to collect the data into a matrix
X:=[X1,…,Xn]∈Rp×n.
Define the signal (cluster center) matrix
P:=[θz1∗∗,…,θzn∗∗]∈Rp×n
and the noise matrix
E:=[ε1,…,εn]∈Rp×n.
Then the model (10) can be written compactly as
X=P+E.
More formally, we have the following definition.
Definition 2.1. Let p≥1 and k≥2. Let
Θ∗=(θ1∗,…,θk∗)∈Rp×k
and let n≥2. Let
z∗=(z1∗,…,zn∗)∈[k]n
be a cluster assignment vector such that each label in [k] appears at least once. Let σ>0, and let the random vectors X1,…,Xn satisfy
(11)
Xi=θzi∗∗+εi,εi∼N(0,σ2Ip),i∈[n],
where {εi}i=1n are independent. Define
X:=[X1,…,Xn]∈Rp×n,
and define
P:=[θz1∗∗,…,θzn∗∗]∈Rp×n
and
E:=[ε1,…,εn]∈Rp×n.
Then (X,P,E) is called a Gaussian mixture observation model for the true cluster configuration (Θ∗,z∗) and noise level σ.
The difficulty of clustering depends significantly on the geometric separation of the centers
j,ℓ∈[k]j=ℓminθj∗−θℓ∗2.
Intuitively, when ∥θj∗−θℓ∗∥2≈0, two clusters have almost identical centers and can hardly be distinguished from samples, while as minj,ℓ∈[k],j=ℓ∥θj∗−θℓ∗∥2 gets larger, the clustering problem becomes easier. More formally, by norm estimate of high dimensional vector (see Lemma I.1), we know that ∥εi∥2 is concentrated around σp. Therefore in the strong-separation regime when
Δ≫σp,
the distance between centers dominates the norms of random noise vectors, and individual observations are geometrically well separated. As a result, this regime is comparatively easy for dimension reduction and clustering. The more interesting and harder regime is the weak-separation regime
(12)
Δ≪σp,equivalentlyΔ2/σ2≪p,
where the separation between two centers is smaller than the typical noise length of one observation. So, in this regime, pairwise distances still contain aggregate information.
In practice, it may not be possible to obtain the exact minimum separation minj,ℓ∈[k]∥θj∗−θℓ∗∥2. But it is reasonable to posit we have access to a lower bound
(13)
0<Δ≤j,ℓ∈[k]j=ℓminθj∗−θℓ∗2.
Our dimension reduction and clustering algorithm only uses this lower bound. And similar assumptions are made in previous studies (see, e.g., [50–52]). Indeed, in practice, the separation threshold may be partly thought of as a choice made the practitioner, based on domain knowledge or the purpose of the analysis, since data from two clusters with sufficiently close centers may not be reliably distinguished from a single cluster using the available data, by the information theoretic lower bounds (see, e.g., [22, 29, 53, 54]).
Let h:=1+log+(n/(p+m)) and r∗:=min{k−1,p}. Our dimension reduction result assumes Δ2/σ2≳h+ph, and the clustering result assumes the analogous condition with h replaced by h+r∗(p+m+logn)/nmin. In practical application it is reasonable to assume h is o(p), so our method is designed to work in the harder weak-separation regime.
2.3. Classical PCA based dimension reduction and clustering. We first recall the centered PCA based dimension-reduction and clustering methods as a starting point. Standard PCA based clustering (e.g., Löffler, Zhang, and Zhou [21, Algorithm 1]) directly use the uncentered data matrix X. But to motivate our method, here we center the data to obtain translation invariant data. More precisely, let 1[n] be the all ones vector and let
Hn:=In−n11[n]1[n]⊤
be transformation that centers the data, i.e., move the average of all samples to the zero vector. And define the centered data, signals, and noise
Xc:=XHn,Pc:=PHn,Ec:=EHn.
Then Xc=Pc+Ec. Write a singular value decomposition as
where X:=n1∑i=1nXi is the sample mean. So, UPCA,r may be obtained by taking the eigenspaces corresponding to the r largest eigenvalues of XcXc⊤. In the special case in which the observations are already sample centered, X1[n]=0, one has Xc=X, and the same subspace is obtained directly from the eigendecomposition of XX⊤. A common choice of r is
r0:=rank(Pc),
and let U0∈Rp×r0 be any orthonormal basis for col(Pc). When r0≥1, the natural measurement of estimation error is the distance
UPCA,r0UPCA,r0⊤−U0U0⊤op.
After dimension reduction, the classical PCA based spectral clustering applies k-means to the columns of
PPCA:=UPCA,r⊤Xc∈Rr×n.
The ith column PPCA,.,i=UPCA,r⊤(Xc).,i∈Rr contains an observation of reduce dimension. Indeed, if VPCA,r and ΣPCA,r denote the corresponding right singular-vector and singular-value matrices, then
PPCA=ΣPCA,rVPCA,r⊤.
In other words, the classical PCA based approach projects the observations onto an estimated low dimensional subspace, and then do clustering using data with reduced dimension.
3. KEY INGREDIENTS AND APPROACH
The aim of our approach is to improve the estimation of the low dimensional subspace, leading to improvements in clustering accuracy in the imbalanced setting. To explain the motivation, we start from the following representation
(14)
XcXc⊤=XHnX⊤=2n1i,j=1∑n(Xi−Xj)(Xi−Xj)⊤.
The sum in (14) treats all pairs equally. For a within-cluster pair zi∗=zj∗, however,
Xi−Xj=εi−εj,
so the corresponding term contains no between-center signal.
This observation motivates a reduced-noise version of XcXc⊤: keep the pairwise terms that carry information about differences between cluster centers while removing within-cluster terms. The objective is to construct an estimator Ur0 that is closer to U0. This idea leads to the kernelised covariance matrix
2n1i,j∑Ψ(Xi−Xj;r)(Xi−Xj)(Xi−Xj)⊤
discussed in the introduction, which would ideally shrink the pure noise terms
Xi−Xj=εi−εj
However, this kernelised covariance matrix has dimension p×p, so it does not include sufficient information to determine cluster assignment for n data points. To overcome this, we observe that we can write
2n1i,j∑Ψ(Xi−Xj;r)(Xi−Xj)(Xi−Xj)⊤=XnLX⊤
for a suitable Laplacian matrix L (defined formally below in Section 3.1). This suggests the transformed data
Y=X(nL)1/2∈Rp×n
which has the correct dimensions and also its covariance matrix
3.1. A truncated covariance matrix and truncation matrices. In this section, we define suitable L such that (15) holds. It turns out that an effective choice (for the purpose of dimension reduction and clustering) of the kernel Ψ in (15) is a truncation kernel. This leads to the consideration of truncated covariance matrices and the terminology of truncation matrices used in this section. The suitability of the truncation kernel, cast against other possibilities, is taken up for discussion in Section 3.6.
3.1.1. Data truncation matrices
Definition 3.1 (Degree and Laplacian operators). Let q≥1 and let H∈Rq×q. Define the degree operator by
D(H):=diag(H1[q])
and the Laplacian operator by
L(H):=D(H)−H=diag(H1[q])−H.
Remark 3.2. If H is symmetric with nonnegative entries, then L(H) is symmetric positive semi-definite. Also its value is not affected by the diagonal entries of H.
Definition 3.3 (Data truncation matrices). Let X∈Rp×n be an observed data matrix. Let ϕ:[0,+∞)→[0,1] be a Borel measurable function. Let
Aij:=ϕ(∥Xi−Xj∥22)
be the kernel matrix. Let
D:=D(A)
be the data degree matrix. Let
L:=L(A)
be the data Laplacian matrix. Then (A,D,L) is called the data truncation matrices for the data X using threshold function ϕ.
3.1.2. Ideal truncation matrices. To understand the expected behavior of the data truncation matrices, we consider the ideal truncation matrices.
Definition 3.4 (Ideal truncation matrices). Let p≥1 and k≥2 (representing the number of clusters). Let
Θ∗=(θ1∗,…,θk∗)∈Rp×k
be vectors (representing true cluster centers). Let n≥2 and let
z∗=(z1∗,…,zn∗)∈[k]n
be a vector (representing cluster assignment vector). Define the ideal selection matrix A∈Rn×n by
Aij:={1,0,zi∗=zj∗,otherwise,
Thus A equals one precisely on cross-cluster pairs and zero on same-cluster pairs. Let
D:=D(A)
be the ideal degree matrix. Let
L:=L(A)
be the ideal Laplacian matrix. Then (A,D,L) is called the ideal truncation matrices for the true cluster configuration (Θ∗,z∗).
Throughout the manuscript, (A,D,L) denotes the data truncation matrices as in Definition 3.3, whereas (A,D,L) denotes the ideal truncation matrices of Definition 3.4.
3.2. The transformed data and noise reduction. Let
S:=(nL)1/2∈Rn×n.
be the square root of the scaled Laplacian. This is well defined by Lemma K.1 and Lemma E.2. We then work on the transformed data matrix
Y:=XS∈Rp×n.
By definition we have L=L(A), so YY⊤ is the kernelised covariance matrix, i.e.,
(16)
YY⊤=XnLX⊤=2n1i,j=1∑nAij(Xi−Xj)(Xi−Xj)⊤.
Observed that L1[n]=0 which implies S1[n]=0, and therefore
Y=XS=XHnS,
i.e., the transformed data is translation invariant and implicitly centered.
To see the intended noise reduction, let A be the ideal selection matrix, let L=L(A), and consider the ideal transform
S0:=(nL)1/2,Y0:=XS0.
Then we have
Y0Y0⊤=2n1zi∗=zj∗∑(Xi−Xj)(Xi−Xj)⊤.
The above identity shows that, compared with the raw centered covariance matrix, the ideal transform removes exactly the within-cluster contribution
2n1zi∗=zj∗∑(εi−εj)(εi−εj)⊤.
This contribution contains no signal and only noise.
Remarkably, this ideal transform removes these terms without distorting the centered signal. Indeed, Remark A.3 shows that
PS0=Pc.
In addition, if nmax is the size of a largest cluster and m=n−nmax, then
(17)
∥ES0∥op≲σp+m with high probability 1−exp(−C(p+m)).
The ideal transformed matrix therefore has the decomposition
Y0=Pc+ES0,
which preserves the full centered signal while reducing the magnitude of noise from the O(σp+n) to O(σp+m).
In practice, our transformed data matrix Y=XS has to use A instead of the unknown ideal matrix A, so we need to choose a threshold function ϕ so that A is close to A, which we will discuss in Section 3.6. Also, the analysis needs to be done more carefully, because of the dependence of A and the data matrix X. In particular, we cannot work on a good event where A=A because the probability of this event is not strong enough for our purpose, i.e., to obtain 1−exp(−C(p+m)) high probability guarantee of dimension reduction and clustering, as in the ideal case. In fact, by standard calculation, when the separation is as weak as Δ≈σp1/4, the pairwise error P(Aij=Aij) is approximately only of constant order. So it does not lead to simultaneous matrix equality A=A with our target high probability 1−exp(−C(p+m)).
3.3. Dimension reduction after truncation. We now describe the dimension reduction method using the transformed matrix Y=XS. Let
Y=j=1∑min{p,n}σjujvj⊤,σ1≥σ2≥⋯≥0,
be a singular value decomposition. For 1≤r≤min{p,n}, let
where Ur is a truncated estimator for the subspace where the signals, i.e., true cluster centers, live in. Equivalently, Ur can also be computed from the eigenvalue decomposition of the truncated covariance matrix, i.e.,
j=1∑min{p,n}σj2ujuj⊤=YY⊤=XnLX⊤=XnLX⊤,
As before, let r0=rank(Pc) and let U0 be an orthonormal basis for col(Pc). The dimension-reduction error is measured by
Ur0Ur0⊤−U0U0⊤op.
3.4. Clustering post dimension reduction. Pursuant to choosing
r∈{1,…,min{p,k}}.
(typical choices are r=min{p,k} or r=min{p,k−1}), our clustering algorithm uses the projected data matrix
(18)
P:=Ur⊤Y=ΣrVr⊤∈Rr×n.
which reduces the dimension from p to r. We estimate the labels by applying global k-means to the columns of P. More precisely, given projected data points {P⋅,i}i=1n⊂Rr, the global k-means problem finds labels z∈[k]n and centers ν1,…,νk∈Rr that minimize
i=1∑nP⋅,i−νzi22.
The formal algorithm is shown in Algorithm 1.
Algorithm 1. Clustering via a truncated covariance matrix
Input: Data matrix X=[X1,…,Xn]∈Rp×n; number of clusters k; truncation function ϕ; embedding dimension r∈{1,…,min{p,k}}.
Output: Estimated labels z∈[k]n.
(1) Form the kernel matrix A∈Rn×n by Aij=ϕ(∥Xi−Xj∥22) for all i,j∈[n].
(2) Form the row-sum matrix D=diag(A1[n]) and set L=D−A.
(3) Compute the scaled positive-semidefinite square root S=(L/n)1/2.
(4) Form the transformed data matrix Y=XS∈Rp×n.
(5) Compute a singular value decomposition Y=∑j=1min{p,n}σjujvj⊤ with σ1≥σ2≥⋯.
(6) Form Ur=[u1,…,ur], Vr=[v1,…,vr], and Σr=diag(σ1,…,σr); set P=Ur⊤Y∈Rr×n.
(7) Let z∈[k]n be a global minimizer of the k-means objective on the columns {P⋅,i}i=1n.
3.5. Metrics for clustering error. Following [21], we consider the average clustering error below.
Definition 3.5 (Average clustering error). Let z∈[k]n and z∗∈[k]n, the average clustering error is defined as
ℓ(z,z∗):=π∈Skminn1i=1∑n1{π(zi)=zi∗},
where Sk is the set of all bijections (permutations) π:[k]→[k].
In regimes where one large cluster dominates (so the complement of a largest cluster is small), an average loss can hide errors on those smaller clusters. We therefore also consider the maximum clustering error.
Definition 3.6 (Maximum clustering error). Let z∈[k]n and z∗∈[k]n, the maximum clustering error is defined as
where Sk is the set of all bijections (permutations) π:[k]→[k].
3.6. On the choice of the kernel function. In order to understand the suitability of the kernel function, let us consider the simplified setting where k=2 and ∥θ1∗−θ2∗∥2=Δ. There are two natural types of threshold functions, a smooth function, e.g., the one considered in [55, Example 1], and a function with a jump, i.e., hard threshold. For a smooth threshold function, the most natural example is the one that leads to the Gaussian kernel matrix in [55, Example 1]. More precisely, for τ>0, define
fτ(t)=e−t/(2τ2)
as in [55, Example 1]. and choose the kernel function to be
ϕτ(t)=1−fτ(t),
And write (AG,τ)ij=ϕ(∥Xi−Xj∥22). Let s2=1+2σ2/τ2. Applying the Gaussian expectation formula in [55, Example 1], for i=j, we have
Their difference vanishes in the weak-separation regime Δ=o(σp) as p→∞, uniformly over all deterministic bandwidths τ>0, including those depending on p. Indeed, using the short notation q=s−2∈(0,1), by direct calculation, we have
Here we used 1−e−x≤x and maximized over q∈(0,1). This is an issue, because in the ideal case, we have Aij=0 within clusters and Aij=1 across clusters. So, to make EAG,τ≈A, we will need aτ≈0 and bτ≈1 so their differences cannot vanish. More precisely, the entrywise bias is
Therefore, no choice of τ can make EAG,τ close to A simultaneously on within-cluster and cross-cluster entries, once we enter the in the weak-separation regime Δ=o(σp).
We now show that we can do much better by a hard threshold function with jump (transition) at u0=2σ2p+Δ2/2, i.e.,
ϕ(t)=1{t≥u0},t≥0
which leads to
Aij=1{∥Xi−Xj∥22≥u0}.
For i=j, the squared distance ∥Xi−Xj∥22 of two data points has the central chi-square law 2σ2χp2 if Xi,Xj are from the same cluster. And ∥Xi−Xj∥22 has the noncentral chi-square law 2σ2χp2(2σ2Δ2) if Xi,Xj are from different clusters. So, after the scaling by 2σ21, the means for same cluster and cross cluster squared distances are
pandp+2σ2Δ2
respectively. The scaled threshold p+Δ2/(4σ2) lies in the middle between the two means, and its distance from either mean is Δ2/(4σ2). Meanwhile, the standard deviations for same cluster and cross cluster squared distances are
2pand2(p+σ2Δ2).
In the weak-separation regime, these standard deviations are both of order p. Therefore, hard truncation can distinguish the two pair types once the shift Δ2 dominates the fluctuations of order σ2p, which only requires Δ≫σp1/4.
As a result, in later parts of this paper, we do dimension reduction and clustering using this hard threshold function, i.e.,
(19)
ϕ(t)=1{t≥2σ2p+Δ2/2},t≥0.
4. MAIN RESULTS
4.1. Dimension Reduction. In this section, we state our main result on dimension reduction via truncated covariance matrices.
Theorem 4.1 (Dimension reduction via the truncated matrix estimator). Let k≥2, n≥2, and p≥1. Let
Θ∗=(θ1∗,…,θk∗)∈Rp×k
and
z∗=(z1∗,…,zn∗)∈[k]n.
For a∈[k], let Ba={i∈[n]:zi∗=a} and na=∣Ba∣>0. Let nmax:=max1≤a≤kna and m:=n−nmax. Let (X,P,E) be a Gaussian mixture observation model for the true cluster configuration (Θ∗,z∗) and noise level σ. Let
ϕ(t)=1{t≥2σ2p+Δ2/2},t≥0
Let (A,D,L) be the data truncation matrices for the data X using threshold function ϕ. Let Δ>0 and assume
∥θa∗−θb∗∥2≥Δforalla=b.
Let
S=(nL)1/2,Y=XS.
Let
Hn:=In−n11[n]1[n]⊤,Pc:=PHn,r0:=rank(Pc).
Assume r0≥1. Let U0∈Rp×r0 be any orthonormal basis for col(Pc), and let Ur0 be the matrix of the top r0 left singular vectors of Y=XS. There exist positive absolute constants c4.1.1,…,c4.1.4 such that if
Remark 4.2. The separation condition in Theorem 4.1 has the form
Δ2/σ2≳h+ph,h:=1+log+p+mn.
If h=o(p), this lower bound is o(p), so the theorem permits choices with Δ2/σ2=o(p), equivalently Δ=o(σp). Since h grows slowly, suppressing this logarithmic factor gives the approximate separation regime
Δ≳σp1/4.
This is already in the weak-separation regime (12) described above: a single noise vector has Euclidean norm of order σp, whereas Δ≪σp. Nevertheless, even in this regime, the transformed spectral perturbation is controlled by the reduced noise scale σp+m+logn together with the explicit truncation-error term, with desired high probability 1−exp(−c4.1.2(p+m)) as in the ideal case (17).
Remark 4.3. It may be observed that the separation regime Δ≃σp1/4 is a genuine barrier in this approach. To see why, assume all clusters are separated by distance exactly Δ for simplicity as in section 3.6. In this case, recall that, the scaled squared distance ∥Xi−Xj∥22/(2σ2) has law χp2 within clusters and χp2(Δ2/(2σ2)) across clusters, so the means for same cluster and cross cluster squared distances are
pandp+2σ2Δ2
respectively, and their standard deviations are 2p and 2(p+Δ2/σ2). The scaled threshold p+Δ2/(4σ2) has distance Δ2/(4σ2) from either mean. Therefore, Δ2/σ2 must be at least of order p, i.e., equivalently Δ must be at least of order σp1/4, to make the separation between the two means be able to compete with the random fluctuations.
More precisely, when p→∞, if Δ=o(σp1/4), for each pair i,j, we have
P(Aij=Aij)⟶21.
So the kernel matrix A almost contains no useful information about whether the pair is within or across clusters (which is specified by the ideal selection matrix A).
We compare our Theorem 4.1 with the following guarantees for classical PCA based dimension-reduction.
Theorem 4.4 (Classical PCA based dimension-reduction). Let k≥2 and p≥1. Let
Θ∗=(θ1∗,…,θk∗)∈Rp×k
and let n≥2. Let
z∗=(z1∗,…,zn∗)∈[k]n
be a vector. Let (X,P,E) be a Gaussian mixture observation model for the true cluster configuration (Θ∗,z∗) and noise level σ. Define
Assume r0≥1. Let Uc∈Rp×r0 be an orthonormal basis for the column space of Pc, and let UPCA∈Rp×r0 be the matrix of the top r0 left singular vectors of Xc. There exist positive absolute constants c4.4.1 and c4.4.2 such that, with probability at least
Remark 4.5. In practical applications, it is reasonable to assume logn≤p so we can ignore that term. Under this assumption, the classical PCA based result, i.e., Theorem 4.4, bounds the perturbation by σp+n, whereas the transformed spectral perturbation (in Theorem 4.1) is controlled by the main term
σp+m
which replaces n by m, plus the truncation-error term
which also only depends on p and m, not n. These suggest that our truncation based method provides a better guarantee when n dominates. For example, if p(p+m)≪n, then we have both σp+m=o(σp+n) and e(m,n,p,Δ,σ)=o(σp+n). In this setting, Theorem 4.1 gives an improved guarantee even under weak separation regime as defined in (12).
In particular, when the cluster sizes are imbalanced so that m≪pn and also the sample size is larger than the dimension so that n≫p3/2, then the condition p(p+m)≪n holds. In that setting (captured by the parameter range n≫max{p3/2,mp}), for example, the transformed spectral perturbation obeys the bound
which is a direct improvement over the bound in Theorem 4.4 for classical untransformed PCA. It may be noted that the condition p(p+m)≪n discussed above is merely an example of a sufficient regime for improvement over classical PCA; wider ranges of the parameter values m,n,p would allow for such improvement as soon as the overall argument above can be executed.
4.2. Clustering Accuracy. In this section, we present our main results on the accuracy of clustering via truncated covariance matrices.
Theorem 4.6 (Spectral clustering by the truncated estimator). Let k≥2, n≥2, and p≥1. Let
Θ∗=(θ1∗,…,θk∗)∈Rp×k
and
z∗=(z1∗,…,zn∗)∈[k]n.
For a∈[k], let Ba={i∈[n]:zi∗=a} and na=∣Ba∣>0. Let nmax:=max1≤a≤kna, nmin:=min1≤a≤kna, and m:=n−nmax. Let (X,P,E) be a Gaussian mixture observation model for the true cluster configuration (Θ∗,z∗) and noise level σ. Let
ϕ(t)=1{t≥2σ2p+Δ2/2},t≥0
Let (A,D,L) be the data truncation matrices for the data X using threshold function ϕ. Let Δ>0 and assume
∥θa∗−θb∗∥2≥Δforalla=b.
Let
S=(nL)1/2,Y=XS.
There exist positive absolute constants c4.6.1,…,c4.6.10 such that the following holds. Set
When H=o(p), the sufficient condition permits choices for which Δ/σ is of order (pH)1/4=o(p), our truncation based clustering method is guaranteed to work in weak separation regime as defined in (12).
We compare our Theorem 4.6 with the following guarantees for classical PCA based spectral clustering.
Theorem 4.8 (Classical PCA based spectral clustering; see e.g., Proposition 3.1. in [22]). Let k≥2 and p≥1. Let
Θ∗=(θ1∗,…,θk∗)∈Rp×k
and let n≥2. Let
z∗=(z1∗,…,zn∗)∈[k]n
be a vector. For a∈[k], let Ba={i∈[n]:zi∗=a} and na=∣Ba∣>0. Let nmin:=min1≤a≤kna. Let (X,P,E) be a Gaussian mixture observation model for the true cluster configuration (Θ∗,z∗) and noise level σ. Let Δ>0 and assume
∥θa∗−θb∗∥2≥Δforalla=b.
Define the centered raw data
Xc=X(In−n−11[n]1[n]⊤).
Let r∗:=min{k−1,p}, let UPCA be the matrix of the top r∗ left singular vectors of Xc, and set
Remark 4.9. The classical PCA bounds in Theorem 4.8 contain the factor σ2(n+p)/Δ2. In Theorem 4.6, the bounds achieved by the truncation based method replaces n+p by p+m+logn with the cost of additional truncation error term.
Nevertheless, our main improvement is on the separation requirements. Since the logarithmic factors grow slowly, for clarity, we suppress these factors and use ≈ when we do so. The right-hand side of (21) then becomes
To see the gain when one cluster dominates, fix k and suppose that
m=o(n),nmin≍m,p+logn=O(m),
i.e., clusters outside the largest one then have comparable sizes. For the separation comparisons, take Δ=Δ∗. The separation requirements become approximately (ignoring the logarithmic terms)
The former is substantially smaller when p≪n/m, i.e., when the first cluster significantly dominates and number of observations is not too small compared to the dimension. Note that this comparison of separation requirements also extends to stronger results for the classical PCA based spectral clustering [21, 22], where they achieves minimax rates, i.e., the expected average clustering error satisfies
E[ℓ(z,z∗)≤exp(−(1−o(1))8σ2Δ2)+exp(−cn)]
Those clustering error guarantees (e.g., Theorem 3.3 in [22]) have similar separation requirement as in Theorem 4.8. For example, Theorem 3.3 in [22] requires Δ/σ≳k3n/nmin(1+p/n). When one cluster dominates, this separation requirement implies the same requirement σΔ≳mn.
For a more concrete example, take k=2 and nmin=m≍p≍n1/2. Our truncation based method only requires Δ/σ≈n1/8, compared with Δ/σ≈n1/4 needed for the classical PCA based spectral clustering.
5. SIMULATION EXPERIMENTS
We now show results from simulation experiments to corroborate the theoretical prediction that our truncation based method requires much weaker separation than the classical PCA based methods for successful clustering, under imbalanced regime. Throughout our simulation, we set n=4096, p=128, and σ=1. We generate independent observations from model (11), with fixed labels and
For each k, the orthonormal directions are generated once, independently of the noise, and held fixed. Therefore every pair of distinct cluster centers has distance exactly Δ. The uncentered signal matrix P has rank k, and its centered version Pc has rank k−1.
For k=2, the cluster sizes are (4096−m,m) with m=2048,512,128,32. The first allocation is balanced, and the subsequent minorities have sizes 4p, p, and p/4. For k=5, the balanced allocation has cluster sizes (820,819,819,819,819). And for the imbalanced allocations, we use m=512,128,64, where m denotes the total size outside the largest cluster. For each m, the largest cluster has size 4096−m, and the four smaller clusters have the ratios in Table 1.
TABLE 1. Minority cluster sizes for k=5. The remaining cluster has size 4096−m. Each column is a separate separation experiment at each value of m.
m
1:1:1:1
3:3:1:1
4:2:1:1
26:4:1:1
512
(128, 128, 128, 128)
(192, 192, 64, 64)
(256, 128, 64, 64)
(416, 64, 16, 16)
128
(32, 32, 32, 32)
(48, 48, 16, 16)
(64, 32, 16, 16)
(104, 16, 4, 4)
64
(16, 16, 16, 16)
(24, 24, 8, 8)
(32, 16, 8, 8)
(52, 8, 2, 2)
We compare three procedures. Truncated is Algorithm 1 with r=k−1 and the hard threshold
Aij=1{∥Xi−Xj∥22≥2σ2p+2Δ2}.
It uses Y=X(L/n)1/2 and clusters the columns of Uk−1⊤Y. For simplicity, the truncated threshold uses the true minimum separation as the specified separation lower bound. Centered PCA uses the leading k−1 left singular directions of the centered data X−X1⊤, as in Theorem 4.8. Zhang-Zhou PCA uses the leading k left singular directions of the uncentered data X, following Algorithm 1 and the rank choice in Section 3.5 of [22]. Each procedure run k-means on its corresponding projected data. The only algorithmic substitution is to use Lloyd's iterative algorithm for the global k-means step, implemented by scikit-learn with its greedy k-means++ initialization [1, 56, 57].
The clustering experiments for each allocation uses the same Δ/σ grid
Δ/σ=2,3,4,5,6,8,10,12,16,20,32,48,64
and eight independent Gaussian noise replicates for every choice of Δ/σ. Each figure places the average loss above the maximum loss for the same allocation and we use the more straightforward label “worst-cluster error” to denote the maximum loss. Curves show replicate means, with confidence intervals ℓˉ±t7,0.975s/8 (clipped to the meaningful range [0,1]). Here s is the sample standard deviation across replicates and t7,0.975 is the Student-t quantile with seven degrees of freedom. These are descriptive approximate 95% pointwise intervals.
Figure 1 shows the simulation results for two cluster case. The first two plots on the left shows that under balanced regime, our truncation based method has comparable performance with the classical PCA based methods. However, when the cluster sizes are imbalanced, our truncation based method starts to be effective from much weaker separation conditions than the classical PCA based methods. Also, the advantage of our truncation based method becomes more and more significant when the cluster sizes become more and more imbalanced.
Truncated Centered PCA Zhang-Zhou PCA
FIGURE 1. Two-cluster separation and clustering experiments, with sizes (4096 – m, m) and m = 2048, 512, 128, 32 from left to right. Here and in the subsequent figures, we use the following convention: n = 4096, p = 128, and σ=1; the horizontal axis is Δ/σ on a logarithmic scale; the top row shows average error and the bottom row shows worst-cluster error; markers show means over eight independent noise replicates, and shaded regions are the descriptive confidence intervals specified in the text.
We extend the experiments to k = 5 and the results are shown in Figures 2 to 4. We decrease m (recall that m is the sum of small clusters) and vary the allocation of the minority clusters. Theses extended experiments confirm that our truncation based method requires much weaker separation conditions to be effective than the classical PCA based methods under imbalanced multi-cluster settings. And this improved separation requirement holds when the minorities are also imbalanced.
Truncated Centered PCA Zhang-Zhou PCA
FIGURE 2. Five-cluster separation and clustering experiments with total minority size m=512 and largest-cluster size 3584. Columns use minority ratios 1:1:1:1, 3:3:1:1, 4:2:1:1, and 26:4:1:1; exact sizes are in Table 1.
6. PROOF OVERVIEW
The proof first bounds ∥XS−Pc∥op which is the difference between the transformed data matrix XS and the centered signal matrix Pc. This bound will imply both our main results on dimension reduction and clustering by standard results on matrix perturbation theory and k-mean algorithm. For this overview, we relabel the clusters so that B1 is a largest cluster, put n1=n−m, and write S:=B2∪⋯∪Bk, so ∣S∣=m. To motivate our discussion, we first consider the ideal truncation instead of the data dependent truncation, and analyze the corresponding error. And later we extend the analysis to data dependent truncation, which is what we need eventually.
6.1. Ideal truncation and noise reduction. To understand the expected behavior of our truncated estimator, we first consider the ideal truncation A, which equals one on cross-cluster pairs and zero on same-cluster pairs, with L=L(A) and S0=(L/n)1/2. Lemma A.1 decomposes L/n and therefore also S0=(L/n)1/2 as weighted sum of low rank projections. To explain the intuitive idea behind this decomposition, we observe that
A=A[n]−a=1∑kABa
FIGURE 3. Five-cluster separation and clustering experiments with total minority size m=128 and largest-cluster size 3968. Columns use the same four minority ratios as Figure 2, giving smallest-cluster sizes 32, 16, 16, 4.
FIGURE 4. Five-cluster separation and clustering experiments with total minority size m=64 and largest-cluster size 4032. Columns use the same four minority ratios as Figure 2, giving smallest-cluster sizes 16, 8, 8, 2.
where A[n] is the adjacency matrix of the complete graph with vertices in [n] and ABa∈Rn×n is the adjacency matrix of the complete graph with vertices in Ba. Then we have
L=L(A)=L(A[n])−a=1∑kL(ABa).
Recall that for a subspace T⊂Rn, ΠT denote the orthogonal projection matrix on it. Also recall that for a subset S⊆[n], the vector is defined by 1S∈Rn by (1S)i=1 if i∈S and (1S)i=0 otherwise. Now observe that for all a, we have
ABa=1Ba1Ba⊤−Π{x∈Rn:supp(x)⊆Ba}.
Here Π{x∈Rn:supp(x)⊆Ba} is just the projection that sets all coordinates outside Ba to 0. In other words, we can write Π{x∈Rn:supp(x)⊆Ba}=IBa which is the identity restricted to Ba, i.e., a diagonal matrix whose ith diagonal entry is 1 if i∈Ba and 0 otherwise. And then we have
A[n]=1[n]1[n]⊤−In.
Therefore, by direct calculation, for all a, we have
is also a projection, so equation (25) decomposes nL into weighted sum of orthogonal projections onto mutually orthogonal subspaces, which is essentially eigenvalue decomposition. To obtain a decomposition for S0=(L/n)1/2, we preserve the eigenspaces and take square root of the eigenvalues and obtain
which is the centered (i.e., global mean shifted to zero) version of the signal, so the ideal transform preserves the exact (centered) signal. In addition, using the decomposition (26) with Gaussian rotational invariance, we can decompose ES0 as weighted sum of low dimensional Gaussian random matrices, and standard estimates for norm of Gaussian random matrices implies that, when p+m≤n, we have
∥ES0∥op≤cA.2.2σp+m
with high probability (see Lemma A.2 for details). Comparing this with the magnitude of ∥E∥op which is of order p+n (with high probability), we see that the ideal transform reduces the noise. In summary, the ideal transform preserves the centered signal and reduces the noise, which is exactly what we want.
6.2. Error decomposition. To extend the analysis from ideal truncation to data truncation, our starting point is the decomposition
(27)
XS−Pc=P(S−S0)+ES.
where first term measures the perturbation of the signal and the second term measures the transformed noise.
6.3. Bounding the signal perturbation. We have seen that the ideal transform preserves the centered signal, but the data based transform S may deviate from S0. So we need to estimate the extend to which the data based transform S perturbs the signal.
To this end, the first step is linearization of the square root. The main difficulty in bounding ∥P(S−S0)∥op is the nonlinear dependence of S and S0 on their Laplacians through the matrix square root. To resolve this, we use Lemma B.1 which gives an important observation
∥P(S−S0)∥op≤n1∥P(L−L)∥op.
The second step is to observe the cancellation of same-cluster terms. For every symmetric zero-diagonal matrix H, we have the identity
PL(H)=1≤i<j≤n∑Hij(θzi∗∗−θzj∗∗)(ei−ej)⊤.
Here ei is the ith standard basis vector of Rn. Terms indexed by zi∗=zj∗ vanish identically. Therefore, the same cluster part of A−A (i.e., we set Hij=1{zi∗=zj∗}(Aij−Aij)), which is the major source of error in the imbalanced case, makes no contribution to P(L−L). For i,j∈[n], define the cross cluster error of Aij relative to Aij to be
so this one matrix contains the entire signal perturbation error.
The third step is to bound this matrix directly. For that purpose, we use Lemma F.1 to partition the cross cluster pairs into at most n blocks Ia, where distinct pairs in each block have disjoint indices and ∣Ia∣≤m. Define
Ta:={i,j}∈Ia∑Mij(θzi∗∗−θzj∗∗)(ei−ej)⊤.
The vectors ei−ej for distinct pairs in a block are orthogonal. Since entries of M are 0 or 1, we have
Thus each covariance matrix TaTa⊤ is a sum of independent positive-semidefinite rank-one matrices. We then apply the matrix Bernstein inequality, i.e., Lemma H.2, to control the norm for each TaTa⊤.
6.4. Bounding the transformed noise. The main difficulty is that S is constructed from the same Gaussian vectors that form E, so ES cannot be analyzed by conditioning on S. We resolve these difficulties in the following way. Write
By Lemma F.1, we partition all pairs into the blocks (Ca)a=1qn with qn≤n, such that distinct pairs in each block have disjoint indices. The summands within each block are therefore independent.
We then first bound ∣v⊤(EnLE⊤)v∣ for each fixed v∈Sp−1. Define
Yij(v):=Aij⟨Zij,v⟩2,1≤i,j≤n,
and note that
v⊤(EnLE⊤)v=n2σ2a=1∑qn{i,j}∈Ca∑Yij(v).
Applying Lemma H.1 for each block, we can obtain a strong high probability bound for
{i,j}∈Ca∑Yij(v).
Then, a union bound over the blocks (at most n many) and all points on the net of Sp−1 described in Lemma I.3 (containing at most 9p points) gives simultaneous control of these sums. Finally, by summing the blocks and applying Lemma I.3 we obtain the suitable high probability bound on EnLE⊤op.
6.5. Dimension reduction and clustering error bounds. By combining the bounds for the signal perturbation and the transformed noise, we can give a bound for the full perturbation
for the transformed data (see Proposition B.5), which is the key technical result of the paper. For dimension reduction, we use Lemma C.1 from standard spectral perturbation theory (e.g., see [58]) to compare the leading left singular space of XS with range( Pc). For clustering, we use Lemma G.1 to bound the errors of k-means.
7. ACKNOWLEDGEMENTS AND AI STATEMENT
7.1. AI Statement. In this work, we have used standard generative AI tools to support our work. The authors supplied the research directions and detailed proof ideas, and standard generative AI tools were used for exploratory simulations, literature search, calculations, the development and simplification of parts of the proofs and typesetting. The authors, in particular, proposed the truncated estimator based on kernelised covariance matrices and related dimension reduction and clustering methods, as well as the analytical perspective based on kernel Laplacians. The authors have verified all steps, and take responsibility for the final content of this work.
7.2. Acknowledgements. Subhro Ghosh was supported in part by the NUS Dean's Chair Associate Professorship E-146-00-0037-01 and the Singapore MOE grants A-8002014-00-00 and A-8003802-00-00. Soumendu Sundar Mukherjee was supported by the Prime Minister Early Career Research Grant ANRF/ECRG/2024/006704/PMS from the Anusandhan National Research Foundation, Govt. of India.
REFERENCES
Lloyd, S. P. Least squares quantization in PCM. IEEE Transactions on Information Theory 28, 129–137 (1982).
Gray, R. M. & Neuhoff, D. L. Quantization. IEEE Transactions on Information Theory 44, 2325–2383 (1998).
Van Heel, M. Multivariate statistical classification of noisy images (randomly oriented biological macromolecules). Ultramicroscopy 13, 165–183 (1984).
Zhao, Z. & Singer, A. Rotationally invariant image representation for viewing direction classification in cryo-EM. Journal of Structural Biology 186, 153–166 (2014).
Pritchard, J. K., Stephens, M. & Donnelly, P. Inference of population structure using multi-locus genotype data. Genetics 155, 945–959 (2000).
Gao, C., Lu, Y. & Zhou, H. H. Rate-optimal graphon estimation. The Annals of Statistics 43, 2624–2652 (2015).
Golub, T. R. et al. Molecular classification of cancer: Class discovery and class prediction by gene expression monitoring. Science 286, 531–537 (1999).
Perou, C. M. et al. Molecular portraits of human breast tumours. Nature 406, 747–752 (2000).
Pearson, K. Contributions to the mathematical theory of evolution. Philosophical Transactions of the Royal Society of London, Series A 185, 71–110 (1894).
Banfield, J. D. & Raftery, A. E. Model-based Gaussian and non-Gaussian clustering. Biometrics 49, 803–821 (1993).
Fraley, C. & Raftery, A. E. Model-based clustering, discriminant analysis, and density estimation. Journal of the American Statistical Association 97, 611–631 (2002).
Bishop, C. M. Pattern Recognition and Machine Learning ISBN: 978-0-387-31073-2 (Springer, New York, 2006).
Kulis, B. & Jordan, M. I. Revisiting k-means: new algorithms via Bayesian nonparametrics in Proceedings of the 29th International Conference on Machine Learning (eds Langford, J. & Pineau, J.) (Omnipress, 2012), 1131–1138.
Dasgupta, S. Learning mixtures of Gaussians in Proceedings of the 40th Annual Symposium on Foundations of Computer Science (IEEE Computer Society, 1999), 634–644.
Vempala, S. & Wang, G. A spectral algorithm for learning mixture models. Journal of Computer and System Sciences 68, 841–860 (2004).
Moitra, A. & Valiant, G. Settling the polynomial learnability of mixtures of Gaussians in Proceedings of the 51st Annual IEEE Symposium on Foundations of Computer Science (IEEE Computer Society, 2010), 93–102.
MacQueen, J. Some methods for classification and analysis of multivariate observations in Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability: Statistics (eds Le Cam, L. M. & Neyman, J.) 1 (University of California Press, Berkeley, CA, 1967), 281–297.
Hartigan, J. A. & Wong, M. A. Algorithm AS 136: A k-means clustering algorithm. Journal of the Royal Statistical Society: Series C (Applied Statistics) 28, 100–108 (1979).
Dempster, A. P., Laird, N. M. & Rubin, D. B. Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society: Series B (Methodological) 39, 1–22 (1977).
McLachlan, G. J. & Peel, D. Finite Mixture Models (Wiley, New York, 2000).
Löffler, M., Zhang, A. Y. & Zhou, H. H. Optimality of spectral clustering in the Gaussian mixture model. The Annals of Statistics 49, 2506–2530 (2021).
Zhang, A. Y. & Zhou, H. Y. Leave-one-out singular subspace perturbation analysis for spectral clustering. The Annals of Statistics 52, 2004–2033 (2024).
Donath, W. E. & Hoffman, A. J. Lower bounds for the partitioning of graphs. IBM Journal of Research and Development 17, 420–425 (1973).
Fiedler, M. Algebraic connectivity of graphs. Czechoslovak Mathematical Journal 23, 298–305 (1973).
Shi, J. & Malik, J. Normalized cuts and image segmentation. IEEE Transactions on Pattern Analysis and Machine Intelligence 22, 888–905 (2000).
Ng, A. Y., Jordan, M. I. & Weiss, Y. On spectral clustering: analysis and an algorithm in Advances in Neural Information Processing Systems (eds Dietterich, T. G., Becker, S. & Ghahramani, Z.) 14 (MIT Press, Cambridge, MA, 2002), 849–856.
Von Luxburg, U. A tutorial on spectral clustering. Statistics and Computing 17, 395–416 (2007).
Abbe, E., Fan, J. & Wang, K. An ℓp theory of PCA and spectral clustering. The Annals of Statistics 50, 2359–2385 (2022).
Lu, Y. & Zhou, H. H. Statistical and computational guarantees of Lloyd's algorithm and its variants Preprint, arXiv:1612.02099v1 [math.ST]. 2016.
Giraud, C. & Verzelen, N. Partial recovery bounds for clustering with the relaxed K-means. Mathematical Statistics and Learning 1, 317–374 (2018).
Ndaoud, M. Sharp optimal recovery in the two component Gaussian mixture model. The Annals of Statistics 50, 2096–2126 (2022).
Chen, X. & Zhang, A. Y. Achieving optimal clustering in Gaussian mixture models with anisotropic covariance structures in Advances in Neural Information Processing Systems 37 (Curran Associates, Inc., 2024), 113698–113741.
He, H. & Garcia, E. A. Learning from imbalanced data. IEEE Transactions on Knowledge and Data Engineering 21, 1263–1284 (2009).
Chandola, V., Banerjee, A. & Kumar, V. Anomaly detection: a survey. ACM Computing Surveys 41. Article 15, 1–58 (2009).
Zong, B. et al. Deep autoencoding Gaussian mixture model for unsupervised anomaly detection in International Conference on Learning Representations (2018).
Grün, D. et al. Single-cell messenger RNA sequencing reveals rare intestinal cell types. Nature 525, 251–255 (2015).
Bolton, R. J. & Hand, D. J. Statistical fraud detection: a review. Statistical Science 17, 235–255 (2002).
Leskovec, J., Lang, K. J., Dasgupta, A. & Mahoney, M. W. Community structure in large networks: natural cluster sizes and the absence of large well-defined clusters. Internet Mathematics 6, 29–123 (2009).
Fisher, R. A., Corbet, A. S. & Williams, C. B. The relation between the number of species and the number of individuals in a random sample of an animal population. Journal of Animal Ecology 12, 42–58 (1943).
Newman, M. E. J. Power laws, Pareto distributions and Zipf's law. Contemporary Physics 46, 323–351 (2005).
Ghosh, S. & Rigollet, P. Gaussian determinantal processes: A new model for directionality in data. Proceedings of the National Academy of Sciences 117, 13207–13213 (2020).
Widom, B. & Rowlinson, J. S. New model for the study of liquid–vapor phase transitions. The Journal of Chemical Physics 52, 1670–1684 (1970).
Ruelle, D. Existence of a phase transition in a continuous classical system. Physical Review Letters 27, 1040–1041 (1971).
Ruelle, D. Statistical Mechanics: Rigorous Results (W. A. Benjamin, New York, 1969).
Chayes, J. T., Chayes, L. & Kotecký, R. The analysis of the Widom–Rowlinson model by stochastic geometric methods. Communications in Mathematical Physics 172, 551–569 (1995).
Georgii, H.-O. & Häggström, O. Phase transition in continuum Potts models. Communications in Mathematical Physics 181, 507–528 (1996).
Macchi, O. The coincidence approach to stochastic point processes. Advances in Applied Probability 7, 83–122 (1975).
Hough, J. B., Krishnapur, M., Peres, Y. & Virág, B. Zeros of Gaussian Analytic Functions and Determinantal Point Processes University Lecture Series 51 (American Mathematical Society, Providence, RI, 2009).
Ghosh, S., Mukherjee, S. S. & Talukdar, H. Bulk spectra of truncated sample covariance matrices Preprint, arXiv:2409.02911v1 [math.ST]. 2024.
Belkin, M. & Sinha, K. Toward Learning Gaussian Mixtures with Arbitrary Separation in Proceedings of the 23rd Annual Conference on Learning Theory (2010), 407–419.
Bubeck, S., Meilä, M. & von Luxburg, U. How the Initialization Affects the Stability of the k-Means Algorithm. ESAIM: Probability and Statistics 16, 436–452 (2012).
Srivastava, P. R., Sarkar, P. & Hanasusanto, G. A. A Robust Spectral Clustering Algorithm for Sub-Gaussian Mixture Models with Outliers. Operations Research 71, 224–244 (2023).
Tsybakov, A. B. Introduction to Nonparametric Estimation (Springer, New York, 2009).
Laurent, B., Marteau, C. & Maugis-Rabusseau, C. Non-asymptotic detection of two-component mixtures with unknown means. Bernoulli 22, 242–274 (2016).
Amini, A. A. & Razaee, Z. S. Concentration of kernel matrices with application to kernel spectral clustering. The Annals of Statistics 49, 531–556 (2021).
Arthur, D. & Vassilvitskii, S. k-means++: The advantages of careful seeding in Proceedings of SODA 2007 (2007), 1027–1035.
Pedregosa, F. et al. Scikit-learn: Machine Learning in Python. Journal of Machine Learning Research 12, 2825–2830 (2011).
O'Rourke, S., Vu, V. & Wang, K. Random perturbation of low rank matrices: Improving classical bounds. Linear Algebra and its Applications 540, 26–59 (2018).
Shmueli, S., Drineas, P. & Avron, H. Low-rank updates of matrix square roots. Numerical Linear Algebra with Applications 31. Article e2528 (2024).
Horn, R. A. & Johnson, C. R. Matrix Analysis 2nd (Cambridge University Press, Cambridge, 2013).
Vershynin, R. High-Dimensional Probability: An Introduction with Applications in Data Science 1st. Cambridge Series in Statistical and Probabilistic Mathematics 47 (Cambridge University Press, Cambridge, 2018).
Diestel, R. Graph Theory 5th. Graduate Texts in Mathematics 173 (Springer, Berlin and Heidelberg, 2017).
Dummit, D. S. & Foote, R. M. Abstract Algebra 3rd. ISBN: 978-0-471-43334-7 (John Wiley & Sons, Hoboken, NJ, 2004).
Boucheron, S., Lugosi, G. & Massart, P. Concentration Inequalities: A Nonasymptotic Theory of Independence (Oxford University Press, Oxford, 2013).
Tropp, J. A. User-Friendly Tail Bounds for Sums of Random Matrices. Foundations of Computational Mathematics 12, 389–434 (2012).
Gordon, Y. Some inequalities for Gaussian processes and applications. Israel Journal of Mathematics 50, 265–289 (1985).
Davidson, K. R. & Szarek, S. J. in Handbook of the Geometry of Banach Spaces (eds Johnson, W. B. & Lindenstrauss, J.) 317–366 (North-Holland, Amsterdam, 2001).
Rudelson, M. & Vershynin, R. Non-asymptotic theory of random matrices: Extreme singular values in Proceedings of the International Congress of Mathematicians 2010 3 (Hindustan Book Agency, New Delhi, 2010), 1576–1602.
Bai, Z. D. & Yin, Y. Q. Limit of the smallest eigenvalue of a large dimensional sample covariance matrix. The Annals of Probability 21, 1275–1294 (1993).
Yin, Y. Q., Bai, Z. D. & Krishnaiah, P. R. On the limit of the largest eigenvalue of the large dimensional sample covariance matrix. Probability Theory and Related Fields 78, 509–521 (1988).
Geman, S. A limit theorem for the norm of random matrices. The Annals of Probability 8, 252–261 (1980).
APPENDIX A. EXPECTATION OF DATA TRUNCATION MATRICES AND IDEAL TRUNCATION
The result below gives a closed-form representation of the square root of the ideal Laplacian as a weighted sum of orthogonal projections. This representation both reduces the effective noise dimension and preserves the centered signal exactly. It is the key structural fact behind the truncation method.
Lemma A.1 (Ideal Laplacian decomposition). Let k,n,p,Θ∗,z∗,Ba,na,(X,P,E), σ be as in Theorem 4.1. Let (A,D,L) be the ideal truncation matrices for the true cluster configuration (Θ∗,z∗). Set
qa:=na−1/21Ba,Q:=[q1⋯qk],s:=(n1,…,nk)⊤,
and
Πa:=diag(1Ba)−na11Ba1Ba⊤.
(i) Then we have the following decomposition
(28)
nL=Q(Ik−n1ss⊤)Q⊤+a=1∑k(1−nna)Πa
and
(29)
PnL=PHn=Pc
where
Hn:=In−n11[n]1[n]⊤,
(ii) Let S0=(nL)1/2, we have
(30)
S0=Q(Ik−n1ss⊤)Q⊤+a=1∑k1−nnaΠa,S01[n]=0,
and
(31)
PS0=Pc.
i.e., if
θ:=n1P1[n]=b=1∑knnbθb∗,
then the ith column of PS0 is θzi∗∗−θ.
Using above decomposition of (nL)1/2 and Gaussian rotational invariance, we can show that the ideal-truncation reduces the noise scale from σp+n to σp+m.
Lemma A.2 (Ideal truncation reduced noise). Let k,n,p,Ba,na,nmax,m,Θ∗,z∗,(X,P,E), σ be as in Theorem 4.1. Let (A,D,L) be the ideal truncation matrices for the true cluster configuration (Θ∗,z∗), and define
S0:=(nL)1/2.
There exist positive absolute constants cA.2.1,…,cA.2.4 such that the following holds. If p+m≤n, then, with probability at least 1−exp(−cA.2.1(p+m)),
∥ES0∥op≤cA.2.2σp+m.
By contrast, we have
E[∥E∥op]≥cA.2.4σp+n.
Remark A.3. Lemma A.2 implies that, if p+m≤n, then, with probability at least 1−exp(−cA.3.1(p+m)), we have
for some absolute constants cA.3.1>0 and cA.3.2>0. In other words, the ideal transform replaces the σp+n scale of the untransformed gaussian error E by the improved effective scale σp+m.
APPENDIX B. ERROR INDUCED BY FLUCTUATION OF THE DATA TRUNCATION MATRICES
For the practical truncation based on data, L is random and dependent with the random error E. In this case, we use the following exact error decomposition:
XS−Pc=P(S−S0)+ES.
We then bound the two terms, the signal perturbation ( ∥P(S−S0)∥op) and the noise part ( ∥ES∥op).
B.1. Signal perturbation. This part controls the effect of truncation on the population signal. The argument has two components. First, we transform the matrix square roots difference into the linear matrix difference P(L−L). Second, all same-cluster entries cancel from this linear difference after multiplication by P. The remaining part is transformed into a sum of random matrices (with dependence), and we divide the terms into blocks of disjoint index pairs. And we control these by matrix Bernstein.
The main difficulty in bounding ∥P(S−S0)∥op is the nonlinear dependence of S and S0 on their Laplacians through the matrix square root. The next lemma which follows from [59] converts the nonlinear error S−S0 into a linear Laplacian error.
Lemma B.1 (Square-root linearization). Let k,n,p,Θ∗,z∗,P be as in Theorem 4.1. Let (A,D,L) be the ideal truncation matrices for the true cluster configuration (Θ∗,z∗). Let A∈Rn×n be any symmetric matrix with nonnegative entries, and let L:=L(A), where L is the Laplacian operator of Definition 3.1. Set
S=(L/n)1/2,S0=(L/n)1/2.
Then
(32)
P(S−S0)=n1P(L−L)(S+In)−1.
Consequently,
(33)
∥P(S−S0)∥op≤n1∥P(L−L)∥op.
We now bound n1∥P(L−L)∥op directly by writing it as a sum of random matrices. To deal with the dependence of the terms, we divide them into blocks of disjoint index pairs.
Lemma B.2 (Bound for linearized signal perturbation). Let
k,n,p,Ba,na,nmax,m,Θ∗,z∗,(X,P,E),σ,Δ,ϕ,(A,D,L)
be as in Theorem 4.1. Let (A,D,L) be the ideal truncation matrices for the true cluster configuration (Θ∗,z∗). There exist positive absolute constants cB.2.1,…,cB.2.4 such that the following holds. Assume
The preceding lemma controls the linear matrix difference. The next theorem transfers this estimate to the original square-root signal term through Lemma B.1.
More generally, for every t>0, the bound (37) holds with probability at least 1−e−t when the factor p+m+logn on its right-hand side is replaced by t+log(np).
Proof. By Lemma B.1,
∥P(S−S0)∥op≤n1∥P(L−L)∥op.
Lemma B.2 supplies both bounds. Relabeling its positive absolute constants gives the four constants in the present statement.
The cancellation used above is specific to the population signal: P(ei−ej)=0 whenever zi∗=zj∗. It does not hold for the noise matrix because E(ei−ej)=εi−εj is generally nonzero. The noise term therefore requires a separate argument that controls both cross-cluster entries and same-cluster false-positive entries while preserving their dependence on the observations.
B.2. Contribution from the noise. The aim of this subsection is to control ES without ever treating the data-defined transform S as independent of the Gaussian noise matrix E. We use the pairwise Laplacian identity and partition all pairs into blocks with disjoint indices. For each fixed direction, the summands within a block are independent, so we can apply the scalar Bernstein inequality in Lemma H.1. A union bound over the blocks and a sphere net then gives the following bound. Independence between blocks is not required.
Proposition B.4 (Transformed noise bound). Let
k,n,p,Ba,na,nmax,m,Θ∗,z∗,(X,P,E),σ,S
be as in Theorem 4.1. There exist positive absolute constants cB.4.1,…,cB.4.3 such that the following holds. Assume that
(38)
p+Δ2/σ2Δ4/σ4≥cB.4.1(1+log+(n/(p+m))).
Then
P(∥ES∥op≤cB.4.2σp+m+logn)≥1−e−cB.4.3(p+m).
B.3. Final perturbation bound. Recall the decomposition
XS−Pc=XS−PS0=P(S−S0)+ES.
Therefore, combining previous analysis, we can obtain a bound for ∥XS−Pc∥op.
Proposition B.5 (Perturbation bound of transformed data). Let
k,n,p,Ba,na,nmax,m,Θ∗,z∗,(X,P,E),σ,S
be as in Theorem 4.1. Let
Ξ0:=∥XS−PS0∥op.
There exist positive absolute constants cB.5.1,…,cB.5.6 such that the following holds. Let
Since h≥1, applying (48) with T=c1h, for a sufficiently large positive absolute constant c1, shows that the separation hypothesis implies both the lower bound on κΔ in Proposition B.3 and κΔ≥128h. Apply (35) with t=2(p+m) and use Lemma B.1. Since logp≤p,
Also, κΔ≥128h gives ne−κΔ/128≤(p+m)/2. Applying (68) with t=2(p+m) and using ∥ES∥op2=∥ELE⊤/n∥op, we obtain, with probability at least 1−e−2(p+m),
∥ES∥op≤c4σp+m+logn.
Since p+m≥1, the union of the two failure events has probability at most
2e−2(p+m)≤e−(p+m).
The triangle inequality now gives the first assertion, with positive absolute constants c5,c6, after using
u2p+u=Δ2σ2+Δ4pσ4.
□
APPENDIX C. PROOF OF MAIN RESULTS ON DIMENSION REDUCTION
In this section, we prove our main result on dimension reduction, i.e., Theorem 4.1. We use the following standard result from spectral perturbation theory.
Lemma C.1 (Singular-subspace perturbation). Let p,n≥1, let r be an integer satisfying 1≤r≤min{p,n}, and let M∈Rp×n have rank r. Let U∈Rp×r be an orthonormal basis for its column space. Let Y∈Rp×n, and let U∈Rp×r be the matrix of the top r left singular vectors of Y. In this lemma, extend the singular-value sequence of every p×n matrix by setting σj=0 for j>min{p,n}. Then σr(M)>0, and
∥UU⊤−UU⊤∥op≤σr(M)2∥Y−M∥op.
Proof. This follows directly from [58, Theorem 19].
With the standard tool above, we can now prove Theorem 4.1.
Proof of Theorem 4.1. By Lemma A.1, we have PS0=Pc. So we have
∥Y−Pc∥op=∥XS−PS0∥op.
The separation hypothesis implies the corresponding requirements of Proposition B.5, after choosing the appropriate constants. Therefore, with probability at least 1−e−c1(p+m), we have
for positive absolute constants c2,c3. Applying Lemma C.1 with M=Pc and r=r0, we obtain
∥Ur0Ur0⊤−U0U0⊤∥op≤σr0(Pc)2∥Y−Pc∥op
which proves the desired result after plugging in the bound for ∥Y−Pc∥op.
APPENDIX D. PROOF OF MAIN RESULTS ON CLUSTERING ACCURACY
The ideal target M=PS0=Pc is cluster-wise constant, preserves the original pairwise center separations, and has rank at most r∗=min{k−1,p}. Thus the deterministic spectral k-means theorem applies once the perturbation Ξ0 is small relative to the minimum separation and the smallest cluster size. The following proof shows that the explicit separation condition in Theorem 4.6 implies exactly that deterministic margin, then substitutes the perturbation bound from Proposition B.5.
Proof of Theorem 4.6. For convenience, we introduce the notation
We have the following elementary result that converts lower bounds on Δ2/σ2 into lower bounds on κΔ.
Lemma E.1. Let Δ>0,σ>0,p>0 and
κΔ:=p+Δ2/σ2Δ4/σ4
For every T > 0 with
σ2Δ2≥T+pT
we have
(48)
κΔ≥T
Proof. For convenience, we use the notation u:=Δ2/σ2. The conclusion is equivalent to
u2≥T(p+u).
At u=T+pT, we calculate
u2−Tu−pT=TpT≥0.
Since u↦u2−Tu−pT is increasing for u≥T+pT, we know that u≥T+pT implies u2≥T(p+u).
Lemma E.2 (Principal PSD square root). Let n≥1 be an integer and let A∈Rn×n be symmetric and positive semidefinite. Then there exists a unique symmetric positive semidefinite matrix A1/2 such that (A1/2)2=A.
Proof. Existence follows from the spectral theorem for real symmetric matrices (see, e.g., [60, Corollary 2.5.11(a)]). There exists an orthogonal matrix U∈Rn×n and a diagonal matrix Λ=diag(λ1,…,λn) such that
A=UΛU⊤,λi≥0foralli
(the nonnegativity follows from A⪰0). Define Λ1/2:=diag(λ1,…,λn) and set
B:=UΛ1/2U⊤.
Then B is symmetric, and for any x∈Rn,
x⊤Bx=(U⊤x)⊤Λ1/2(U⊤x)≥0,
so B⪰0. Finally,
B2=UΛ1/2U⊤UΛ1/2U⊤=U(Λ1/2)2U⊤=UΛU⊤=A.
Thus B is a symmetric PSD square root of A.
For uniqueness, suppose C⪰0 is symmetric and C2=A. Let v be an eigenvector of A with eigenvalue λ≥0, so Av=λv. Then
A(Cv)=C2(Cv)=C(Av)=C(λv)=λ(Cv).
Thus Cv lies in the λ-eigenspace of A, which shows that every eigenspace of A is invariant under C. Restrict C to a λ-eigenspace. On that subspace, A=λI, so C2=λI. Therefore every eigenvalue of the restriction of C solves t2=λ, hence equals ±λ. Since C⪰0, all eigenvalues of C are nonnegative, so they must in fact equal λ. Therefore C acts as λI on the λ-eigenspace.
Since this holds for every eigenspace and these eigenspaces span Rn, the matrix C is uniquely determined and coincides with the B constructed above. Hence the symmetric PSD square root is unique.
Lemma E.3 (Best rank-r approximation in operator norm). Let p,n≥1, let Y∈Rp×n, and let r be an integer satisfying
1≤r≤min{p,n}.
Let
Yr:=j=1∑rσj(Y)ujvj⊤
be the rank-r truncated singular value decomposition of Y. If M∈Rp×n satisfies rank(M)≤r, then
∥Y−Yr∥op≤∥Y−M∥op.
Proof. If rank(Y)≤r, then Yr=Y and the conclusion is immediate. Otherwise r<rank(Y), and the operator-norm Eckart–Young–Mirsky theorem [61, Section 4.1.4] gives
∥Y−Yr∥op=rank(B)≤rmin∥Y−B∥op.
Since rank(M)≤r, taking B=M proves the claim.
Lemma E.4 (Rank-one expansion of Laplacian). Let p,n≥1 be integers, let H∈Rn×n be symmetric with zero diagonal, and let L be the Laplacian operator of Definition 3.1. Then
L(H)=1≤i<j≤n∑Hij(ei−ej)(ei−ej)⊤.
Consequently, for every V=[v1,…,vn]∈Rp×n,
VL(H)V⊤=1≤i<j≤n∑Hij(vi−vj)(vi−vj)⊤.
Proof. The diagonal and off-diagonal entries of the first matrix on the right are, respectively, ∑j=iHij and −Hij. These are precisely the entries of diag(H1[n])−H=L(H). Multiplication on the left by V and on the right by V⊤ proves the second identity.
APPENDIX F. PARTITION INTO CLASSES OF DISJOINT PAIRS
For a finite set V, write
P2(V):={{x,y}:x,y∈V,x=y}.
We need the following lemma, which is a reformulation of standard edge-partition results (see [62, Proposition 5.3.1 and Theorem 5.3.2]). For completeness, we include the proof here.
Lemma F.1 (Partition into classes of disjoint pairs). Let V be a finite set with ∣V∣=N≥1, set
There exist subsets C1,…,CqN of P2(V) such that
P2(V)=a=1⨆qNCa,∣Ca∣=⌊2N⌋,
and
C∩C′=∅foralldistinctC,C′∈Ca.
Suppose, in addition, that there is an integer k≥1 for which
V=B1⊔⋯⊔Bk,S:=V∖B1,m:=∣S∣,
and define
I:={{i,j}∈P2(V):i∈Br,j∈Bsforsomer=s}.
Then
Ia:=Ca∩I,1≤a≤qN,
partition I, still satisfying the disjoint-index property, and satisfy
∣Ia∣≤mforeverya.
Proof. Suppose first that N=2d is even. Identify V with
{∞}∪Z/(2d−1)Z.
For t∈Z/(2d−1)Z, define
Ct:={{∞,t}}∪{{t+x,t−x}:x=1,…,d−1},
where all arithmetic is modulo 2d - 1. Since
{±1,…,±(d−1)}=(Z/(2d−1)Z)∖{0},
we conclude that each element of V appears in exactly one pair in Ct. Therefore the members of Ct are pairwise disjoint and
∣Ct∣=d=2N.
We verify that these classes partition P2(V). A pair {∞,u} belongs only to Cu. If u=v belong to Z/(2d−1)Z, then
gcd(2,2d−1)=1,
so the residue class of 2 is a unit in Z/(2d−1)Z (see, e.g., [63]). In fact, its inverse is the residue class of d, since
2d≡1(mod2d−1).
As a result, multiplication by 2 is bijective, and therefore
t:=2u+v,x:=2u−v
are uniquely determined. Also,
x:=2u−v
is nonzero, and exactly one of x and −x has a representative in {1,…,d−1}. So,
{u,v}={t+x,t−x}
belongs to exactly one class. This proves the desired result when N is even.
If N is odd, add an extra element vextra∈/V to V and apply the even construction to V∪{vextra}, which has N+1 elements. It produces N classes, each of which partitions V∪{vextra} into pairs and therefore contains exactly one pair containing vextra. Removing that pair from every class leaves a partition of P2(V) into N classes, each containing
2N+1−1=2N−1=⌊2N⌋
pairwise disjoint pairs. This argument also covers N = 1.
For the additional claim, observe that every C∈I satisfies C∩S=∅, because otherwise C⊆B1, contrary to the definition of I. For fixed a, the nonempty sets
{C∩S:C∈Ia}
are pairwise disjoint. Therefore, we conclude
∣Ia∣≤C∈Ia∑∣C∩S∣=C∈Ia⋃(C∩S)≤∣S∣=m.
APPENDIX G. SPECTRAL K-MEANS
We use the following standard result on k-means algorithm to bound the clustering error by a perturbation bound.
Lemma G.1 (Spectral k-means theorem). Let p,n≥1 and k≥2 be integers, and let M∈Rp×n satisfy rank(M)≤r for some integer r with
1≤r≤min{p,n}.
Assume that there exist labels z∗∈[k]n and centers μ1,…,μk∈Rp such that
Assume that every true cluster is nonempty, i.e., nmin≥1 and that the population centers are pairwise distinct, i.e., δ>0. Let Y∈Rp×n be arbitrary. Let Ur be a matrix whose columns are r left singular vectors of Y associated with its r largest singular values, and let
P:=Ur⊤Y∈Rr×n.
Let z∈[k]n be any label vector for which there exist θ1,…,θk∈Rr satisfying
This map is a bijection from Rr onto range( Ur). Therefore global k-means on the columns of P is equivalent to global k-means on the columns of Yr with centers constrained to lie in range( Ur), i.e.,
and combining this with the fact that orthogonal projection is contractive in Frobenius norm, we have
∥C−Yr∥F≤∥M−Yr∥F≤∥M−Yr∥F,
Also by triangle inequality, we have
∥C−M∥F≤2∥Yr−M∥F≤42rξ,
and therefore we have
(53)
∥C−M∥F2≤32rξ2.
Define the set of bad data points
B:={i∈[n]:∥C⋅,i−M⋅,i∥2>3δ}.
If ξ=0, then we have C=M, so B=∅. If ξ>0, by definition of B, inequality (53), and the separation condition (49), we have
∣B∣<δ29∥C−M∥F2≤δ2288rξ2≤98nmin<nmin.
In conclusion, in all cases, we have
(54)
∣B∣≤δ2288rξ2,and∣B∣<nmin.
Consequently, every true cluster contains at least one point outside B. If i∈Ba∖B and j∈Bb∖B with a=b, then zi=zj, because otherwise we have C⋅,i=C⋅,j and therefore by triangle inequality we have
δ≤∥μa−C⋅,i∥2+∥C⋅,j−μb∥2≤32δ
which is a contradiction. This just means outside B, points from different true clusters must be assigned to different estimated labels. For each a∈[k], we choose one representative ia∈Ba∖B, and define ϕ(a):=zia. The preceding argument shows that the k labels ϕ(1),…,ϕ(k) are distinct and therefore exhaust [k]. Thus, ϕ is a permutation of the set [k].
Now consider arbitrary a∈[k]. We now show that all the data points in Ba∖B are assigned to the same estimated label ϕ(a) (note that ϕ(a) is not necessarily same as a). In fact, if a point i∈Ba had zi=ϕ(a), then zi=ϕ(b) for some b=a, but this means i and ib are from different true clusters but assigned to the same estimated label, which is not possible. Therefore, every point in Ba∖B has estimated label ϕ(a). If we relabel ϕ(a) by a for all a∈[k], then every point in [n]∖B is correctly classified, i.e.,
We use the following Bernstein inequality in [64, Theorem 2.10].
Lemma H.1 (Bernstein inequality). For a real-valued random variable Z, write
ψZ(λ):=logEeλZ,λ≥0,
and
ψZ∗(t):=λ≥0sup{λt−ψZ(λ)},t≥0.
Let n≥1 be an integer, and let X1,…,Xn be independent real-valued random variables. Assume that there exist positive numbers v and b such that
i=1∑nE[Xi2]≤v
and
i=1∑nE[(Xi)+q]≤2q!vbq−2forallintegersq≥3,
where
x+:=max(x,0).
If
S:=i=1∑n(Xi−EXi),
then, for every λ∈(0,1/b),
ψS(λ)≤2(1−bλ)vλ2.
In addition, for every t>0,
ψS∗(t)≥b2v[1+vbt−1+v2bt].
In particular, for every t>0,
P{S≥2vt+bt}≤e−t.
We use the following standard matrix Bernstein inequality for controlling the norm of sum of independent random matrices (see, e.g., [65]).
Lemma H.2 (Matrix Bernstein). Let d,N≥1, and let Z1,…,ZN be independent random real symmetric d×d matrices. Suppose that R>0 and deterministic real symmetric d×d matrices A1,…,AN satisfy
For v>0 and t>0, let u=2vt+2Rt. Direct calculation gives u2≥2t(v+Ru), so (55) implies
(56)
P{λmax(j=1∑NZj)≥2vt+2Rt}≤de−t.
We also need the following concentration inequality for Chi-square random variables.
Lemma H.3 (Chi-square concentration). Let p≥1 be an integer, let λ≥0, and let Z∼χp2(λ).
(i) If N∼Poisson(λ/2) and, conditionally on N, YN∼χp+2N2, then YN has the same distribution as Z.
(ii) There is a positive absolute constant cH.3.1 such that, for every u≥0,
P{Z≤p+λ−u}≤exp(−cH.3.1p+2λu2).
Proof. For (i), the moment generating function of χp2(λ) is
EetZ=(1−2t)−p/2exp(1−2tλt),t<21.
On the other hand, using the moment generating function of a central chi-square variable and then the moment generating function of a Poisson variable, by independence, we have
where we used supy≥0ye−ay/2=2/(ae). This proves the first inequality.
APPENDIX I. INGREDIENTS FROM HIGH DIMENSIONAL PROBABILITY
The following three statements are the Gaussian specializations and net consequences needed below. Vershynin states the first two source theorems more generally for independent sub-Gaussian coordinates or entries; standard Gaussian variables have an absolute sub-Gaussian norm, so the constants below are absolute [61].
Lemma I.1 (Norm of Gaussian vector). Let p≥1 be an integer and g∼N(0,Ip). There exists a positive absolute constant cI.1.1 such that, for every t≥0,
P(∥g∥2−p∣≥t)≤2e−cI.1.1t2.
Consequently, if σ>0 and ε∼N(0,σ2Ip), then
P(∥ε∥2−σp∣≥σt)≤2e−cI.1.1t2.
Proof. The coordinates of g are independent, have unit second moment, and have sub-Gaussian norms bounded by an absolute constant. Equation (3.3) in the proof of [61, Theorem 3.1.1], specialized with dimension p, therefore gives the first display for a positive absolute constant c1. The second display follows because ε/σ∼N(0,Ip). Relabeling c1 gives the assertion.
We also need the standard bound of the norm of gaussian random matrices (see, e.g., [66], [67], [68], and [61]).
Lemma I.2 (Norm of Gaussian matrix). Let p,n≥1 be integers, and let G∈Rp×n have independent N(0,1) entries. There exist positive absolute constants cI.2.1,cI.2.2,cI.2.3 such that, for every t≥0, we have
P(∥G∥op>cI.2.1(n+p+t))≤2e−cI.2.2t2.
In particular, for every d≥1, we have
P(∥G∥op>cI.2.3(n+p+d))≤e−d.
One general method to bound the norm of a random matrix is to use the epsilon net argument, which is based on the following standard lemma.
Lemma I.3 (Size of net on sphere). For every integer p≥1, there exists a 1/4-net N⊂Sp−1 satisfying
∣N∣≤9p.
In addition, for every symmetric matrix A∈Rp×p,
∥A∥op≤2x∈Nsup∣x⊤Ax∣.
Proof. Corollary 4.2.13 of [61], with ε=1/4, gives a net of cardinality at most (1+2/ε)p=9p. Exercise 4.4.3(b) gives, for a symmetric matrix and an ε-net with ε<1/2,
∥A∥op≤1−2ε1x∈Nsup∣x⊤Ax∣.
Taking ε=1/4 yields the factor 2.
APPENDIX J. PROOFS FOR CLASSICAL PCA RESULTS
Proof of Theorem 4.4. We decompose the centered raw data as
Xc=Pc+Ec,Ec:=E(In−n11[n]1[n]⊤).
Since the centering matrix is an orthogonal projector, we have
∥Ec∥op≤∥E∥op.
By Lemma I.2, we have
∥E∥op≤c1σp+n
with probability at least 1−e−c2n. Applying Lemma C.1 with M=Pc and Y=Xc we obtain bound on the perturbation of eigenspaces.
so that Xc=Pc+Ec. Since all k clusters are nonempty, k≤n, k≥2, and p≥1, we have 1≤r∗≤min{p,n}. We will apply Lemma G.1 with M=Pc, Y=Xc, and r=r∗. Since Pc∈Rp×n is cluster-wise constant, rank(Pc)≤min{p,k−1}=r∗. Its population center for cluster a is θa∗−n−1P1[n], so its cluster separation is
δc=a=bmin∥θa∗−θb∗∥2≥Δ.
By Lemma I.2, we have
∥Ec∥op≤c1σp+n
with probability at least 1−e−c2n. By assuming the separation condition
APPENDIX K. MORE DETAILS ABOUT THE EXPECTATION OF DATA TRUNCATION MATRICES AND IDEAL TRUNCATION
We first show that L is symmetric positive semidefinite so that Algorithm 1 is well defined.
Lemma K.1 (Positive semidefiniteness). Let p,n≥1, let X=[X1,…,Xn]∈Rp×n be a data matrix, and let ϕ:[0,∞)→[0,1] be Borel measurable. Let (A,D,L) be the data truncation matrices for the data X using threshold function ϕ. Then, for any (X1,…,Xn) (i.e., every realization of the random observation), the matrix L is symmetric positive semidefinite and satisfies L1[n]=0.
Proof. We first claim that L is symmetric. In fact, for any i,j∈[n], ∥Xi−Xj∥22=∥Xj−Xi∥22, and therefore Aij=Aji and A is symmetric. The degree matrix D is diagonal, so L=D−A is symmetric as well.
Next, let x∈Rn be arbitrary, and we will show that x⊤Lx≥0. Using L=D−A, we have
Because ϕ takes values in [0,1], each entry Aij≥0. Also (xi−xj)2≥0. So the 21∑i,jAij(xi−xj)2 is nonnegative for every x∈Rn, and therefore L≻0.
In addition, by definition D=diag(A1[n]),soD1[n]=A1[n]. So we have
L1[n]=(D−A)1[n]=D1[n]−A1[n]=0.
To study the properties of the data truncation matrices, we first analyze its expectation.
□
Lemma K.2 (Expectation of data truncation matrices). Let k≥2, n≥2, and p≥1. Let
Θ∗=(θ1∗,…,θk∗)∈Rp×k
and
z∗=(z1∗,…,zn∗)∈[k]n.
Let (X,P,E) be a Gaussian mixture observation model for the true cluster configuration (Θ∗,z∗) and noise level σ. For a∈[k], set Ba:={i∈[n]:zi∗=a} and na:=∣Ba∣. Let ϕ:[0,∞)→[0,1] be Borel measurable, and let (A,D,L) be the data truncation matrices for the data X using threshold function ϕ. Let ε∼N(0,σ2Ip). Then for all i,j∈[n], we have:
Proof. For each d≥0, let Zd denote a random variable with distribution χp2(d2/(2σ2)); no joint construction of this family is used. For the proof only, set
γ(d):=P(2σ2Zd≥2σ2p+2Δ2),d≥0.
Rotational invariance of the Gaussian noise identifies the probability in the first display of the statement with γ(∥θa∗−θb∗∥2). We next prove monotonicity in d. By Lemma H.3(i), we obtain
χp2(λ)=dχp+2N2,N∼Poisson(λ/2).
If λ2≥λ1, couple N2=N1+N′ with N1∼Poisson(λ1/2) and N′∼Poisson((λ2−λ1)/2) independent. Conditional on (N1,N′), realize
χp+2N22=χp+2N12+χ2N′2
with independent central chi-square summands. Hence χp2(λ1) is stochastically dominated by χp2(λ2). Since d↦d2/(2σ2) is nondecreasing, γ(d) is nondecreasing in d, which proves the first display.
For the tail bound, set d:=∥θa∗−θb∗∥2 and let Z∼χp2(λ) with λ=d2/(2σ2). Since d≥Δ and the keep event in the definition of γ(d) uses a weak inequality,
Lemma H.3(ii), applied with u=d2/(4σ2), gives, for a positive absolute constant c1,
1−γ(d)≤exp(−c1p+d2/σ2d4/σ4).
Rotational invariance again identifies 1−γ(d) with the strict-inequality probability in the statement. Taking its positive absolute constant to be c1 proves the desired estimate.
We now prove the following subspace decomposition of Rn, which is used in deriving the decomposition of ideal L.
Lemma K.4 (Orthogonal decomposition of the space). Let n,k≥1, and let B1,…,Bk be a partition of [n] into nonempty sets. Put na:=∣Ba∣ and define
Then Q⊤Q=Ik, QQ⊤ is the orthogonal projector onto C=range(Q), and Πa is the orthogonal projector onto Za. In addition, we have
Q⊤1[n]=s,Qs=1[n],∥s∥22=n,
Ik−n−1ss⊤ is the orthogonal projector onto (span(s))⊥, and
Q(Ik−n1ss⊤)Q⊤=QQ⊤−n11[n]1[n]⊤
is the orthogonal projector onto C0=Q((span(s))⊥). The subspaces C,Z1,…,Zk are mutually orthogonal, and
QQ⊤+a=1∑kΠa=In,ΠaΠb=0(a=b),Q⊤Πa=0(a∈[k]).
In particular, we have
Hn=Q(Ik−n1ss⊤)Q⊤+a=1∑kΠa,
and Rn is the orthogonal direct sum of span {1[n]},C0,Z1,…,Zk.
Proof. Disjointness of the sets gives qa⊤qb=1{a=b}, so Q⊤Q=Ik and QQ⊤ is the orthogonal projector onto range( Q) = C. Direct multiplication shows that each Πa is symmetric and idempotent. Its range consists precisely of the vectors supported on Ba whose coordinates sum to zero, so its range is Za. When na=1, we have Πa=0 and Za={0}, so this assertion includes singleton blocks. The stated orthogonality follows from disjoint supports and from 1Ba⊤x=0 for x∈Za. In addition, we have
QQ⊤=a=1∑kna1Ba1Ba⊤,a=1∑kdiag(1Ba)=In,
which proves the decomposition of In. And the remaining product identities follow from the same orthogonality.
Because the Ba form a partition, we have
Q⊤1[n]=(n1,…,nk)⊤=s,Qs=a=1∑k1Ba=1[n],
and ∥s∥22=∑a=1kna=n. It follows by direct multiplication that Ik−n−1ss⊤ is symmetric and idempotent, with kernel span {s} and range (span(s))⊥.
Next, we show Q((span(s))⊥)=C0. Consider arbitrary y∈C0, then we have 1[n]⊤y=0 and we can write y=Qv for some v∈Rk, and therefore we have
0=1[n]⊤y=(Q⊤1[n])⊤v=s⊤v.
So v∈(span(s))⊥. Then we conclude that C0⊂Q((span(s))⊥). And the exact same argument starting from y=Qv with s⊤v=0 shows Q((span(s))⊥)⊂C0.
Since Q is an isometry from Rk onto C, the matrix Q(Ik−n−1ss⊤)Q⊤ is therefore the orthogonal projector onto C0. By the identities Qs=1[n] and Q⊤Q=Ik, we also have
Q(Ik−n1ss⊤)Q⊤=QQ⊤−n11[n]1[n]⊤,
which implies decomposition of Hn by direct calculation.
Finally, combining the orthogonal decomposition C=span{1[n]}⊕C0 with the orthogonal decomposition we conclude that Rn is the orthogonal direct sum of span{1[n]},C0,Z1,…,Zk.
Lemma K.5 (Factorization of the signal matrix). Let p,n,k≥1, let θ1∗,…,θk∗∈Rp, and let z∗=(z1∗,…,zn∗)∈[k]n contain every label in [k]. Define
In particular, the ith column of each matrix in the preceding display is θzi∗∗−θ.
Proof. If i∈Ba, then Q⊤ei=ea/na, so the ith column of Θ∗ diag( n1,…,nk) Q⊤ is θa∗=P⋅,i. This proves the factorization. Right multiplication by Q and the identity Q⊤Q=Ik give the formula for PQ; multiplying that formula by Q⊤ gives PQQ⊤=P. Finally, Πax is supported on Ba and its coordinates sum to zero; because the columns of P are all equal to θa∗ on Ba, this gives PΠax=0 for every x∈Rn.
Since the Ba partition [n], Qs=∑a=1k1Ba=1[n], and therefore
This proves the matrix identity, and the formula follows from P⋅,i=θzi∗∗.
With above preparation, we can now prove Lemma A.1.
Proof of Lemma A.1. We follow the complete-graph subtraction described in Subsection 6. For a nonempty set T⊆[n], define
KT:=1T1T⊤−diag(1T).
Thus KT is the adjacency matrix of the complete graph on T, embedded in Rn×n. In particular, its diagonal is zero. From Definition 3.4, an off-diagonal entry of A equals one exactly when its two indices do not lie in the same cluster. Therefore, we have the following matrix identity
A=K[n]−a=1∑kKBa.
The maps H↦D(H) and H↦L(H)=D(H)−H are linear. Using KT1[n]=(∣T∣−1)1T, we have
For T=[n], this is L(K[n])=nIn−1[n]1[n]⊤; for T=Ba, it is L(KBa)=naΠa. Therefore, we have the matrix identity
L=nIn−1[n]1[n]⊤−a=1∑knaΠa.
We next transform this identity into spectral decomposition. By Lemma K.4,
In=QQ⊤+a=1∑kΠa,Qs=1[n],∥s∥22=a=1∑kna=n.
It follows that
QQ⊤−n11[n]1[n]⊤=Q(Ik−n1ss⊤)Q⊤.
Substituting these identities into the preceding formula for L and dividing by n proves (28).
For convenience, write
Π0:=Q(Ik−n1ss⊤)Q⊤,λa:=1−nna(a∈[k]).
Since ∥s∥22=n, (Ik−n1ss⊤) is the orthogonal projector onto (span(s))⊥. Lemma K.4 then shows that Π0 and Π1,…,Πk are pairwise orthogonal projectors, with
range(Π0)={x∈Rn:xisconstantoneachBa,1[n]⊤x=0}.
Because every cluster is nonempty and k≥2, we have 0<λa<1 for every a. So we have the spectral decomposition
nL=Π0+a=1∑kλaΠa,
where the orthogonal subspace span{ 1[n]} is omitted, because L/n is zero on it. Using PΠa=0, we have
PnL=PΠ0=PHn=Pc,
which proves (29).
The matrix
R0:=Π0+a=1∑kλaΠa
is symmetric positive semidefinite, and pairwise orthogonality gives R02=L/n. By uniqueness of the symmetric positive-semidefinite square root, R0=S0. This proves the formula in (30). Each of Π0,Π1,…,Πk annihilates 1[n], so the same formula gives S01[n]=0.
It remains to identify the action on the population signal. The columns of P are constant within each Ba, so Lemma K.5 implies PΠa=0 for every a and
PΠ0=PQ(Ik−n1ss⊤)Q⊤=PHn.
Therefore, we have
PS0=PΠ0+a=1∑kλaPΠa=PHn=Pc,
which proves (31). Since P1[n]/n=θ, the ith column of PHn is θzi∗∗−θ.
Proof of Lemma A.2. Without loss of generality, we relabel the clusters so that
n1=nmax=n−m.
If n1=1, then all clusters must have size 1 and therefore there must be n clusters. In this case, the condition p+m≤n will force p=1, which reduces the model to the scalar case, where the analysis becomes straightforward. So we works with the case n1≥2. For a∈[k], let
qa:=na−1/21Ba,Q:=[q1⋯qk],s:=(n1,…,nk)⊤,
and
Πa:=diag(1Ba)−na11Ba1Ba⊤
as in Lemma A.1. By Lemma A.1, we obtain
S0=Q(Ik−n1ss⊤)Q⊤+a=1∑k1−nnaΠa.
Since 1−n1/n=m/n, write
S0=T+nmΠ1,
where
T:=Q(Ik−n1ss⊤)Q⊤+a=2∑k1−nnaΠa.
By Lemma K.4 and Lemma A.1 we have
∥T∥op≤1
and
rank(T)=(k−1)+a=2∑k(na−1)=m.
Choose R∈Rn×m whose columns form an orthonormal eigenbasis for the restriction of T to range( T). Then
T=RDR⊤
for some diagonal matrix D satisfying ∥D∥op≤1. Similarly, since n1≥2, let R1∈Rn×(n1−1) have orthonormal columns spanning range (Π1). So we conclude
Π1=R1R1⊤.
Therefore, we have
ES0=ERDR⊤+nmER1R1⊤.
By the triangle inequality, we have
∥ES0∥op≤∥ER∥op+nm∥ER1∥op.
By rotational invariance of the Gaussian matrix E, we know that
σ1ER∈Rp×m
is a standard Gaussian matrix. In addition, σ−1ER1∈Rp×(n1−1) is also a standard Gaussian matrix. Apply Lemma I.2 with tail parameters p+m and n, respectively. Since p≤n, n1−1≤n, and p+m≥2, a union bound gives positive absolute constants c1, c2, c3 such that, with probability at least 1−e−c1(p+m), simultaneously we have
∥ER∥op≤c2σp+m,
and
∥ER1∥op≤c3σn.
Therefore, on the same high probability event, we have
∥ES0∥op≤c2σp+m+c3σnmn≤c4σp+m.
The lower bound for E[∥E∥op] follows from standard results on asymptotic behavior of norm of gaussian random matrices (see, e.g., [69–71]).
APPENDIX L. DETAILED PROOFS IN SECTION B
Proof of Lemma B.1. Set
Pc:=P−n1(P1[n])1[n]⊤.
Since L1[n]=L1[n]=0, their principal square roots satisfy
Right multiplication by (S+In)−1 proves (32); taking operator norms gives (33).
Proof of Lemma B.2. For convenience, we introduce the short notation
u0:=2σ2p+Δ2/2.
It suffices to prove the results when κΔ≥c1, where c1≥1 is a positive absolute constant.
For distinct i,j∈[n], define the miss indicator
Uij:=1{∥Xi−Xj∥22<u0}=1−Aij.
Let M∈{0,1}n×n be the symmetric zero-diagonal matrix defined by
Mij:=Uij1{zi∗=zj∗},fori=j,
and let F∈{0,1}n×n be the symmetric zero-diagonal matrix defined by
Fij:=Aij1{zi∗=zj∗},fori=j.
On a cross-cluster pair, i.e., zi∗=zj∗, we have Aij=1 and Aij=1−Uij=1−Mij. And on a same-cluster pair, i.e., zi∗=zj∗, we have Aij=0 and Aij=Fij. Therefore, we have
A−A=F−M.
For every symmetric zero-diagonal matrix H, by Lemma E.4, we have
PL(H)=1≤i<j≤n∑Hij(θzi∗∗−θzj∗∗)(ei−ej)⊤.
Every summand supported on a same-cluster pair is zero. Since F is supported on such pairs, we have an important observation that
PL(F)=0.
By linearity of L, we have
(59)
P(L−L)=PL(A−A)=PL(F−M)=−PL(M).
On a cross-cluster pair, i.e., zi∗=zj∗, using Lemma K.3, we have
Distinct pairs in Ia have disjoint indices, so the corresponding vectors ei−ej are orthogonal. Also each of these vectors has squared norm 2. Since Uij2=Uij, we obtain the exact identity
Here the first inequality also holds for odd s, because the scalar moment is bounded above by the corresponding absolute moment and (θzi∗∗−θzj∗∗)(θzi∗∗−θzj∗∗)⊤⪰0.
where c3,c4>0 are absolute constants. Combining these estimates with (61), we conclude that, with probability at least 1−pe−t, we have
(63)
∥Ta∥op2≤c5Δ2[me−c4κΔ+κΔt].
The scale RΔ entered through the verified moment condition; no upper bound on the distances dij is required.
Fix t>0 and apply (63) with t+log(np) in place of t. By union bound over the at most n blocks, we conclude that the total failure probability is at most
qnpe−t−log(np)≤e−t.
In other words, with probability at least 1−e−t, the bound holds simultaneously for every block. On this event, by triangle inequality and qn≤n, we have
This proves (35). Taking t=p+m and using logp≤p, we have
p+m+log(np)≤2(p+m+logn).
Therefore, with probability at least 1−e−(p+m), we have
n1∥P(L−L)∥op≤c7Δme−c4κΔ+κΔp+m+logn.
The desired result (34) follows from the identity
κΔ1=Δ2σ2+Δ4pσ4.
Proof of Proposition B.4. Write
Gi:=σεi,Zij:=2Gi−Gj,1≤i<j≤n,
so that G1,…,Gn are independent N(0,Ip) vectors and each Zij has distribution N(0,Ip). Set
κΔ:=p+Δ2/σ2Δ4/σ4,η:=e−κΔ/128.
By Lemma E.4, we have
(64)
H:=EnLE⊤=n2σ21≤i<j≤n∑AijZijZij⊤.
Clearly ∥ES∥op2=∥H∥op. Relabel the clusters according to (8), so that B1 is a largest cluster and ∣[n]∖B1∣=m. Lemma F.1 partitions all unordered pairs into qn≤n blocks with disjoint indices within each block. Denote the blocks as C1,…,Cqn. For each a≤qn, we have
(65)
∣Ca∣≤2n,∣{{i,j}∈Ca:zi∗=zj∗}∣≤m.
Note that if zi∗=zj∗, then Xi−Xj=σ(Gi−Gj), and therefore we have
P(Aij=1)=P(χp2≥p+4σ2Δ2).
The moment generating function of the χp2 distribution is given by Mχp2(λ)=(1−2λ)−p/2, for 0<λ<1/2, and by Markov's inequality we have
Each Yij(v) is a measurable function of (Gi,Gj) alone. Therefore, the disjoint-index property implies independence of the summands in Sa(v). Thus, for a≤qn, by (66), we have
Now, for each a≤qn, we apply Lemma H.1 with b=4 and variance parameter 32Wa, and conclude that, for every u>0, with probability at least 1−e−u, we have