Convex Optimization: Algorithms and Complexity I: The Center of Gravity Method Satisfies f(x_t) − min f ≤ 2B(1 − 1/e)^{t/n}Textbook
Motivation
Black-box convex optimization asks how many queries to an oracle are needed to minimize a convex function to accuracy . In fixed dimension the answer is of order , and the first algorithm to attain it is the center of gravity method, discovered independently by Levin (1965) and Newman (1965). It is the opening example of cutting plane methods: algorithms that keep a set known to contain a minimizer and shrink it with one half-space per oracle call. The ellipsoid method and Vaidya's method, which underlie the polynomial-time solvability of linear programming and convex feasibility problems, follow the same template with cheaper sets. This mission is the first of a series formalizing S. Bubeck's monograph Convex Optimization: Algorithms and Complexity (2015), and covers its §2.1.
Timeline:
- 1960: B. Grünbaum proves that every half-space whose boundary passes through the centroid of a convex body in contains at least a fraction of its volume.
- 1965: A. Levin and D. J. Newman independently introduce the center of gravity method and prove its linear rate.
- 1983: A. Nemirovski and D. Yudin show that oracle calls are necessary for small , so the method's oracle complexity is optimal.
Setting
Let be a convex body: a compact convex set with non-empty interior. Let be continuous and convex, and let be a minimizer of on . A vector is a subgradient of at if for every . The first order oracle returns, at a query point, some subgradient there; the zeroth order oracle returns the value of .
For a set of finite positive volume, its center of gravity is
The center of gravity method sets and, for , computes , queries the first order oracle at to obtain a subgradient , and sets
After steps it outputs , found with calls to the zeroth order oracle.
The Lean development names these objects IsConvexBody, IsSubgradientOn, centroid and IsCenterOfGravityRun in the namespace ConvexOptAlg.CenterGravity.
Formalization targets
Goal: Theorem 2.1 (p. 245)
For every run of the method and every ,
Milestones (proof of Theorem 2.1, pp. 246–247)
- Lemma 2.2 (Grünbaum). If is centered, , then for every ,
- (2.2). , hence for every .
- Volume decay. If for , then .
- Shrunk copies. For and , .
- Values on shrunk copies. Every satisfies .
Significance
Theorem 2.1 is a linear rate whose number of queries to reach accuracy , , depends on the dimension only linearly and on the accuracy only logarithmically, and matches the Nemirovski–Yudin lower bound. It is the reference point against which the ellipsoid method ( queries) and Vaidya's method are measured, and the randomized center of gravity method of §6.7 of the book rests on the same analysis. Grünbaum's inequality is a basic fact of convex geometry with uses well beyond optimization, for instance in the analysis of query complexity and of approximate centroid computations by random walks.
On the formal side, the theorem has been proved since 1965 and the lemma since 1960; neither is known to have a machine-checked proof. A complete development adds to Mathlib-based libraries the center of gravity of a set, the volume of homothetic images in the form used here, Grünbaum's inequality, and a reusable predicate for cutting plane runs. The later missions of this series (the ellipsoid method in particular) reuse the shrunk-copy argument of milestones 4 and 5.
Difficulty
The steps (2.2), the shrunk-copy volume and the value bound are short. The volume decay and the final comparison are bookkeeping once one knows that each cut keeps the method's sets convex bodies with positive volume. The difficulty is Lemma 2.2. A half-space through the centroid need not split the volume evenly: for a cone the smaller side tends to of the volume as , so no symmetry argument works, and the bound must hold uniformly in the dimension. The classical proofs rely on tools of convex geometry, such as volume comparisons between a body and a symmetrized body, that are not available in Lean in the needed form. A second source of work is that the method's sets are defined through centroids: it has to be shown that they remain convex bodies of positive volume, so that each centroid is the genuine center of gravity, and this fact is not available before the volume estimates are.
Formalization scope
is EuclideanSpace ℝ (Fin n) with Lebesgue measure volume; volumes are kept in in every statement. The function is a total map f : EuclideanSpace ℝ (Fin n) → ℝ with , continuity and convexity required on only; its values off are irrelevant. Subgradients are relative to (Definition 1.2). A run is a predicate on sequences indexed from ; the oracle's choice of subgradient is free, and every theorem holds for all runs. The minimizer is a hypothesis, as in the book's standing notation; it exists here by compactness. The output is any argmin, so the goal bounds the minimum .
Added hypotheses, all disclosed in the statements: in the goal, because the exponent is undefined for ; and in Lemma 2.2, that the centered set is a convex body, because in Lean the integral of a non-integrable function is , which would make every unbounded convex set "centered". The milestone on volume decay assumes , which is the book's own reduction.
The center of gravity is defined with the real volume and is meaningless when that volume is or infinite. The run predicate does not assume the volumes are positive; that every set of a run is a convex body of positive volume is part of what has to be proved, and a formalization in which runs could degenerate to sets of zero volume, or in which the centroid is an arbitrary point, is not the book's method.
Contributions welcome: proofs of any item; a general Grünbaum inequality for convex sets of finite positive volume; lemmas on centroids (membership in the closed convex hull, translation behaviour) that later missions can reuse.
Selected references
- S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980v2, §2.1. https://arxiv.org/abs/1405.4980
- B. Grünbaum, Partitions of mass-distributions and of convex bodies by hyperplanes, Pacific Journal of Mathematics 10(4):1257–1261, 1960. https://doi.org/10.2140/pjm.1960.10.1257
- A. Yu. Levin, On an algorithm for the minimization of convex functions, Soviet Mathematics Doklady 6:286–290, 1965.
- D. J. Newman, Location of the maximum on unimodal surfaces, Journal of the ACM 12(3):395–398, 1965. https://doi.org/10.1145/321281.321291
- A. Nemirovski and D. Yudin, Problem Complexity and Method Efficiency in Optimization, Wiley, 1983.