Un-regularizing: approximate proximal point and faster stochastic algorithms for empirical risk minimization
Roy Frostig, Rong Ge, Sham M. Kakade, Aaron Sidford
Introduction
This problem underlies supervised learning (e.g. the training of logistic regressors when , or their regularized form when for a scalar ) and captures the widely-studied problem of linear least-squares regression when .
Over the past five years, problems such as (1) have received increased attention, with a recent burst of activity in the design of fast randomized algorithms. Iterative methods that randomly sample the have been shown to outperform standard first-order methods under mild assumptions (Bottou and Bousquet, 2008; Johnson and Zhang, 2013; Xiao and Zhang, 2014; Defazio et al., 2014; Shalev-Shwartz and Zhang, 2014).
Despite the breadth of these recent results, their running time guarantees when solving the ERM problem (1) are sub-optimal in terms of their dependence on a natural notion of the problem’s condition number (See Section 1.1). This dependence can, however, significantly impact their guarantees on running time. High-dimensional problems encountered in practice are often poorly conditioned. In large-scale machine learning applications, the condition number of the ERM problem (1) captures notions of data complexity arising from variable correlation in high dimensions and is hence prone to be very large.
More specifically, among the recent randomized algorithms, each one either:
Solves the ERM problem (1), under an assumption of strong convexity, with convergence that depends linearly on the problem’s condition number (Johnson and Zhang, 2013; Defazio et al., 2014).
Solves only an explicitly regularized ERM problem, where the regularizer is a known 1-strongly convex function and must be strictly positive, even when is itself strongly convex. One such result is due to Shalev-Shwartz and Zhang (2014) and is the first to achieve acceleration for this problem, i.e. dependence only on the square root of the regularized problem’s condition number, which scales inversely with . Hence, taking small to solve the ERM problem (where in effect) is not a viable option.
In this paper we show how to bridge this gap via black-box reductions. Namely, we develop algorithms to solve the ERM problem (1) – under a standard assumption of strong convexity – through repeated, approximate minimizations of the regularized ERM problem for fairly large . Instantiating our framework with known randomized algorithms that solve the regularized ERM problem, we achieve accelerated running time guarantees for solving the original ERM problem.
The key to our reductions are approximate variants of the classical proximal point algorithm (PPA) (Rockafellar, 1976; Parikh and Boyd, 2014). We show how both PPA and the inner minimization procedure can then be accelerated and our analysis gives precise approximation requirements for either option. Furthermore, we show further practical improvements when the inner minimizer operates by a dual ascent method. In total, this provides at least three different algorithms for achieving an improved accelerated running time for solving the ERM problem (1) under the standard assumption of strongly convex and smooth . (Table 1 summarizes our improvements in comparison to existing minimization procedures.)
Perhaps the strongest and most general theoretical reduction we provide in this paper is encompassed by the following theorem which we prove in Section 3.
in time . Then given any , , , we can compute such that
in time .
This theorem essentially states that we can use a linearly convergent algorithm for minimizing in order to minimize , while incurring a multiplicative overhead of only . Applying this theorem to previous state-of-the-art algorithms improves both the running time for solving (1), as well as the following more general ERM problem:
Problem (2) is fundamental in the theory of convex optimization and covers ERM problems for multiclass and structured prediction.
There are a variety of additional extensions to the ERM problem to which some of our analysis easily applies. For instance, we could work in more general normed spaces, allow non-uniform smoothness of the , add an explicit regularizer, etc. However, to simplify exposition and comparison to related work, we focus on (1) and make clear the extensions to (2) in Section 3. These cases capture the core of the arguments presented and illustrate the generality of this approach.
Several of the algorithmic tools and analysis techniques in this paper are similar in principle to (and sometimes appear indirectly in) work scattered throughout the machine learning and optimization literature – from classical treatments of error-tolerant PPA (Rockafellar, 1976; Guler, 1992) to the effective proximal term used by Accelerated Proximal SDCA Shalev-Shwartz and Zhang (2014) in enabling its acceleration.
By analyzing these as separate tools, and by bookkeeping the error requirements that they impose, we are able to assemble them into algorithms with improved guarantees. We believe that the presentation of Accelerated APPA (Algorithm 2) arising from this view simplifies, and clarifies in terms of broader convex optimization theory, the “outer loop” steps employed by Accelerated Proximal SDCA. More generally, we hope that disentangling the relevant algorithmic components into this general reduction framework will lead to further applications both in theory and in practice.
We consider the ERM problem (1) in the following common setting:
Although many algorithms are designed for special cases of the ERM objective where there is some known, exploitable structure to the problem, our aim is to study the most general case subject to Assumption 1.2. To standardize the comparison among algorithms, we consider the following generic model of interaction with :
We refer to these operations, as well as to the evaluation of , as single accesses to , and assume that these operations can be performed in time.
Regularization and duality
In such context, we let and we call
where . Similar to the above, we let .
To make corresponding primal progress, dual-based algorithms make use of the dual-to-primal mapping, given by
and the primal-to-dual mapping, given entrywise by
for . (See Appendix B for a derivation of these facts and further properties of the dual.)
2 Running times and related work
In Table 1 we compare our results with the running time of both classical and recent algorithms for solving the ERM problem (1) and linear least-squares regression. Here we briefly explain these running times and related work.
In the context of the ERM problem, GD refers to canonical gradient descent on , Accel. GD is Nesterov’s accelerated gradient decent (Nesterov, 1983, 2004), SVRG is the stochastic variance-reduced gradient of Johnson and Zhang (2013), SAG is the stochastic average gradient of Roux et al. (2012) and Defazio et al. (2014), SDCA is the stochastic dual coordinate ascent of Shalev-Shwartz and Zhang (2013), AP-SDCA is the Accelerated Proximal SDCA of Shalev-Shwartz and Zhang (2014) and APCG is the accelerated coordinate algorithm of Lin et al. (2014). The latter three algorithms are more restrictive in that they only solve the explicitly regularized problem , even if is itself strongly convex (such algorithms run in time inversely proportional to ).
The running times of the algorithms are presented based on the setting considered in this paper, i.e. under Assumptions 1.2 and 1.3. Many of the algorithms can be applied in more general settings (e.g. even if the function is not strongly convex) and have different convergence guarantees in those cases. The running times are characterized by four parameters: is the data dimension, is the number of samples, is the condition number (for minimizers, the condition number is used) and is the ratio between the initial and desired accuracy. Running times are stated per -notation; factors that depend polylogarithmically on , , and are ignored.
Linear least-squares regression
For the linear least-squares regression problem, there is greater variety in the algorithms that apply. For comparison, Table 1 includes Moore-Penrose pseudoinversion – computed via naive matrix multiplication and inversion routines, as well as by their asymptotically fastest counterparts – in order to compute a closed-form solution via the standard normal equations. The table also lists algorithms based on the randomized Kaczmarz method (Strohmer and Vershynin, 2009; Needell et al., 2014) and their accelerated variant (Lee and Sidford, 2013), as well as algorithms based on subspace embedding (OSNAP) or row sampling (Nelson and Nguyen, 2013; Li et al., 2013; Cohen et al., 2015). Some Kaczmarz-based methods only apply to the more restrictive problem of solving a consistent system (finding satisfying ) rather than minimize the squared loss . The running times depend on the same four parameters as before, except for computing the closed-form pseudoinverse, which for simplicity we consider “exact,” independent of initial and target errors .
Approximate proximal point
The key to our improved running times is a suite of approximate proximal point algorithms that we propose and analyze. We remark that notions of error-tolerance in the typical proximal point algorithm – for both its plain and accelerated variants – have been defined and studied in prior work (Rockafellar, 1976; Guler, 1992). However, these mainly consider the cumulative absolute error of iterates produced by inner minimizers, assuming that such a sequence is somehow produced. Since essentially any procedure of interest begins at some initial point – and has runtime that depends on the relative error ratio between its start and end – such a view does not yield fully concrete algorithms, nor does it yield end-to-end runtime upper bounds such as those presented in this paper.
Additional related work
There is an immense body of literature on proximal point methods and alternating direction method of multipliers (ADMM) that are relevant to the approach in this paper; see Boyd et al. (2011); Parikh and Boyd (2014) for modern surveys. We also note that the independent work of Lin et al. (2015) contains results similar to some of those in this paper.
3 Main results
All formal results in this paper are obtained through a framework that we develop for iteratively applying and accelerating various minimization algorithms. When instantiated with recently-developed fast minimizers we obtain, under Assumptions 1.2 and 1.3, algorithms guaranteed to solve the ERM problem in time .
Our framework stems from a critical insight of the classical proximal point algorithm (PPA) or proximal iteration: to minimize (or more generally, any convex function) it suffices to iteratively minimize
and converges to the minimizer of . The minimization in the update is known as the proximal operator (Parikh and Boyd, 2014), and we refer to it in the sequel as the inner minimization problem.
In this paper we provide three distinct approximate proximal point algorithms, i.e. algorithms that do not require full inner minimization. Each enables the use of existing fast algorithm as its inner minimizer, in turn yielding several ways to obtain our improved ERM running time:
In Section 2 we develop a basic approximate proximal point algorithm (APPA). The algorithm is essentially PPA with a relaxed requirement of inner minimization by only a fixed multiplicative constant in each iteration. Instantiating this algorithm with an accelerated, regularized ERM solver – such as APCG (Lin et al., 2014) – as its inner minimizer yields the improved accelerated running time for the ERM problem (1).
In Section 3 we develop Accelerated APPA. Instantiating this algorithm with SVRG (Johnson and Zhang, 2013) as its inner minimizer yields the improved accelerated running time for both the ERM problem (1) as well as the general ERM problem (2).
In Section 4 we develop Dual APPA: an algorithm whose approximate inner minimizers operate on the dual , with warm starts between iterations. Dual APPA enables several inner minimizers that are a priori incompatible with APPA. Instantiating this algorithm with an accelerate, regularized ERM solver – such as APCG (Lin et al., 2014) – as its inner minimizer yields the improved accelerated running time for the ERM problem (1).
Each of the three algorithms exhibits a slight advantage over the others in different regimes. APPA has by far the simplest and most straightforward analysis, and applies directly to any -strongly convex function (not only given by (1)). Accelerated APPA is more complicated, but in many regimes is a more efficient reduction than APPA; it too applies to any -strongly convex function and in turn proves Theorem 1.1.
Our third algorithm, Dual APPA, is the least general in terms of the assumptions on which it relies. It is the only reduction we develop that requires the ERM structure of . However, this algorithm is a natural choice in conjunction with inner minimizers that operate on a popular dual objective. In Section 5 we demonstrate moreover that this algorithm has properties that make it desirable in practice.
4 Paper organization
The remainder of this paper is organized as follows. In Section 2, Section 3, and Section 4 we state and analyze the approximate proximal point algorithms described above. In Section 5 we discuss practical concerns and cover numerical experiments involving Dual APPA and related stochastic algorithms. In Appendix A we prove general technical lemmas used throughout the paper and in Appendix B we provide a derivation of regularized ERM duality and related technical lemmas.
Approximate proximal point algorithm (APPA)
In this section we describe our approximate proximal point algorithm (APPA). This algorithm is perhaps the simplest, both in its description and in its analysis, in comparison to the others described in this paper. This section also introduces technical machinery that is used throughout the sequel.
We first present our formal abstraction of inner minimizers (Section 2.1), then we present our algorithm (Section 2.2), and finally we step through its analysis (Section 2.3).
To design APPA, we first quantify the error that can be tolerated of an inner minimizer, while accounting for the computational cost of ensuring such error. The abstraction we use is the following notion of inner approximation:
In other words, a primal oracle is an algorithm initialized at that reduces the error of by a fraction, in time that depends on , and , and regularity properties of . Typical iterative first-order algorithms, such as those in Table 1, yield primal -oracles with runtimes that scale inversely in or , and logarithmically in . For instance:
SVRG (Johnson and Zhang, 2013) is a primal -oracle with runtime complexity for both the ERM problem (1) and the general ERM problem (2).
Using APCG (Lin et al., 2014) we can obtain a primal -oracle with runtime complexity for the ERM problem (1).AP-SDCA could likely also serve as a primal oracle with the same guarantees. However, the results in Shalev-Shwartz and Zhang (2014) are stated assuming initial primal and dual variables are zero. It is not directly clear how one can provide a generic relative decrease in error from this specific initial primal-dual pair.
Corollary B.3 implies that, given a primal point , we can obtain, in time, a corresponding dual point such that the duality gap (and thus the dual error) is at most times the primal error. Lemma B.1 implies that decreasing the dual error by a factor decreases the induced primal error by . Therefore, applying APCG to the dual and performing the primal and dual mappings yield the theorem. ∎
2 Algorithm
Our Approximate Proximal Point Algorithm (APPA) is given by the following Algorithm 1.
The central goal of this section is to prove the following lemma, which guarantees a geometric convergence rate for the iterates produced in this manner
This lemma immediately implies the following running-time bounds for APPA.
Given a primal -oracle , Algorithm 1 minimizes the general ERM problem (2) to within accuracy in time .When the oracle is a randomized algorithm, the expected accuracy is at most .
Combining Theorem 2.5 and Theorem 2.3 immediately yields our desired running time for solving (1).
Instantiating Algorithm 1 with the Theorem 2.3 as the primal oracle and taking yields the running time of for solving (1).
3 Analysis
This section gives a proof of Lemma 2.4. Throughout, no assumption is made on aside from -strong convexity. Namely, we need not have be smooth or at all differentiable.
First, we consider the effect of an exact inner minimizer. Namely, we prove the following lemma relating the minimum of the inner problem to .
Let and for all let . The -strong convexity of implies that, for all ,
Consequently, by the definition of ,
Choosing yields the result. ∎
This immediately implies contraction for the exact PPA, as it implies that in every iteration of PPA the error in decreases by a multiplicative . Using this we prove Lemma 2.4.
Let . By definition of primal oracle we have
Using that clearly for all we have we see that and . Combining with the fact that yields the result. ∎
Accelerated APPA
In this section we show how generically accelerate the APPA algorithm of Section 2. Accelerated APPA (Algorithm 2) uses inner minimizers more efficiently, but requires a smaller minimization factor when compared to APPA. The algorithm and its analysis immediately prove Theorem 1.1 and in turn yield another means by which we achieve the accelerated running time guarantees for solving (1).
We first present the algorithm and state its running time guarantees (Section 3.1), then prove the guarantees as part of analysis (Section 3.2).
Our accelerated APPA algorithm is given by Algorithm 2. In every iteration it still makes a single call to a primal oracle, but rather than requiring a fixed constant minimization the minimization factor depends polynomial on the ratio of and .
The central goal is to prove the following theorem regarding the running time of APPA.
Given a primal -oracle for , Algorithm 2 minimizes the general ERM problem (2) to within accuracy in time .
This theorem is essentially a restatement of Theorem 1.1 and by instantiating it with Theorem 2.2 we obtain the following.
Instantiating Theorem 3.1 with SVRG (Johnson and Zhang, 2013) as the primal oracle and taking yields the running time bound for the general ERM problem (2).
2 Analysis
Here we establish the convergence rate of Algorithm 2, Accelerated APPA, and prove Theorem 3.1. Note that as in Section 2 the results in this section use nothing about the structure of other than strong convexity and thus they apply to the general ERM problem (2).
We remark that aspects of the proofs in this section bear resemblance to the analysis in Shalev-Shwartz and Zhang (2014), which achieves similar results in a more specialized setting.
Our proof is split into the following parts.
In Lemma 3.3 we show that applying a primal oracle to the inner minimization problem gives us a quadratic lower bound on .
In Lemma 3.4 we use this lower bound to construct a series of lower bounds for the main objective function , and accelerate the APPA algorithm, comprising the bulk of the analysis.
In Lemma 3.5 we show that the requirements of Lemma 3.4 can be met by using a primal oracle that decreases the error by a constant factor.
In Lemma 3.6 we analyze the initial error requirements of Lemma 3.4.
The proof of Theorem 3.1 follows immediately from these lemmas.
Note that as we are only losing a factor of 2 in the strong convexity parameter for our lower bound. This allows us to account for errors without sacrificing in our ultimate asymptotic convergence rates.
Since is -strongly convex clearly is strongly convex, by Lemma A.1
By Cauchy-Schwartz and Young’s Inequality we know that
On the other hand, since by assumption we have and therefore
and using the fact that , we have
The right hand side of the above equation is a quadratic function. Looking at its gradient with respect to we see that it obtains its minimum when and has a minimum value of . ∎
Suppose that in each iteration we have such that for all . Let for , and let
,
,
.
Thus, for we can let
where in the last line we used Lemma A.3. Again, by Lemma A.3 we know that
In the second step we used the following fact:
Furthermore, expanding the term and instantiating with in (9) yields
Note that we have chosen so that the inner product term equals , and we choose which ensures
In the final step we are using the fact that and . ∎
We will try to show the lower bound is larger than by the same amount. This is because for all we have
The right hand side is a quadratic function, whose optimal point is at and whose optimal value is equal to
By definition of , we know is exactly equal to , therefore . ∎
In the next lemma we show that moving to the regularized problem has the same effect on the primal function value and the lower bound. This is a result of the choice of in the proof of Lemma 3.4. However, this does not mean that the choice of is very fragile. We can choose any that is between the current and ; the effect on this lemma will be that the increase in primal function becomes smaller than the increase in the lower bound (so the lemma continues to hold).
Let , and , then is a valid lower bound for . In particular when then .
This lemma is a direct corollary of Lemma 3.3 with . ∎
Dual APPA
In this section we develop Dual APPA (Algorithm 3), a natural approximate proximal point algorithm that operates entirely in the regularized ERM dual. Our focus here is on theoretical properties of Dual APPA; Section 5 later explores aspects of Dual APPA more in practice.
We first present an abstraction for dual-based inner minimizers (Section 4.1), then present the algorithm (Section 4.2), and finally step through its runtime analysis (Section 4.3).
Our primary goal in this section is to quantify how much objective function progress an algorithm needs to make in the dual problem, (See Section 1.1) in order to ensure primal progress at a rate similar to that in APPA (Algorithm 1).
Here, similar to Section 2.1, we formally define our requirements for an approximate dual-based inner dual minimize. In particular, we use the following notion of dual oracle.
Dual based algorithms for regularized ERM and variants of coordinate descent typically can be used as such a dual oracle. In particular we note that APCG is such a dual oracle.
APCG (Lin et al., 2014) is a dual -oracle with runtime complexity .As in Theorem 2.3, AP-SDCA could likely also serve as a dual oracle with the same guarantees, provided it is modified to allow for the more general primal-dual initialization.
2 Algorithm
Our dual APPA is given by the following Algorithm 3.
Dual APPA (Algorithm 3) repeatedly queries a dual oracle while producing primal iterates via the dual-to-primal mapping (5) along the way. We show that it obtains the following running time bound:
Given a dual -oracle , where
Algorithm 3 minimizes the ERM problem (1) to within accuracy in time .As in Theorem 2.5, when the oracle is a randomized algorithm, the expected accuracy is at most .
Combining Theorem 4.3 and Theorem 4.2 immediately yields another way to achieve our desired running time for solving (1).
Instantiating Theorem 4.3 with Theorem 4.2 as the dual oracle and taking yields the running time bound .
While both this result and the results in Section 2 show that APCG can be used to achieve our fastest running times for solving (1), note that the algorithms they suggest are in fact different. In every invocation of APCG in Algorithm 1, we need to explicitly compute both the primal-to-dual and dual-to-primal mappings (in time). However, here we only need to compute the primal-to-dual mapping once upfront, in order to initialize the algorithm. Every subsequent invocation of APCG then only requires a single dual-to-primal mapping computation, which can often be streamlined. From a practical viewpoint, this can be seen as a natural “warm start” scheme for the dual-based inner minimizer.
3 Analysis
Here we proves Theorem 4.3. We begin by bounding the error of the dual regularized ERM problem when the center of regularization changes. This characterizes the initial error at the beginning of each Dual APPA iteration.
In other words, the dual error is bounded across a re-centering step by multiples of previous sub-optimality measurements (namely, dual error and gradient norm).
By the definition of and we have, for all ,
Furthermore, since is -strongly convex we can invoke Lemma A.2 obtaining
Finally, since is -strongly convex, by Lemma A.1, we have
Combining and recalling the definition of yields the result. ∎
The following lemma establishes the rate of convergence of the primal iterates produced over the course of Dual APPA, and in turn implies Theorem 4.3.
Let be arbitrary and suppose that in Dual APPA (Algorithm 3). Then in every iteration of Dual APPA (Algorithm 3) the following invariants hold:
For notational convenience we let , , , and for all . Thus, we wish to show that (equivalent to (11)) and we wish to show that (equivalent to (10)) for all .
By definition of a dual oracle we have, for all ,
and by Lemma 2.7 we know that for all
Furthermore, by Corollary B.3, the definition of , and the facts that and we have
We show that combining these and applying strong induction on yields the desired result.
We begin with our base cases. When the invariant (11) holds immediately by definition. Furthermore, when we see that the invariant (10) holds, since and
were we used (12) and (16) respectively. Finally we show that invariant (11) holds for :
Now consider for the second invariant (11). We show this holds assuming the invariants hold for all smaller .
Since combining yields that
and the result follows by the inductive hypothesis on .
Finally we show that invariant (10) holds for any given that it holds for all smaller and invariant (11) holds for that and all smaller .
Implementation
In the following two subsections, respectively, we discuss implementation details and report on an empirical evaluation of the APPA framework.
While theoretical convergence rates lay out a broad-view comparison of the algorithms in the literature, we briefly remark on some of the finer-grained differences between algorithms, which inform their implementation or empirical behavior. To match the terminology used for SVRG in Johnson and Zhang (2013), we refer to a “stage” as a single step of APPA, i.e. the time spent executing the inner minimization of or (as in (3) and (4)).
At the end of every one of its stages, SVRG pauses to compute an exact gradient by a complete pass over the dataset (costing time during which gradients are computed). Although an amortized runtime analysis hides this cost, this operation cannot be carried out in-step with the iterative updates of the previous stage, since the exact gradient is computed at a point that is only selected at the stage’s end.
Meanwhile, if each stage in Dual APPA is initialized with a valid primal-dual pair for the inner problem, Dual APPA can update the current primal point together with every dual coordinate update, in time , i.e. with negligible increase in the overhead of the update. When doing so, the corresponding data row remains fresh in cache and, unlike SVRG, no additional gradient need be computed.
Moreover, initializing each stage with a valid such primal-dual pair can be done in only time. At the end of a stage where was the center point, Dual APPA holds a primal-dual pair where . The next stage is centered at and the dual variables initialized at , so it remains to set up a corresponding primal point . This can be done by computing , since we know that .
Decreasing λ𝜆\lambda
APPA and Dual APPA enjoy the nice property that, as long as the inner problems are solved with enough accuracy, the algorithm does not diverge even for large choice of . In practice this allows us to start with a large and make faster inner minimizations. If we heuristically observe that the function error is not decreasing rapidly enough, we can switch to a smaller . Figure 3 (Section 5.2) demonstrates this empirically. This contrasts with algorithm parameters such as step size choices in stochastic optimizers (that may still appear in inner minimization). Such parameters are typically more sensitive, and can suddenly lead to divergence when taken too large, making them less amenable to mid-run parameter tuning.
Stable update steps
When used as inner minimizers, dual coordinate-wise methods such as SDCA typically provide a convenient framework in which to derive parameter updates with data-dependent step sizes, or sometimes enables closed-form updates altogether (i.e. optimal solutions to each single-coordinate maximization sub-problem). For example, when Dual APPA is used together with SDCA to solve a problem of least-squares or ridge regression, the locally optimal SDCA updates can be performed efficiently in closed form. This decreases the number of algorithmic parameters requiring tuning, improves the overall the stability of the end-to-end optimizer and, in turn, makes it easier to use out of the box.
2 Empirical analysis
We experiment with Dual APPA in comparison with SDCA, SVRG, and SGD on several binary classification tasks.
Algorithms
Each algorithm is parameterized by a scalar value analogous to the used in proximal iteration: is the step size for SVRG, is the decaying step size for SGD, and is the ridge penalty for SDCA. (See Johnson and Zhang (2013) for a comparison of SVRG to a more thoroughly tuned SGD under different decay schemes.) We use Dual APPA (Algorithm 3) with SDCA as the inner minimizer. For the algorithms with a notion of a stage – i.e. Dual APPA’s time spent invoking the inner minimizer, SVRG’s period between computing exact gradients – we set the stage size equal to the dataset size for simplicity.Such a choice is justified by the observation that doubling the stage size does not have noticeable effect on the results discussed. SVRG is given an advantage in that we choose not to count its gradient computations when it computes the exact gradient between stages. All algorithms are initialized at . Each algorithm was run under for , and plots report the trial that best minimized the original ERM objective.
Convergence and bias
Figure 1 also shows dashed lines corresponding to the ERM performance of the least-squares fit and of fully-optimized ridge regression, using as that of the best APPA and SDCA runs. These appear in the legend as “ls().” They indicate lower bounds on the ERM value attainable by any algorithm that minimizes the corresponding regularized ERM objective. Lastly, test set classification accuracy demonstrates the extent to which a shrinkage bias is statistically desirable. In the MNIST and CIFAR holdout, we want only the small bias taken explicitly by SDCA (and effectively achieved by APPA). In the Protein holdout, we want no bias at all (again effectively achieved by APPA).
Parameter sensitivity
By solving only regularized ERM inner problems, SDCA and APPA enjoy a stable response to poor specification of the biasing parameter . Figure 3 plots the algorithms’ final value after 20 stages, against different choices of . Overestimating the step size in SGD or SVRG incurs a sharp transition into a regime of divergence. Meanwhile, APPA and SDCA always converge, with solution quality degrading more smoothly. APPA then exhibits an even better degradation as it overcomes an overaggressive biasing by the 20th stage.
Acknowledgments
Part of this work took place while RF and AS were at Microsoft Research, New England, and another part while AS was visiting the Simons Institute for the Theory of Computing, UC Berkeley. This work was partially supported by NSF awards 0843915 and 1111109, NSF Graduate Research Fellowship (grant no. 1122374).
References
Appendix A Technical lemmas
In this section we provide several stand-alone technical lemmas we use throughout the paper. First we provide Lemma A.1 some common inequalities regarding smooth or strongly convex functions, then Lemma A.2 which shows the effect of adding a linear term to a convex function, and then Lemma A.3 a small technical lemma regarding convex combinations of quadratic functions.
Apply the definition of smoothness and strong convexity at the points and and minimize the resulting quadratic form. ∎
Let . Since is -strongly convex by Lemma A.1 we have for all . Consequently, for all
Minimizing with respect to yields that . Consequently, by Cauchy Schwarz, and Young’s Inequality we have
Setting the gradient of to we know that must satisfy
and thus . Finally,
Appendix B Regularized ERM duality
In this section we derive the dual (4) to the problem of computing proximal operator for the ERM objective (3) (Section B.1) and prove several bounds on primal and dual errors (Section B.2). Throughout this section we assume is given by the ERM problem (1) and we make extensive use of the notation and assumptions in Section 1.1.
We can rewrite the primal problem, , as
it follows that the optimization problem is in turn equivalent to
This negated problem is precisely the dual formulation.
The first problem is a Lagrangian saddle-point problem, where the Lagrangian is defined as
The dual-to-primal mapping (5) and primal-to-dual mapping (6) are implied by the KKT conditions under , and can be derived by solving for , , and in the system .
The duality gap in this context is defined as
B.2 Error bounds
Finally, since each is -strongly convex, is -strongly convex and hence so is . Therefore by Lemma A.1 we have
Substituting (22) in (21) and recalling that yields the result. ∎
To prove the first identity (23), let for brevity. Recall that
by definition, and hence . Observe that
Now clearly . Furthermore, since is -smooth by Lemma A.1 we have . Consequently,
Recalling the definition of and the fact that yields the result. ∎