Online learning with an approximation algorithm
Many sequential decision problems have a combinatorial action set: each round a decision maker picks a route, a schedule or a cut, and only afterwards learns its cost. When the offline problem — minimize a known linear cost over the action set — is NP-hard, the best available tool is an approximation algorithm, which returns a feasible action whose cost is within a factor α of optimal. The natural benchmark online is then the α-regret: the learner's average cost minus α times the average cost of the best fixed action in hindsight.
Kakade, Kalai and Ligett (SIAM J. Comput. 2009) showed that any α-approximation oracle can be converted into an online algorithm with vanishing α-regret, but their conversion may call the oracle O(T) times per round. Garber (arXiv:1709.03093, Mathematics of Operations Research 2021) gave the first conversion whose expected α-regret is O(T−1/3) while the number of oracle calls per round is polylogarithmic in T, in both the full-information and the bandit settings. This mission formalizes the full-information regret bound, Theorem 1 of that paper.
Setting
Vectors live in Rd with the Euclidean norm ∥⋅∥ and dot product x⋅f; R+d is the non-negative orthant. An instance consists of compact sets K,F⊂R+d, with K nonempty, and constants R,F,C>0 such that ∥x∥≤R on K, ∥f∥≤F on F, and 0≤x⋅f≤C for x∈K, f∈F. Here K is the set of actions and F the set of loss (or payoff) vectors.
An α-approximation oracle (α>0) is a map OK that, for every c∈R+d, returns OK(c)∈K with OK(c)⋅c≤αminx∈Kx⋅c when α≥1 (loss minimization), or OK(c)⋅c≥αmaxx∈Kx⋅c when α<1 (payoff maximization).
Over T rounds an oblivious adversary fixes f1,…,fT∈F in advance, and the learner plays x1,…,xT∈K. The α-regret is
T1t=1∑Txt⋅ft−αx∈KminT1t=1∑Tx⋅ft(α≥1),αx∈KmaxT1t=1∑Tx⋅ft−T1t=1∑Txt⋅ft(α<1).
The algorithm (Algorithm 3) is online gradient descent over CH(αK), the convex hull of αK={αx:x∈K}, with exact projections replaced by infeasible projections: a point y~ with ∥y~−z∥2≤∥y−z∥2 for all z∈CH(αK). They are computed by Algorithm 2, which repeatedly runs an Ellipsoid-method separation-or-decomposition procedure (Lemma 5) driven by an extended oracle O^K (Lemma 1) that accepts every direction in Rd. When no separating direction is found, the procedure returns a probability vector (a1,…,aN) over feasible points s1,…,sN∈K, and the learner samples its next action from it.
Formalization targets
Goal: Theorem 1 (regret bound)
For η>0, ε∈(0,(α+2)R] and T≥1, the points s1,…,sT played by Algorithm 3 satisfy
E[α-regret({(st,ft)}t∈[T])]≤Tηα2R2+2ηF2+3Fε.
The statement covers both α≥1 and α<1 and every dimension d≥2.
Milestones
- Lemma 1 (p. 6): the extended oracle O^K(c)=(v,s) satisfies v⋅c≤minx∈αKx⋅c, s dominates v on F, and ∥v∥≤(α+2)R.
- Lemma 2 (p. 7): online gradient descent with infeasible projections keeps the regret bound 2Tη1∥x1−x∥2+2Tη∑t∥ft∥2 against every x in the feasible set.
- Lemma 6 (p. 11): if mini(x−vi)⋅w≤ε for every unit vector w, the minimum-norm convex combination p of the vi satisfies ∥p−x∥≤ε.
- Lemma 5 (pp. 9–10): with N≥cd2lnε(α+1)R+∥x∥ Ellipsoid iterations, the procedure either finds w with (x−z)⋅w≥ε on αK and ∥w∥≤1, or a convex combination p of oracle outputs with ∥x−p∥≤3ε.
- Lemma 7 (p. 12): Algorithm 2 terminates and returns an infeasible projection y~ of its input onto CH(αK) with ∥p−y~∥≤3ε.
Significance
Theorem 1 shows that low α-regret needs nothing beyond black-box access to an offline approximation algorithm, with an oracle cost per round that grows only logarithmically in the accuracy. It applies to any combinatorial problem with a linear objective and a known approximation algorithm, and it is the base of the paper's bandit result (Theorem 2), whose analysis reuses the same infeasible-projection argument.
The result is proved in the paper; none of it has been machine-checked. The mission adds a formal account of the model and the algorithms, including the conventions the paper leaves implicit (which Ellipsoid method, what the expectation ranges over). It also records two printed claims that are not stated here because they are incorrect as written: Lemma 7's iteration count ⌈α2R2/ε2⌉, replaced by termination, and the bound 2α2R2 in Lemma 7's "Moreover" clause. A formal proof would confirm the regret bound independently of these slips.
Difficulty
The obvious approach, online gradient descent over CH(αK), needs Euclidean projections onto a set that can only be accessed by approximate linear optimization over K, and only for directions in R+d. Such an oracle cannot certify membership in CH(αK) and cannot optimize over it exactly, so exact projection is out of reach. Simulating the projection by an Ellipsoid run on CH(αK) itself also fails: the oracle answers only non-negative directions, and its answers are off by the factor α. The regret analysis must therefore survive projections that are infeasible, decompositions that are only approximately correct, and points that are not even in K.
For a formal proof the hardest part is Lemma 5. It is an Ellipsoid-method volume argument whose cut rule queries the oracle at every iterate, whose iteration constant is universal, and whose logarithm can be negative.
Formalization scope
All work is in the namespace ApproxOLO.FullInfo, in one definitions module. Vectors are Fin d → ℝ, and every norm is the Euclidean euclNorm x = √(x·x); Mathlib's ‖·‖ on this type (the sup norm) is not used anywhere. The two regimes α≥1 and α<1 are kept everywhere, in the oracle, the regret, the extended oracle and the update yt+1=y~t∓ηft. The oracle guarantee is stated for every x∈K, which is equivalent to the min/max form. In the regret, the min and max are sInf/sSup of the image of the compact nonempty K.
The Ellipsoid method, which the paper does not specify, is fixed as follows: it starts at the unit ball, and its update is the standard central cut from the published LinearOptimization_EllipsoidMethod module, with cut vectors x−v and −w in that module's sign convention. That update has the factor d2/(d2−1), so Lemma 5, Lemma 7 and Theorem 1 assume d≥2. T≥1 is assumed wherever the factor 1/T appears. The universal constant c of Lemma 5 is quantified once, before the dimension and the instance. Each call of the procedure uses a positive integer number of iterations N satisfying that lower bound, and the number may differ from call to call.
Algorithms 2 and 3 are run predicates. The choices the paper leaves open (s1, the iteration budgets, the optimal solution of Problem (5)) are quantified universally. The expected α-regret is Eq. (1) evaluated at the per-round expected losses ∑iaisi⋅ft. This equals the expectation by linearity, because the iterates never depend on the samples and the adversary is oblivious.
A statement with N=0 allowed, an infeasible oracle hypothesis, a fixed α≥1, or a sup-norm in place of the Euclidean norm would be a different and partly trivial theorem; the statements exclude each of these. The sanity file exhibits an instance, an oracle and a one-round run satisfying all hypotheses.
Not formalized: the oracle-complexity bound K(η,ε) and the "In particular" rates of Theorem 1 (big-O statements with hidden constants), Lemma 7's iteration count and "Moreover" clause, the bandit setting (Definition 1, Algorithm 4, Theorem 2), and the comparison scheme of Lemmas 3–4. Reusable beyond this mission: the extended oracle, infeasible projections and Lemma 2, Lemma 6 on minimum-norm points of convex hulls, and the separation-or-decomposition procedure. Proofs of any milestone are welcome, as is a formal version of the oracle-complexity bound with explicit constants.
Selected references
- D. Garber, Efficient Online Linear Optimization with Approximation Algorithms, Mathematics of Operations Research 46(1), 2021; preprint arXiv:1709.03093v1, 2017. https://arxiv.org/abs/1709.03093
- S. M. Kakade, A. T. Kalai, K. Ligett, Playing Games with Approximation Algorithms, SIAM Journal on Computing 39(3), 2009. https://doi.org/10.1137/070701704
- M. Zinkevich, Online Convex Programming and Generalized Infinitesimal Gradient Ascent, Proceedings of ICML, 2003 (the origin of online gradient descent, reference [17] of the paper).
- D. Bertsimas, J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, Chapter 8 (the Ellipsoid method).
- M. Grötschel, L. Lovász, A. Schrijver, Geometric Algorithms and Combinatorial Optimization, Springer, 1988. https://doi.org/10.1007/978-3-642-97881-4