Compressive Statistical Learning with Random Feature Moments
R\'emi Gribonval (PANAMA, DANTE), Gilles Blanchard (DATASHAPE, LMO),, Nicolas Keriven (PANAMA, GIPSA-GAIA), Yann Traonmilin (PANAMA, IMB)

TL;DR
This paper introduces a framework called compressive statistical learning that compresses large datasets into low-dimensional sketches for efficient learning, demonstrated on PCA, clustering, and Gaussian mixture models.
Contribution
It presents a novel approach to resource-efficient large-scale learning by using random feature moments to create informative data sketches.
Findings
Sketch size controls generalization error
Framework effectively applied to PCA, clustering, and Gaussian mixture models
Reduces computational resources needed for large-scale learning
Abstract
We describe a general framework -- compressive statistical learning -- for resource-efficient large-scale learning: the training collection is compressed in one pass into a low-dimensional sketch (a vector of random empirical generalized moments) that captures the information relevant to the considered learning task. A near-minimizer of the risk is computed from the sketch through the solution of a nonlinear least squares problem. We investigate sufficient sketch sizes to control the generalization error of this procedure. The framework is illustrated on compressive PCA, compressive clustering, and compressive Gaussian mixture Modeling with fixed known variance. The latter two are further developed in a companion paper.
| Task | PCA | -med./means (/) | Gaussian Mixture Model. |
| Hypothesis | subspace | cluster centers | mixture of Gaussians |
| -means | |||
| -covar. | |||
| -mixture parameters | |||
| Loss | |||
| Feature function | quadratic polyn. | weighted Fourier features | Fourier features |
| Sampling law | |||
| Average kernel | |||
| Proxy | |||
| Low-rank recovery | |||
| from (27) | |||
| Restrictions on | N/A | ||
| hypothesis class | |||
| when optim- | |||
| mizing proxy | known covariance | ||
| Sketch size | |||
| when , cf (Gribonval et al., 2020)(Table 1) for other values of . |
| sample and sample space | |
| sketch vector (3) | |
| sketching function (3), (43), | |
| sketching operator (5) | |
| probabilities on sample space | |
| , | measures on sample space |
| (App. A.2) | |
| hypothesis | |
| class of hypotheses | |
| loss function | |
| risk (1), excess risk (Def. 2.4) | |
| best hypothesis (1) | |
| proxy for the risk (4), (27) | |
| learned hypothesis (4) | |
| projection function for comp.-type task (Def. 3.1) | |
| class of loss functions (9) | |
| class of loss differences (17) | |
| class of features (Def. 5.1) | |
| probability distribution of feature parameters (Def. 5.1) | |
| psd kernel (Def. 5.2) | |
| kernel mean embedding (44) | |
| ,, | kernel constants (11); (47); (48) |
| ((8), App. A.2) | |
| MMD norm (45), (58) | |
| , | task-driven norms (9); (19) |
| excess-risk divergence (18) | |
| , | bias term wrt. model (25) |
| feature-based metric (54) | |
| model set (of probabilities) | |
| probabilities s.t. optimal (26) | |
| , | compression-type model set (31) |
| , | max. likelihood model set (28) |
| normalized secant set (49) | |
| radius of a set of measures (51) | |
| concentration function (52) | |
| covering numbers (Def. 5.6) | |
| Closed ball (Def. A.2) |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsPrincipal Components Analysis
Compressive Statistical Learning
with Random Feature Moments
Rémi Gribonval [email protected]
Gilles Blanchard
Nicolas Keriven [email protected]
Yann Traonmilin [email protected] Univ Lyon, Inria, CNRS, ENS de Lyon, UCB Lyon 1, LIP UMR 5668, F-69342, Lyon, France
This work was initiated while R. Gribonval, N. Keriven and Y. Traonmilin were with Univ Rennes, Inria, CNRS, IRISA
F-35000 Rennes, France; and while G. Blanchard was with the University of Potsdam, Germany.Université Paris-Saclay, CNRS, Inria, Laboratoire de mathématiques d’Orsay, F-91405, Orsay, France.CNRS, GIPSA-lab, UMR 5216, F-38400 Saint-Martin-d’Hères, France.CNRS, Univ. Bordeaux, Bordeaux INP, IMB, UMR 5251, F-33400 Talence, France.
Abstract
We describe a general framework –compressive statistical learning– for resource-efficient large-scale learning: the training collection is compressed in one pass into a low-dimensional sketch (a vector of random empirical generalized moments) that captures the information relevant to the considered learning task. A near-minimizer of the risk is computed from the sketch through the solution of a nonlinear least squares problem. We investigate sufficient sketch sizes to control the generalization error of this procedure. The framework is illustrated on compressive PCA, compressive clustering, and compressive Gaussian mixture Modeling with fixed known variance. The latter two are further developed in a companion paper.
Keywords: Kernel mean embedding, random features, random moments, statistical learning, dimension reduction
1 Introduction
Large-scale machine learning faces a number of fundamental computational challenges, triggered both by the high dimensionality of modern data and the increasing availability of very large training collections. Besides the need to cope with high-dimensional features extracted from images, volumetric data, etc., a key challenge is to develop techniques able to fully leverage the information content and learning opportunities opened by large training collections of millions to billions or more items, with controlled computational resources.
Such training volumes can severely challenge traditional statistical learning paradigms based on batch empirical risk minimization. Statistical learning offers a standardized setting where learning problems are expressed as the optimization of an expected loss, or risk, over a parameterized family of hypotheses (where is the probability distribution of the training collection). This risk is empirically estimated on a training collection, and parameters that empirically minimize it are seeked, possibly with some regularization. Empirical minimization typically requires access to the whole training collection, either in batch mode or iteratively with one or more passes of stochastic gradient. This can become prohibitively costly when the collection is large and each iteration has non-negligible cost. An alternative is to sub-sample the collection, but this may come at the price of neglecting some important items from the collection. Besides online learning (e.g. Mairal et al., 2010), sampling techniques such as coresets (Feldman and Langberg, 2011) or Nyström’s method (e.g. Rudi et al., 2015) have emerged to circumvent computational bottlenecks and preserve the ability to exploit latent information from large collections.
Can we design an alternative learning framework, with the ability to compress the training collection before even starting to learn? We advocate a possible route, compressive statistical learning, which is inspired by the notion of sketching and is endowed with favorable computational features especially in the context of the streaming and distributed data model (Cormode et al., 2011) (see Section 1.3). Rooted both in the generalized method of moments (Hall, 2005) and in compressive sensing (Foucart and Rauhut, 2012), it leverages techniques from kernel methods such as kernel mean embeddings (Gretton et al., 2007; Sriperumbudur et al., 2010) and random Fourier features (Rahimi and Recht, 2007) to obtain innovative statistical guarantees.
As a trivial example, assume belong to , and consider the squared loss \ell(x,h)=\mathopen{}\mathclose{{}\left\|x-h}\right\|^{2}, whose risk minimizer is . In this specific example, keeping only the empirical averages of the coordinates of is obviously sufficient. The vision developed in this paper is that, for certain learning problems, all the necessary information can be captured in a sketch: a vector of empirical (generalized) moments of the collection that captures the information relevant to the considered learning task. Computing the sketch is then feasible in one pass, and a near-minimizer of the risk can be computed from the sketch with controlled generalization error.
This paper is dedicated to show how this phenomenon can be generalized: roughly speaking, can the sketch size be taken to be proportional to the number of “intrinsic parameters” of the learning task? Another fundamental requirement for the sketching operation is to be online. When recording the training collection, it should be possible to update the sketch at almost no additional cost. The original training collection can then be discarded and learning can be performed from the sketch only, potentially leading to privacy-preservation. As shown in the companion paper (Gribonval et al., 2020), a sketching procedure based on random generalized moments meets these requirement for clustering and Gaussian mixture estimation.
1.1 Inspiration from compressive sensing
Another classical example of learning task is (centered) Principal Component Analysis (PCA). In this setting, , is an arbitrary linear subspace of dimension , and the loss is \ell(x,h)=\mathopen{}\mathclose{{}\left\|x-P_{h}x}\right\|_{2}^{2} with the orthogonal projector onto . The matrix of second moments is known to summarize all the information needed to select the best subspace for a training collection. It thus constitutes a natural sketch (of finite dimension ) of the training set.
A much smaller sketch can in fact be computed. Results from compressive sensing and low-rank matrix completion (Foucart and Rauhut, 2012) allow to compress the matrix of second moments to a sketch of dimension of the order of (much smaller that when ) from which the best rank- approximation to can be accurately estimated (this rank- approximation allows to calculate the PCA with appropriate learning guarantees, as we will see in Section 4). This compression operation is made using random linear projections on , which can be seen as random second order moments of the training collection.
We propose to generalize such a sketching procedure to arbitrary random generalized moments. Given a learning task and training collection, we study the following questions:
- •
How can we perform learning from a sketch of the training collection?
- •
What statistical learning guarantees can we obtain with such a procedure?
1.2 Contributions
In this paper, we present a general compressive learning framework.
- •
We describe a generic sketching mechanism with random generalized moments and provide a theoretical learning procedure from the sketched data.
- •
We derive general learning guarantees for sketching with random generalized moments.
In the companion paper (Gribonval et al., 2020), we exploit this framework to establish statistical learning guarantees for compressive clustering and compressive Gaussian mixture estimation. We conclude this paper by briefly discussing the potential impact of the proposed framework and its extensions in terms of privacy-aware learning and of the insight it may bring on the information-theoretic properties of certain convolutional neural networks.
1.3 Related work
Sketching and streaming methods.
Sketches are closely linked with the development of streaming methods (Cormode et al., 2011), in which data items are seen once by the user then discarded. A sketch is a small summary of the data seen at a given time, that can be queried for a particular piece of information about the data. As required by the streaming context, when the database is modified, e.g. by inserting or deleting an element, the subsequent update of the sketch must be very fast. In practice, sketches are often applied in various contexts where the data are stored in multiple places. In this heavily distributed framework, a popular class of sketches is that of linear sketches, i.e. structures such that the sketch of the union of two databases is the sum of their sketches – then the sketch of a database distributed over several parts is simply the sum of all their sketches. The sketch presented in this work is indeed a linear sketch (when considered without the normalization constant ) and as such, updates operations are excessively simple and fast. Sketches have been used for a large variety of operations (Cormode et al., 2011) such as the popular detection of heavy-hitters (Cormode and Muthukrishnan, 2005; Cormode and Hadjieleftheriou, 2009). Closer to our framework, sketches have been used to approximately maintain histograms (Thaper et al., 2002) or quantiles (Gilbert et al., 2002), however these methods are subject to the well-known curse of dimensionality and are unfeasible even in moderate dimension.
Learning in a streaming context.
Various learning algorithms have also been directly adapted to a streaming context. Examples include the Expectation-Maximization algorithm (Andrieu and Doucet, 2003; Cappé and Moulines, 2009), the -means algorithm (Guha and Mishra, 2016; Ailon et al., 2009), or Principal Component Analysis (Ghashami et al., 2016). In each case, the result of the algorithm is updated as new data becomes available. However these algorithms do not fully benefit from the many advantages of sketches. Sketches are simpler to merge in a distributed context, update operations are more immediate, and the learning step can be delocalized and performed on a dedicated machine.
Coresets.
Another popular class of structures that summarize a database for learning is called coresets. Coresets were initially developed for -means (Har-Peled and Mazumdar, 2004) or, more generally, subspace approximation (Feldman et al., 2010; Feldman and Langberg, 2011) and also applied to learning Gaussian Mixture Models (Feldman et al., 2011; Lucic et al., 2017). In a sense, the philosophy behind coresets is situated halfway between sketches and streaming learning algorithms. Like the sketching approaches, coresets methods construct a compressed representation of the database (or “coreset”), but are somehow closer to already approximately performing the learning task. For instance, the coreset described in (Frahling and Sohler, 2005) already incorporates steps of Lloyd’s -means algorithm in its construction. Similar to the -means++ algorithm (Arthur and Vassilvitskii, 2007), many coresets have been developed as (weighted) adaptive subsampling of the data (Feldman et al., 2011; Lucic et al., 2017).
Linear sketches vs Coresets.
It is in general difficult to compare sketching and coresets methods (including the sketching method presented in this paper) in terms of pure performance or theoretical guarantees, since they are very different approaches that can be more or less adapted to certain contexts. We can however outline some differences. Unlike sketches, coresets are not specifically build for the streaming context, and they may require several passes over the data. Nevertheless they can still be adapted to streams of data (as described e.g. in Har-Peled and Mazumdar, 2004; Feldman and Langberg, 2011; Lucic et al., 2017) by using a merge-and-reduce hierarchical strategy: for each batch of data that arrives sequentially, the user builds a coreset, then groups these coresets and builds a coreset of coresets, and so on. This update method is clearly less direct than updating a linear sketch, and more importantly the user must balance between keeping many coresets and letting the size of the overall summary grow with the number of points in the database, or keeping only highest-level coresets at the cost of losing precision in the theoretical guarantees each time the height of the hierarchical structure increases. As a comparison, the sketch presented in the companion paper (Gribonval et al., 2020)for -means does not have these limitations: like with any linear sketch, updates are totally independent of previous events, and for a fixed sketch size the ability to perform the learning task strictly increases with the number of points.
Generalized Method of Moments and Compressive Sensing.
The methodology that we employ to develop the proposed sketching framework is similar to a Generalized Method of Moments (GeMM) (Landau, 1987; Hall, 2005): the parameters of a model are learned by matching a collection of theoretical generalized moments from the distribution with empirical ones from the data. GeMM is often seen as an alternative to Maximum Likelihood estimation, to obtain different identifiability guarantees (Belkin and Sinha, 2015; Hsu and Kakade, 2013; Anderson et al., 2014) or when the likelihood is not available. Traditionally, a finite number of moments is considered, but modern developments give guarantees when an infinite (integral) number of generalized moments are available (Carrasco and Florens, 2000, 2014), in particular generalized moments associated to the (empirical) characteristic function (Carrasco and Florens, 2002; Feuerverger and Mureika, 1977). Our point of view is slightly different: we consider the collection of moments as a compressed representation of the data and as a means to achieve a learning task.
Compared to the guarantees usually obtained in GeMM such as consistency and efficiency of the estimator , the results that we obtain are more akin to Compressive Sensing and Statistical Learning. For instance, when learning Gaussian Mixture Models, we prove in the companion paper (Gribonval et al., 2020)that learning is robust to modeling error (the true distribution of the data is not exactly a GMM but close to one), which is generally overlooked in GeMM. In the proof technique, this is done by replacing the so-called “global identifiability condition”, (i.e. injectivity of the moment operator), which is a classical condition in GeMM but is already difficult to prove and sometimes simply assumed by practitioners (see Newey and McFadden, 1994, p. 2127) by the strictly stronger Lower Restricted Isometry Property (LRIP) from the Compressive Sensing literature (Donoho, 2006; Candès et al., 2006; Baraniuk, 2007; Foucart and Rauhut, 2012). This is achieved by considering random feature moments (related to random features (Rahimi and Recht, 2007, 2009; Bach, 2017) and kernel mean embeddings (Sriperumbudur et al., 2010)), so in a sense the resulting Compressive Statistical Learning framework could be considered as a Method of Random Feature Moments. While the LRIP is reminiscent of certain kernel approximation guarantees with random features (see e.g. Sriperumbudur and Szabó, 2015; Bach, 2017), it is in fact of a different nature, and none seems to be a direct consequence of the other.
1.4 Outline
Section 2 describes our general framework for compressive statistical learning. We define here statistical learning guarantees, introduce the required notions and state our general Theorem on statistical learning guarantees for compressive learning. An important concept is the notion of Lower Restricted Isometry Property (LRIP) using the notion of a model set (a set of “simple” probability distributions) which is futher discussed in Section 3. To illustrate the proposed framework, we detail in Section 4 a procedure for Compressive PCA, where we do not intend to match the latest developments in the domain of PCA such as stochastic and incremental PCA (Arora et al., 2012; Balsubramani et al., 2013), kernel PCA using Nyström sampling (Sterge et al., 2020) or random features (Ullah et al., 2018; Sriperumbudur and Sterge, 2020); but rather to give a first illustration. Generic techniques to establish the LRIP property for sketches of controlled size are described in Section 5. In the companion paper (Gribonval et al., 2020), we specify a sketching procedure and state the associated learning guarantees for compressive clustering and compressive Gaussian mixture estimation. We discuss in Section 6 possible extensions of the proposed framework as well as the insight it may bring on the information flow across one layer of a convolutive neural network with average pooling. Finally, all proofs are stated in the Appendix.
2 A general compression framework for statistical learning
This section is dedicated to the introduction of our compressive learning framework.
2.1 Statistical learning
Statistical learning offers a standardized setting where many learning problems (supervised or unsupervised) can be expressed as the optimization of an expected risk over a parameterized family of functions. Formally, we consider a training collection drawn i.i.d. from a probability distribution on the measurable space . In our examples, is endowed with the Borel -algebra . One wishes to select a hypothesis from a hypothesis class to perform the task at hand. How well the task can be accomplished with the hypothesis is typically measured through a loss function and the expected risk associated to :
[TABLE]
where (here and in the sequel) we will always assume that we restrict our attention to probability distributions such that is measurable and -integrable for all . In the idealized learning problem, one selects a function that minimizes the expected risk (we will assume existence of this minimum for a simpler presentation, although most statements to come can be transformed if needed using a sequence of approximate minimizers)
[TABLE]
We will use the shorthand for whenever there is no ambiguity from the context. In practice one has no access to the true risk since the expectation with respect to the underlying probability distribution, , is unavailable. Instead, methods such as empirical risk minimization (ERM) produce an estimated hypothesis from the training dataset by minimizing the risk (or a regularized version) associated to the empirical probability distribution of the training samples. One expects to produce, with high probability at least on the draw of the training set, the bound on the excess risk
[TABLE]
where typically decays as or better. We will use the following running examples.
Examples:
- •
PCA: as stated in the introduction, the loss function is \ell(x,h)=\mathopen{}\mathclose{{}\left\|x-P_{h}x}\right\|_{2}^{2} where is the orthogonal projection onto the subspace hypothesis of prescribed dimension .
- •
-means clustering: each hypothesis corresponds to a set of candidate cluster centers, h=\mathopen{}\mathclose{{}\left\{c_{1},\ldots,c_{k}}\right\}, and the loss is defined by the -means cost \ell(x,h)=\min_{1\leq l\leq k}\mathopen{}\mathclose{{}\left\|x-c_{l}}\right\|_{2}^{2}. The hypothesis class may be further reduced by defining constraints on the considered centers (e.g., in some domain, or as detailed in the companion paper (Gribonval et al., 2020)with some separation between centers).
- •
Gaussian Mixture Modeling: each hypothesis corresponds to the collection of weights, means and variances of a mixture of Gaussians, whose probability density function is denoted . The loss function is based on the maximum likelihood .
2.2 Compressive learning
Our aim, and one of the major achievements of this paper, is to control the excess risk (2) using an estimate obtained from the sole knowledge of a sketch of the training collection. As we will see, the resulting philosophy for large-scale learning is, instead of addressing an ERM optimization problem of size proportional to the number of training samples, to first compute a sketch vector of size driven by the complexity of the task, then to address a nonlinear least-squares optimization problem associated to the Generalized Method of Moments (GeMM) on this sketch.
Taking its roots in compressive sensing (Donoho, 2006; Candès et al., 2006; Foucart and Rauhut, 2012) and the generalized method of moments (Landau, 1987; Hall, 2005), but also on kernel mean embeddings (Smola et al., 2007; Sriperumbudur et al., 2010), random features (Rahimi and Recht, 2007, 2009; Bach, 2017), and streaming algorithms (Gilbert et al., 2002; Cormode and Muthukrishnan, 2005; Cormode et al., 2011), compressive learning relies on the choice of a measurable (nonlinear) feature function and has two main steps:
Compute generalized empirical moments using the feature function on the training collection to summarize it into a single sketch vector
[TABLE] 2. 2.
Produce a hypothesis from the sketch using an appropriate learning procedure: .
Overall, the goal is to design the feature function and the learning procedure given a learning task (i.e., a loss function) such that the resulting hypothesis has controlled excess risk (2) (if is drawn at random according to some specification, we want (2) to hold with high probablity also with respect to the draw of ). To anticipate on what will be developed in Section 3.1 (notably Eq. (27)), let us mention that learning from a sketch will take the form of a minimization problem
[TABLE]
where in a sense will play the role of a proxy for the empirical risk .
Trivial examples.
- •
Estimation of the mean: Assume belong to , and consider the squared loss \ell(x,h)=\mathopen{}\mathclose{{}\left\|x-h}\right\|^{2}, whose risk minimizer is . In this specific example, it is obviously sufficient to keep only the empirical averages of the coordinates of , i.e., to use .
- •
PCA: As the principal components are calculated from the eigenvalue decomposition of the matrix of second moments of the samples, we can simply use .
A less trivial example is Compressive PCA. Instead of estimating the full matrix , of size , it is known that computing random gaussian linear measurements of this matrix makes it possible to manipulate a vector of dimension of the order of from which one can accurately estimate the best rank- approximation to , that gives the first principal components. Nuclear norm minimization is typically used to produce this low rank approximation given the vector . We will describe this procedure in details in Section 4 as a first illustration of our framework.
In the companion paper (Gribonval et al., 2020), for the more challenging examples of Compressive -means and Compressive Gaussian Mixture Modeling, we provide a feature function and a method “” (based on a specific proxy (4) corresponding to a non-convex least-squares minimization) that leads to a control of the excess risk.
As described below, these results are achieved by establishing links with the formalism of linear inverse problems and low complexity recovery (i.e., sparse/structured vector recovery, low-rank matrix recovery) and extending theoretical tools to the setting of compressive statistical learning.
2.3 Compressive learning as a linear inverse problem
The most immediate link with linear inverse problems is the following. The sketch vector can be seen as a linear function of the empirical probability distribution :
[TABLE]
where is a linear operator from the set of distributions such that is integrable with respect to , to (or ), defined by
[TABLE]
This is linear in the sense that111One can extend to a linear operator on the space of finite signed measures such that is integrable, see Appendix A.2. for any and .
Since for large we should have , the sketch can be viewed as a noisy linear observation of the underlying probability distribution . This viewpoint allows to formally leverage the general methodology of linear inverse problems to produce a hypothesis from the sketch .
Conceptually, we construct the learning-from-sketch procedure in two steps:
- •
Define a so-called decoder that finds a probability distribution given a sketch :
[TABLE]
- •
Find a best hypothesis from this estimate:
[TABLE]
As a first coarse analysis of this scheme, notice that if the decoder step is such that a uniform approximation between the risk of and of holds:
[TABLE]
then we will be able to control the excess risk (2) – our goal. Indeed, using (6) and the triangle inequality, it is easy to show that (7) directly implies (2). (We will see later that (7) can be too coarse and will introduce a more refined analysis based on excess risks in Section 2.5.) In a way, this is very similar to ERM except that instead of using the empirical risk , we use an estimate of the risk where is deduced directly from the sketch .
Remark 2.1**.**
At first sight, the above conceptual view may wrongly suggest that compressive learning replaces statistical learning with the much more difficult problem of non-parametric density estimation. Fortunately, as we will see, this is not the case, thanks to the fact that our objective is never to accurately estimate in the standard sense of density estimation as, e.g., in (Bertin et al., 2011), but only to accurately estimate the risk . On practical examples, a natural decoder will be based on best moment matching over a parametric family of probability distributions, which will be expressed more directly as the minimization of a proxy for the risk (4), cf Section 3.1.
2.4 Statistical learning guarantees: a first control of the excess risk
In this section, for simplicity we first focus on how to establish uniform control of the risks of the form (7) using general results from linear inverse problems (we shall introduce in the next section a sharper but also slightly more notation-heavy analysis). To leverage the links between compressive learning and general inverse problems, we further notice that can be viewed as a metric on probability distributions. Given a class of measurable functions , we use the following notation throughout this work:
[TABLE]
which defines a semi-norm on the space of finite signed measures (see Appendix A.2) on such that all are integrable. In order to be explicit about the integrability assumptions in the results to come, we will call this space the set of -integrable finite signed measures (resp. probability distributions, when appropriate).
With this notation, we have \sup_{h\in\mathcal{H}}\mathopen{}\mathclose{{}\left\lvert\mathcal{R}(\pi,h)-\mathcal{R}(\pi^{\prime},h)}\right\rvert=\mathopen{}\mathclose{{}\left\|\pi-\pi^{\prime}}\right\|_{\mathcal{L}(\mathcal{H})} where
[TABLE]
We will usually abbreviate the latter notation by dropping the dependence on , considered fixed. The desired guarantee (7) then reads \mathopen{}\mathclose{{}\left\|\pi-\Delta[\mathbf{y}]}\right\|_{\mathcal{L}}\leq\eta_{n}/2.
In the usual context of linear inverse problems, producing an accurate estimate from noisy underdetermined linear observations requires some “regularity” assumption. Such an assumption often takes the form of a “low-dimensional” model set that the quantity to estimate is close to.
Example 2.2**.**
In the case of sparse vector recovery (respectively low-rank matrix recovery), one wishes to estimate (resp. ) from (resp. ). Guarantees are achieved when is close to the set of -sparse vectors (resp. when is close to the set of rank- matrices).
Similarly here, estimating from may require considering some model set , whose choice and definition will be discussed in Section 3.
Remark 2.3**.**
While in classical compressive sensing the model set plays the role of prior knowledge on the data distribution that completes the observations, in the examples considered here we will often obtain distribution free excess risk guarantees using models derived from the loss function.
Given a model set222We will always assume that the models under consideration are such that loss and feature functions are integrable with respect to any distribution belonging to , i.e. is both -integrable and \mathopen{}\mathclose{{}\left\{\mathrm{\Phi}}\right\}-integrable, using the terminology introduced after (8). that plays the role of regularizer, and a sketching operator , an “ideal” decoder should be robust to two different sources of error: the distribution of the data generally does not belong to but is “close” to it, introducing some modelling error, and the empirical sketch is used instead of the true generalized moments, which adds some noise. Generalizing early formulations for sparsity-regularized inverse problems, a decoder robust to both noise and modelling error is usually reffered to as instance optimal (Cohen et al., 2009; Bourrier et al., 2014). Mathematically, this can be expressed as: for any distribution , any draw of the training samples from (embodied by the empirical distribution ), with and
[TABLE]
where hides multiplicative constants, and is some measure of distance to the model set . In the rest of the paper, we refer to this first term as “bias”. A significant part of later sections will be devoted to the control of the bias and the choice of a good model set. Proving that a decoder satisfies (10) ultimately serves to establish bounds such as (7) to control the excess risk.
It turns out that general results from abstract linear inverse problems (Bourrier et al., 2014) can be adapted to already characterize the existence of a decoder satisfying property (10). By (Bourrier et al., 2014, Section IV-A), if a decoder with the above property exists then a so-called lower Restricted Isometry Property (LRIP) must hold: there is a finite constant such that
[TABLE]
Conversely, the LRIP (11) implies (Bourrier et al., 2014, Theorem 7) that the following decoder (also known as ideal decoder)
[TABLE]
which corresponds to best moment matching, is instance optimal, i.e., (10) holds for any and , with the particular distance
[TABLE]
As a consequence, the LRIP (11) implies a control of the excess risk achieved with the hypothesis selected with (6), where , as
[TABLE]
where we used explicit constants from (Bourrier et al., 2014, Theorem 7). Note that in the above argument, it was never used that the data is distributed i.i.d. from . Estimate (14) therefore holds under this form for any fixed data sample (in fact, for any empirical distribution , being understood that it determines ) and any distribution . Of course, the data distributional assumption is useful to control the second term in the bound.
2.5 Improved excess risk analysis
The analysis of the previous section has the merits of simplicity, generality, and using existing results from linear inverse problems. However it has some limitations, in particular when the bias term is not close to zero. To emphasize this point, we consider a simple example and compare the excess risk control (for the same sketched learning procedure) obtained through the general bound (14), to a direct computation specific to this example.
Consider the problem of estimating the median of a distribution on : we assume , and consider the absolute value loss \ell(x,h)=\mathopen{}\mathclose{{}\left\lvert x-h}\right\rvert, whose risk minimizer under the distribution is the median . As a sketching operator we take simply , resulting in the sketch given by the empirical mean . Finally, as a model we consider the family of 1-point Dirac measures, \mathfrak{S}=\mathopen{}\mathclose{{}\left\{\delta_{x},x\in\mathbb{R}}\right\} (this is the model consisting of all distributions with vanishing optimal risk, see Section 3.2 for a more general discussion). Obviously, it then holds with these choices that the ideal decoder given by (12) is , and further .
On the one hand, the excess risk for this sketching/decoding scheme is bounded as follows, by a simple direct calculation, putting :
[TABLE]
On the other hand, it is easy to check that the LRIP (11) holds, with equality, for 1-point Dirac measures with constant . If we consider the general bound (14), while we recover (up to factor 4) the second term above \mathopen{}\mathclose{{}\left\|\mathcal{A}(\pi)-\mathcal{A}(\hat{\pi}_{n})}\right\|_{2}=\mathopen{}\mathclose{{}\left\lvert\mathbf{y}-\mathrm{Mean}(\pi)}\right\rvert (of order ), the first term in (14) is a bias term which is driven by
[TABLE]
The inequality in the third line above is obtained by noticing that \mathopen{}\mathclose{{}\left\lvert x-\mathrm{Mean}(\pi)}\right\rvert\leq\mathopen{}\mathclose{{}\left\lvert x-h}\right\rvert+\mathopen{}\mathclose{{}\left\lvert\mathrm{Mean}(\pi)-h}\right\rvert for each . Hence, using the general bound (14) instead of the specific direct calculation, we get an additional, unwanted term corresponding to the optimal risk which is nonzero as soon as , and can become arbitrary large (even if , e.g. if is symmetric around its mean).
One reason for this lack of sharpness is that the analysis in the previous section concentrated first on (uniform) control of the risk difference \mathopen{}\mathclose{{}\left\|\pi-\pi^{\prime}}\right\|_{\mathcal{L}}, to deduce only as a second step a control on the excess risk. It is known from the statistical learning literature that it is generally sharper to directly analyze the excess risk; and correspondingly consider the excess loss class (see, for instance, Bartlett et al., 2005, Section 5 and Koltchinskii, 2006, Section 7):
[TABLE]
However, the risk minimizer depends on the distribution ; for this reason we will consider a family of excess losses and risks with respect to some reference hypothesis .
Definition 2.4**.**
The excess risk relative to a reference hypothesis is defined as:
[TABLE]
and the associated excess risk divergence with respect to is:
[TABLE]
Observe that for each , hence the latter quantity is nonnegative (although no absolute value is involved in its definition), but not symmetric in general. Yet, it satisfies an (oriented) triangle inequality: for any
[TABLE]
It is therefore a hemimetric (see Definition B.1 in the Appendix).
The excess risk divergence will play a role similar to that of \mathopen{}\mathclose{{}\left\|\pi-\pi^{\prime}}\right\|_{\mathcal{L}}, and satisfies in particular
[TABLE]
With this setting we have the following result, which can be seen as a refinement of (14).
Theorem 2.5**.**
Consider a loss class , a feature function , and a model set such that every probability distribution is both -integrable and \mathopen{}\mathclose{{}\left\{\mathrm{\Phi}}\right\}-integrable. Assume that the sketching operator associated to satisfies the following LRIP inequality:
[TABLE]
for some finite constants and .
Consider any training collection , and denote . Define
[TABLE]
Then, for any probability distribution that is both -integrable and \mathopen{}\mathclose{{}\left\{\mathrm{\Phi}}\right\}-integrable:
[TABLE]
where
[TABLE]
Similarly to (14), the above estimate holds regardless of any distributional assumptions on the training collection . Nevertheless, estimate (24) is primarily of interest when is drawn i.i.d. according to and with , in which case the left-hand side is the excess risk with respect to the optimum risk, which is what one generally aims at controlling. However, in some situations it may be also helpful to consider excess risk with respect to other reference hypotheses ; this can include situations where itself is not well-defined if the infimum of the risk is not attained.
As compared to (14), we observe that this result is more general, as it allows for a -approximate decoder (22), an -approximate ERM (23), an -approximate LRIP condition (20); more importantly, the main bound (24) involves the sharper excess risk divergence rather than the loss norm \mathopen{}\mathclose{{}\left\|.}\right\|_{\mathcal{L}}. It may also be useful to consider , to predict the quality compared to the empirical risk minimizer.
Moreover, inequality (19) implies that the lower LRIP condition (11) considered in the previous section implies the relaxed LRIP condition (20) (with , and up to a factor 2 in the constant), so establishing (11) is sufficient in order to obtain the improved inequality (24).
The proof of Theorem 2.5 follows the structure outlined in the previous section, but requires to formally extend the result of (Bourrier et al., 2014, Section IV-A) (leading from the LRIP (11) to instance optimality (10)) to the case of a hemimetric, -approximate LRIP and -approximate decoder. These technical aspects are relegated to Appendix B.
Discussion:
- •
Computing the sketch (21) is highly parallelizable and distributable. Multiple sketches can be easily aggregated and updated as new data become available.
- •
As discussed in Remark 2.1, while (22) may appear as a general nonparametric density estimation problem, in all the examples considered in this paper and the companion one (Gribonval et al., 2020), it is indeed a nonlinear parametric least-squares fitting problem and the existence of the minimizer follows in practice from compactness arguments.
- –
For Compressive PCA (Section 4) it is a low-rank matrix reconstruction problem. Provably good algorithms to estimate its solution have been widely studied.
- –
For Compressive -means and Compressive Gaussian Mixture Modeling (cf the companion paper (Gribonval et al., 2020)), the resulting optimization problem has been empirically addressed through the CL-OMPR algorithm (Keriven et al., 2015, 2018). Algorithmic success guarantees are an interesting challenge. This is however beyond the scope of this paper. We note that the classic (non-compressed) -means problem by minimization of the empirical risk is known to be NP-hard (Garey et al., 1982; Aloise et al., 2009) and that guarantees for approaches such as K-means++ (Arthur and Vassilvitskii, 2007) are only in expectation and with a logarithmic sub-optimality factor.
- •
In Section 3 we discuss choices of the model set that are driven by the learning task only and make the minimization problem (23) trivial to solve. With these choices the combined solution of (22)-(23) is explicitly turned into the minimization of a proxy for the risk, as in (4).
- •
The second term in the bound (24) of the excess risk, , is the empirical estimation error \mathopen{}\mathclose{{}\left\|\mathcal{A}(\pi)-\mathcal{A}(\hat{\pi}_{n})}\right\|_{2}. It is easy to show that it decays as when the data is drawn i.i.d. according to , this will be done explicitly for the considered examples.
For large collection size drawn i.i.d. according to , the term \mathopen{}\mathclose{{}\left\|\mathcal{A}(\pi)-\mathcal{A}(\hat{\pi}_{n})}\right\|_{2} becomes small and (24) shows that compressive learning will benefit from accurate excess risk guarantees provided the model and the feature function (or equivalently the sketching operator ) are chosen so that:
the LRIP (20) holds; ideally for a “small” value of , as we also seek to design compact sketches and, eventually, tractable algorithms to learn from them. 2. 2.
the distance is “small”; this vague notion will be exploited in Section 3 below to guide our choice of model set , and will be made more concrete on examples.
We illustrate the improvement obtained for the bias term with respect to the coarser analysis on the toy example of median estimation considered previously. In that setting we have , and for :
[TABLE]
so that
[TABLE]
The inequality in the third line is obtained by using . Note that the presence of the last term is unavoidable (since \mathopen{}\mathclose{{}\left\lvert x-\mathrm{Med}(\pi_{0})}\right\rvert+\mathopen{}\mathclose{{}\left\lvert x-\mathrm{Mean}(\pi)}\right\rvert\geq\mathopen{}\mathclose{{}\left\lvert\mathrm{Med}(\pi_{0})-\mathrm{Mean}(\pi)}\right\rvert), and that it is still larger than which we recall is the only bias term appearing in the direct calculation (15). (A situation where it is much larger is the following: assume , for . Then , , \mathbb{E}_{X\sim\pi}\mathopen{}\mathclose{{}\left\lvert X-\mathrm{Mean}(\pi)}\right\rvert=(\tfrac{1}{2}+\varepsilon)(\tfrac{1}{2}-\varepsilon)+(\tfrac{1}{2}-\varepsilon)(\tfrac{1}{2}+\varepsilon)\ =(1+2\varepsilon)(\tfrac{1}{2}-\varepsilon), \mathbb{E}_{X\sim\pi}\mathopen{}\mathclose{{}\left\lvert X-\mathrm{Med}(\pi)}\right\rvert=\mathbb{E}_{X\sim\pi}X=\tfrac{1}{2}-\varepsilon, hence \mathopen{}\mathclose{{}\left\lvert\mathrm{Med}(\pi)-\mathrm{Mean}(\pi)}\right\rvert=\tfrac{1}{2}\ -\varepsilon while .) In this sense, even using the improved excess risk analysis, the general bound (24) can lack some tightness. It is nevertheless much sharper than the bound (16), in particular as soon as , while in general in this case, see (16).
3 Task-driven model sets
An important ingredient of the proposed framework is the model set and we now discuss its choice. If prior knowledge on the data distribution is available, it is of course possible to choose to incorporate such knowledge into compressive statistical learning. However, it is more common in statistical learning to seek “distribution-free” statistical guarantees. Therefore, it may be more desirable to derive a model set entirely or mostly from the learning task itself, to the extent possible.
To begin with, we show that for any model set , the abstract two-step learning mechanism (cf steps (22)-(23) in Theorem 2.5) can be written as the minimization of a more explicit proxy (4) for the empirical risk. This rewriting exploits a partition of into certain submodels driven by the learning task, i.e. by the loss family . For certain learning tasks, we further show that the submodels and the corresponding proxy (4) have a simple expression provided we choose a “natural”, task-driven, model set . Finally, for so-called “compression type” learning tasks, choosing such a task-driven model set allows to control the bias term in the excess risk (24) by a function of the optimal risk .
3.1 Learning from a sketch without explicit density estimation
Consider a family of -integrable distributions and assume for each the risk admits a minimizer, i.e., there is such that . When this holds the model set can be decomposed as where for each hypothesis we define
[TABLE]
and the hypothesis selected using steps (22)-(23) in Theorem 2.5 (with ) is equivalently obtained as a near-minimizer of the following proxy for the risk
[TABLE]
in the sense that \inf_{{\tau}\in\mathfrak{S}}\mathopen{}\mathclose{{}\left\|\mathcal{A}({\tau})-\mathbf{y}}\right\|_{2}=\inf_{h}\inf_{{\tau}\in\mathfrak{S}_{h}}\mathopen{}\mathclose{{}\left\|\mathcal{A}({\tau})-\mathbf{y}}\right\|_{2}. With this expression in hand, it is possible to directly cast the estimation of as (4). To turn this into a concrete proxy for the risk it is helpful to consider a model set such that has a simple characterization.
3.2 Choosing a model set: with or without prior knowledge ?
Learning tasks such as maximum likelihood estimation directly involve a natural model set for which as in (26) is easily characterized. Consider the loss with \mathopen{}\mathclose{{}\left\{\pi_{h},h\in\mathcal{H}}\right\} a parameterized family of distributions with for . In this setting, it is natural to consider the following model set:
[TABLE]
which is nothing more than a statistical model in the usual sense. Moreover, up to a constant additive term, it then holds , where is the Kullback-Leibler divergence, so that for any :
[TABLE]
see (Cover and Thomas, 1991, Chapter 9). As a conclusion, the proxy (27) reads R(\mathbf{y},h)=\mathopen{}\mathclose{{}\left\|\mathcal{A}(\pi_{h})-\mathbf{y}}\right\|_{2}.
For many other learning tasks, the choice of the model set results from a tradeoff between several needs. On the one hand, results from compressed sensing suggest that given a model set that has proper “low-dimensional” properties, it is possible to choose a small sketch size and design the sketching operator such that the LRIP (20) holds, and the ideal decoder in (12) — or its relaxed version in (22) — is guaranteed to stably recover probability distributions in from their compressed version obtained with . This calls for the choice of a “small” model set. On the other hand, and perhaps more importantly, the model set should not be “too small” in order to ensure that the obtained control of the excess risk is nontrivial.
Ideally, in the common case of compression-type tasks, as defined below, the bias term in the excess risk (24) should be small when the true optimum risk is small, and even vanish when the true optimum risk vanishes, i.e. when .
Definition 3.1**.**
We call the learning task a compression-type task if the loss can be written as , where is a metric on , , and is a “projection function”, i.e.,
[TABLE]
Typical examples of compression-type tasks are PCA, -means, and -medians. For PCA, is the orthogonal projector onto subspace . For -means and -medians, maps to the closest center from , with ties broken arbitrarily. In other words, given an arbitrary Voronoi partition corresponding to disjoint sets such that and for each , if and only if . Manifold learning tasks where is a projection onto a manifold parameterized by (with ties broken arbitrarily) would also fit under this framework.
For a compression-type task, a natural model set is the family of -integrable probability distributions
[TABLE]
We consider a few examples:
- •
Compressive PCA: the model set consists of all distributions which admit a matrix of second moments of rank at most . Given any , a minimum risk hypothesis according to (6) is any subspace spanned by eigenvectors associated to the largest eigenvalues of . More details will be given shortly in Section 4.
- •
Compressive -means or -medians: the model set consists of mixtures of Diracs. Given h=\mathopen{}\mathclose{{}\left\{c_{1},\ldots,c_{k}}\right\} and any , a minimum risk hypothesis according to (6) is . Since , the proxy (27) reads
[TABLE]
with \mathbb{S}_{k-1}:=\mathopen{}\mathclose{{}\left\{\alpha\in\mathbb{R}^{k}:\alpha_{\ell}\geq 0;\sum_{\ell=1}^{k}\alpha_{\ell}=1}\right\} the simplex.
For compressive PCA we exhibit in Section 4 a feature function so that satisfies the LRIP (20) with respect to the model set . The same is done in the companion paper (Gribonval et al., 2020) for compressive -means, compressive -medians and compressive Gaussian mixture modeling.
3.3 Controlling the bias term for compression-type tasks
The bias term — defined in (25) — is a measure of distance to the model set . For compression-type tasks, the particular model set in (31) was designed so that this bias term vanishes when , and we can further bound the bias term with an increasing function of the true minimum risk, . This leads to recovery guarantees providing distribution-free excess risk guarantees. Whether this holds for other learning tasks, or even generically, is a challenging question left to further work.
The following lemmas allow to obtain an upper bound of the bias term in function of the minimum risk in a number of relevant cases. For a probability distribution on and as in Definition 3.1, we denote the push-forward of through , i.e., the probability distribution of a random variable where . Given a loss class we recall that .
Lemma 3.2**.**
Consider a compression-type task on the input space . Then
- •
* is the set of probability distributions on such that almost surely. With the model set and the loss class , the bias term (25) satisfies (for any )*
[TABLE]
- •
If is a metric (in particular if ) then for any and -integrable distribution .
Remark 3.3**.**
When is not a metric there are such that . The loss , with \mathcal{H}:=\mathopen{}\mathclose{{}\left\{v,w}\right\}, defines a compression-type task with for all . Set . Since we have . We also have for
[TABLE]
Hence, one cannot generically obtain , not even with the restriction .
For , the Euclidean distance on , and (which we recall is generally the primary interest case since our main bound (24) then gives a control of the excess risk with respect to the optimum), we still have for certain tasks. In light of the above remark, this is a nontrivial property which is established for PCA in Lemma E.1, and for -means in the companion paper (Gribonval et al., 2020). Beyond these specific situations, it is possible (under somewhat generic additional assumptions) to bound the two terms appearing in (33) by (a power of) the risk itself, as established next.
Lemma 3.4**.**
Consider a compression-type task where is a separable metric space. Then
- •
Assume that has -diameter bounded by . Then for any , and -integrable distribution :
[TABLE]
- •
Assume that \mathrm{\Phi}:(\mathcal{Z},d)\to(\mathbb{R}^{m},\mathopen{}\mathclose{{}\left\|\cdot}\right\|_{2}) (or (\mathbb{C}^{m},\mathopen{}\mathclose{{}\left\|\cdot}\right\|_{2})) is -Lipschitz. Then, for and :
[TABLE]
For and , if the space has -diameter bounded by :
[TABLE]
The proofs of the above lemmas are in Appendix D. For Lemma 3.4, optimal transport is exploited through connections between the considered norms and the norm \mathopen{}\mathclose{{}\left\|\pi-\pi^{\prime}}\right\|_{\mathrm{Lip}(L,d)}=L\cdot\mathopen{}\mathclose{{}\left\|\pi-\pi^{\prime}}\right\|_{\mathrm{Lip}(1,d)}, where denotes the class of functions that are -Lipschitz. The two lemmas can be combined to express an “explicit” bound on , this is postponed to concrete examples.
4 Illustration with Compressive PCA
As a first simple illustration, this general compressive statistical framework can be applied to the example of PCA, where most of the tools already exist. Our aim is essentially illustrative, and focuses on controlling the excess risk, rather than to compare the results with state-of-the art PCA techniques.
Definition of the learning task.
The risk associated to the PCA learning problem is defined333for simplicity we assume centered distributions and don’t empirically recenter the data. as \mathcal{R}_{k-\mathtt{PCA}}(\pi,h)=\mathbb{E}_{X\sim\pi}\mathopen{}\mathclose{{}\left\|X-P_{h}X}\right\|_{2}^{2} with the orthogonal projector onto subspace . It is minimized by any subspace associated with largest eigenvalues of the matrix .
It is well established (Foucart and Rauhut, 2012) that matrices that are approximately low-rank can be estimated from partial linear observations under a certain Restricted Isometry Property (RIP). This leads to the following natural way to perform Compressive PCA.
Choice of a model set.
The ”natural” model set from (31) is . More generally we can consider as a model set , with , so that .
Choice of feature function.
Choose (at random) a linear operator satisfying (with high probability) the RIP on low-rank matrices: for any of rank at most ,
[TABLE]
with \mathopen{}\mathclose{{}\left\|\cdot}\right\|_{F} the Frobenius norm and . This is feasible with of the order of , by taking the Frobenius inner product of with independent random Gaussian matrices (see e.g. Foucart and Rauhut, 2012).
Given these facts one can define the feature function as by
Sketch computation.
Given sample points in , compute the sketch as in (3), i.e., compute empirical estimates of random second moments of the distribution of .
Learning from a sketch.
Given a sketch vector , estimate a solution of the optimization problem over positive semi-definite (p.s.d.) symmetric matrices ()
[TABLE]
This step estimates the rank- p.s.d. matrix whose sketch best matches that of the empirical matrix of second moments, in the least squares sense. Compute the eigen-decomposition and output
[TABLE]
In Appendix E we control the excess risk of PCA by relating the excess risk divergence — with an arbitrary hypothesis — to the Frobenius norm \mathopen{}\mathclose{{}\left\|\mathbf{\Sigma}_{\pi}-\mathbf{\Sigma}_{\pi^{\prime}}}\right\|_{F}, and upper bounding the “bias” term (25) appearing in the generic bound of Theorem 2.5, to obtain the following result:
Theorem 4.1**.**
Consider any probability distribution with finite second moments and any draw of , (represented by the empirical distribution ). Applying the above approach yields, for any , :
[TABLE]
where are the eigenvalues of ranked in decreasing order (with multiplicity), , . In particular:
[TABLE]
Discussion:
- •
Bias term. The first term in the right hand side of (41) is a bias term that vanishes when the true risk is low. Since it is proportional to the true risk, it leads to the (non-sharp) oracle inequality \mathcal{R}_{k-\mathtt{PCA}}(\pi,\hat{h})\leq C_{\delta}(k,r)\mathcal{R}_{k-\mathtt{PCA}}(\pi,h^{\star}_{\pi})+c^{\prime}_{\delta}\sqrt{k}\mathopen{}\mathclose{{}\left\|\mathcal{M}(\mathbf{\Sigma}_{\pi}-\mathbf{\Sigma}_{\hat{\pi}_{n}})}\right\|_{2}. We show in (Gribonval et al., 2020), (using Lemma 3.4 and (36)) that this type of property also holds for Compressive -medians; for Compressive -means we prove similar properties where the bias term is bounded by the square root of the true risk (using (34),(35)).
It is notable that the bias multiplier is of order if we use the natural model set (), but drops to a constant independent of as soon as we choose e.g. the larger model set with . Thus, there appears to be a clear advantage, in the sense of the obtained bound, in choosing a reconstruction model that is larger than the natural model set , while not significantly changing the magnitude of the number of required data sketches. At this point it is unclear to us if the inflation of the bias factor for the natural model is unavoidable or is just a technical artefact.
- •
Sample complexity. Regarding the second term, if we further assume that the support of is contained in a Euclidean ball of radius , then by the RIP (37) we have a.s. \mathopen{}\mathclose{{}\left\|\mathcal{M}(xx^{T})}\right\|_{2}\leq\sqrt{1+\delta}\cdot R^{2} hence, by the vectorial Hoeffding’s inequality (see e.g. Pinelis, 1992), we obtain with high probability w.r.t. data sampling that \sqrt{k}\mathopen{}\mathclose{{}\left\|\mathcal{M}(\mathbf{\Sigma}_{\pi})-\mathcal{M}(\mathbf{\Sigma}_{\hat{\pi}_{n}})}\right\|_{2} is of the order of .
- •
Root- consistency in a high-dimensional scenario. As noticed in the previous point, the statistical estimation error term in the sketched learning bound is of order . Consider a high-dimensional situation where is large and growing with , and assume a polynomial spectral decay with . Then by choosing , the bias term in (40) is of order . As a consequence, it is sufficient to take of order so as to ensure that the bias term is at most of the same order as the statistical error term. This gives an advantage compared to the standard approach of storing all second order moments, as soon as . For comparison, standard statistical analysis of PCA based on the uniform bound on the deviations of the empirical risk from its expectation (see e.g. Shawe-Taylor et al., 2005) leads to a control of order444More refined techniques (Blanchard et al., 2007; Reiß and Wahl, 2020) can lead to a convergence rate of the PCA excess risk of order asymptotically, for fixed, but depending on eigenvalue gaps. For the present discussion we compare ourselves to the simplest analysis available in the standard learning context. . Hence, using the sketched approach we can reduce storage/memory imprint significantly while keeping statistical guarantees of the same order as in the standard setting.
- •
Relation to efficient kernel-PCA methods. Methods in recent literature have been proposed to make kernel PCA more efficient, relying on Nyström subsampling Sterge et al. (2020) or on approximation of the kernel using random features (Ullah et al., 2018; Sriperumbudur and Sterge, 2020). Even when restricting attention to a linear kernel, a direct comparison to our approach proves delicate. The Nyström subsampling method is very much taylored to the dual point of view, which is canonical in kernel methods (i.e. approximation of the kernel Gram matrix): this implicitly posits to store all training points in order to represent the output of the method as a kernel expansion (the computational gain concerns the storage and manipulation of the Gram matrix). On the other hand, the random feature approach could be construed as closer in spirit to ours, however rather than storing generalized moments as we do, it is in essence a (random) dimension reduction of the individual input points from kernel space to a finite-dimensional feature space where regular PCA is performed. Also the theoretical works of Ullah et al. (2018); Sriperumbudur and Sterge (2020) concern reconstruction in space and not in the original kernel space norm (lifting back the PCA projection found in approximate feature space into original kernel space proves a delicate question). In contrast, we consider sketching the data into generalized empirical moments but propose a reconstruction method directly in the relevant space with theoretical guarantees. It is to be noted however, that the results of Ullah et al. (2018) posit a black-box PCA method applied in the finite (but high-)dimensional approximate feature space, and one could apply a sketching approach at this stage. This suggests the interesting proposal that efficient kernel PCA methods could be combined, rather than be in competition with, the sketching approach, though we did not push the idea further.
Practical algorithms for learning and comparison to prior PCA-specific results.
One can consider several relaxations of the nonconvex optimization problem (38) in order to perform compressive PCA. Beside convex relaxations using the minimization of the nuclear norm (Foucart and Rauhut, 2012, Section 4.6), Kabanava et al. (2016) showed (in a complex-valued setting) that the rank constraint in (38) can be relaxed when is made of random rank-one projections, i.e. when \mathrm{\Phi}(x)=\frac{1}{\sqrt{m}}(|\mathopen{}\mathclose{{}\left\langle a_{j},x}\right\rangle|^{2})_{j=1,m} where are independent standard complex Gaussian vectors. In this setting, let
[TABLE]
and the corresponding hypothesis obtained through (39). Combining (Kabanava et al., 2016, Theorem 4 with ) with Equation (72) in Section E and Equation (63) in Section B, we have the following result: if where is a universal constant, then with high probability on the draw of the , for any , we have the control
[TABLE]
where are positive universal constants that do not depend on .
Hence, provided we use a model set of dimension as discussed above, the error control (41) obtained via our general approach matches what can be obtained using directly the PCA-specific study of Kabanava et al. (2016). Two practical advantages of the latter are (a) that (42) is a convex program, and (b) that the sketches are made using rank-one matrices, which are cheaper to store. Still, the guarantees obtained by our general approach is able to match prior results for setting-specific methods. It will further permit the study of the less trivial setting of compressive clustering and compressive Gaussian mixture estimation as shown in the companion paper (Gribonval et al., 2020).
5 Establishing the LRIP for random sketching operators
In this section, we investigate how to establish the LRIP (20) (with ) when the sketching operator is associated to random features. The approach uses connections with the notion of kernel mean embedding of probability distributions.
5.1 Random features and kernel mean embeddings
Definition 5.1** (Random feature map).**
Consider a parameterized family of (real- or complex-valued) measurable functions, a probability distribution over the parameter set (often ), and a sketch size . A random feature map is defined by drawing i.i.d parameters according to and setting
[TABLE]
Any draw of the feature function defines a positive semi-definite kernel between samples (or ). Compressive learning is deeply connected to kernel mean embeddings of probability distributions, as the related sketching operator defines a so-called kernel mean embedding between probability distributions which are -integrable.
Definition 5.2** (Kernel mean embedding, Mean Map Discrepancy (Gretton et al., 2007; Sriperumbudur et al., 2010)).**
Any positive semi-definite kernel in the sample space is associated to a Mean Map Embedding (a kernel between distributions). By abuse of notation, we keep the notation for both the expression of the kernel in the sample space and of the corresponding kernel for probability distributions with appropriate integrability
[TABLE]
The associated Maximum Mean Discrepancy (MMD) metric is
[TABLE]
The average kernel associated to , will play a key role in establishing the LRIP. Given , the expectation of over the draws of is
[TABLE]
Similarly, given , the squared MMD \mathopen{}\mathclose{{}\left\|\pi-\pi^{\prime}}\right\|_{\kappa}^{2} with this kernel is the expectation of
[TABLE]
A characterization of the MMD that we will leverage throughout this section is that for any ,
[TABLE]
We observe that satisfies the LRIP (20) (with ) for a given model set if, and only if, the metric \mathopen{}\mathclose{{}\left\|\pi-\pi^{\prime}}\right\|_{\Delta\mathcal{L}} is dominated by \mathopen{}\mathclose{{}\left\|\pi-\pi^{\prime}}\right\|_{\kappa_{\mathrm{\Phi}}} for . Our overall strategy to check that a random feature function defined by and satisfies the LRIP (20) (with ) with controlled sketch dimension will be to:
prove that the average kernel defined by (46) satisfies the Kernel LRIP
[TABLE] 2. 2.
in the spirit of compressive sensing theory, use concentration of measure and covering arguments to show that for any , for large enough , with high probability on the draw of ,
[TABLE]
so that the kernel LRIP (47) actually holds with instead of and constant .
Remark 5.3**.**
The expression (48) expresses the control of the relative error of approximation of the MMD, restricted to certain distributions. This contrasts with state of the art results on random features that either control uniformly the approximation of the kernel \mathopen{}\mathclose{{}\left\lvert\kappa_{\mathrm{\Phi}}(\cdot,\cdot)-\kappa(\cdot,\cdot)}\right\rvert (see e.g. Sriperumbudur and Szabó, 2015) or the approximation of functions in the RKHS induced by by those in the RKHS induced by (Bach, 2017). These types of controls are indeed of a different nature compared to ours, and none seems to be a direct consequence of the others.
5.2 Ingredients to verify the Lower Restricted Isometry Property
In sight of the inequalities (47),(48) we need to prove, the analysis will focus on the so-called normalized secant set of the model with respect to the average kernel , defined as follows (see, e.g. Dirksen, 2016; Puy et al., 2017):
Definition 5.4** (Normalized secant set).**
The normalized secant set of a model set with respect to a kernel is the following subset of the set of finite, signed measures (see Appendix A.2) with appropriate integrability
[TABLE]
Using the secant set, the LRIP (48) is equivalent to
[TABLE]
The radius of with respect to certain function norms will play an important role. Since this notion will come up repeatedly in the analysis, we introduce the following notation, which will be heavily used in the sequel. Given a norm \mathopen{}\mathclose{{}\left\|\cdot}\right\| on measures, the radius of a subset of finite signed measures is denoted
[TABLE]
With these definitions we can observe that
[TABLE]
where we recall that the metric \mathopen{}\mathclose{{}\left\|\cdot}\right\|_{\mathcal{G}} is defined in (8). In particular, the constant from (47) can be equivalently rewritten as C_{\kappa}:=\mathopen{}\mathclose{{}\left\|\mathcal{S}_{\kappa}}\right\|_{\Delta\mathcal{L}}.
Concerning 48, the strategy to establish it will rely on the following two quantities: first, a concentration function characterizing the pointwise (i.e. for fixed ) concentration of \mathopen{}\mathclose{{}\left\|\mathcal{A}({\tau})-\mathcal{A}({\tau}^{\prime})}\right\|_{2}^{2} around its expectation; secondly, certain covering numbers of needed to step from pointwise to uniform concentration.
Classical arguments from compressive sensing (Baraniuk et al., 2008; Eftekhari and Wakin, 2015; Puy et al., 2017; Dirksen, 2016; Foucart and Rauhut, 2012) prove that certain random linear operators satisfy the RIP by relying on pointwise concentration inequalities. Similarly, a first step to establish that the inequalities (48) hold with high probability consists in assuming first a pointwise version of the same, i.e., for any choice of in (43):
[TABLE]
for some concentration function that should ideally be as small as possible. The following result shows that the radius \mathopen{}\mathclose{{}\left\|\mathcal{S}_{\kappa}}\right\|_{\mathcal{F}} can be used to control such a concentration function.
Lemma 5.5**.**
Consider a family of functions , parameters drawn i.i.d. according to some distribution on , and the (random) operator induced (see (5)) by the feature function \mathrm{\Phi}(x):=\tfrac{1}{\sqrt{m}}\mathopen{}\mathclose{{}\left({\phi_{\omega_{j}}}(x)}\right)_{j=1}^{m}. Denoting the associated average kernel (cf (46)) we have \mathopen{}\mathclose{{}\left\|\mathcal{S}_{\kappa}}\right\|_{\mathcal{F}}\geq 1. Moreover, if \mathopen{}\mathclose{{}\left\|\mathcal{S}_{\kappa}}\right\|_{\mathcal{F}}<\infty then (52) holds for all , with
[TABLE]
The proof is in Appendix C. Observe that the above estimate only depends on the choice of the feature family , and holds for any feature sampling distribution . More refined estimates for mixture models, exploiting moments of rather than a uniform bound, are provided in the companion paper (Gribonval et al., 2020) and used to obtain concrete estimates for Compressive Clustering and Compressive GMM.
Finally, we will extrapolate pointwise concentration (52) to all pairs using covering numbers of the normalized secant set with respect to an appropriate metric.
Definition 5.6** (Covering number).**
The covering number \mathrm{N}\mathopen{}\mathclose{{}\left(d(\cdot,\cdot),S,\delta}\right) of a set with respect to a (pseudo)metric555Further reminders on metrics, pseudometrics, and covering numbers are given in Appendix A. is the minimum number of closed balls of radius with respect to with centers in needed to cover .
As the normalized secant set is a subset of the infinite-dimensional space of finite-signed measures, it is not obvious when its covering numbers are finite. Controlling them can be nontrivial, yet this is feasible on a case by case basis as will be illustrated in the companion paper (Gribonval et al., 2020).
Covering numbers and pointwise concentration can be then combined to give rise to the following result (whose proof is in Appendix C) where the logarithm of the covering numbers somehow captures an intrinsic dimension of the considered learning task:
Theorem 5.7**.**
Consider \mathcal{F}:=\mathopen{}\mathclose{{}\left\{{\phi_{\omega}}}\right\}_{\omega\in\Omega} a family of functions, a probability distribution on , the associated random feature function and the corresponding average kernel. Consider the pseudometric on -integrable probability distributions666In fact, we consider the extension of to finite, -integrable signed measures, see Appendix A.2.
[TABLE]
Consider a model set and its normalized secant set. Assume that has finite covering numbers with respect to the pseudometric . For , if
[TABLE]
then, with probability at least on the draw of , the operator induced by (cf (43) and (5)) satisfies
[TABLE]
When (56) holds, the LRIP (20) with holds with constant C_{\mathcal{A}}:=\frac{\mathopen{}\mathclose{{}\left\|\mathcal{S}_{\kappa}}\right\|_{\Delta\mathcal{L}}}{\sqrt{1-\delta}} and .
5.3 Summary and applications
To briefly summarize the results in this section, in order to establish the LRIP property with respect to a given model in the context of a sketching operator associated to a family of random features and feature sampling distribution we proceed as follows. After identifying the associated average kernel (44), the key quantities to estimate relative to the normalized secant are its radius \mathopen{}\mathclose{{}\left\|\mathcal{S}_{\kappa}}\right\|_{\Delta\mathcal{L}} (which serves as a measure of compatibility between the kernel, the learning task, and the model set ), the pointwise concentration function from (52), and the covering numbers of with respect to the distance from (54).
Even though the above ingredients and results may look quite abstract at this stage, we can turn them into concrete estimates on several examples. The resulting guarantees are summarized in Table 1 for the examples developed in detail in the companion paper (Gribonval et al., 2020)(compressive -Means, -medians and GMM).
The random sketching results developed in the present section can also be used to revisit the illustrative PCA example from Section 4. Namely, while we have directly lifted from existing literature the RIP property (37) for random Gaussian sketching matrices applied to low-rank covariance matrices, the arguments used there to establish this property follow in essence the canvas of this section (pointwise concentration of the random operator to its average, then unifom concentration via appropriate covering number arguments). In this context, the squared MMD with respect to the averaged kernel is precisely the Frobenius norm between covariance matrices. The additional ingredient needed to complete the analysis is to relate the PCA excess risk to the Frobenius norm of differences of low rank matrices (see (72) in the technical Appendix E, which can be reinterpreted as a bound on \mathopen{}\mathclose{{}\left\|\mathcal{S}_{\kappa}}\right\|_{\Delta\mathcal{L}} in the PCA setting).
6 Conclusion and perspectives
The principle of compressive statistical learning is to learn from large-scale collections by first summarizing the collection into a sketch vector made of empirical (random) moments, before solving a nonlinear least squares problem. The main contribution of this paper is to set up a general mathematical framework for compressive statistical learning and to demonstrate on an example (compressive PCA) that the excess risk of this procedure can be controlled, as well as the sketch size. The companion paper (Gribonval et al., 2020) completes the illustration of the framework by considering two more examples: compressive clustering and compressive Gaussian mixture estimation — with fixed known covariance.
Sharpened estimates?
Our demonstration of the validity of the compressive statistical learning framework for certain tasks is, in a sense, qualitative, and we expect that many bounds and constants are sub-optimal. A number of non-sharp oracle inequalities have been established in the course of our endeavor. A particular question is to obtain more explicit and/or tighter control of the bias term , and to understand whether Lemma 3.2, which relates this bias term to the optimal risk, can be tightened and/or extended to other loss functions. In the same vein, as fast convergence rates for the excess risk can be established for certain classical statistical learning tasks under appropriate conditions (see e.g. (Levrard, 2013) for the case of -means), it is natural to wonder whether the same holds for compressive statistical learning.
Links with neural networks.
From an algorithmic perspective, the sketching techniques we have explicitly characterized in this paper have a particular structure which is reminiscent of a one-layer (random) neural network with subsequent averaging over multiple data points. Indeed, when the sketching function corresponds to random Fourier features, its computation for a given vector involves first multiplication by the matrix whose rows are the selected frequencies , then pointwise application of the nonlinearity. Here we consider random Fourier moments, hence a subsequent averaging operation is performed. As we have seen, this draws a link with the MMD, as is done e.g. in the so-called MMD-GANS (Li et al., 2015; Binkowski et al., 2018), where the so-called discriminator is a neural net trained to compute MMDs over batches of samples.
This suggests that our analysis could help analyze the tradeoffs between reduction of the information flow (dimension reduction) across multiple layers of such networks and the preservation of statistical information (Shwartz-Ziv and Tishby, 2017). For example, this could explain why the pooled output of a layer is rich enough to cluster the input patches. Given the focus on drastic dimension reduction, this seems very complementary to the work on the invertibility of deep networks and pooling representations with random Gaussian weights (Bruna Estrach et al., 2014; Giryes et al., 2016; Gilbert et al., 2017). Finally, we mention the recent popularity of networks with random weights in statistical physics (Gabrié et al., 2018) and in analyzing the initialization point of optimization algorithms with a kernel characterization (Jacot et al., 2018; Bietti and Mairal, 2019), for which information-preservation (non-degeneracy during training) is also an essential feature.
Privacy-aware learning via sketching?
The reader may have noticed that, while we have defined sketching in (3) as the empirical average of (random) features over the training collection (or in fact the training stream), the essential feature of the sketching procedure is to provide a good empirical estimator of the sketch vector of the underlying probability distribution. A consequence is that one can envision other sketching mechanisms, in particular ones more compatible with privacy-preservation constraints (Duchi et al., 2014). For example, one could average , or , or , etc., where is a heavy-tailed random vector drawn independently from , and is a diagonal “masking” matrix with random Bernoulli \mathopen{}\mathclose{{}\left\{0,1}\right\} entries. An interesting perspective is to characterize such schemes in terms of tradeoffs between differential privacy and ability to learn from the resulting sketch. Preliminary results in this direction have been recently achieved Schellekens et al. (2019); Chatalic et al. (2021).
Recipes to design sketches for other learning tasks through kernel design?
Given the apparent genericity of the proposed compressive statistical learning framework, a particular challenge is to extend it beyond the learning tasks considered in this paper and its companion (Gribonval et al., 2020). Kernel versions of these tasks (kernel PCA, kernel -means, or spectral clustering) appear as the most likely immediate extensions. They are expected to lead to sketching architectures reminiscent of two-layer convolutional neural networks with additive pooling. Compressive supervised classification and compressive regression are also natural candidate tasks in a learning setting, but seem more challenging.
Given a learning task, the main bottleneck is to find an adequate sketching function . As illustrated on Figure 1, this primarily relies on the quest for a task-compatible kernel, i.e., one satisfying the Kernel LRIP (47). Subsequent technical steps would rely on the identification of an integral representation of this kernel using random features with the right concentration properties, and establishing that the associated secant set has finite covering dimension with respect to the feature-based metric (54). On a case by case basis, one may have to identify the analog of the separation conditions apparently needed for compressive -means, see (Gribonval et al., 2020).
Vice-versa, one could wonder which family of learning tasks is compatible with a given kernel. In other words, how “universal” is a kernel, and how much can be learned from a single sketched representation of a database ? We expect that tasks such as compressive ranking, which involve pairs, triples, etc. of training samples, may require further extensions of the compressive statistical learning framework, to design sketches based on -statistics rather than plain moments. These would lead to sketches linear in the product probability instead of . The investigation of such extended scenarios is expected to benefit from analogies with the lifting techniques used in phaseless reconstruction, see e.g. (Candès et al., 2013).
Acknowledgements
This work was supported in part by the European Research Council, PLEASE project (ERC-StG-2011-277906), the german DFG (FOR-1735 “Structural inference in statistics”, SFB-1294 “Data Assimilation”), the Franco-German University through the binational Doktorandenkolleg CDFA 01-18, and the ANR (ANR-19-CHIA-0021-01, project BISCOTTE; ANR-19-CHIA-0009, project AllegroAssai). Rémi Gribonval is very grateful to Michael E. Davies for many enlightening discussions around the idea of compressive statistical learning since this project started several years ago. The authors also wish to warmly thank Bernard Delyon and Adrien Saumard, as well as Gabriel Peyré and Lorenzo Rosasco for their constructive feedback on early versions of this manuscript.
Appendix
Appendix A Notations, definitions
In this section we group all notations and some useful classical results.
A.1 Metrics and covering numbers
Definition A.1**.**
A pseudometric over a set satisfies all the axioms of a metric, except that does not necessarily imply . Similarly, a semi-norm \mathopen{}\mathclose{{}\left\|\cdot}\right\| over a vector space satisfies the axioms of a norm except that \mathopen{}\mathclose{{}\left\|x}\right\|=0 does not necessarily imply .
Definition A.2** (Ball, -covering, Covering number).**
Let be a pseudometric space. For any and , we denote the closed ball of radius centered at the point :
[TABLE]
Let be a subset of . A subset is a -covering of if . The covering number \mathrm{N}\mathopen{}\mathclose{{}\left(d,Y,\delta}\right)\in\mathbb{N}\cup\{+\infty\} is the smallest such that there exists a -covering of made of elements .
A.2 Finite signed measures
The space of finite signed measures on the measurable sample space is a linear space that contains the set of probability distributions on . By the Hahn-Jordan theorem, any finite signed measure can be decomposed into a positive and a negative part, , where both and are non-negative finite measures on , hence and for some probability distributions , and non-negative scalars . A real-valued, measurable function on is said integrable with respect to when it is integrable both with respect to and . Noticing that the expectation of an integrable function is linear in the considered probability distribution, we adopt the inner product notation for expectations:
[TABLE]
being understood that we implicitly assume that is integrable with respect to when using this notation. This extends to finite signed measures: given a decomposition of as with two probability distributions and , we denote
[TABLE]
which can be checked to be independent of the particular choice of decomposition of . With these notations, given a class of measurable functions we can define
[TABLE]
and check that this is a semi-norm on the linear subspace \mathopen{}\mathclose{{}\left\{\mu\in\mathfrak{M}:\forall f\in\mathcal{G},f\text{ integrable w.r.t. }\mu}\right\} as claimed when we introduced (8). Similarly, pseudometrics similar to (54) can be extended to finite signed measures as
[TABLE]
When the functions in are smooth these quantities can be extended to tempered distributions.
The total variation norm is defined on as \mathopen{}\mathclose{{}\left\|\cdot}\right\|_{\textnormal{TV}}=\mathopen{}\mathclose{{}\left\|\cdot}\right\|_{\mathcal{B}} with \mathcal{B}=\mathopen{}\mathclose{{}\left\{f:f\ \text{is continuous and}\ \mathopen{}\mathclose{{}\left\|f}\right\|_{\infty}\leq 1}\right\} (see e.g. Sriperumbudur et al., 2010) and yields a Banach structure on (see e.g. Halmos, 2013).
The mean kernel (cf (44)) can naturally be extended from probability distributions to finite signed measures. Let and such that and (decompositions as differences of probability measures). Provided that is well-defined on the corresponding probability distributions, we can define
[TABLE]
which can be checked to be independent of the particular choices of decomposition.
By linearity of the integral and the definition of the kernel for probability distributions, we obtain a seminorm \mathopen{}\mathclose{{}\left\|\cdot}\right\|_{\kappa} associated to the mean kernel:
[TABLE]
that coincides with the metric of the mean kernel (45) for probability distributions.
Appendix B Proof of Theorem 2.5
In this section, we start with a suitable generalization of (Bourrier et al., 2014, Section IV-A), working with some relaxed assumptions on the considered metrics.
Definition B.1** (hemimetric).**
A function is a hemimetric if
[TABLE]
A hemimetric is a pseudometric if it is symmetric: for any .
Hemimetrics on basic sets such as will be denoted . Hemimetrics between probability distributions will be denoted . The notation will preferentially be used for pseudometrics on basic sets, while will denote pseudometrics between probability distributions.
Definition B.2** (relaxed lower restricted isometry property (rLRIP)).**
A function satisfies the lower restricted isometry property on the subset with respect to the hemimetric on and the pseudometric on with constant iff
[TABLE]
Lemma B.3**.**
Assume that satisfies the rLRIP on with respect to and with constant . Consider and a decoder such that
[TABLE]
Then satisfies the instance optimality property: ,
[TABLE]
where
[TABLE]
Proof.
The proof follows very closely (Bourrier et al., 2014) and is adaptated to the fact that is a hemimetric. Consider , and . Consider any and write
[TABLE]
As this holds for any , taking the infimum yields the result. ∎
Remark B.4**.**
Conversely, when is a pseudometric, if some decoder satisfies (61) for each with some function such that for each , then the rLRIP (59) holds with constant with respect to . Indeed, for , as , by (61) and the symmetry of , we have with , :
[TABLE]
The triangle inequality yields .
To prove Theorem 2.5, given a fixed , we apply Lemma B.3 with
[TABLE]
By (19)-(20) the rLRIP (59) is satisfied by on . By (22) and satisfy (60) with replaced by . Since the definition (62) with yields as in (25), we get by (61) with :
[TABLE]
On the other hand, using (23), we obtain
[TABLE]
and thus, by definition of (cf (18)):
[TABLE]
Appendix C Proof of Lemma 5.5 and
Theorem 5.7
To establish Lemma 5.5 we use Bernstein’s inequality for bounded random variables, which is for example a consequence of Massart 2007, Corollary 2.10.
Lemma C.1** (Bernstein’s inequality).**
Let , be bounded random variables such that , and for all ’s. Then for all we have
[TABLE]
Proof of Lemma 5.5.
First, observe that for any -integrable probability distributions
[TABLE]
and that
[TABLE]
Specializing to we get 1\leq C:=\mathopen{}\mathclose{{}\left\|{\tau}-{\tau}^{\prime}}\right\|_{\mathcal{\mathcal{F}}}/\mathopen{}\mathclose{{}\left\|{\tau}-{\tau}^{\prime}}\right\|_{\kappa}\leq\mathopen{}\mathclose{{}\left\|\mathcal{S}_{\kappa}}\right\|_{\mathcal{F}} and , hence \mathopen{}\mathclose{{}\left\|\mathcal{S}_{\kappa}}\right\|_{\mathcal{F}}\geq 1 and |Z(\omega)|\leq\max\mathopen{}\mathclose{{}\left(1,C^{2}-1}\right)\leq C^{2}\leq\mathopen{}\mathclose{{}\left\|\mathcal{S}_{\kappa}}\right\|_{\mathcal{F}}^{2}. As we obtain
[TABLE]
Applying Lemma C.1 with the independent random variables we obtain for each :
[TABLE]
Lemma C.2**.**
Consider a family of functions , parameters drawn i.i.d. according to some distribution on , and the (random) operator induced (see (5)) by the feature function \mathrm{\Phi}(x):=\tfrac{1}{\sqrt{m}}\mathopen{}\mathclose{{}\left({\phi_{\omega_{j}}}(x)}\right)_{j=1}^{m}. and the associated kernel. Assume that (52) holds with concentration function and consider and the metric defined in (54). For any such that
[TABLE]
we have, with probability at least :
[TABLE]
Proof of Lemma C.2.
Consider \mu=({\tau}-{\tau}^{\prime})/\mathopen{}\mathclose{{}\left\|{\tau}-{\tau}^{\prime}}\right\|_{\kappa} with . By definition of the concentration function, for any and
[TABLE]
This establishes a pointwise concentration result when is on the normalized secant set . We now use a standard argument to extend this to a uniform result on . Let , be the centers of a -covering (with respect to the metric ) of . Using (67) with , the probability that there is an index such that \Big{|}\mathopen{}\mathclose{{}\left\|\mathcal{A}(\mu_{i})}\right\|_{2}^{2}-1\Big{|}\geq\delta/2 is at most . Hence, with probability at least , we have: for any , with an index chosen so that :
[TABLE]
Proof of Theorem 5.7.
Denote with N:=\mathrm{N}\mathopen{}\mathclose{{}\left(d_{\mathcal{F}},\mathcal{S}_{\kappa},\delta/2}\right). By Lemma C.2, the assumptions imply that with probability at least on the draw of , , we have
[TABLE]
This implies (48). Since \mathopen{}\mathclose{{}\left\|\mathcal{S}_{\kappa}}\right\|_{\Delta\mathcal{L}}<\infty, the LRIP (20) holds wrt \mathopen{}\mathclose{{}\left\|\cdot}\right\|_{\Delta\mathcal{L}} with C_{\mathcal{A}}=\frac{\mathopen{}\mathclose{{}\left\|\mathcal{S}_{\kappa}}\right\|_{\Delta\mathcal{L}}}{\sqrt{1-\delta}}. ∎
Appendix D Proof of Lemma 3.2 and Lemma 3.4
If then hence almost surely, i.e., almost surely. The converse is trivial. The bound (33) follows directly since for any , . This establishes the first claim of Lemma 3.2.
Let be fixed. By (29), with , we have hence and for any :
[TABLE]
For the second claim of Lemma 3.2, by (30), since is a metric we have for any
[TABLE]
It follows using (68) that
[TABLE]
As this holds for any , and as equality is reached for , we get .
In particular when we have for any hence for , by the triangle inequality, , showing that is a metric.
For the claims of Lemma 3.4, we will exploit optimal transport through connections between the considered norms and the norm \mathopen{}\mathclose{{}\left\|\cdot}\right\|_{\mathrm{Lip}(L,d)}=L\cdot\mathopen{}\mathclose{{}\left\|\cdot}\right\|_{\mathrm{Lip}(1,d)}, where denotes the class of functions that are -Lipschitz.
For , and with -diameter bounded by , since \mathopen{}\mathclose{{}\left\lvert a^{p}-b^{p}}\right\rvert\leq\max(pa^{p-1},pb^{p-1})\mathopen{}\mathclose{{}\left\lvert a-b}\right\rvert for any , we have
[TABLE]
by the triangle inequality, hence . Using (19) this implies that for any we have in general in the above considered setting:
[TABLE]
It is well-known that the 1-Wasserstein distance between two distributions can be equivalently defined in terms of optimal transport (so-called “earth mover’s distance”) but also as
[TABLE]
as soon as is a separable metric space, see, e.g., (Dudley, 2002, Theorem 11.8.2). By the transport characterization of the Wasserstein distance, considering the transport plan that sends to , where , we conclude
[TABLE]
by Jensen’s inequality (since here), yielding the claim (34).
For the final claim, we have
[TABLE]
where f_{\mathbf{u}}(x):=\mathopen{}\mathclose{{}\left\langle\mathrm{\Phi}(x),\mathbf{u}}\right\rangle. Moreover, for \mathopen{}\mathclose{{}\left\|\mathbf{u}}\right\|_{2}\leq 1 and any , since is assumed -Lipschitz:
[TABLE]
i.e., is -Lipschitz with respect to . It follows that for any , \mathopen{}\mathclose{{}\left\|\mathcal{A}(\pi)-\mathcal{A}(\pi^{\prime})}\right\|_{2}\leq L\mathopen{}\mathclose{{}\left\|\pi-\pi^{\prime}}\right\|_{\mathrm{Lip}(1,d)}=L\mathopen{}\mathclose{{}\left\|\pi-\pi^{\prime}}\right\|_{\textnormal{Wasserstein}_{1}(d)}.
The claim (35) when follows by (69). When and the space has -diameter bounded by , as , we obtain (36) as follows
[TABLE]
Appendix E Proof of Theorem 4.1 on Compressive PCA
For Compressive PCA, we recall that is the number of PCA components we want to estimate. The hypothesis class is the set of linear subspaces of dimension of the input space , which is in one-to-one correspondance with the space of orthoprojectors of rank . In the remainder of this section we therefore use directly as the hypothesis class, for notational convenience. We recall that for , we consider the model consisting of probability distributions having their second moment matrix of rank at most .
Observe that for any :
[TABLE]
where the inner product \mathopen{}\mathclose{{}\left\langle,}\right\rangle_{F} is the Frobenius product, and the minimum risk is
[TABLE]
where () denotes an orthoprojector onto the first eigenvectors of , and denote the eigenvalues, with multiplicity and ordered in nonincreasing sequence, of a matrix .
We follow the improved risk analysis of Section 2.5. In the above setting, the excess risk divergence (18) with respect to an arbitrary reference hypothesis is given by
[TABLE]
Lower RIP.
We start with the following bound on the excess risk divergence, holding without restriction for any distributions with existing second moments and any :
[TABLE]
Proof of (72).
By the so-called Ky Fan Theorem Fan (1949), for a symmetric matrix , and a positive integer , one has
[TABLE]
As a result, we obtain
[TABLE]
∎
Since the right-hand side of (72) does not depend of , we get from (19) in particular that for any with finite second moments
[TABLE]
Hence, since is a linear operator having a RIP (37) on matrices of rank lower than , induces (in the way described in Section 4) a sketching operator that has the lower RIP described in (20) with constants on model .
Ideal decoder and generic excess risk control.
The ideal decoder (12) writes
[TABLE]
and is equivalent to (38), i.e.
[TABLE]
Formally, can then be taken as any distribution having second moment matrix . This last step can naturally be shunted since whatever the choice of such a representative distribution, the associated estimated hypothesis is directly given by (39).
By Theorem 2.5, this decoder is instance optimal yielding (24) with , i.e., the excess risk of of the procedure of Section 4 when the true data distribution is is controlled by
[TABLE]
with the bias term defined in (25).
Control of the bias term.
The next lemma improves over Lemma 3.2 in the special case of PCA.
Lemma E.1**.**
Consider a probability distribution with finite second moments, , and (any) probability distribution with covariance . We have .
Proof.
Since is a nonnegative matrix and , (71) yields
[TABLE]
As a result the “bias” term in the bound (73) is upper bounded as
[TABLE]
From now on we assume (otherwise the bias is trivially 0). We now use the following lemma to bound \mathopen{}\mathclose{{}\left\|\mathcal{M}(\mathbf{\Sigma}_{\pi}-\mathbf{\Sigma}_{\pi}^{[r]})}\right\|_{2}.
Lemma E.2**.**
Let be symmetric p.s.d. and satisfy the upper RIP in (37), i.e. {\mathopen{}\mathclose{{}\left\|\mathcal{M}(\mathbf{M})}\right\|_{2}^{2}}/{\mathopen{}\mathclose{{}\left\|\mathbf{M}}\right\|_{F}^{2}}\leq 1+\delta for all matrices of rank at most . For , consider a best rank approximation to . Then for any we have
[TABLE]
where .
Proof.
This proof follows mainly the ideas of Candès (2008). By definition of there is an eigendecomposition , where is a diagonal matrix containing the eigenvalues of with multiplicity in decreasing order, such that where contains the first eigenvalues. Decompose into blocks, , where contains the first eigenvalues, and , are the next blocks of eigenvalues in decreasing order (the last block is of size ); that is, for the block contains eigenvalues of indices such that . Let us also denote , for , the blocks of eigenvalues of size starting one index later, that is, contains eigenvalues of indices such that . Let , so that . As , , hence by the upper RIP property,
[TABLE]
∎
The above lemma (with ) allows us to control \mathopen{}\mathclose{{}\left\|\mathcal{A}(\pi)-\mathcal{A}(\pi_{r})}\right\|=\mathopen{}\mathclose{{}\left\|\mathcal{M}(\mathbf{\Sigma}_{\pi}-\mathbf{\Sigma}_{\pi}^{[r]})}\right\|_{2} using for . This, in combination with (74) and (73), establishes (40). Moreover, choosing , we get , leading to (41).This proves Theorem 4.1.
Table of notations
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Ailon et al. [2009] N. Ailon, R. Jaiswal, and C. Monteleoni. Streaming k 𝑘 k -means approximation. In Advances in Neural Information Processing Systems (NIPS) , pages 10–18, 2009.
- 2Aloise et al. [2009] D. Aloise, A. Deshpande, P. Hansen, and P. Popat. NP-hardness of Euclidean sum-of-squares clustering. Machine Learning , 75(2):245–248, 2009.
- 3Anderson et al. [2014] J. Anderson, M. Belkin, N. Goyal, L. Rademacher, and J. Voss. The more, the merrier: the blessing of dimensionality for learning large Gaussian mixtures. In Conference on Learning Theory , pages 1135–1164, 2014.
- 4Andrieu and Doucet [2003] C. Andrieu and A. Doucet. Online expectation-maximization type algorithms for parameter estimation in general state space models. In 2003 IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP ’03) , volume 6, pages VI–69, 2003.
- 5Arora et al. [2012] R. Arora, A. Cotter, K. Livescu, and N. Srebro. Stochastic optimization for PCA and PLS. In 2012 50th Annual Allerton Conference on Communication, Control, and Computing (Allerton) , pages 861–868, Oct 2012.
- 6Arthur and Vassilvitskii [2007] D. Arthur and S. Vassilvitskii. k-means++: the advantages of careful seeding. In ACM-SIAM symposium on Discrete algorithms , pages 1027—-1035, 2007.
- 7Bach [2017] F. Bach. On the equivalence between kernel quadrature rules and random feature expansions. Journal of Machine Learning Research , 18(21):1–38, 2017.
- 8Balsubramani et al. [2013] A. Balsubramani, S. Dasgupta, and Y. Freund. The fast convergence of incremental PCA. In Advances in Neural Information Processing Systems 26 , pages 3174–3182, 2013.
