betaFeedback

WorksComputer Science

Optimal Competitive Ratios for Chasing Convex Functions with Quadratic Growth

Abstract

Chasing convex function has attracted much attention in recent years, which can be formulated as a game between a learner and an adversary. In each round, the adversary reveals a convex function, and the learner selects a decision and incurs a hitting cost and a movement cost for changing its decision. The performance of the learner is measured by the competitive ratio, which compares its cumulative cost with that of an optimal offline decision sequence. For Euclidean movement, existing upper and lower bounds for κκ-well-conditioned functions exhibit a polynomial gap. For squared Euclidean movement, dimension-free competitive guarantees have been established under quadratic growth, but the optimal competitive ratio remains unclear. In this paper, we establish optimal dimension-free competitive ratios for convex function chasing under two types of movement costs. For Euclidean movement, we propose Clipped Proximal Descent (CPD), which combines a balanced proximal step with a clipped correction toward the current minimizer. CPD achieves an O(κ1/3)O(κ^{1/3}) competitive ratio for smooth convex functions satisfying quadratic growth, improving the previous O(κ)O(\sqrtκ) upper bound and matching the existing Ω(κ1/3)Ω(κ^{1/3}) lower bound. For squared Euclidean movement, we establish the exact optimal dimension-free competitive ratio for convex functions satisfying quadratic growth. Our result is based on a new tight competitive analysis of Regularized Online Balanced Descent (R-OBD) and a matching lower bound against randomized algorithms.

Introduction

In this paper, we study convex function chasing, which is a fundamental problem in online optimization with applications in dynamic resource provisioning and online control [3]. Convex function chasing can be formulated as a game between a learner and an adversary. In each round tt, the adversary reveals a convex function ft(⋅)f_t(\cdot), and the learner selects a decision xt∈X⊆Rd\mathbf{x}_t \in\mathcal{X} \subseteq\mathbb{R}^d. The learner then incurs a cost of ft(xt)+m(xt,xt−1)f_t(\mathbf{x}_t)+m(\mathbf{x}_t,\mathbf{x}_{t-1}), where ft(xt)f_t(\mathbf{x}_t) is the hitting cost and m(xt,xt−1)m(\mathbf{x}_t,\mathbf{x}_{t-1}) is the movement cost of changing the decision from xt−1\mathbf{x}_{t-1} to xt\mathbf{x}_t. To measure the performance of online algorithms, we adopt the competitive ratio, defined as

CR=∑t=1T(ft(xt)+m(xt,xt−1))min⁡u1,…,uT∈X∑t=1T(ft(ut)+m(ut,ut−1)).\mathrm{CR} = \frac{\sum_{t=1}^{T}\left(f_t(\mathbf{x}_t)+m(\mathbf{x}_t,\mathbf{x}_{t-1})\right)}{\min_{\mathbf{u}_1,\ldots,\mathbf{u}_T\in\mathcal{X}}\sum_{t=1}^{T}\left(f_t(\mathbf{u}_t)+m(\mathbf{u}_t,\mathbf{u}_{t-1})\right)}.

where u0=x0\mathbf{u}_0=\mathbf{x}_0. The competitive ratio measures the worst-case ratio between the learner’s cumulative cost and the minimum total cost achievable by an offline decision sequence.

For general convex functions with Euclidean movement, i.e., m(x,y)=∥x−y∥m(\mathbf{x},\mathbf{y})=\lVert\mathbf{x}-\mathbf{y}\rVert, Friedman and Linial [11] establish an Ω(d)\Omega(\sqrt{d}) lower bound, while subsequent studies [3, 16] achieve an O(min⁡{d,dlog⁡T})O(\min\{d,\sqrt{d}\log T\}) competitive ratio. To obtain dimension-free guarantees, Argue et al. [4] leverage additional structural properties of the hitting costs. They demonstrate that neither strong convexity nor smoothness alone suffices and consider κ\kappa-well-conditioned functions, which are α\alpha-strongly convex and κα\kappa\alpha-smooth. For this class of functions, they propose constrained Online Balanced Descent, which achieves an O(κ)O(\sqrt{\kappa}) competitive ratio, whereas any online algorithm has a worst-case ratio of at least Ω(κ1/3)\Omega(\kappa^{1/3}). While they establish a better bound, there still exists a polynomial gap between the upper and lower bounds in their dependence on κ\kappa.

On the other hand, for squared Euclidean movement, i.e., m(x,y)=12∥x−y∥2m(\mathbf{x},\mathbf{y})=\frac{1}{2}\lVert\mathbf{x}-\mathbf{y}\rVert^2, strong convexity alone suffices to achieve dimension-free competitive ratios. Goel et al. [13] develop Regularized Online Balanced Descent (R-OBD), achieving the optimal competitive ratio of 12(1+1+4/α)\frac{1}{2}(1+\sqrt{1+4/\alpha}) for α\alpha-strongly convex functions. To extend these guarantees beyond strongly convex functions, Zhang et al. [17] consider hitting costs satisfying quadratic growth, a standard relaxation of strong convexity [15, 10]. They provide a competitive ratio of 1+4/λ1+4/\lambda under λ\lambda-quadratic growth and 1+2/λ1+2/\sqrt{\lambda} with the additional assumption of convexity.

In this paper, we establish optimal dimension-free competitive guarantees for convex function chasing with quadratic growth under both movement costs. For Euclidean movement, we propose Clipped Proximal Descent (CPD), which combines a balanced proximal step with a clipped correction toward the current minimizer. When each hitting cost ft(⋅)f_t(\cdot) is LtL_t-smooth and satisfies λt\lambda_t-quadratic growth with Lt≤κλtL_t\leq\kappa\lambda_t, CPD achieves a better O(κ1/3)O(\kappa^{1/3}) competitive ratio. This improves the previous O(κ)O(\sqrt{\kappa}) upper bound and matches the existing Ω(κ1/3)\Omega(\kappa^{1/3}) lower bound, establishing the optimal Θ(κ1/3)\Theta(\kappa^{1/3}) dependence on κ\kappa under a weaker assumption than strong convexity. For squared Euclidean movement, we determine the exact optimal dimension-free competitive ratio for convex functions satisfying λ\lambda-quadratic growth. We establish a tight competitive analysis of R-OBD and a matching lower bound against randomized algorithms, and further quantify the effect of relaxing strong convexity on the optimal competitive ratio.

Main results

We establish dimension-free competitive guarantees under Assumptions 1 and 2, where dimension-free means that the guarantees hold for all dimensions dd and feasible sets X\mathcal{X}. Both results rely on the quadratic growth condition [17]. Specifically, a hitting cost ft(⋅)f_t(\cdot) with minimizer vt\mathbf{v}_t satisfies λt\lambda_t-quadratic growth defined as

ft(x)−ft(vt)≥λt2∥x−vt∥2(1)f_t(\mathbf{x}) - f_t(\mathbf{v}_t) \ge\frac{\lambda_t}{2} \lVert\mathbf{x} - \mathbf{v}_t \rVert^2 \tag*{(1)}

for all x\mathbf{x} in the feasible domain. For Euclidean movement, vt\mathbf{v}_t is a global minimizer and the condition holds on Rd\mathbb{R}^d, whereas for squared Euclidean movement, vt\mathbf{v}_t minimizes ft(⋅)f_t(\cdot) over X\mathcal{X} and the condition holds on X\mathcal{X}.

Euclidean movement. For Euclidean movement, let Fκ\mathcal{F}_{\kappa} denote the function class satisfying Assumptions 1 to 3 and 5, i.e., each hitting cost ft(⋅)f_t(\cdot) is LtL_t-smooth and satisfies λt\lambda_t-quadratic growth on Rd\mathbb{R}^d, with Lt≤κλtL_t \le\kappa\lambda_t. The parameters may vary across rounds. We propose Clipped Proximal Descent (CPD), summarized in Algorithm 1, which combines a balanced proximal step with a clipped correction toward the current minimizer.

Theorem 1. For any κ≥1\kappa\ge1, CPD achieves a competitive ratio of 327(1+κ1/3)\frac{32}{7}(1+\kappa^{1/3}) on Fκ\mathcal{F}_{\kappa}.

Theorem 1 improves the O(κ)O(\sqrt{\kappa}) upper bound of Argue et al. [3] and matches their Ω(κ1/3)\Omega(\kappa^{1/3}) lower bound [3]. The dependence on κ\kappa is therefore optimal.

Squared Euclidean movement. For m(x,y)=12∥x−y∥2m(\mathbf{x},\mathbf{y}) = \frac{1}{2}\lVert\mathbf{x}-\mathbf{y}\rVert^2, let Qλ\mathcal{Q}_{\lambda} denote the class of instances where each hitting cost ft(⋅)f_t(\cdot) attains its minimum at vt∈X\mathbf{v}_t \in\mathcal{X} and satisfies λ\lambda-quadratic growth on X\mathcal{X}. Unlike in the Euclidean movement setting, we do not require smoothness of the hitting costs here. We employ Regularized Online Balanced Descent (R-OBD) [13] and develop a novel tight competitive analysis. We further construct an oblivious distribution of hitting costs to establish a matching lower bound against randomized online algorithms.

Let C∗(λ)C^*(\lambda) denote the optimal competitive ratio on Qλ\mathcal{Q}_{\lambda}. To characterize it, we define

Λ(q,δ)=(1+qδ2)2q(1−δ2)(q+δ),ϕ(q)=min⁡0≤δ<1Λ(q,δ),(2)\Lambda(q,\delta) = \frac{(1+q\delta^2)^2}{q(1-\delta^2)(q+\delta)}, \qquad\phi(q) = \min_{0\leq\delta<1}\Lambda(q,\delta), \tag*{(2)}

where q>0q>0. The function ϕ(q)\phi(q) is continuous and strictly decreasing. Let q∗(λ)q^*(\lambda) denote the unique positive solution to ϕ(q)=λ\phi(q)=\lambda. We establish the following matching upper and lower bounds.

Theorem 2. R-OBD achieves a competitive ratio of 1+q∗(λ)1+q^*(\lambda) on Qλ\mathcal{Q}_{\lambda}. Moreover, any randomized online algorithm has a competitive ratio of at least 1+q∗(λ)1+q^*(\lambda) on this class.

Combining the upper and lower bounds in Theorem 2, we obtain the exact optimal competitive ratio C∗(λ)=1+q∗(λ)C^*(\lambda)=1+q^*(\lambda). We further derive an explicit upper bound and characterize its asymptotic behavior.

Corollary 3. The optimal competitive ratio satisfies

C∗(λ)≤1+min⁡{1λ,332λ}.C^*(\lambda) \leq1+\min\left\{\frac{1}{\sqrt{\lambda}},\frac{3\sqrt{3}}{2\lambda}\right\}.

Moreover,

lim⁡λ→0+λ C∗(λ)=1,lim⁡λ→∞λ(C∗(λ)−1)=332.\lim_{\lambda\to0^+}\sqrt{\lambda}\,C^*(\lambda)=1,\qquad\lim_{\lambda\to\infty}\lambda\bigl(C^*(\lambda)-1\bigr)=\frac{3\sqrt{3}}{2}.

Corollary 3 improves the previous upper bounds of 1+2/λ1+2/\sqrt{\lambda} and 1+4/λ1+4/\lambda established by Zhang et al. [17]. Moreover, compared with the optimal competitive ratio for strongly convex functions (Goel et al., [13]), our result quantifies the effect of relaxing strong convexity to quadratic growth.

Key techniques

Euclidean movement. The analysis of Online Balanced Descent (OBD) in previous work (Argue et al., [3]) bounds the cost of each round through a decrease in the potential ∥xt−ut∥\lVert x_t-u_t\rVert, where utu_t is the comparator. A balanced step incurs hitting and movement costs proportional to its length, but the decrease in the potential depends on the direction of movement. In particular, when the step is nearly orthogonal to the direction toward the comparator, the potential may decrease much less than the movement cost, limiting the progress guaranteed by the balanced step alone. To overcome this challenge, we exploit the quadratic growth condition, which bounds the distance between the comparator and the current minimizer in terms of the comparator’s excess hitting cost. Consequently, a comparator with small excess hitting cost lies close to the minimizer, and moving toward the minimizer can provide additional progress even when the balanced step is poorly aligned with the comparator. Based on this property, we propose CPD, which supplements the balanced proximal step with a clipped correction toward the current minimizer. Our analysis combines the progress of these two steps and employs quadratic growth and smoothness to control the additional movement and the error introduced by the correction, establishing an O(κ1/3)O(\kappa^{1/3}) competitive ratio.

Squared Euclidean movement. For squared Euclidean movement, we develop a novel competitive analysis of R-OBD (Goel et al., [13]) under quadratic growth. The main challenge is that quadratic growth only relates the comparator’s excess hitting cost to its distance from the minimizer, without providing the curvature inequality between the online decision and the comparator available under strong convexity. Consequently, existing analyses relying on strong convexity cannot be directly applied. To overcome this difficulty, we apply the first-order optimality condition of R-OBD to both the comparator utu_t and the current minimizer vtv_t, and combine the resulting inequalities with a quadratic potential. To verify its optimality, we further construct a matching lower bound against randomized algorithms based on the equality conditions of the upper-bound analysis.

Organization. § 2 reviews related work, and § 3 states the assumptions and analytical tools. § 4 proves Theorem 1; § 5 provide the upper and lower bounds of squared Euclidean movement. § 6 concludes the paper. Supporting proofs are presented in Section A.

Related work

Chasing convex bodies and functions. Friedman and Linial [11] introduce body chasing, establish an Ω(d)\Omega(\sqrt{d}) lower bound, and give a constant-competitive algorithm for d=2d=2. Bansal et al. [5]; Antoniadis and Schewior [1] prove the optimal competitive ratio for function chasing for d=1d=1. For nested sets (St⊆St−1S_t \subseteq S_{t-1}) case, Bansal et al. [6] establish a ratio depending only on dd, and Argue et al. [2] improve it to O(dlog⁡d)O(d\log d). For arbitrary sets case, Bubeck et al. [8] obtain the first 2O(d)2^{O(d)} ratio and reduce function chasing in Rd\mathbb{R}^{d} to body chasing in Rd+1\mathbb{R}^{d+1}. Subsequently, Argue et al. [4] obtain an O(min⁡{d,dlog⁡T})O(\min\{d,\sqrt{d\log T}\}) ratio for body chasing, and Sellke [16] establish the same guarantee for both problems. These results make general chasing possible in every fixed dimension, but their guarantees depend on dimension dd. This motivates the search for stronger guarantees when the cost functions have additional structure.

References

  1. [1]Antonios Antoniadis and Kevin Schewior. A tight lower bound for online convex optimization with switching costs. In Approximation and Online Algorithms (WAOA 2017), volume 10787, pages 164–175, 2018.DOI
  2. [2]C. J. Argue, Sébastien Bubeck, Michael B. Cohen, Anupam Gupta, and Yin Tat Lee. A nearly-linear bound for chasing nested convex bodies. In Proceedings of the 30th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 117–122, 2019.arxiv.org/abs/1806.08865
  3. [3]C. J. Argue, Anupam Gupta, and Guru Guruganesh. Dimension-free bounds for chasing convex functions. In Proceedings of the 33rd Conference on Learning Theory (COLT), volume 125 of Proceedings of Machine Learning Research, pages 219–241, 2020a.
  4. [4]C. J. Argue, Anupam Gupta, Guru Guruganesh, and Ziye Tang. Chasing convex bodies with linear competitive ratio. In Proceedings of the 31st Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1519–1524, 2020b.
  5. [5]Nikhil Bansal, Anupam Gupta, Ravishankar Krishnaswamy, Kirk Pruhs, Kevin Schewior, and Clifford Stein. A 2-competitive algorithm for online convex optimization with switching costs. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM), 2015.DOI
  6. [6]Nikhil Bansal, Martin Böhm, Marek Eliáš, Grigorios Koumoutsos, and Seeun William Umboh. Nested convex bodies are chaseable. In Proceedings of the 29th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), 2018.
  7. [7]Sébastien Bubeck. Convex optimization: Algorithms and complexity. Foundations and Trends in Machine Learning, 8(3–4):231–357, 2015.arxiv.org/abs/1405.4980
  8. [8]Sébastien Bubeck, Yin Tat Lee, Yuanzhi Li, and Mark Sellke. Competitively chasing convex bodies. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 861–868, 2019.
  9. [9]Nianqjun Chen, Gautam Goel, and Adam Wierman. Smoothed online convex optimization in high dimensions via online balanced descent. In Proceedings of the 31st Conference on Learning Theory (COLT), volume 75 of Proceedings of Machine Learning Research, pages 1574–1594, 2018.arxiv.org/abs/1803.10366
  10. [10]Dmitriy Drusvyatskiy and Adrian S. Lewis. Error bounds, quadratic growth, and linear convergence of proximal methods. Mathematics of Operations Research, 43(3):919–948, 2018.arxiv.org/abs/1602.06661
  11. [11]Joel Friedman and Nathan Linial. On convex body chasing. Discrete & Computational Geometry, 9(3):293–321, 1993.DOI
  12. [13]Gautam Goel, Yiheng Lin, Haoyuan Sun, and Adam Wierman. Beyond online balanced descent: An optimal algorithm for smoothed online optimization. In Advances in Neural Information Processing Systems 32 (NeurIPS), 2019.arxiv.org/abs/1905.12776
  13. [14]Yiheng Lin, Gautam Goel, and Adam Wierman. Online optimization with predictions and non-convex losses. Proceedings of the ACM on Measurement and Analysis of Computing Systems, 4(1):18:1–18:32, 2020.
  14. [15]Ion Necoara, Yurii Nesterov, and François Glineur. Linear convergence of first order methods for non-strongly convex optimization. Mathematical Programming, 175:69–107, 2019.arxiv.org/abs/1504.06298
  15. [16]Mark Sellke. Chasing convex bodies optimally. In Proceedings of the 31st Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1509–1518, 2020.
  16. [17]Lijun Zhang, Wei Jiang, Shiyin Lu, and Tianbao Yang. Revisiting smoothed online learning. In Advances in Neural Information Processing Systems 34 (NeurIPS), 2021.

Paper details

vlnc:W_tnbngz2t
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents