Elamur Research

Convex Optimization: Algorithms and Complexity

Paper · 2015 · Sébastien Bubeck

Summary

A derivative tells you how an objective changes near the point where you measure it. For a convex objective, it also gives a lower bound everywhere in the feasible region. Sébastien Bubeck’s monograph asks how much an algorithm can do with information of this kind. It compares methods for finding an approximate minimum and studies how their guarantees change with the dimension, the shape of the objective, the constraints, and the cost of evaluating a derivative. Examples from machine learning include regularized regression, linear classification, and matrix completion.

When a method can query only local information, the paper compares the guarantees of algorithms with lower bounds that describe what such queries can reveal. Cutting-plane methods can reduce error exponentially with the number of queries, but their costs depend explicitly on dimension. Gradient methods can avoid that explicit dependence. For a smooth convex objective, ordinary gradient descent has an inverse-iteration error bound, while Nesterov’s accelerated method achieves an inverse-square bound. With both smoothness and strong convexity, the methods converge geometrically, and acceleration improves how the iteration count depends on the condition number. Mirror descent and Frank–Wolfe show how the geometry of the feasible set can change the cost or usefulness of a step.

The paper then examines information that an ordinary gradient query leaves out. If a nonsmooth objective splits into a smooth loss and a simple penalty, FISTA can retain the inverse-square rate by handling the penalty directly. If nonsmoothness comes from taking a maximum of smooth functions, a saddle-point reformulation gives mirror prox access to smooth derivatives. Interior-point methods exploit a different kind of structure by using the derivatives of a barrier to follow a path through the feasible region.

Randomness changes the comparison again. Unbiased derivative estimates preserve the order of the nonsmooth convergence guarantees under a bound on their second moment. In the smooth setting, the error bound separates a term due to curvature from a term due to noise. Mini-batches, variance reduction, and coordinate sampling use different amounts of work to control those terms. The results are mathematical guarantees. Their practical meaning depends on what a step costs, what an algorithm can query, and whether the bound measures objective error, distance to a solution, or the quality of a saddle-point pair.

Deep dive: Convex Optimization: Algorithms and Complexity

Bubeck explains how convex optimization algorithms trade off accuracy, computation, and the information they use about a problem. · about 41 minutes to read

The problem and its context

Why a local observation can settle a global question

A convex optimization problem asks for a point in a feasible set where a convex objective is as small as possible. Convexity of the set means that the segment between feasible points stays feasible. Convexity of the objective means that the value at a point on a segment is at most the corresponding interpolation of the endpoint values. Together these properties make a local minimum global. If a feasible point elsewhere had a lower value, then taking a sufficiently short step towards it along their segment would already improve the objective.

The same reasoning gives algorithms something stronger than a way to recognize success. A gradient, when it exists, gives a supporting affine function. At a corner, a subgradient can serve the same purpose. It specifies a slope whose affine extension from the current point stays below the objective throughout the feasible set. A query can therefore justify rejecting points far from where it was made. Convexity supplies the argument for that rejection, even if the algorithm has never evaluated the objective at the points it throws away.

Constraints matter to the meaning of a stationary point. An unconstrained differentiable convex function is minimized wherever its gradient is zero. At a constrained minimum, the gradient can be non-zero. The condition is that there is no feasible direction towards another point in the set along which the objective initially decreases. This is the principle behind both projection, where a tentative point is mapped back into the set, and separation, where an infeasible point is rejected using a hyperplane that leaves the entire set on the other side.

What the algorithm is allowed to know

Bubeck begins by specifying the interface between an algorithm and its objective. A zeroth-order oracle returns a function value at a chosen point. A first-order oracle returns a subgradient. The feasible set can be known directly, or at times it can be given through a separation oracle. To measure oracle complexity, the paper counts the calls needed to obtain a chosen accuracy. Within that accounting, an algorithm can do arbitrary computation between calls. The cost of the computation is a separate question, and it can overturn a ranking based on queries alone.

An upper bound comes from proposing an algorithm and proving that it succeeds on a class of problems. A lower bound goes in the opposite direction. It exhibits an objective, together with permissible oracle replies, on which the algorithm cannot do better within its query budget. In the dimension-free chapter, a recurring construction lets the algorithm discover a new direction gradually. The objective may have a minimizer that extends well beyond the directions discovered so far. This makes the difficulty a question about information, even when the arithmetic on information already acquired is cheap.

The paper traces this black-box formulation to early work on the complexity of convex programming, with Nemirovski and Yudin serving as a principal reference. Bubeck’s exposition also draws heavily on Nesterov’s treatment. Earlier cutting-plane work already illustrated the distinction between query efficiency and computational efficiency. The center-of-gravity method makes a cut at a point that is expensive to compute. The ellipsoid method replaces the region by a shape with a tractable update. Vaidya’s method keeps a polytope and uses a barrier to decide where to query and which old constraints it can afford to discard.

Gradient descent has a different history in the paper. Bubeck traces the basic iteration to Cauchy and presents conjugate gradient as a way to exploit the special geometry of quadratic objectives. Earlier routes to optimal rates for smooth convex functions used searches over planes and then lines. Nesterov’s accelerated method achieved the relevant rate using first-order queries without those searches. Bubeck also presents geometric descent, which uses line searches and gives a geometric explanation of how acceleration can arise from combining successive bounds on the location of a minimizer.

What a known objective makes possible

The paper’s examples make the black-box restriction easy to see. A regularized regression objective can contain a loss for each observed feature vector and response, together with a separate penalty on the unknown coefficients. In the LASSO example, the squared fitting error is smooth and the sum of absolute coefficient values is nonsmooth. An algorithm that receives only a subgradient of their sum has no direct access to the decomposition. An algorithm that knows the decomposition can use a gradient for the fitting error and solve a much simpler problem for the penalty.

Other examples put the structure in the variable and the constraints. In the paper’s convex formulation of matrix completion, the variable is a positive semidefinite matrix. It must agree with observed entries, and the objective is its trace. A linear program has a linear objective and linear constraints. A semidefinite program works with a symmetric matrix and includes a positive semidefinite constraint. These descriptions give algorithms specific operations to exploit, such as evaluating the derivatives of a barrier. Bubeck points readers to the earlier treatment by Boyd and Vandenberghe for ways to uncover convex structure, and to Nesterov and Nemirovski for the theory behind the interior-point methods presented here.

The source of a derivative estimate also matters. In a large finite sum, a full gradient requires evaluating every term, while an estimate can come from drawing a term at random. If the objective is an expectation under an unknown distribution, an estimate can instead come from a fresh example. Bubeck connects this idea to stochastic approximation and explains why the distinction between the settings matters. Repeatedly drawing from fixed data can still give an unbiased estimate of the empirical gradient. A procedure that seeks the population gradient from independently drawn examples needs to account for how past queries have already used those examples.

The method, step by step

From a query to a justified update

The monograph studies a family of methods. They share a pattern. Start with an objective and a feasible set, decide what information about them can be obtained, and use it to take a step whose consequences can be bounded. A cutting-plane method maintains a region containing a minimizer. A projected method maintains a feasible point. A saddle-point method keeps a pair of feasible points and measures how much either side can improve against the other. The output can be the last point, the best queried point, or an average. The choice follows from what the proof controls.

How the paper organizes an optimization method

The steps in order.

How the paper organizes an optimization methodStep 1: Specify the objective and feasible set1. Specify the objective and feasible setStep 2: Identify the available queries and structure2. Identify the available queries and structureStep 3: Choose a point or region to maintain3. Choose a point or region to maintainStep 4: Obtain the information for the current step4. Obtain the information for the current stepStep 5: Update the iterate or retain a region5. Update the iterate or retain a regionStep 6: Return the point or average with a guarantee6. Return the point or average with a guarantee

For ordinary minimization, the main measure of accuracy is the objective gap.

f(x) − f(x∗)

Here f is the objective, x is a feasible candidate, and x∗ is a minimizer over the feasible set. The star in x∗ marks an optimum. An ε-optimal point has a gap at most ε, the prescribed error tolerance. In several proofs the paper also bounds distance to x∗ or the volume of a region containing x∗. Those quantities require an argument connecting them to the guarantee of interest.

The subgradient inequality explains how an oracle reply can guide each of these methods.

f(y) ≥ f(x) + gᵀ(y − x)

Here x is the query point, y is any feasible point, and g is a subgradient of f at x. The superscript ᵀ denotes transpose, so the last term is the inner product of the subgradient and the displacement. If this term is positive, then y has higher objective value than x. If g is zero, x already minimizes f. For differentiable convex objectives the gradient ∇f(x) is an admissible choice for g, where ∇ denotes differentiation with respect to the vector argument.

Cutting away regions

The center-of-gravity method starts with a compact convex region of positive volume. In the basic presentation this is the feasible set. It computes the centroid, queries a subgradient there, and retains the half of the region on the side where the subgradient allows improvement.

Sₜ₊₁ = Sₜ ∩ {x ∈ ℝⁿ : (x − cₜ)ᵀwₜ ≤ 0}

Here t is the iteration index, Sₜ is the region before the cut, cₜ is its centroid, and wₜ is the subgradient at cₜ. The set ℝⁿ is the space of real vectors with n coordinates, x is a candidate vector, and ∩ denotes intersection. The inequality identifies the retained half-space. After the allotted first-order queries, function values identify the best centroid among those visited.

The proof tracks volume. A hyperplane through the centroid of a convex body leaves a guaranteed fraction of the volume on either side. Consequently a non-zero subgradient removes a fixed fraction of the current region while preserving the minimizer. To turn that volume statement into an accuracy statement, Bubeck considers a smaller copy of the original domain obtained by drawing every point towards a minimizer. Convexity ensures that the whole copy has low objective value. Once the retained region is smaller than this copy, some low-value point must have been removed. The queried point responsible for that cut had an even lower value.

The ellipsoid method starts from an enclosing ball and stores its successive regions as ellipsoids, each represented by a center and a positive definite shape matrix. If the current center is feasible, a first-order query supplies the cut. Otherwise a separation oracle produces a half-space containing the entire feasible set. The method replaces the retained half of the ellipsoid by a new ellipsoid that contains it. The new shape comes from solving the geometry of a cut through the center of a ball, then transforming that solution back into the coordinates of the current ellipsoid.

vol(E) ≤ exp(−1/(2n)) vol(E₀)

Here E₀ is the old ellipsoid, E is the replacement, vol is volume, exp is the exponential function, and n is the ambient dimension. The bound expresses the shrinkage of the enclosing ellipsoid after a central cut. The proof of optimization accuracy again uses volume, with an inner ball of the feasible set helping to connect shrinkage to the existence of a feasible center with a good value.

Vaidya’s method manages the approximation differently. It starts from an enclosing simplex and describes the current polytope by the inequalities it has retained. A logarithmic barrier grows as a point approaches any boundary of the polytope. The volumetric barrier is derived from the curvature of that logarithmic barrier.

v(x) = (1/2) log det(∇²F(x))

Here x is an interior point, F is the logarithmic barrier of the current polytope, ∇²F(x) is its Hessian, and det and log denote determinant and logarithm. The Hessian is the matrix of second derivatives. The function v assigns a larger value to a point where the ellipsoid defined by that local curvature has smaller volume, up to the constant associated with the volume of the unit ball.

The algorithm queries near the minimizer of v. Each constraint has a leverage score, which measures its contribution to the local geometry after accounting for its slack and the curvature due to the other inequalities. If the smallest leverage score is below the threshold, the method removes that constraint. Otherwise it asks for a separating direction and adds a cut placed so that its influence is controlled. The proof shows that the gain from adding an appropriately placed cut can pay for occasional deletions. This is how the method can retain a useful enclosure without having to carry every past inequality.

Following a direction and choosing where to report progress

Projected subgradient descent starts from a feasible point, takes a step using a subgradient, and then returns to the closest feasible point in Euclidean distance.

xₜ₊₁ = Πₓ(xₜ − ηgₜ)

Here xₜ and xₜ₊₁ are the current and next feasible iterates, t indexes the update, η is its positive step size, and gₜ is the subgradient at xₜ. The notation Πₓ denotes Euclidean projection onto the feasible set X. Projection is itself a minimization problem. Its role in the analysis is that it cannot increase the distance to any feasible comparison point, in particular a minimizer of f.

For a Lipschitz objective in the paper’s setup, the available subgradients have bounded norm. The proof expands the squared distance to a minimizer after the tentative step. One term contains the gap controlled by the subgradient inequality. Another contains the squared step size and the squared norm of the subgradient. After applying the projection property and adding the inequalities over time, the intermediate squared distances cancel. An average of feasible iterates is feasible and, by convexity, its objective value can be bounded by the average of the values at those iterates. This accounts for both the use of averaging and the dependence of the recommended step on the planned number of updates.

Smoothness changes which step sizes can be justified. A smooth objective has a gradient whose rate of change is bounded. In Euclidean space the paper uses the condition below.

‖∇f(x) − ∇f(y)‖ ≤ β‖x − y‖

Here x and y are the points being compared, f is the differentiable objective, ∇f gives its gradient, and ‖·‖ is the Euclidean norm. The constant β bounds the change in the gradient per unit displacement. Smoothness places a quadratic upper bound over the local affine approximation. Taking a gradient step of size 1/β in the unconstrained problem guarantees a decrease that can be expressed in terms of the squared gradient norm.

For a smooth constrained objective, projection can shorten or redirect the trial step. The paper therefore analyzes the displacement from the current point to the projected point, scaled by β. This quantity plays the role of the gradient in the progress bound. It can be zero at a constrained optimum even when the ordinary gradient is non-zero. The proof can then use a decrease estimate adapted to feasible updates, with a last-iterate objective guarantee in place of the nonsmooth argument based on an average.

Frank–Wolfe replaces projection by a linear minimization over the feasible set. It finds a feasible point that minimizes the current gradient’s inner product with the candidate. The update stays on the segment between the current iterate and that linear minimizer.

xₜ₊₁ = (1 − γₜ)xₜ + γₜyₜ

Here xₜ is the current feasible point, yₜ solves the linear minimization at that point, γₜ is the weight given to yₜ, and t indexes the iteration. The coefficient 1 − γₜ is the weight retained on xₜ. With a feasible set given as the convex hull of vertices, the linear minimizer can be chosen as a vertex. Starting from a vertex, each step can then add at most one vertex to the representation. The proof uses smoothness to limit the error of following the linear approximation this way.

The structured regression example explains when these choices pay off. The feasible coefficients have a bound on the sum of their absolute values. The dictionary can be so large that writing down a dense coefficient vector is already too costly. The linear minimization in each Frank–Wolfe step reduces to finding a dictionary element with an extreme signed inner product against the current residual. If that problem can be solved efficiently, the algorithm can maintain the residual in the signal space and store only the selected coefficients. In the spanning-tree example, the dictionary is represented implicitly and linear optimization over it can be done greedily.

Using curvature to accelerate

Strong convexity bounds the objective from below by a quadratic as well as by a supporting affine function. This lower bound controls how far a point with a small error can be from a minimizer. The corresponding notion of condition number compares that lower curvature bound with the upper bound from smoothness.

κ = β/α

Here κ is the condition number of the objective in this setting, β is the smoothness parameter, and α is the positive strong convexity parameter. For a quadratic with a positive definite Hessian, the condition number expresses the ratio between its largest and smallest eigenvalues. A wide separation between the two curvature bounds means that a step chosen to be safe along directions of high curvature may make slow progress along directions with lower curvature.

For nonsmooth strongly convex objectives, the paper develops a projected subgradient analysis with decreasing step sizes and an average that gives later iterates more weight. The lower curvature term makes it possible to bound a weighted sum of gaps more tightly than in the Lipschitz-only proof. With both smoothness and strong convexity, a properly sized gradient step contracts squared distance to the optimum at every iteration. The analytic question is how much contraction can be bought with each derivative query.

Nesterov’s method maintains a point at which it evaluates the gradient and a second point obtained by taking the gradient step. It uses the change between successive points in the second sequence to position the next query. In the strongly convex setting this extrapolation has a fixed coefficient depending on κ.

xₜ₊₁ = yₜ₊₁ + ((√κ − 1)/(√κ + 1))(yₜ₊₁ − yₜ)

Here xₜ₊₁ is the next query point, yₜ₊₁ is the result of the gradient step from the current query point xₜ, yₜ is the previous point in that sequence, and t counts iterations. The square root √κ acts on the condition number κ. The second term extends the latest displacement in the y sequence. The paper measures the objective gap at yₜ, while xₜ determines where the next derivative is evaluated.

The proof for strong convexity builds a sequence of auxiliary quadratics by combining an earlier quadratic with the lower bound supplied by the latest query. The weight on the initial quadratic decreases geometrically. At the same time, the update ensures that the objective at the reported point is bounded above by the minimum of the current auxiliary quadratic. Evaluating that auxiliary function at x∗ then controls the reported gap. For a smooth objective without strong convexity, the extrapolation weight changes with the iteration. The proof in that case uses a weighted objective gap together with a squared norm whose changes cancel when added over successive steps.

Geometric descent gives a different account of acceleration. Strong convexity puts the minimizer in a ball derived from the current gradient. Smoothness supplies a decrease in objective value after a gradient step, which can shrink the radius in this guarantee. The method also retains a ball from previous steps. Its line search both supplies a sufficiently low objective value to tighten the previous ball and gives an orthogonality relation needed in the geometry of their intersection. Enclosing that smaller intersection yields the accelerated contraction. The value estimates, the line search, and the geometry all enter the argument.

For positive definite quadratics, conjugate gradient illustrates another way of using curvature. It minimizes along successively constructed directions that are orthogonal in the inner product defined by the quadratic’s matrix. Minimizing along a new direction then preserves the stationarity already obtained along earlier directions. The iterates minimize over a growing affine span. The paper shows how to build the directions from gradients and line minimizations, and how this construction gives exact termination within the dimension in the quadratic case.

Matching the step to the feasible set

In a Euclidean update, the gradient is treated as a vector that can be subtracted directly from the current point. In a general normed space, a derivative naturally acts on displacements as a linear functional. Mirror descent introduces a mirror map Φ whose gradient sends the current point into dual coordinates. The algorithm makes its subgradient update there, maps back, and restores feasibility with a projection suited to Φ. Equivalently, it solves a local problem that weighs the linear objective term against a penalty for moving from the current point.

DΦ(u, v) = Φ(u) − Φ(v) − ∇Φ(v)ᵀ(u − v)

Here DΦ is the Bregman divergence associated with Φ, and u and v are points in its domain. The term ∇Φ(v)ᵀ(u − v) is the linear change predicted at v in the direction of u. The divergence measures the gap between the value at u and the affine approximation based at v. Its arguments have distinct roles. The projection minimizes this gap over its first argument, with the tentative point fixed as the second.

For Euclidean geometry the paper uses half the squared Euclidean norm as Φ, recovering projected subgradient descent. On a probability simplex, it uses negative entropy. The update multiplies the current weight of each coordinate by an exponential factor determined by its derivative, and projection renormalizes the weights. The proof uses the sum of absolute values to measure displacements and the maximum absolute coordinate to measure subgradients. The matrix analogue uses negative entropy of the eigenvalues on positive definite matrices and restores the trace constraint by renormalization.

Mirror descent’s bound balances the initial Bregman divergence against the squared norms of the updates. Dual averaging instead keeps the running sum of the subgradients in dual coordinates. Its primal iterate minimizes the accumulated linear objective terms plus the mirror map. The paper develops these inequalities for arbitrary update vectors. This matters when the vector at a point describes a game or comes from a random estimator, since the analysis need not start by assuming that every update vector is the gradient of a single fixed function.

Mirror prox evaluates the direction twice. It first takes a mirror step to a trial point. It then uses the direction at that trial point to take a corrected step from the original iterate. The proof exploits the fact that the difference between the directions is bounded by the distance between their evaluation points. The divergence terms associated with making those moves control the extra error. The trial points are the ones whose average is used in the convergence guarantee.

Treating the source of nonsmoothness directly

For a sum of a smooth convex term and a simple convex term, the paper treats the terms differently within each update. The smooth term determines the direction of a trial gradient step. The nonsmooth term is kept intact and optimized together with a quadratic penalty for moving away from that trial point.

xₜ₊₁ = argminᵤ {g(u) + (1/(2η))‖u − (xₜ − η∇f(xₜ))‖²}

Here t counts iterations, xₜ is the current point, xₜ₊₁ is the next point, and u ranges over the real vector space of the problem. The operation argminᵤ selects a minimizing u. The smooth term is f, its gradient is ∇f, and g is the known convex term. The positive step size is η, and ‖·‖ is the Euclidean norm. The operation that minimizes g plus this quadratic is called a proximal step.

ISTA repeatedly applies that step. In the LASSO example the proximal problem separates across coordinates. The solution shrinks each magnitude toward zero by a threshold and sets coordinates below the threshold to zero. FISTA applies the proximal step at an extrapolated point using the same pattern as accelerated gradient descent. The cost of computing the proximal step is central to this comparison. The speedup in iteration count is useful when the known term can actually be handled in this form.

A maximum of smooth functions offers a different structure. Introduce a vector of non-negative weights with sum equal to one. Maximizing the weighted sum over this simplex selects the value of the largest component. The outer minimization can then be performed jointly with the maximization as a convex–concave saddle-point computation. For the minimization variable the method uses the derivative of the payoff. For the maximization variable it uses the negative derivative so that movement in the two blocks has the appropriate sign.

G(x̃, ỹ) = maxᵧ∈Y ϕ(x̃, y) − minₓ∈X ϕ(x, ỹ)

Here X and Y are the feasible sets of the minimizing and maximizing variables, respectively. The pair x̃ and ỹ is the candidate, x and y are the comparison choices in the optimizations, and ϕ is the payoff. The function G is the duality gap. The first term finds the largest payoff available against x̃. The second finds the smallest payoff available against ỹ. Their difference measures how close the pair comes to satisfying both sides of the saddle-point condition.

The paper assigns a mirror map to each variable and weights the two geometries in a product space. Saddle-point mirror descent needs bounds on the sizes of the two blocks of the update vector. Saddle-point mirror prox uses stronger information, including how each partial derivative changes when either variable moves. Even a bilinear payoff has such cross-variable changes. In a matrix game, moving one player’s probability vector changes the derivative seen by the other. The smoothness bounds used by mirror prox reflect that interaction.

Following a path inside the constraints

For interior-point methods the objective is expressed as a linear function over a convex set. A convex nonlinear objective can also be expressed using its epigraph, the set of points on or above its graph, with the extra height variable serving as the linear objective. The method adds a barrier F that tends to infinity near the boundary and considers a family of objectives indexed by a positive weight.

Fₜ(x) = tcᵀx + F(x)

Here x is an interior feasible point, c is the vector of coefficients of the linear objective, and ᵀ denotes transpose so cᵀx is an inner product. The parameter t is the weight on that linear objective, F is the barrier, and Fₜ is the objective formed from the two terms. The minimizers of Fₜ as t varies form the central path. Raising t increases the importance of the original objective in locating the next point on the path.

The algorithm stays near the path by increasing the weight by a controlled amount and taking a Newton step on the new objective. Newton’s method uses the Hessian of the barrier to turn the gradient into a direction. Its behavior near a minimizer is measured in the geometry defined by that Hessian. The Newton decrement is the size of the gradient in the associated dual norm. A small decrement indicates that the point is in the region where a Newton step sharply reduces it. Self-concordance bounds the change in curvature in that local geometry and lets the analysis control both the step size along the path and the correction back towards it.

Initialization is part of the algorithm. Starting from an interior point, the paper constructs an auxiliary linear objective for which that point is on a central path. It decreases the weight of the auxiliary objective until the resulting point is close enough to start following the target path. The paper also discusses the effect of linear equality constraints. They can make the feasible region have empty interior in the original ambient space. Newton directions can then be computed in the space allowed by those equalities, making the Newton step a quadratic problem with linear constraints.

Deciding what to sample

The stochastic methods use a derivative estimate whose expectation, conditional on the query point, is an admissible subgradient there. For an expected loss, the paper draws an example and differentiates the loss on that example. For an empirical average, it chooses an index uniformly from the terms of the fixed objective. The bounds require more than conditional unbiasedness. In the nonsmooth case the paper bounds the expected squared norm of the estimate. In the smooth case it bounds the expected squared norm of the difference between the estimate and the gradient.

Stochastic mirror descent uses the same update as mirror descent, with the estimate in place of the exact subgradient. Taking expectations converts the accumulated linear terms in its proof into bounds on the objective gap. For smooth objectives, a mini-batch averages independent estimates at the same point before taking a step. Conditional independence allows the variance of the average to shrink as the batch grows. Each batch, however, consumes several oracle calls for one update. The proof tracks both quantities, since improving the estimate and reducing the number of updates have different effects on the error bound.

Variance reduction in a finite sum uses a snapshot point. At the start of an epoch, SVRG computes the full gradient at the snapshot. Inner iterations sample a term and form a difference between its gradients at the current point and at the snapshot, then add the full gradient back.

vₜ = ∇fᵢₜ(xₜ) − ∇fᵢₜ(y) + ∇f(y)

Here vₜ is the direction used at inner iteration t, xₜ is the current point, y is the snapshot for the epoch, and iₜ is the index sampled at that iteration. The notation fᵢₜ denotes the component with that sampled index, f is the average of the components, and ∇ denotes the gradient. Both component derivatives in the difference use the same index. The full gradient at y restores the correct mean, while the difference can be small when both points are near the optimum. The paper defines the next snapshot by averaging the inner iterates.

Random coordinate descent samples a coordinate of the variable instead of a term of the objective. It computes the partial derivative there and updates only that coordinate. With directional smoothness, it scales the step using the curvature bound for the chosen coordinate and can make sampling probabilities depend on those bounds. This changes both the cost of a step and the norm used in the proof. A low cost for obtaining an individual partial derivative is what can make the method attractive at a given iteration count.

Using randomness to find a cut or a discrete answer

The paper also uses randomness in problems where estimating a derivative is secondary. In the randomized center-of-gravity method, the algorithm approximates the centroid using samples from its current region. It uses estimated covariance to transform the region toward isotropic position, where the covariance in every unit direction is close to the same value. To obtain points approximately uniformly, the hit-and-run walk chooses a random line through the current point and moves uniformly along the segment where the line meets the body. The analysis uses the previous region’s sampling distribution to help initialize the walk for the next region.

For MAXCUT, a feasible discrete solution assigns a sign to each vertex so as to place large total weight across the partition. The semidefinite relaxation replaces the matrix of pairwise sign products by a positive semidefinite matrix with unit diagonal. This enlarges the set of candidates and supplies an upper bound on the discrete optimum. After solving the relaxation, the algorithm interprets its solution as a Gaussian covariance and converts the sampled coordinates to signs. Correlations between those signs depend on the entries of the covariance. The proof uses that relationship to compare the expected rounded objective with the value of the relaxation and hence with the discrete optimum.

Experiments and results

What is measured in the comparisons

The monograph’s results are theorems about classes of objectives and families of inputs. Its comparisons use feasible regions, quadratic constructions, finite sums, and other specified test problems in the mathematical sense. The regression, classification, matrix completion, game, and graph examples show where those formulations arise. There are no named benchmark splits, empirical accuracy scores, or measured runtimes. The baseline in each comparison is another algorithm or an oracle lower bound, and the measure is typically the objective gap attained for a given number of iterations or queries. Several examples also supply arithmetic cost bounds to distinguish the work done inside an iteration.

The distinction between metrics matters when reading the results. An objective gap measures the difference in value from an optimum. A distance bound controls how far an iterate is from a minimizing point. A duality gap compares two best responses to a candidate saddle-point pair. In the randomized rounding example the quantity is the expected objective relative to the best discrete objective. Each result is stated in terms of the measure used by its proof. In particular a bound on the gap attained by averaging does not assert that the last individual point has attained the same accuracy.

The price of a cut and the price of a gradient query

For continuous convex objectives bounded in magnitude by B on a convex body in dimension n, the center-of-gravity method uses O(n log(2B/ε)) calls to each of the first-order and value oracles for objective error ε. Here B is the bound on the objective’s magnitude and ε is the desired gap. The paper cites the corresponding small-error lower bound of Ω(n log(1/ε)) calls. The result depends on an exact centroid in the basic algorithm. The monograph identifies the difficulty of computing that centroid as the main obstacle to turning the optimal query bound into an efficient algorithm.

The ellipsoid method requires O(n² log(1/ε)) calls in the paper’s oracle comparison. Its theorem also includes the geometry of the initial enclosure. The radius R of an enclosing ball and the radius r of a ball contained in the feasible set enter the guarantee. In particular the theorem ensures a feasible queried center after at least 2n² log(R/r) iterations, with n the dimension. Its advantage is that the enclosure update has a tractable matrix representation. A useful separation oracle can make the full procedure computationally efficient even when exact centroid queries are impractical.

In the feasibility comparison, the paper gives Vaidya’s method an oracle bound of O(n log(n)) and an arithmetic complexity of O(n⁴) in its summary of the dimension dependence. The detailed stopping argument includes the ratio of the radii in O(n log(nR/r)) iterations. The arithmetic bound cited for the ellipsoid feasibility method is also O(n⁴), with O(n²) oracle complexity. These are bounds for the setting under discussion, with the paper treating the accuracy and geometry parameters explicitly where relevant. They illustrate how a better way to maintain the enclosing region can reduce queries while keeping the same order of arithmetic complexity in the feasibility comparison.

How smoothness changes the dependence on iterations

For projected subgradient descent on a Lipschitz convex objective, the result bounds the objective gap at the average of the queried iterates by RL/√t. Here R bounds the distance from the initial point to the minimizer through the ball assumption, L bounds the subgradient norm, and t is the number of iterates averaged. The lower-bound construction matches the order of the dependence on t in its applicable dimension range. When strong convexity with parameter α is added, the weighted-average guarantee becomes 2L²/(α(t + 1)), under the bounded-subgradient setup used for the proof. The improvement comes even though the objective can still have corners.

The comparison below uses unconstrained smooth convex minimization. It charts the inverse-power exponent of iteration in the objective-gap rate. The exact denominators and output sequences differ, so the chart compares rate exponents rather than error values at any fixed iteration.

Objective-gap bound exponent on unconstrained smooth convex objectives

Acceleration increases the inverse-power exponent of the objective-gap guarantee.

Objective-gap bound exponent on unconstrained smooth convex objectivesGradient descent: 1Gradient descent1Nesterov accelerated gradient descent (this paper): 2Nesterov accelerated gradient descent(this paper)2
The numbers
System or settinginverse-iteration exponent
Gradient descent1
Nesterov accelerated gradient descent (this paper)2
f(xₜ) − f(x∗) ≤ 2β‖x₁ − x∗‖²/(t − 1)

Here xₜ is the ordinary gradient descent iterate at index t and x₁ is its initial point. The minimizer is x∗, f is the smooth convex objective, β is its smoothness bound, and ‖·‖ denotes Euclidean norm. The denominator applies for t greater than 1. The bound is on the objective at the current iterate. It follows from guaranteed decrease at each step and the fact that the iterates stay within their initial distance of the minimizer.

f(yₜ) − f(x∗) ≤ 2β‖x₁ − x∗‖²/t²

Here yₜ is Nesterov’s reported point at index t, x₁ is the common starting point for the two sequences, and x∗ minimizes f. The parameter β and the Euclidean norm have the same meanings as in the ordinary gradient bound. The dependence on the starting distance is shared across these statements. The smooth lower bound applies for t ≤ (n − 1)/2 in dimension n under the stated span restriction. Its gap also decays with an inverse square, making this the relevant exponent for comparison with accelerated gradient.

Strong convexity and smoothness yield a geometric rate for projected gradient descent. The bound on squared distance to a minimizer contains the factor exp(−t/κ), where exp is the exponential function, t is the number of updates, and κ is the condition number. In the unconstrained accelerated result, the objective-gap factor is exp(−(t − 1)/√κ) at the reported point. The prefactors and the quantities bounded are different. The associated comparison in the paper is that the leading dependence on the condition number in the iteration count changes from κ to √κ. The smooth, strongly convex lower bound explains why this square-root dependence is the relevant target for first-order methods in the large-dimensional regime.

Geometry, structure, and accuracy

The simplex example compares Euclidean subgradient descent with mirror descent using negative entropy. With subgradients bounded in maximum-coordinate norm and with n simplex coordinates, the paper gives the Euclidean rate in the order of √(n/t). The entropy-based rate is in the order of √(log(n)/t). In each expression t is the number of iterations and the quantity bounded is an objective gap. The same dimension dependence as the entropy-based simplex result is obtained for the spectrahedron, the set of positive semidefinite matrices with unit trace, using its matrix entropy and the corresponding matrix norm.

Frank–Wolfe retains the inverse-iteration rate for smooth objectives and uses a linear minimization instead of a projection. In the dictionary regression example the objective gap is bounded by 8m²/(t + 1), where m bounds the Euclidean norms of the dictionary elements and t is the iterate index. The cost of obtaining an ε-optimal solution is O(m²p(n)/ε + m⁴/ε²) in the paper’s analysis. Here p(n) bounds the time for linear optimization over the dictionary in signal dimension n. The comparison establishes why the dictionary can remain implicit in this example. Each step needs the chosen atom and the current residual, while the size of the entire dictionary does not explicitly enter the bound under the linear optimization assumption.

For the composite objective, FISTA has the same bound as accelerated gradient with the gap measured on the sum of the smooth term and the simple term. ISTA has an inverse-iteration guarantee for the same form of objective. For a maximum of smooth functions, using the available saddle-point representation allows a rate of order 1/t, where t is the number of saddle-point iterations. The comparison is with the order 1/√t available from ordinary subgradient queries for a general nonsmooth objective. The oracle operations differ. Mirror prox has access to partial derivatives of the smooth payoff and can combine information from the components in each iteration.

For interior-point path following, the theorem bounds the error of a linear objective using the barrier parameter ν and the initial positive path weight t₀. The gap bound is 2ν/t₀ times a geometric factor with base 1 + 1/(13√ν) raised to the negative of the iteration index. Here ν controls the barrier’s gradient in its own Hessian geometry. The resulting count to reach objective error ε is O(√ν log(ν/(t₀ε))). Each iteration includes a Newton step. The paper emphasizes that the cost of that step belongs in any computational comparison, even when the iteration count is much smaller than for an oracle method.

Noise, finite sums, and randomized approximation

In smooth stochastic mirror descent, the bound separates the contributions of the noise and the curvature of the objective.

E[f(x̄)] − f(x∗) ≤ Rσ√(2/t) + βR²/t

Here E denotes expectation over the oracle draws, x̄ is the average of the post-update iterates, and x∗ minimizes the objective f. The symbol R² denotes the range from the starting mirror-map value to its supremum over the domain used in the theorem, R is its square root, σ bounds the root mean squared gradient-estimation error in the dual norm, β is the smoothness parameter, and t is the number of updates. The first term comes from estimating a direction and the second from the deterministic smoothness analysis. Under the paper’s assumptions, batching can reduce the former at a given number of updates. At a fixed number of oracle calls, batching also reduces the number of updates and thus affects the latter.

For smooth finite sums with a strongly convex average, the paper measures work in individual component-gradient computations. Ordinary full gradient descent uses O(mκ log(1/ε)) such computations and accelerated full gradient descent uses O(m√κ log(1/ε)). Here m is the number of summands, κ compares their smoothness bound with the strong convexity of the average, and ε is the target objective gap. The plain stochastic comparison, with averaging, has the stated dependence O(1/(αε)) in that discussion, where α is the strong convexity parameter. Full-gradient work rises with the number of terms, while plain stochastic updates have a less favorable dependence on accuracy.

SVRG obtains a geometric reduction of the expected objective gap from one epoch to the next. With step size 1/(10β) and epoch length 20κ, the theorem gives an upper bound of 0.9ˢ times the initial gap after s epochs. Here β is the component smoothness bound and κ is the condition number for this setting. The cost is O((m + κ) log(1/ε)) component-gradient computations. The full gradient requires a pass over the m summands at each snapshot, while the inner steps use the sampled difference. The result shows what can be gained by exploiting a finite sum beyond the fact that it offers unbiased stochastic gradients.

In bilinear matrix games the paper compares exact saddle-point mirror prox with stochastic saddle-point mirror descent that samples a row and a column. The deterministic method has an inverse-accuracy dependence in ε for the duality gap and uses matrix–vector products. The stochastic method has an inverse-square dependence in ε while its arithmetic bound depends, up to logarithmic factors, on the sum of the matrix dimensions rather than their product. This gives a sublinear complexity in the matrix size in the regime of the stated bound. It demonstrates why choosing the cheaper update can make sense even when more iterations are needed for a given gap.

For MAXCUT, signs sampled uniformly give an expected objective of at least 1/2 of the discrete optimum. Solving the semidefinite relaxation and rounding a Gaussian draw by its signs increases the guaranteed expected ratio to 0.878. Both guarantees use the same discrete optimum as the denominator and apply to the weighted graph objective. The latter proof first compares the rounded value to the relaxation, using the relationship between Gaussian sign correlations and covariance. The positive semidefinite quadratic example broadens the class of objectives and has a separate guarantee of 2/π, where π is the usual circle constant. That ratio belongs to the broader problem with a positive semidefinite matrix, whereas 0.878 uses the structure of the graph Laplacian.

What the ablations show

The monograph has no empirical ablations and instead compares assumptions, oracle access, geometries, and steps through proofs on specified problem classes.

What the lower bounds isolate

The nonsmooth lower bound takes a maximum over coordinate values. At a point where several coordinates tie, the oracle can legally return a subgradient supported on a single active coordinate. For the span-restricted algorithm studied in the proof, this reveals coordinate directions gradually. As long as a relevant coordinate is still untouched, the maximum over the relevant coordinates cannot fall below its value on that coordinate. The optimum can spread improvement across the full collection. The construction therefore isolates the effect of the information revealed by the oracle, independent of how much computation is performed on the revealed coordinates.

The smooth lower bounds use a quadratic with tridiagonal structure. Each coordinate is linked to its immediate neighbors, and the first gradient starts the discovery process at an end of the chain. Subsequent queries can move the frontier by exposing another coordinate. The optimum already extends past that frontier. In the strongly convex construction on an infinite-dimensional square-summable sequence space, the missing part of the optimum has a geometric tail. The condition number determines how quickly that tail decays. The proof ties the remaining gap to that part of the optimum, which is inaccessible to a span-restricted iterate at the current query count.

These arguments explain two controlled differences. Passing from general Lipschitz convex objectives to smooth ones limits how sharply the oracle’s information can vary between query points. That permits acceleration, although the quadratic construction shows why there is still an inverse-square barrier in the appropriate regime. Adding strong convexity changes the form of the best available dependence on accuracy. It also leaves room for a large condition number, so the analysis must track the distance between the upper and lower curvature bounds.

Which parts of the update make the difference

The geometric descent comparison comes closest to examining a single mechanism inside an algorithm. In the warm-up, the method intersects its existing ball with a new ball based on the latest gradient and a smoothness decrease. The resulting squared radius contracts at the scale of ordinary gradient descent. The accelerated proof also uses the new objective value to tighten the old ball before the intersection. Ensuring that the new value is low enough requires the line search. The same search ensures the orthogonality needed to apply the stronger geometric bound. The analysis connects the faster contraction to the information kept from past iterations and the way a new query revises it.

The Frank–Wolfe analysis separates the benefit of a feasible linear minimizer from the benefit of representing the iterate sparsely. A cheap linear optimization oracle reduces step cost. Choosing a vertex also keeps the representation short when the current iterate has been built from a small number of such choices. The paper’s squared Euclidean norm example on the simplex shows a limit to sparsity. Small support can force larger objective value for that function, so a convergence claim about sparse approximate minimizers must track support as well as accuracy.

Comparing Euclidean and entropy mirror descent on the simplex holds the constraint set and the maximum-coordinate bound on subgradients fixed. Changing the mirror map changes the sizes appearing in the proof. The entropy choice measures movement in the sum-of-absolute-values norm and pays a logarithmic initial divergence. The Euclidean proof pays for converting a maximum-coordinate bound on the gradient into a Euclidean bound. This is a comparison of the geometry used by the methods under the stated assumptions. The paper’s other illustration compares optimization on different balls, so the same interpretation cannot be attached to that illustration without accounting for the different feasible sets.

The composite and saddle-point examples isolate the effect of access to structure. For the sum, the algorithm given access to the simple term can optimize it directly at every step. For a maximum, giving the algorithm the smooth components and a simplex variable creates access to the derivatives of a smooth payoff. In both cases the qualitative rate improves relative to treating the combined objective as a nonsmooth black box. The proof changes the operations available to the algorithm. A single query returning a subgradient of the combined objective conveys less information than these steps can use.

Which benefits come from sampling

The mini-batch analysis holds the total number of stochastic calls fixed and accounts for their grouping. Larger batches supply cleaner directions. They also leave fewer opportunities to change the point. The smoothness term in the bound becomes more prominent as the number of updates falls. This explains the range in which the paper can obtain a comparable accuracy guarantee while using batching to group work across processors or reuse computations at a shared point. It gives a tradeoff in oracle accounting without a timing comparison between serial and parallel implementations.

The SVRG proof explains a different way to reduce variance. Component gradients can remain large at the minimum of their average. Subtracting the gradient of the same component at the snapshot cancels some of that component-specific variation. The full-gradient add-back term keeps the direction unbiased. Smoothness ties the squared size of a component gradient difference to objective gaps near a minimizer. This dependence allows an epoch analysis with a fixed step size and geometric improvement of the snapshot, while charging for the full-gradient refresh.

Random coordinate descent tests a different source of savings. The paper compares sampling based on directional smoothness with full gradient descent in a regime where the global smoothness constant is of the same order as the sum of the directional constants. Under the conditions of the comparison, similar accuracy can be obtained in a given number of iterations. The possible computational improvement comes from requiring only a partial derivative at each iteration. The paper’s separate strong-convexity analysis gives a geometric bound when the objective has the required lower curvature in the norm associated with the sampling rule.

Finally, the randomized centroid analysis examines robustness to error in a point that was exact in the original algorithm. A suitably centered and scaled convex body still loses substantial volume when cut close to its centroid. The paper uses this property to argue that sufficiently good sampled centroids need occur on a constant fraction of iterations. The comparison shows why an approximate geometric quantity is adequate. The accuracy of the centroid estimate and the ability to sample the current region are the conditions that make the substitution work.

Limitations

Limits stated by Bubeck

Bubeck defines the monograph’s scope around complexity theorems and relatively simple proofs of the associated algorithms. He leaves derivative-free optimization to other treatments, along with methods developed primarily through duality. He also sets aside much of the literature on using convex optimization for non-convex problems and on practical large-scale algorithms. Randomized rounding supplies a brief example of convex relaxation. It sits within that deliberately selective coverage of combinatorial problems.

The paper generally assumes that regularity and curvature parameters are known. These include Lipschitz, smoothness, and strong convexity bounds. An algorithm may use them to choose a step size, an extrapolation weight, or an epoch length. Bubeck discusses line search as a practical way of reducing reliance on such prior knowledge. He also describes the theoretical option of running several parameter guesses, and flags that this argument does not transfer to the stochastic chapter’s setting. The bounds given for the specified schedules should therefore be read with their tuning assumptions.

The paper distinguishes its interior-point presentation from the primal-dual methods commonly used in practice. Its main algorithm assumes access to a suitable self-concordant barrier and the ability to compute Newton directions. It also notes the limited use of the ellipsoid method in practice and points to the rigidity of its updates. Throughout the book, computationally costly projections, centroids, and barrier derivatives are concrete qualifications on the iteration bounds. The treatment gives these costs a place in the comparison without evaluating implementations across tasks.

The stochastic results assume an oracle with the required conditional expectation and control of its fluctuations. Bubeck discusses biased oracles separately through earlier work. He also notes that the general obstruction to using smoothness for acceleration with a stochastic oracle leaves room for special objectives and oracles, and cites examples involving square and logistic losses. The random-walk treatment gives a condensed, informal overall complexity argument for randomized center finding. The distinction between that argument and the explicit convergence theorems elsewhere is part of the scope of the exposition.

Limits that follow from the setups

Dimension-free oracle complexity refers to the absence of an explicit dimension factor from a query count. The gradient still has to be represented or manipulated, and the radius, smoothness, or norm bound used in a theorem can itself depend on dimension. The large-dimensional lower bounds also have their own range. The finite-dimensional constructions require enough coordinates to keep some directions hidden for the stipulated number of queries. Exact conjugate gradient on a quadratic and exponential decrease from cutting-plane methods in fixed dimension are compatible with those bounds.

The lower-bound proofs presented in the dimension-free chapter start the method at zero and restrict future queries to the span of previous subgradients. The smooth, strongly convex construction presented there uses an infinite-dimensional space to expose the full tail of the minimizer. A reader can draw the comparisons supported by those arguments while preserving their assumptions. Class-wide lower bounds establish the existence of difficult objectives under specified access, and the upper bounds establish uniform guarantees under stated regularity. Neither type of statement measures the frequency of difficult cases in any application.

The structured results depend on access to the right representation at a reasonable cost. A maximum of smooth terms can be handled through a saddle-point formulation when those terms and their derivative operations are available. A composite objective offers a useful proximal step when the simple term can be optimized effectively. The existence of a self-concordant barrier alone does not establish that its Hessian can be evaluated and used cheaply. These limits follow from the operations the algorithms actually perform and explain why iteration counts cannot by themselves establish an ordering by runtime.

Similarly, expected objective gaps and approximation ratios are expectations over the random choices in the corresponding proofs. A guarantee for an averaged iterate belongs to that averaged output. A guarantee for a rounded cut in expectation does not specify the result of a particular draw. Optimization of the empirical average and optimization of the population expectation have different targets. The optimization rates do not establish predictive performance on new examples. Those distinctions are especially important when moving from the paper’s training-objective examples to a claim about a deployed predictor.

What came after

Counting work at a different level

The paper’s stochastic chapter distinguishes work per update, total derivative evaluations, and the accuracy of the resulting solution. Two citing works pose resource questions at other levels. QSGD: Communication-Efficient SGD via Gradient Quantization and Encoding applies quantization and encoding to gradients to make communication in SGD more efficient. The connection is the cost of obtaining and using an update. Bubeck studies the number of stochastic queries and, in the mini-batch example, the possibility of distributing their evaluation. QSGD’s stated subject is the representation of the gradients that must be communicated.

Training Compute-Optimal Large Language Models asks how to make training compute-optimal. Its connection to the monograph is through the accounting of resources. Bubeck can hold a budget of oracle calls fixed and ask how many updates a method gets from that budget. The later work frames the resource question at the scale of a training run. The citation connects these optimization questions without making the monograph’s convex convergence bounds into claims about the later training setup.

Equilibrium as the objective

Nash Learning from Human Feedback brings a Nash formulation to learning from human feedback. The corresponding thread in Bubeck is the treatment of optimization when the solution is a pair of choices assessed through their responses to each other. In the monograph’s matrix-game example, the duality gap makes that criterion explicit. The later work’s stated problem moves the equilibrium question from a matrix-game example to human feedback.

Direct Nash Optimization: Teaching Language Models to Self-Improve with General Preferences applies direct Nash optimization to self-improvement with general preferences. Its link to the monograph is again through the equilibrium formulation. The mathematical question carried forward is how to describe progress when success involves a Nash condition. The two preference papers identify related objectives, one through learning from feedback and the other through direct optimization for self-improvement.

Using a tractable setting to study training

Linear attention is (maybe) all you need (to understand transformer optimization) uses linear attention to study the optimization of the Transformer. The connection is to the monograph’s use of restricted settings to make the behavior of updates analyzable. Bubeck uses explicit structures such as quadratics to show what a sequence of gradients reveals and how an iteration uses that information. The later work identifies linear attention as its setting for understanding optimization. The citation alone does not identify a particular theorem transferred between the two works.

Cite

Cite as Sébastien Bubeck. 2015. Convex Optimization: Algorithms and Complexity. Foundations and Trends® in Machine Learning.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1561/2200000050 · arXiv 1405.4980

@inproceedings{bubeck2015convex,
  title = {{Convex Optimization: Algorithms and Complexity}},
  author = {Sébastien Bubeck},
  booktitle = {Foundations and Trends® in Machine Learning},
  year = {2015},
  doi = {10.1561/2200000050},
  eprint = {1405.4980},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1561/2200000050}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bubeck-2015-convex-optimization-algorithms-complexity/