Non-convex Distributionally Robust Optimization: Non-asymptotic Analysis
Jikai Jin, Bohang Zhang, Haiyang Wang, Liwei Wang
Introduction
For a classical machine learning problem, the goal is typically to train a model over a training set that achieves good performance on a test set, where both the training set and the test set are drawn from the same distribution . While such an assumption is reasonable and simple for theoretical analysis, it is often not the case in real applications. For example, this setting may be improper when there is a gap between training and test distribution (e.g. in domain adaptation tasks) (Zhang et al., 2021), when there is severe class imbalance in the training set (Sagawa et al., 2020), when fairness in minority groups is an important consideration (Hashimoto et al., 2018), or when the deployed model is exposed to adversarial attacks (Sinha et al., 2018).
Distributionally robust optimization (DRO), as a popular approach to deal with the above situations, has attracted great interest for the machine learning research communities in recent years. In contrast to classic machine learning problems, for DRO it is desired that the trained model still has good performance under distribution shift. Specifically, DRO proposes to minimize the worst-case loss over a set of probability distributions around . This can be formulated as the following constrained optimization problem (Rahimian and Mehrotra, 2019; Shapiro, 2017):
where measures the distance between two probability distributions, and the positive number corresponds to the magnitude of the uncertainty set.
Instead of imposing a hard constrained uncertainty set, sometimes it is more preferred to use a soft penalty term, resulting in the penalized DRO problem (Sinha et al., 2018):
where is the regularization coefficient.
There are many possible choices of . A detailed discussion of different distance measures and their properties can be found in Rahimian and Mehrotra (2019). In this paper we consider a general class of distances called the -divergence, which is a popular choice in DRO literature (Namkoong and Duchi, 2016; Shapiro, 2017). Specifically, for a non-negative convex function such that and two probability distributions such that is absolutely continuous w.r.t. , the -divergence between and is defined as
which satisfies and if a.s.
The above analysis applies to a broad class of divergence functions . We further discuss special cases when has additional properties. In particular, to handle the CVaR case (a non-differentiable loss), we propose a divergence function which is a smoothed variant of CVaR and is further Lipschitz. In this case we show that a convergence guarantee can be established using vanilla SGD, and an similar complexity bound holds.
We highlight that the algorithm and analysis in this paper are not limited to DRO setting, and are described in the context of a general class of optimization problem. Our analysis clearly demonstrates the effectiveness of gradient normalization and momentum techniques in optimizing ill-conditioned objective functions. We believe our result can shed light on why some popular optimizers, in particular Adam (Kingma and Ba, 2015), often exhibit superior performance in real applications.
Assuming that is further Lipschitz, in Section 3.4 we prove that vinilla SGD suffices to achieve the complexity. As a special case, we propose a new divergence which is a smoothed approximation of CVaR.
We conduct experiments to verify our theoretical results. We observe that our proposed methods significantly accelerate the optimization process, and also demonstrates superior test performance.
1 Related work
Constrained DRO and Penalized DRO. There are two existing formulations of the DRO problem: the constrained DRO and the penalized DRO. The constrained DRO formulation 1 has been studied in a number of works (Namkoong and Duchi, 2016; Shapiro, 2017; Duchi and Namkoong, 2018), while other works consider the penalty-based formulation 3 (Sinha et al., 2018; Levy et al., 2020). From a Lagrangian perspective, the two formulations are equivalent; however, the dual objective of the constrained formulation is sometimes hard to solve as pointed out in (Namkoong and Duchi, 2016; Duchi and Namkoong, 2018). In this paper we focus on the penalty-based version and provide the first non-asymptotic analysis in the non-convex setting. Moreover, we do not make the assumption that the loss is bounded, as assumed in Levy et al. (2020) in the convex setting.
DRO with -divergence. -divergence is one of the most common choices in DRO literature to measure the distance between probability distributions. It encompasses a variety of popular functions such as KL-divergence, -divergence, and the conditional-value-at-risk (CVaR), etc. Table 1 gives detailed descriptions for these functions.
For CVaR, Namkoong and Duchi (2016) proposed a mirror-descent method which achieves regret. Levy et al. (2020) proposed a stochastic gradient-based method with optimal convergence rate in the convex setting. They also discussed an alternative approach based on the dual formulation which they call Dual SGM. In the non-convex setting, Soma and Yoshida (2020) proposed a smoothed approximation of CVaR and obtain an complexity. We contribute to this line of work by proposing a different divergence with similar behavior as CVaR and an complexity.
Preliminaries
We make the following assumptions throughout the paper:
is a valid divergence function, i.e. a non-negative convex function satisfying and for all . Furthermore the conjugate is -smooth.
We finally define the notion of -stationary points for differentiable non-convex functions.
2 Equivalent formulation of the DRO objective
The aim of this paper is to find an -stationary point of problem 3. However, the original formulation 3 involves a max operation over distributions which makes optimization challenging. By duality arguments we can show that the DRO objective 3 can be equivalently written as (see detailed derivations in (Levy et al., 2020, Section A.1.2))
Under the Assumption 2.4, is differentiable, and for any .
Note that the in Lemma 2.6 may not be unique but the values of are all equal. Since is differentiable, the -stationary points are well-defined. We now prove that the problem of finding an -stationary point of is equivalent to finding an -stationary point of a rescaled version of .
Under the Assumption 2.4, if for some the following holds: , then is an -stationary point of . Furthermore, define a rescaled function
then implies that is an -stationary point of .
The proof of Lemma 2.6 and Theorem 2.7 can be found in Appendix A. From the above theorem it suffices to find an -stationary point of such that (ignoring numerical constant ). As a result, we will mainly work with in subsequent analysis. The property of the objective function 5 heavily depends on . We list some popular choices of together with the corresponding in Table 1. They serve as motivating examples of our subsequent analysis.
Analysis of general non-convex DRO
Now consider the DRO where is chosen as the commonly used -divergence. Fix and . Based on the expression of in Table 1, the DRO objective function 5 thus takes the form , which is a quartic-like function. It follows that
for large and therefore is not globally smooth;
for large and the stochastic gradient variance which is unbounded globally.
2 Main results
In this section, we present the main theoretical result of this paper. All proofs can be founded in Appendix C. We make the following assumption on the noise of the stochastic loss:
We now provide formal statements of the key properties mentioned above, which show that both the gradient variance and the local smoothness can be controlled in terms of the gradient norm.
Under Assumptions 2.4 and 3.2, the gradient estimators of (5) satisfies the following property:
Under Assumption 2.4, for any pair of parameters and , we have the following property for the gradient of :
Note that 7 reduces to the standard notion of smoothness if the term is absent. Thus the inequality 7 can be seen as a generalized smoothness condition. Zhang et al. (2020b) for the first time proposed such generalized smoothness for twice-differentiable functions in a different form, and Zhang et al. (2020a) further gave a comprehensive analysis of algorithms for optimizing generalized smooth functions. However, all these works make strong assumptions on the gradient noise and can not be applied in our setting.
Instead, we propose to use the mini-batch normalized SGD with momentum algorithm for non-convex DRO, shown in Algorithm 1. The algorithm has been theoretically analysed in (Cutkosky and Mehta, 2020) for optimizing standard smooth non-convex functions. Compared with Cutkosky and Mehta (2020), we use mini-batches in each iteration in order to ensure convergence in our setting.
The following main theorem establishes convergence guarantee of Algorithm 1. We further provide a sketch of proof in Section 3.3, where we can gain insights on how normalization and momentum techniques help tackle the difficulties shown in Lemmas 3.3 and 3.4.
Suppose that satisfies the following conditions:
(Generalized smoothness) holds for any ;
Substituting Lemmas 3.4 and 3.3 into Theorem 3.5 immediately yields the final result:
Suppose the DRO problem 3 satisfies Assumptions 2.4 and 3.2. Using Algorithm 1 with a constant batch size, the gradient complexity for finding an -stationary point of is
Corollary 3.6 shows that Algorithm 1 finds an -stationary point with complexity , which is the same as standard smooth non-convex optimization. Also note that the bound in Theorem 3.5 does not depend on and as long as is sufficiently small. In other words, Algorithm 1 is well-adapted to the non-smoothness and unbounded noise in our setting. We also point out that although the batch size is chosen propositional to , the required number of iterations is inversely propositional to , therefore the total number of stochastic gradient computations remains the same.
Finally, note that Theorem 3.5 is stated in a general form and is not limited to DRO setting. It greatly extends the results in Zhang et al. (2020a, b) by relaxing their noise assumptions, and demonstrates the effectiveness of combining adaptive gradients with momentum for optimizing ill-conditioned objective functions. More importantly, our algorithm is to some extent similar to currently widely used optimizers in practice, e.g. Adam. We believe our result can shed light on why these optimizers often show superior performance in real applications.
3 Proof sketch of Theorem 3.5
Below we present our proof sketch, in which the motivation of using Algorithm 1 will be clear. Similar to standard analysis in non-convex optimization, we first derive a descent inequality for functions satisfying the generalized smoothness:
(Descent inequality) Let be a function satisfying the generalized smoothness condition in Theorem 3.5. Then for any point and direction the following holds:
The above lemma suggests that the algorithm should take a small step size when is large in order to decrease . This is the main motivation of considering a normalized update. Indeed, after some careful calculation we can prove the following result:
Consider the algorithm that starts at and makes updates where is an arbitrary sequence of points. Define be the estimation error. If , then
which is for small . Therefore the objective function decreases if , i.e. a small estimation error. However, is related to the stochastic gradient noise which can be very large due to Lemma 3.3. This motivates us to the use the momentum technique for the choice of to reduce the noise. Formally, let be the momentum factor and define , then using the recursive equation of momentum in Algorithm 1 we can show that
Finally, for a suitable choice of we can obtain the minimum gradient complexity bound on .
4 Dealing with the CVaR case
Previous analysis applies to any divergence function as long as is smooth. This includes some popular choices such as the -divergence, but not the CVaR. In the case of CVaR, is not differentiable as shown in Table 1, which is undesirable from an optimization viewpoint. In this section we introduce a smoothed version of CVaR. The conjugate function of the smoothed CVaR is also smooth, so that the results in Section 3.2 can be directly applied in this setting.
For standard CVaR at level , takes zero when and takes infinity otherwise. Instead, we consider the following smoothed version of CVaR:
It is easy to see that is a valid divergence. The corresponding conjugate function is
The following propositions demonstrate that is indeed a smoothed approximation of CVaR.
Fix . When , the solution of the DRO problem 5 for smoothed CVaR tends to the solution for the standard CVaR. Note that the solution of the standard CVaR does not depend on .
is -Lipschitz and -smooth.
Based on Proposition 3.10, we can then use Corollary 3.6 to obtain the gradient complexity (taking ).
Note that is not only smooth but also Lipschitz. In this setting, we can in fact obtain a stronger result than the general one provided in Corollary 3.6. Specifically, the gradient noise and smoothness of the objective function can be bounded, as shown in the following lemma:
Suppose Assumption 2.4 holds. For smoothed CVaR, the DRO objective 5 satisfies
Moreover, is -smooth with .
Equipped with the above lemma, we can obtain the following guarantee for smoothed CVaR, which shows that vanilla SGD suffices for convergence.
Suppose that and Assumption 2.4 holds. If we run SGD with properly selected hyper-parameters on the loss , then the gradient complexity of finding an -stationary point of is , where .
The above theorem shows a similar convergence rate compared with Corollary 3.6 in terms of and , and the dependency on is even better. Therefore the Lipschitz property of is very useful, in that it is now possible to use a simpler algorithm while achieving a similar (or even better) bound.
Experiments
Tasks. We consider two tasks: the classification task and the regression task. While classification is more common in machine learning, here we may also highlight the regression task, since recent studies show that DRO may be more suitable for non-classification problems in which the metric of interest is continuous as opposed to the 0-1 loss (Hu et al., 2018; Levy et al., 2020).
Datasets. We choose the AFAD-Full dataset for regression and CIFAR-10 dataset for classification. AFAD-Full (Niu et al., 2016) is a regression task to predict the age of human from the facial information, which contains more than 160K facial images and the corresponding age labels ranging from 15 to 75. Note that AFAD-Full is an imbalanced dataset where the ages of two thirds of the whole dataset are between 18 and 30. Following the experimental setting in (Chang et al., 2011; Chen et al., 2013; Niu et al., 2016), we split the whole dataset into a training set comprised of 80% data and a test set comprised of the remaining 20% data. CIFAR-10 dataset is a classification task consisting of 10 classes with 5000 images for each class. To demonstrate the effectiveness of our method in DRO setting, we adopt the setting in Chou et al. (2020) to construct an imbalanced CIFAR-10 by randomly sampling each category at different ratio. See Appendix for more details.
Model. For all experiments in this paper, we use the standard ResNet-18 model in (He et al., 2016). The output has 10 logits for CIFAR-10 classification task, and has a single logit for regression.
Training details. We choose the penalty coefficient and the CVaR coefficient in all experiments. For each algorithm, we tune the learning rate hyper-parameter from a grid search and pick the one that achieves the fastest optimization speed. The momentum factor is taken to 0.9 in all experiments, and the mini-batch size is chosen to be 128. We train the model for 100 epochs on CIFAR-10 dataset and 200 epochs on AFAD-Full dataset. Other training details can be found in Appendix E.
2 Experimental results
Results are demonstrated in Figure 1. For each figure, we plot the value of the DRO objective through the training process. Here we calculate at each epoch based on a convex optimization on until convergence (rather than using with the current parameter directly).
Experimental result for penalized DRO. Figure 1(a) and Figure 1(b) plot the training curve of the DRO objective using different algorithms. It can be seen that in both regression and classification, vanilla SGD converges slowly, and using normalized momentum algorithm significantly improves the convergence speed. For example, in regression task SGD does not converge after 100 epochs while normalized momentum algorithm converges just after 25 epochs. These results highly consist with our theoretical findings, which shows that due to the non-smoothness of the DRO loss, vanilla SGD may not be able to optimize the loss well; In contrast, normalized momentum utilizes the relationship between local smoothness and gradient magnitude, and achieves better performance.
Experimental result for smoothed CVaR. Figure 1(c) and Figure 1(d) plot the training curves for different training losses: CVaR and smoothed CVaR. Note that the evaluation metrics (-axis) in these figures are all chosen to be CVaR, even when the training objective is smoothed CVaR. In this way we can make a fair comparison of optimization speed based on these training curves. Firstly, it can be seen that the optimization of CVaR is very hard due to the non-smoothness, and the training curves have lots of spikes. In contrast, the optimization of smoothed CVaR is much easier for both tasks, and the final loss is significantly lower. Such experimental results show the benefit of our proposed smoothed CVaR for optimization.
Test performance. We also measure the test performance of trained models to see whether a better optimizer can also improve test accuracy. Due to space limitation, in the main text we provide results of penalized DRO problem for classification using unbalanced CIFAR-10 dataset, which is listed in Table 2. Other results can be found in Appendix E. It can be seen that the model trained using normalized SGD with momentum achieves higher test accuracy on all class, and especially, the worst-performing class. Since the experiments in this paper is mainly designed to compare algorithms rather than to achieve best performance, better performance is likely to be reached if adjusting the hyper-parameters (e.g. , the number of epochs, and the learning rate schedule).
Discussion
Conclusion. In this paper we provide non-asymptotic analysis of first-order algorithms for the DRO problem with unbounded and non-convex loss. Specifically, we write the original DRO problem as a non-smooth non-convex optimization problem, and we propose an efficient normalization-based algorithm to solve it. The general result of Theorem 3.5 might be of independent value and is not limited to DRO setting. We hope that this work can also bring inspiration to the study of other non-smooth non-convex optimization problems.
Limitations. Despite the theoretical grounds and promising experimental justifications, there are some interesting questions that remain unexplored. Firstly, it may be possible to obtain better complexities on problem-dependent parameters, e.g. and . Secondly, while this paper mainly considers smooth , in some cases may be non-smooth (e.g. for KL-divergence) or even not continuous. In future we hope to discover approaches that can deal with more general classes of -divergence. Finally, we are looking forward to seeing more applications of DRO in real-world problems.
Acknowledgement
This work was supported by Key-Area Research and Development Program of Guangdong Province (No. 2019B121204008), National Key R&D Program of China (2018YFB1402600), BJNSF (L172037) and Beijing Academy of Artificial Intelligence. Project 2020BD006 supported by PKU-Baidu Fund. Jikai Jin is partially supported by the elite undergraduate training program of School of Mathematical Sciences in Peking University.
References
Appendix A Equivalent formulation of the DRO objective
We first assume is non-smooth and non-convex. To measure the convergence of non-smooth non-convex optimization, we define the notion called the generalized gradient [Clarke, 1990, Chapter 2].
and the generalized gradient at is the set
Interested readers may refer to the book [Clarke, 1990] for an in-depth exploration of this concept. Importantly, is a non-empty closed convex set; degenerates to a single point if is smooth, and is equivalent to the sub-gradient if is convex. If is a local minima (or maxima) for , then . The following proposition gives the relationship between generalized gradient and (conventional) gradient.
([Clarke, 1990, Section 2.2]) If function is differentiable at , then is local Lipschitz near and . Conversely, if is local Lipschitz near and reduces to a singleton point , then is differentiable at and .
A.2 Proof of Lemma 2.6
We first present a basic lemma which provides a rule to calculate generalized gradients of the pointwise maxima of a function family.
where , is the partial generalized gradient and denotes a convex hull of a point set.
Assume Assumption 2.4 holds. Fix a point . Denote be an arbitrary minima. Then for any point near there exists , such that .
Using the condition that is convex and differentiable, we have if and only if . Namely,
Since is continuous in , there must exists an , such that
Therefore .
For any point , we can use Lemma A.4 by substituting and . The procedure is as follows:
We finally prove below (Lemma A.6) that is a singleton set. Then Proposition A.3 indicates that is differentiable, and the generalized gradient reduces to gradient such that for any . Thus we complete the proof of Lemma 2.6.
Assume Assumption 2.4 holds. For any , we have .
Denote , be two random functions defined by
which depend on the random variable . Rewrite the gradient of as follows:
Note that is monotonically increasing (due to the convexity of ), thus is monotonically decreasing in . It follows that
A.3 Proof of Theorem 2.7
Now, suppose that we have obtained a pair s.t. . Let be fixed and . Then we have
where we use the fact that is monotone increasing (due to the comvexity of . Hence, using Lemma 2.6 we obtain
Now suppose that . Then
Using we obtain
Appendix B The Stochastic Projected Gradient Descent algorithm for DRO with bounded loss
In this section we use a simple projected gradient method to minimize the DRO objective (5) and analyze its convergence rate under the assumption that the loss is bounded. Since this section is not so related to the main result in our paper, we mainly provide the gradient complexity bound in terms of for finding an -stationary point without delving into problem-dependent parameters.
It turns out that we can restrict the feasible region to where is a finite interval.
Under the Assumptions 2.4 and B.1, the DRO problem is equivalent to
where and are real numbers and is a constant depending only on .
Note that is a function satisfying the following properties:
is monotonically increasing;
. This is because since ;
(possibly be ). This is because for since .
Therefore there exists a constant depending only on such that .
For any , the optimal satisfies the following equation:
We now show there exists an optimal such that . In fact, we have
Suppose Assumption 2.4 holds. Under Proposition B.2, is smooth on , where only depends on and .
Therefore is smooth.
Suppose Assumption 2.4 holds. Under Proposition B.2, the stochastic gradients are unbiased estimates of the true gradients and and are uniformly bounded over , by a constant which only depends on and .
Following [Ghadimi et al., 2016, Reddi et al., 2016], in constrained optimization we typically consider a generalized gradient defined as
[Ghadimi et al., 2016, Corollary 3], combined with Proposition B.4 implies that if ,
For any , we choose and , then 24 implies that
Thus the sample complexity of Algorithm 1 for finding -stationary point is upper bounded by . In this case, with pobability the gradient norm is upper bounded by , the conclusion follows.
as the interval constraint for . Using parameters specified in Theorem B.5, Algorithm 2 arrives at with with probability .
However, , therefore it can only be that . Therefore we still have
Appendix C Proofs in Section 3.2
In this section we present the proof of main results in Section 3.2. For convenience we restate the results before proving them.
Under Assumptions 2.4 and 3.2, the gradient estimators of (5) satisfies the following property:
For a random vector , define the sum of its element-wise variance as
Then it is easy to check that, for i.i.d. random vectors we have
We first bound the variance of the stochastic gradient . Indeed we have
Here in 33 we use that fact that for any ; in 34 we use Assumption 2.4. Now we deal with the first term. Using for any , we have
Under Assumption 2.4, for any pair of parameters and , we have the following property for the gradient of :
First write as
We then split into two terms , where
where we use for all . can be bounded as follows:
Combining the above inequalities, we obtain
C.2 Proof of Theorem 3.5
We formalize the generalized smoothness property into a definition.
We now present a descent inequality for -smooth functions which will be used in subsequent analysis.
(Descent Inequality) Let be -smooth, then for any point and direction the following holds:
C.2.2 Properties of the normalized update
Let be a real constant. For any vectors and ,
Now we can characterize the behavior of normalization-based algorithms in terms of function value descent.
Consider the algorithm that starts at and makes updates where is an arbitrary sequence of points. Define be the estimation error. Then
Since , by Lemma C.4 we have
where in the second inequality we use Lemma C.5.
C.2.3 A general convergence result
Instead of directly focusing on the specific problem of DRO, we first provide convergence guarantee for Algorithm 2 under general smoothness and noise assumptions.
Suppose that is -smooth and the stochastic gradient estimator is unbiased and satisfies
Define the estimation errors . Denote . We can upper bound using the definition of -smoothness:
Using the definition of momentum and , we can get a recursive formula on :
Using triangle inequality and plugging in the estimate 46, we have
Taking a telescope summation of 48 we obtain
Now we take expectation of over all the randomness. We will prove a core lemma ( Lemma C.9) later which shows
If we choose , and , then
Set and , then
If , then the gradient complexity is .
Suppose the DRO problem 3 satisfies Assumptions 2.4 and 3.2. Using Algorithm 1 with a constant batch size 4096, the gradient complexity for finding an -stationary point of is
Lemmas 3.3 and 3.4 imply that the conditions in Theorem 3.5 for are satisfied with . The main result immediately follows from Theorems 3.5 and 2.7.
We now return to prove the core lemma that is used in 50.
Let be the stochastic noise. Then
We prove the following result: for each , the following inequality holds:
It is easy to see that Lemma C.9 follows by setting in 53.
We prove 53 by induction. When , 53 holds obviously. Now suppose 53 holds for , and we want to prove that 53 holds for .
Appendix D Proofs in Section 3.4
In this section we prove the main result of Section 3.4 for smoothed CVaR. Recall the expressions
The following proposition shows that is Lipschitz-continuous and smooth.
is -Lipschitz and -smooth.
where we use . Hence the conclusion follows.
Fix . When , the solution of the DRO problem 5 for smoothed CVaR tends to the solution for the standard CVaR.
For the standard CVaR, the DRO problem can be written as
which is irrelevant to . For smoothed CVaR, the DRO problem can be written as
Suppose Assumption 2.4 holds. For smoothed CVaR, the DRO objective 5 satisfies
Moreover, is -smooth with .
since is non-decreasing and -Lipschitz continuous.
We also have . Therefore .
Now we turn to the smoothness of . For any and we decouple into using the same approach as in 40. Now different from 41, can be bounded by
using the Lipschitz property of . The bound for is the same as 42:
Hence is -smooth as desired.
Suppose that and Assumption 2.4 holds. If we run SGD with properly selected hyper-parameters on the loss , then the gradient complexity of finding an -stationary point of is , where .
It is well-known [Ghadimi and Lan, 2013] that the complexity of SGD for finding an -stationary point is if the objective function is -smooth and is an upper bound of the variance of stochastic gradients. Now the proof can be completed by using Lemma D.3.
Appendix E Experiment
Imbalanced CIFAR-10. To demonstrate the effectiveness of our method in DRO-classification setting, we construction an imbalanced classification dataset. The original version of CIFAR-10 contains 50,000 training images and 10,000 validation images of size 3232 with 10. To create their imbalanced version, we reduce the number of training examples per class and keep the validation set unchanged. We consider the type of random imbalance and use to denote the sample ratio of th class between the imbalanced and original dataset.
E.2 Implementation details
For every training task we jointly tune the parameters learning rate for baseline and our method by grid search and pick the one that achieves the fastest optimization. By default we set momentum = 0.9 for all experiments and for normalized SGD. We use batch size n = 128 throughout.
Hyper-parameter for penalized DRO. In regression setting, we use SGD with lr=0.0002 as our baseline algorithm and set lr=0.005 for normalized SGD. In classification setting, we set lr=0.005 and 0.01 for baseline and our method, respectively.
Hyper-parameter for smoothed CVaR. In smooth CVaR, we also divide experiment into two part, regression and classification task. We train CVaR with lr = (0.00005, 0.00005) and smoothed CVaR with lr = (0.001, 0.0001) in regression and classification setting.