Estimation bounds and sharp oracle inequalities of regularized procedures with Lipschitz loss functions
Pierre Alquier, Vincent Cottet, Guillaume Lecué
Introduction
Many classification and prediction problems are solved in practice by regularized empirical risk minimizers (RERM). The risk is measured by a loss function and the quadratic loss function is the most popular function for regression. It has been extensively studied (cf. among others). Still many other loss functions are popular among practitioners and are indeed extremely useful in specific situations.
First, let us mention the quantile loss in regression problems. The -quantile loss (also known as absolute or loss) is known to provide an indicator of conditional central tendency more robust to outliers than the quadratic loss. An alternative to the absolute loss for robustification is provided by the Huber loss. On the other hand, general quantile losses are used to estimate conditional quantile functions and are extremely useful to build confidence intervals and measures of risk, like Values at Risk (VaR) in finance.
Let us now turn to classification problems. The natural loss in this context, the so called loss, leads very often to computationally intractable estimators. Thus, it is usually replaced by a convex loss function, such as the hinge loss or the logistic loss. A thorough study of convex loss functions in classification can be found in .
All the aforementioned loss functions (quantile, Huber, hinge and logistic) share a common property: they are Lipschitz functions. This motivates a general study of RERM with any Lipschitz loss. Note that some examples were already studied in the literature: the -penalty with a quantile loss was studied in under the name “quantile LASSO” while the same penalty with the logistic loss was studied in under the name “logistic LASSO” (cf. ). The ERM strategy with Lipschitz proxys of the loss are studied in . The loss functions we will consider in the examples of this paper are reminded below:
The two main theoretical results of the paper, stated in Section 2, are general in the sense that they do not rely on a specific loss function or a specific regularization norm. We develop two different settings that handle different assumptions on the design. In the first one, we assume that the family of predictors is subgaussian; in the second setting we assume that the predictors are uniformly bounded, this setting is well suited for classification tasks, including the 1-bit matrix completion problem. The rates of convergence rely on quantities that measure the complexity of the model and the size of the subdifferential of the norm.
We study many applications that give new insights on diverse problems: the first one is a classification problem with logistic loss and LASSO or SLOPE regularizations. We prove that the rate of the SLOPE estimator is minimax in this framework. The second one is about matrix completion. We derive new excess risk bounds for the 1-bit matrix completion issue with both logistic and hinge loss. We also study the quantile loss for matrix completion and prove it reaches sharp bounds. We show several examples in order to assess the general methods as well as simulation studies. The last example involves the SVM and proves that “classic” regularization method with no special sparsity inducing power can be analyzed in the same way as sparsity inducing regularization methods.
A remarkable fact is that no assumption on the output is needed (while most results for the quadratic loss rely on an assumption of the tails of the distribution of ). Neither do we assume any statistical model relating the “output variable” to the “input variable” .
Note that we chose a Lipschitz constant equal to one in Assumption 1.1. This can always be achieved by a proper normalization of the loss function. We define the oracle predictor as
and is distributed like the ’s. The objective of machine learning is to provide an estimator that predicts almost as well as . We usually formalize this notion by introducing the excess risk of by
Thus we consider the estimator of the form
For the rest of the paper, we will use the following notations: let and denote the radius ball and sphere for the norm , i.e. and . For the -norm, we write and and so on for the other norms.
The notation will be used to denote positive constants, that might change from one instance to the other. For any real numbers , we write when there exists a positive constant such that . When and , we write .
We now present briefly one of the outputs of our global approach: an oracle inequality for the -bit matrix completion problem with hinge loss (we refer the reader to Section 4 for a detailed exposition of this example). While the general matrix completion problem has been extensively studied in the case of a quadratic loss, see and the references therein, we believe that there is no satisfying solution to the so-called -bit matrix completion problem, that is for binary observations . Indeed, the attempts in to use the hinge loss did not lead to rank dependent learning rates. On the other hand, studied RERM procedure using a statistical modeling approach and the logistic loss. While these authors prove optimal rates of convergence of their estimator with respect to the Frobenius norm, the excess classification risk, is not studied in their paper. However we believe that the essence of machine learning is to focus on this quantity – it is directly related to the average number of errors in prediction.
where is some parameter to be chosen. We prove in Section 4 the following result.
Assume that Assumption 1.2 holds and there is such that, for any ,
There is a , that depends only on and , and that is formally introduced in Section 4 below, such that if one chooses the regularization parameter
the RERM estimator defined in (2) satisfies for every ,
where the notation is used for constants that might change from one instance to the other but depend only on , and .
Therefore, the RERM from (2) for the choice of regularization parameter as in Theorem 1.1 satisfies with probability larger than in (4),
where depends on , , and . This yields a bound on the average of excess number of mistakes of . To our knowledge such a prediction bound was not available in the literature on the -bit matrix completion problem. Let us compare Theorem 1.1 to the main result in . In , the authors focus on the estimation error , which seems less relevant for practical applications. In order to connect such a result to the excess classification risk, one can use the results in and in this case, the best bound that can be derived is of the order of . Note that other authors focused on the classification error: proved an excess error bound, but the bound does not depend on the rank of the oracle. The rate derived from Theorem 1.1 for the -classification excess risk was only reached in , but in the very restrictive noiseless setting, which is equivalent to .
We hope that this example convinced the reader of the practical interest of the general study of in (1). The rest of the paper is organized as follows. In Section 2 we introduce the concepts necessary to the general study of (1): namely, a complexity parameter, and a sparsity parameter. Thanks to these parameters, we define the assumptions necessary to our general results: the Bernstein condition, which is classic in learning theory to obtain fast rates , and a stochastic assumption on (subgaussian, or bounded). The general results themselves are eventually presented. The remaining sections are devoted to applications of our results to different estimation methods: the logistic LASSO and logistic SLOPE in Section 3, matrix completion in Section 4 and Support Vector Machines (SVM) in Section 5. For matrix completion, the optimality of the rates for the logistic and the hinge loss, that were not known, is also derived. In Section 6 we discuss the Bernstein condition for the three main loss functions of interest: hinge, logistic and quantile.
Theoretical Results
The two main theorems in Sections 2.5 and 2.6 below are general in the sense that they allow the user to deal with any (nonnegative) Lipschitz loss function and any norm for regularization, but they involve quantities that depend on the loss and the norm. The aim of this Section is first to provide the definition of these objects and some hints on their interpretation, through examples. The theorems are then stated in both settings. Basically, the assumptions for the theorems are of three types:
a stochastic assumption on the distribution of the ’s for . In this work, we consider both a subgaussian assumption and a uniform boundedness assumption. Analysis of the two setups differ only on the way the “statistical complexity of ” is measured (cf. below the functions in Definition 8.1 and Definition 8.2).
finally, we introduce a sparsity parameter as in . It reflects how the norm used as a regularizer can induce sparsity - for example, think of the “sparsity inducing power” of the -norm used to construct the LASSO estimator.
Application of the main results 1. find the Bernstein parameter and associated to the loss and the class ; 2. compute the Complexity function where is defined either through the Gaussian mean width , in the subgaussian case, or the Rademacher complexity , in the bounded case; 3. Compute the sub-differential of at the oracle (or in the neighborhood for approximately sparse oracles) and solve the sparsity equation “find such that ”. 4. Apply Theorem 2.1 in the subgaussian framework and Theorem 2.2 in the bounded framework. In each case, with large probability, For the sake of simplicity, we present the two settings in different subsections with both the exact definition of the complexity function and the theorem. As the sparsity equation is the same in both settings, we define it before even though it involves the complexity function.
2 The Bernstein condition
The first assumption needed is called Bernstein assumption and is very classic in order to deal with Lipschitz loss.
There exists and such that for every , .
The most important parameter is and will be involved in the rate of convergence. As usual fast rates will be derived when . In many situations, this assumption is satisfied and we present various cases in Section 6. In particular, we prove that it is satisfied with for the logistic loss in both bounded and Gaussian framework, and we exhibit explicit conditions to ensure that Assumption 2.1 holds for the hinge and the quantile loss functions.
The careful reader will actually realize that the proof of Theorem 2.1 and Theorem 2.2 requires only a weaker version of this assumption, that is: there exists and such that for every , , where is defined in terms of the complexity function and the sparsity parameter to be defined in the next subsections,
Note that the set appears to play a central role in the analysis of regularization methods, cf. . However, in all the examples presented in this paper, we prove that the Bernstein condition holds on the entire set .
3 The complexity function r(⋅)r(\cdot)
The complexity function is defined by
where is the constant in Assumption 2.1 and where is a measure of the complexity of the unit ball associated to the regularization norm. Note that this complexity measure will depend on the stochastic assumption of . In the bounded setting, where is an absolute constant and is the Rademacher complexity of (whose definition will be reminded in Subsection 2.6). In the subgaussian setting, where is an absolute constant, is the subgaussian parameter of the class and is the Gaussian mean-width of (here again, exact definitions of and will be reminded in Subsection 2.5).
Note that sharper (localized) versions of are provided in Section 8. However, as it is the simplest version that is used in most examples, we only introduce this version for now.
4 The sparsity parameter ρ∗\rho^{*}
The size of the sub-differential of the regularization function in a neighborhood of the oracle will play as well a central role in our analysis. We recall now its definition: for every
It is well-known that is a subset of the unit sphere of the dual norm of when . Note also that when , is the entire unit dual ball, a fact we will also use in two situations, either when the regularization norm has no “sparsity inducing power” – in particular, when it is a smooth function as in the RKHS case treated in Section 5; or when one wants extra norm dependent upper bounds (cf. for more details where these bounds are called complexity dependent) in addition to sparsity dependent upper bounds. In the latter, the statistical bounds that we get are the minimum between an error rate that depends on the notion of sparsity naturally associated to the regularization norm (when it exists) and an error rate that depends on .
The sparsity parameter is the function defined by
where .
Note that there is a slight difference with the definition of the sparsity parameter from where there is defined taking the infimum over the sphere intersected with a -ball of radius whereas in Definition 2.1, is intersected with a -ball of radius . Up to absolute constants this has no effect on the behavior of and the difference comes from technical detains in our analysis (a peeling argument that we use below whereas a direct homogeneity argument was enough in ).
In the following, estimation rates with respect to the regularization norm , the norm as well as sharp oracle inequalities are given. All the convergence rates depend on a single radius that satisfies the sparsity equation as introduced in .
The radius is any solution of the sparsity equation:
Since is central in the results and drives the convergence rates, finding a solution to the sparsity equation will play an important role in all the examples that we worked out in the following. Roughly speaking, if the regularization norm induces sparsity, a sparse element in (that is an element for which is almost extremal – that is almost as large as the dual sphere) yields the existence of a small . In this case, satisfies the sparsity equation.
In addition, if one takes then and since is the entire dual ball associate to , one has directly that and so satisfies the sparsity Equation (8). We will use this observation to obtain norm dependent upper bounds, i.e. rates of convergence depending on and that do not depend on any sparsity parameter. Such a bound holds for any norm; in particular, for norms with no sparsity inducing power as in Section 5.
5 Theorem in the subgaussian setting
First, we introduce the subgaussian framework (then we will turn to the bounded case in the next section).
We say that a class of functions is -subgaussian (w.r.t. ) for some constant when for all and all ,
We will use the following operations on sets: for any and ,
Note that there are many equivalent formulations of the subgaussian property of a random variable based on -Orlicz norms, deviations inequalities, exponential moments, moments growth characterization, etc. (cf., for instance Theorem 1.1.5 in ). The one we should use later is as follows: there exists some absolute constant such that is -subgaussian if and only if for all and ,
for , is uniformly distributed over (cf. ),
In the subgaussian framework, a natural way to measure the statistical complexity of the problem is via Gaussian mean-width that we introduce now.
We refer the reader to Section 12 in for the construction of Gaussian processes in . There are many natural situations where Gaussian mean-widths can be computed. To familiarize with this quantity let us consider an example in the matrix framework. Let be the class of linear functionals indexed by the unit ball of the -norm and be the distance associated with the Frobenius norm (i.e. ) then
We are now in position to define the complexity parameter as announced previously.
The complexity parameter is the non-decreasing function defined for every ,
where are the Bernstein parameters from Assumption 2.1, is the subgaussian parameter from Assumption 2.2 and is an absolute constant (the exact value of can be deduced from the proof of Proposition 8.2). The Gaussian mean-width of is computed with respect to the the metric associated with the covariance structure of , i.e. for every .
After the computation of the Bernstein parameter , the complexity function and the radius , it is now possible to explicit our main result in the sub-Gaussian framework.
Assume that Assumption 1.1, Assumption 2.1 and Assumption 2.2 hold and let from the definition of in Definition 2.5. Let the regularization parameter be
and satisfying (8). Then, with probability larger than
where denotes positive constants that might change from one instance to the other and depend only on , , and .
Replacing by any upper bound does not affect the validity of the result. As a special case, it is possible to increase the confidence level of the bound by replacing by : then, with probability at least
Theorem 2.1 holds for any radius satisfying the sparsity equation (8). We have noticed in Section 2.4 that satisfies the sparsity equation since in that case and so . Therefore, one can apply Theorem 2.1 to both (this leads to norm dependent upper bounds) and to the smallest satisfying the sparsity equation (8) (this leads to sparsity dependent upper bounds) at the same time. Both will lead to meaningful results (a typical example of such a combined result is Theorem 9.2 from or Theorem 3.1 below).
6 Theorem in the bounded setting
We now turn to the bounded framework; that is we assume that all the functions in are uniformly bounded in . This assumption is very different in nature than the subgaussian assumption which is in fact a norm equivalence assumption (i.e. Definition 2.3 is equivalent to for all where is the Orlicz norm, cf. ).
There exist a constant such that for all , .
Under the boundedness assumption, the natural way to measure the ”statistical complexity” cannot be anymore characterized by Gaussian mean width. We therefore introduce another complexity parameter known as Rademacher complexities. This complexity measure has been extensively studied in the learning theory literature (cf., for instance, ).
Note that when is a version of the isonormal process over (cf. Chapter 12 in ) restricted to then the Gaussian mean-width and the Rademacher complexity coincide: . But, in that case, is not bounded in and, in general, the two complexity measures are different.
There are many examples where Rademacher complexities have been computed (cf. ). Like in the previous subgaussian setting the statistical complexity is given by a function (we use the same name in the two bounded and subgaussian setups because this function plays exactly the same role in both scenarii even though it uses different notion of complexity).
The complexity parameter is the non-decreasing function defined for every by
Assume that Assumption 1.1, Assumption 2.1 and Assumption 2.3 hold. Let the regularization parameter be chosen as . Then, with probability larger than
where denotes positive constants that might change from one instance to the other and depend only on , , and is the function introduced in Definition 2.7.
In the next Sections 3, 4 and 5 we compute either in the subgaussian setup or in the bounded setup and solve the sparsity equation in various examples, showing the versatility of the main strategy.
Application to logistic LASSO and logistic SLOPE
The first example of application of the main results in Section 2 involves one very popular method developed during the last two decades in binary classification which is the Logistic LASSO procedure (cf. ).
In this section, we consider the class of linear functional indexed by for some radius and the logistic loss:
where is a regularization parameter to be chosen according to Theorem 2.1.
The two final ingredients needed to apply Theorem 2.1 are 1) the computation of the Gaussian mean width of the unit ball of the regularization function 2) find a solution to the sparsity equation (8).
for the complexity parameter of the problem (from now and until the end of Section 3, the constants depends only on , , and ).
Now let us turn to a solution of the sparsity equation (8). First note that when the design is isotropic the sparsity parameter is the function
where .
A first solution to the sparsity equation is because it leads to . This solution is called norm dependent.
If there exists some such that then where is an absolute constant.
In particular, we get that is a solution to the sparsity equation if there is a -sparse vector which is -close to in . This radius leads to the so-called sparsity dependent bounds.
After the derivation of the Bernstein parameter , the complexity and a solution to the sparsity equation, we are now in a position to apply Theorem 2.1 to get statistical bounds for the Logistic LASSO.
and the excess logistic risk of is such that
Note that an estimation result for any -norm for follows from results in and and the interpolation inequality .
Note that Theorem 3.1 recovers the classic rates of convergence for the logistic LASSO estimator that have been obtained in the literature so far. This rates is the minimax rate as long as behaves like . This is indeed the case when which is the classic setup in high-dimensional statistics. But when is proportional to this rate is not minimax since there is a logarithmic loss. To overcome this issue we introduce a new estimator: the logistic SLOPE.
2 Logistic Slope
where is the non-increasing rearrangement of the absolute values of the coordinates of and is the base of the natural logarithm. Using this estimator with a regularization parameter we recover the same result as for the Logistic LASSO case except that one can get, in that case, the optimal minimax rate for any :
Indeed, it follows from Lemma 5.3 in that the Gaussian mean width of the unit ball associated with the SLOPE norm is of the order of a constant. The sparsity dependent radius satisfies
as long as there is a -sparse vector in . The norm dependent radius is as usual of order . Then, the next result follows from Theorem 2.1. It improves the best known bounds on the logistic LASSO.
and the excess logistic risk of is such that
Application to matrix completion via S1S_{1}-regularization
The second example involves matrix completion and uses the bounded setting from Section 2.6. The goal is to derive new results on two ways: the 1-bit matrix completion problem where entries are binary, and the quantile completion problem. The main theorems in this section yield upper bounds on completion in norms () and on various excess risks. We also propose algorithms in order to compute efficiently the RERM in the matrix completion issue but with non differentiable loss and provide a simulation study. We first present a general theorem and then turn to specific loss functions because they induce a discussion about the Bernstein assumption and the parameter and lead to more particular theorems.
where is the operator norm (i.e. the largest singular value), the last inequality follows from Lemma 1 in and is some constant that depends only on and .
The complexity parameter is derived from Definition 2.7: for any ,
where from now the constants depend only on , , , and .
The next important quantity is the sparsity parameter. Its expression in this particular case is, for any ,
There exists an absolute constant for which the following holds. If there exists such that then .
It follows from Lemma 4.1 that the sparsity equation (8) is satisfied by when it exists such that . Note obviously that can be itself, in this case, can be taken such that . However, when is not low-rank, it might still be that a low-rank approximation of is close enough to w.r.t. the -norm. As a consequence, if for some there exists a matrix with rank at most in where
then satisfies the sparsity equation.
Following the remark at the end of Subsection 2.4, another possible choice is in order to get norm dependent rates. In the end, we choose . We are now in a position to apply Theorem 2.2 to derive statistical properties for the RERM defined in (16).
Assume that Assumption 1.1, 1.2 and 2.1 hold. Consider the estimator in (16) with regularization parameter
where are the constants in Assumption 1.2. Let and assume that there exists a matrix with rank at most in . Then, with probability at least
Note that the interpolation inequality also allows to get a bound for the norm, when :
Theorem 4.1 shows that the sparsity dependent error rate in the excess risk bound is (for )
which is the classic excess risk bound under the margin assumption up to a log factor (cf. ). As for the -estimation error, when , we recover the classic -estimation rate
which is minimax in general (up to log terms, e.g. take the quadratic loss when is bounded and compare to ).
2 Algorithm and Simulation Outlines
Since this part provides new methods and results on matrix completion, we propose an algorithm in order to compute efficiently the RERM using the hinge loss and the quantile loss. This section explains the structure of the algorithm that is used with specific loss functions in next sections. Although many algorithms exist for the least squares matrix completion, at our knowledge many of them treat only the exact recovery such as in and , or at least they all deal with differentiable loss functions, see . On the other hand, the two losses that we mainly consider here are non differentiable because they are piecewise linear (in the case of hinge and -quantile loss functions): new algorithms are hence needed. It has been often noted that the RERM with respect to the hinge loss or -quantile loss can been solved by a semidefinite programming but the cost is prohibitive for large matrices, say dimensions larger than . It actually works for small matrices as we ran SDP solver in Python in very small examples.
We propose here an alternating direction method of multiplier (ADMM) algorithm. For a clear and self-contained introduction to this class of algorithms, the reader is referred to and we do not explain all the details here and we keep the same vocabulary. When the optimization problem is a sum of two parts, the core idea is to split the problem by introducing an extra variable. In our case, the two following problems are equivalent:
Below, we use the scaled form and the matrix is then called the scaled dual variable. Note that the norm is also the Froebenius norm and is thus elementwise. We can now exhibit the augmented Lagrangian:
where is a positive constant, called the augmented Lagrange parameter. The ADMM algorithm is then:
The starting point uses one random matrix with independent Gaussian entries for and two zero matrices for and . Another choice of starting point is to use a previous estimator with a larger . The stopping criterion is, as explained in , for a fixed threshold . It means that it stops when both and start converging.
The second step (22) is independent of the loss function. It is well-known that the solution of this problem is when is the soft-thresholding operator with magnitude applied to the singular values of the matrix . It is defined for a rank matrix M with SVD where by where .
Moreover, the first step (21) (which may be performed elementwise) has a closed form solution for hinge and quantile loss: it is a soft-thresholding applied to a specified quantity.
Simulated observations as well as real-world data (cf. the MovieLens dataset available in http://grouplens.org/datasets/movielens/) are considered in the examples below. Finally note that parameter is tuned by cross-validation.
3 11-bit matrix completion
Assume that Assumption 1.2 holds. Let and assume that there exists a matrix with rank at most in where is defined in (19). With probability at least
with as in Equation (20) satisfies
Using an interpolation inequality, it is easy to derive estimation bound in for all as in Theorem 4.1 so we do not reproduce it here. Also, note that our bound on is of the same order as the one in . We actually now prove that this rate is minimax-optimal (up to log terms).
for some universal constants .
But this rate on the excess -risk may be much better under the margin assumption (cf. Equation (36) below). This motivates the use of the hinge loss instead of the logistic loss, for which the results in do not lead to a loss of a square root in the rate.
As explained above, the choice ensures without additional assumption. Thanks to Proposition 6.3 we know that as soon as for some , the Bernstein assumption is satisfied by the hinge loss with and . This assumption seems very mild in many situations and we derive the results with it.
Assume that Assumption 1.2 holds. Assume that for some . Let and assume that there exists a matrix with rank at most in where is defined in (19). With probability at least
with as in Equation (20) satisfies
In this case, implies that the excess risk bound for the classification error (using the -loss) is the same as the one for the hinge loss: it is therefore of the order of .
Note that the rate for the classification excess error was only reached in up to our knowledge (using the PAC-Bayesian technique from ), in the very restrictive noiseless setting - that is, which is equivalent to . Here this rate is proved to hold in the general case. Other works, including , obtained only rates in . Finally, we prove that this rate is the minimax rate in the next result.
Theorem 4.5 provides a minimax lower bound in expectation whereas Theorem 4.4 provides an excess risk bound with large deviation. The two residual terms of the excess hinge risk from Theorem 4.5 and Theorem 4.4 match up to the factor.
As the hinge loss has not been often studied in the matrix context, we provide many simulations in order to show the robustness of our method and the opportunity of using the hinge loss rather than the logistic loss. We follow the simulations ran in and compare several methods. An estimator based on the logistic model, studied in , is also challenged In the followings, the four estimators will be referred to Hinge for estimator given in (24), Hinge Bayes and Logit Bayes for the two Bayesian estimators from with respectively hinge and logistic loss functions, and Logit for the estimator from . The Bayesian estimators use the Gammma prior distribution..
Two different scenarios are tested: the first one (called A), involves a matrix with only entries in so the Bayes classifier is low rank and favors the hinge loss. The second test (called B) involves a matrix where have i.i.d. Gaussian entries and the rank is the number of columns. In this case, the Bayes matrix contains the signs of a low-rank matrix, but it is not itself low rank in general. We also test the impact of the noise structure on the results:
(noiseless)
(logistic) , where follows a logistic distribution
(switch) where
Finally, we run all the simulations on rank and rank matrices. is tuned by cross validation. All the simulations are run one time.
The results are very similar among the methods, see Table 2. The logistic loss performs better for matrices of type B and especially for high level of noise in the logistic data generation as expected. For type A matrices, the hinge loss performs slightly better. The Bayesian models performs as good as the frequentist estimators even though the program solved is not convex.
The second experiment is a focus on the switch noise and matrices that are well separated (as A2 in the previous example). The noise lies between and almost full noise (). The performance of the RERM with the hinge loss is slightly worse than the Bayesian estimator with hinge loss but always better than the RERM with the logistic loss, see Figure 2.
We finally run the hinge loss estimator on the MovieLens dataset. The ratings, that lie in , are split between good ratings () and bad ratings (others). The goal is therefore to predict whether the user will like a movie or not. On a test set that contains of the data, the misclassification rate in prediction are almost the same for all the methods (Table 3).
4 Quantile loss and median matrix completion
The following result studies a particular case in which the Bernstein Assumption is proved in Proposition 6.4. Following , it assumes that the conditional distribution of given is continuous and that the density is not too small on the domain of interest – this ensures that Bernstein’s condition is satisfied with and depending on the lower bound on the density, see Section 6 for more details. It can easily be derived for a specific distribution such as Gaussian, Student and even Cauchy. But we also have to assume that , or in other words , which is a more stringent assumption: in practice, it meands that we should know a priori an upper bound on the quantiles to be estimated.
Assume that Assumption 1.2 holds. Let and assume that . Assume that for any , has a density with respect to the Lebesgue measure, , and that for some constant for any such that . Let and assume that there exists a matrix with rank at most in where is defined in (19). Then, with probability at least
with satisfies
We obtain the same rate as for the penalized least squares estimator that is (cf. ).
The goal of this part is to challenge the regularized least squares estimator by the RERM with quantile loss. The quantile used here is therefore the median. The main conclusion of our study is that median based estimators are more robust to outliers and noise than mean based estimators. We first test them on simulated datasets and then turn to use a real dataset.
The observations come from a base matrix which is a low rank matrix. It is built by where the entries of are i.i.d. gaussian and have columns (and therefore, the rank of is ). The ’s correspond to randomly picked entries. The criterion that we retain is the reconstruction of that is: .
The observations are made according to this flexible model:
is the noise, is the magnitude of outliers and is the outlier indicator parametrized by the share such that . The different parameters for the different scenarios are summarized in Table 4.
On the first experiment, is fixed to and the magnitude increases. As expected for least squares, the results are better for low magnitude of outliers (it corresponds to the penalized maximum likelihood estimator), see Figure 5. Quickly, the performance of the least squares estimator is getting worse and when the outliers are large enough, the best least squares predictor is a matrix with null entries. In opposite to this estimator, the median of the distribution is almost not affected by outliers and it is completely in line with the results: the performances are strictly the same for mid-range to high-range magnitude of outliers. The robustness of the quantile reconstruction is totally independent to the magnitude of the outliers.
A second experiment involves fixed magnitude of outliers but the share of them increases, see Figure 5. The median completion is, as expected, more robust and the results deteriorate less than the ones from least squares. When the outliers ratio is greater than , the least squares estimator completely fails while the median completion still works.
The third simulation involves non gaussian noise without outliers: we use the t-distribution, that has heavy tails. In this challenge, a lower degree of freedom involves heavier tails and the worst case is for Student distribution with degree . We can see that the least squares is inadequate for small degrees of freedom ( to ) and behaves better than the median completion for larger degrees of freedom, see Figure 5.
The last experiment involves the MovieLens dataset. We keep one fifth of the sample for test set to check the prediction accuracy. Even though the least squares estimator remains very efficient in the standard case, see Table 5, the results are quite similar for the MAE criterion. In a second step, we add artificial outliers. In order to do that, we change of ratings to ratings. It can be seen as malicious users that change ratings in order to distort the perception of some movies. As expected, it depreciates the least squares estimator performance but the median estimator returns almost as good performances as in the standard case.
Kernel methods via the hinge loss and a RKHS-norm regularization
In this section, we consider regularization methods in some general Reproducing Kernel Hilbert Space (RKHS) (cf. , Chapter 4 in or Chapter 3 of for general references on RKHS).
Unlike the previous examples, the regularization norm here, which is the norm of a RKHS , is not associated with some ”hidden” concept of sparsity. In particular, RKHS norms have no singularity since they are differentiable at any point except in . As a consequence the sparsity parameter cannot be larger than , i.e. does not satisfy the sparsity equation, unless the set contains that is for . Indeed, one key observation is that any norm is non differentiable at and that its subdifferential at is somehow extremal:
where is the dual norm.
As a consequence, the rates obtained in this section do not depend on some hidden sparsity parameter associated with the oracle but on the RKHS norm at , that is . The aim of this section is therefore to show that our main results apply beyond “sparsity inducing regularization methods” by showing that “classic” regularization method, inducing smoothness for instance, may also be analyzed the same way and fall into the scope of Theorem 2.1 and Theorem 2.2. This section also shows an explicit expression for the Gaussian mean-width with localization as used in Definition 8.1 (a sharper way to measure statistical complexity via a local function provided below).
The core idea behind kernel methods is to transport the design data ’s from to a Hilbert space via the application and then construct statistical procedures based on the ”transported” dataset . The advantage of doing so is that the space where the ’s belong have much structure than the initial set which may have no algebraic structure at all. The first thing to set is to define somehow the ”smallest” Hilbert space containing all the functions . We recall now one classic way of doing so that will be used later to define the objects that need to be considered in order to construct RERM in this setup and to obtain estimation rates for them via Theorem 2.1 and Theorem 2.2.
The reproducing kernel Hilbert space is the set of all function series converging in endowed with the inner product
where ’s are any real numbers and the ’s and ’s are any points in .
and it is believed that is small which justified the use of the RERM with regularization function given by the RKHS norm :
Statistical properties of this RERM may be obtained from Theorem 2.1 in the subgaussian case and from Theorem 2.2 in the bounded case. To that end, we only have to compute the Gaussian mean width and/or the Rademacher complexities of . In this example, we rather compute the localized version of those quantities because it is possible to derive explicit formula. They are obtained by intersecting the ball with . In order not to induce any confusion, we still use the global ones in estimation bounds.
One can use the feature map to show that there is an isometry between the two Hilbert spaces and endowed with the norm . The unit ball of endowed with the norm is an ellipsoid denoted by .
where the last inequality follows from Proposition 2.2.1 in (note that we defined the Gaussian mean widths in Definition (2.4) depending on the covariance of ). We also get from Theorem 2.1 in that
Note that unlike the previous examples, we do not have to assume isotropicity of the design. Indeed, in the RKHS case, the unit ball of the regularization function is isomorphic to the ellipsoid . Since is also an ellipsoid having the same coordinates structure as (cf. paragraph above), for all , the intersection is equivalent to an ellipsoid, meaning that, it contains an ellipsoid and is contained in a multiple of this ellipsoid. Therefore, the Gaussian mean width and the Rademacher complexity of has been computed without assuming isotropicity (thanks to general results on the complexity of Ellipsoids from Proposition 2.2.1 in and Theorem 2.1 in ).
It follows from (27) and (28) that the Gaussian mean width and the Rademacher complexities are equal. Therefore, up to constant ( in the subgaussian case and in the bounded case), the two subgaussian and bounded setups may be analyzed at the same time. Nevertheless, since we will only consider in this setting the hinge loss and that the Bernstein condition (cf. Assumption 2.1) with respect to the hinge loss has been studied in Proposition 6.3 only in the bounded case. We therefore continue the analysis only for the bounded framework.
We are now able to identify the complexity parameter of the problem. We actually do not use the localization in this and rather use only the global complexity parameter as defined in Definition 2.7: for all :
where is the Bernstein parameter.
Finally, let us discuss about the boundedness assumption. It is known (cf., for instance, Lemma 4.23 in ) that if the kernel is bounded then the functions in the RKHS are bounded: for any , where . As a consequence, if one restricts the search space of the RERM to a RKHS ball of radius , one has and therefore the boundedness assumption is satisfied by . However, note that a refinement of the proof of Theorem 8.2 using a boundedness parameter depending on the radius of the RKHS balls used while performing the peeling device yields statistical properties for the RERM with no search space constraint. For the sake of shortness, we do not provide this analysis here.
We are now in a position to provide estimation and prediction results for the RERM
where the choice of the regularization parameter follows from Theorem (2.2) and (28) (for ). Note that unlike the examples in the previous sections, we do not have to find some radius satisfying the sparsity equation (8) to apply Theorem 2.2 since we simply take to insure that .
Then the RERM defined in (30) satisfies with probability larger than
where is the excess hinge risk of .
satisfies with large probability an oracle inequality like
In particular, an error bound (up to log factors) follows from this result: with high probability,
which is almost the same as the one obtained in (33) when and is close to . But our result is worse when and is far from . This is the price that we pay by using the hinge loss – note that the quadratic loss satisfies the Bernstein condition with – and by fixing a regularization function which is the norm instead of fitting the regularization function in a “complexity dependent way” as in (32). In the last case, our procedure does not benefit from the “real complexity” of the problem which is localized Rademacher complexities – note that we used global Rademacher complexities to fit and construct the complexity function .
A review of the Bernstein and margin conditions
In the bounded scenario, proved that the logistic loss function satisfies the Bernstein condition for . One may therefore use that result to apply Theorem 2.2. The analysis is pretty straightforward in the bounded case. It becomes more delicate in the subgaussian scenario as considered in Theorem 2.1.
This result solves the problem of the Bernstein condition with respect to the logistic loss function over a convex class of functions as long as all functions in are uniformly bounded by some constant . We will therefore use this result only in the bounded framework, for instance, when is a class of linear functional indexed by a bounded set of vectors and when the design takes its values in the canonical basis.
In the subgaussian framework, one may proceed as in and assume that a statistical model holds. In that case, the Bernstein condition is reduced to the study of the Margin assumption since, in that case, the “Bayes rule” (which is called the log-odds ratio in the case of the logistic loss function) is assumed to belong to the class and so . The margin assumption with respect to the logistic loss function has been studied in Example 1 from but for a slightly different definition of the Margin assumption. Indeed, in only functions in a neighborhood of needs to satisfy the Margin assumption whereas in Assumption 2.1 it has to be satisfied in the non-bounded set .
From our perspective, we do not want to make no “statistical modeling assumption”. In particular, we do not want to assume that belongs to . We therefore have to prove the Bernstein condition when may not belong to . We used this result in Section 3 in order to obtain statistical bounds for the Logistic LASSO and Logistic Slope procedures. In those cases, is a class of linear functionals. We now state that the Bernstein condition is satisfied for a class of linear functional when is a standard Gaussian vector.
2 Hinge loss
Unlike the logistic loss function, both the hinge loss and the quantile losses does not enjoy a strong convexity property. Therefore, one has to turn to a different approach as the one used in the previous section to check the Bernstein condition for those two loss functions.
Let be a class of functions from to $\overline{f}\in F\overline{f}Ff^{*}=\overline{f}F0-1F0-1\kappa$ is equivalent to
As a consequence, one can state the following result on the Bernstein condition for the hinge loss in the bounded case scenario.
Note that up to a modification of the constant , the same result holds for functions with values in for , a fact we used in Section 5.
3 Quantile loss
In this section, we study the Bernstein parameter of the quantile loss in the bounded regression model, that is when for all a.s.. Let and, for all , define as the quantile of order of and assume that belongs to , in that case, and Bernstein condition and margin assumption are the same. Therefore one may follow the study of the margin assumption for the quantile loss in to obtain the following result.
Discussion
This paper covers many aspects of the regularized empirical risk estimator (RERM) with Lipschitz loss. This property is commonly shared by many loss functions used in practice such as the hinge loss, the logistic loss or the quantile regression loss. This work offers a general method to derive estimation bounds as well as excess risk upper bounds. Two main settings are covered: the subgaussian framework and the bounded framework. The first one is illustrated by the classification problem with logistic loss. In particular, minimax rates are achieved when using the SLOPE regularization norm. The second framework is used to derive new results on matrix completion and in kernel methods.
A possible extension of this work is to study other regularization norms. In order to do that, one has to compute the complexity parameter in one of the settings and a solution of the sparsity equation. The latter usually involves to understand the sub-differential of the regularization norm and in particular its singularity points which are related to the sparsity equation.
Proof of Theorem 2.1 and Theorem 2.2
First, we state two theorems: Theorem 8.1 in the subgaussian setting, and Theorem 8.2 in the bounded setting. These two theorems rely on localized versions of the complexity function that will be defined first. Note that the localized version of can always be upper bounded by the simpler version used in the core of the paper. Thus, Theorem 2.1 is a direct corollary of Theorem 8.1, and Theorem 2.2 is a direct corollary of Theorem 8.2.
So let us start with a localized complexity parameters. The ”statistical size” of the family of ”sub-models” is now measured by local Gaussian mean-widths in the subgaussian framework.
Let . The complexity parameter is a non-decreasing function such that for every ,
In the boundedness case, it is written as follows.
Let . The complexity parameter is a non-decreasing function such that for every ,
where is the Bernstein parameter from Assumption 2.1.
To obtain the complexity functions from Definition 2.5 and 2.7, we use the fact that and : it indeed does not use the localization. We also set in those definitions because it is the largest value allowed in the following theorems.
Assume that Assumption 1.1, Assumption 2.1 and Assumption 2.2 hold where is a function as in Definition 8.1 for some such that and assume that is non-increasing. Let the regularization parameter be chosen such that
where satisfies (8). Then, with probability larger than
Proof of Theorem 2.1: Let be chosen as in (2.5). For this choice, one can check that the regularization parameter used for the construction of the RERM satisfies (37) with an adequate constant choice. Moreover, for this choice of function it is straightforward to lower bound the sum in the probability estimate in (38). The parameter is chosen in the middle of the range.
Assume that Assumption 1.1, Assumption 2.1 and Assumption 2.3 hold where is a function as in Definition 8.2 for some such that and assume that is non-increasing. Let the regularization parameter be chosen such that
where satisfies (8). Then, with probability larger than
The proof of Theorem 2.2 is identical to the one of Theorem 2.1 and we do not reproduce it here.
2 Proofs of Theorems 8.2 and 8.1
Proof of Theorem 8.1 and and Theorem 8.2 follow the same strategy. They are split into two parts. First, we identify an event onto which the statistical behavior of the regularized estimator can be controlled using only deterministic arguments. Then, we prove that this event holds with a probability at least as large as the one in (38) in the case of Theorem 8.1 and as in (40) in the case of Theorem 8.2. We first introduce this event which is common to the subgaussian and the bounded setups:
where is a parameter appearing in the definition of in Definition 8.1 and Definition 8.2, is the Bernstein parameter from Definition 2.1 and is a radius satisfying the sparsity Equation (8).
Let be as in (37) (or equivalently as in (39)) and let satisfy (8), on the event , one has
Proof. Denote . We first prove that . To that end, we assume that the reverse inequality holds and show some contradiction. Assume that . Since is non-increasing then by Lemma A.1, is non-decreasing and so we have
Now, we consider two cases: either or .
First assume that . Since and , it follows from the definition of the sparsity parameter that there exists some such that and for which
Let us now introduce the excess regularized loss: for all ,
because by definition of , . Therefore, . But, by construction, one has .
Then, assume that . In particular, where is the set introduced in 7 below Assumption 2.1. By definition of we have so it follows from Assumption 2.1 that
But, by definition of one has .
Therefore, none of the two cases is possible when one assumes that and so we necessarily have .
Now, assuming that and following (41) step by step also leads to a contradiction, so .
Next, we prove the result for the excess risk. One has
In particular, if then which is not possible by construction of so we necessarily have .
Proposition 8.1 shows that satisfies some estimation and prediction properties on the event . Next, we prove that holds with large probability in both subgaussian and bounded frameworks. We start with the subgaussian framework. To that end, we introduce several tools.
Recall that the -norm of a real valued random variable is defined by
where for all . The space of all real valued random variables with finite -norm is called the Orlicz space of subgaussian variables. We refer the reader to for more details on Orlicz spaces.
We recall several facts on the -norm and subgaussian processes. First, it follows from Theorem 1.1.5 from that if
It follows from Lemma 1.2.2 from that, if is a centered random variable then, for all ,
Then, it follows from Theorem 1.2.1 from that if are independent centered real valued random variables then
Finally, let us turn to some properties of subgaussian processes. Let be a pseudo-metric space. Let be a random process in such that for all , . It follows from the comment below Theorem 11.2 p.300 in that for all measurable set and all ,
Therefore, it follows from equation (11.14) in that for every ,
where is the diameter of , is an absolute constant and is the majorizing measure integral (cf. Chapter 11 in ). When is a subset of and is the natural metric of it follows from the majorizing measure theorem that (cf. Chapter 1 in ).
Assume that Assumption 1.1 and Assumption 2.2 hold. Let then for every , with probability at least
where is the metric and is the diameter of .
To prove Lemma 8.1, it is enough to show that has -subgaussian increments and then to apply (45) where in this case.
Let us prove that for some absolute constant : for all ,
It follows from (42), that the last inequality holds if one proves that for all ,
for some absolute constants and . To that end, it is enough to prove that, for some absolute constant – depending only on and – and all ,
where is a Rademacher variable independent of and where we used in the last but one inequality that a.s..
We assume that Assumption 1.1, 2.2 and 2.1 hold. Then the probability measure of is at least as large as the one in (38).
We introduce the following partition of the class . We first introduce the ”true model”, i.e. the subset of where we want to show that belongs to with high probability:
(note that ). Then we peel the remaining set according to the two norms: for every ,
We also consider the sets for all integers and .
Let and be two integers. It follows from Lemma 8.1 that for any , with probability larger than ,
where .
Note that for any , is non-increasing (cf. Lemma A.2 in the Appendix) and note that, by definition of (cf. Definition 8.1), . Since is non-increasing, we have and so . Therefore, it follows from (47) for , if then, with probability at least
Now we turn to the proof of Theorem 8.1 under the boundedness assumption. The proof follows the same strategy as in the ”subgaussian case”: we first use Proposition 8.1 and then show (under the boundedness assumption) that event holds with probability at least as large as the one in (40).
Similar to Proposition 8.2, we prove the following result under the boundedness assumption.
We assume that Assumption 1.1, 2.3 and 2.1 hold. Then the probability measure of is at least as large as the one in (40).
Using the same notation as in the proof of Proposition 8.2, we have for any integer and such that that by Talagrand’s concentration inequality: for any , with probability larger than ,
It follows from a symmetrization and a contraction argument (cf. Chapter 4 in ) that
Now, we take in (49) and note that and : with probability larger than
Proof of Theorem 4.3
For the sake of simplicity, assume that so . Fix . Fix such that , we define the set of matrices
where the block is repeated times (this construction is taken from ). Varshamov-Gilbert bound (Lemma 2.9 in ) implies that there is a finite subset with with , and for any distinct ,
Then, for ,
where is a constant that depends only on . So:
(note that the condition implies that ). Then, Theorem 2.5 in leads to the existence of such that
Proof of Theorem 4.5
For the sake of simplicity, assume that so . Fix and assume that .
(note that when ). We also introduce the “blocks” of “remaining” coordinates:
In particular, has a rank at most equal to .
Then, if , it follows that (cf. Section 2.4 in ),
Now, it follows from Theorem 2.12 in , that
where is the mean of . Then we obtain,
for .
Proofs of Section 6
The proof of Proposition 6.1 may be found in several papers (cf., for instance, ). Let us recall this argument since we will be using it at a starting point to prove the Bernstein condition in the subgaussian case.
Since a.s. then for every , , a.s. and since for every , it follows from (53) that .
Proof of Proposition 6.2: Let be such that , where is an oracle in w.r.t. the logistic loss risk. Let for some . It follows from (53) that the excess logistic risk of satisfies
Therefore, for ,
and since , one has,
where and denote the standard Gaussian density and distribution functions, respectively.
We lower bound the right-hand side of (55) using estimates on the Mills ratio that follows from Equation (10) in : for every ,
2 Proof of Section 6.3
Proof of Proposition 6.4: We globally follow a proof of . We have
For all , denote by the c.d.f. associated with . We have
where . Note that (can be checked by calculations but also obvious from the definition). So
Appendix A Technical lemmas
If is non-increasing then is non-decreasing.
The result follows since is non-increasing.
Let . The function is non-increasing.
Proof. Let . By convexity of and , we have