An Ellipsoid Algorithm for Online Convex Optimization

Zakaria MhammediNeurIPS 2025

Introduction

In Online Convex Optimization (OCO), a learner repeatedly chooses a point within a feasible set $\mathcal{K}$ and subsequently suffers a loss. To ensure the learner stays within the boundaries of $\mathcal{K}$, standard algorithms like Online Gradient Descent (OGD) rely heavily on Euclidean projections. However, for complex or high-dimensional shapes, calculating these projections becomes computationally grueling.

"Projection-free" algorithms attempt to bypass this bottleneck by using simpler "oracles"—tools that either find the best linear direction (Linear Optimization Oracle) or determine if a point is outside the set and provide a boundary line (Separation Oracle).

The major limitation for existing separation-based methods is their sensitivity to the set's asphericity ($\kappa$). If a set is "ill-conditioned"—for instance, shaped like a very long, thin needle—$\kappa$ is exceptionally large. Previous algorithms yielded regret bounds that scaled linearly with $\kappa$. Consequently, they performed poorly on these "skinny" sets unless researchers applied an expensive $O(d^4)$ pre-processing step to "round out" the set into an isotropic position.

This paper introduces a novel projection-free algorithm that effectively solves the ill-conditioned set problem. By replacing expensive Euclidean projections with optimization over a sequence of dynamically updated ellipsoids, the authors achieve a near-optimal regret bound that depends only logarithmically on the set's geometry, completely eliminating the need for costly geometric pre-processing.

The Ellipsoid Algorithm for OCO

The authors propose a novel Ellipsoid Algorithm for OCO, which translates optimization over a complex set $\mathcal{K}$ into optimization over a sequence of simpler, enclosing ellipsoids.

Core Mechanisms

  1. Dynamic Ellipsoid Updates: Inspired by the classical ellipsoid method for offline optimization, the algorithm maintains an ellipsoid $\mathcal{E}_t$ that always contains the feasible set $\mathcal{K}$.
  2. Detection Mechanism: In each round, the algorithm tests if the current ellipsoid is too "thin" in a specific direction relative to $\mathcal{K}$. If so, it performs an update to shrink the ellipsoid's volume, better "wrapping" it around the feasible set.
  3. Inner OCO Algorithm: Inside these ellipsoids, the algorithm runs a variant of Online Newton Step (ONS). ONS is utilized because its regret is less sensitive to the magnitude of the feedback vectors, a crucial feature for handling the dynamic geometry of the ellipsoids.
  4. Gauge Projections: Instead of Euclidean projections, the algorithm uses computationally cheaper "Gauge projections," which can be approximated using a logarithmic number of calls to a separation oracle.

Key Insights

  • Logarithmic Geometry Dependence: The breakthrough of this method is shifting the dependence on asphericity ($\kappa$) from linear to logarithmic. The algorithm becomes robust to almost any convex shape, regardless of how "stretched" it is.
  • Separating Detection from Optimization: The analysis elegantly separates rounds where the algorithm "learns" about the geometry of the set (updating the ellipsoid) from rounds where it focuses on minimizing loss. The authors prove that these "detection" rounds happen at most $O(d^2 \log \kappa)$ times, small enough to be absorbed into the total regret.
  • On-the-Fly Adaptation: Traditionally, researchers used "isotropic position" transformations to handle ill-conditioned sets. This paper demonstrates that an algorithm can adapt to the geometry on the fly during the learning process.

Key Results & Performance

The theoretical guarantees of the Ellipsoid Algorithm represent a significant step forward for projection-free OCO, particularly in its handling of complex geometries.

Comparison of regret bounds, convergence rates, and oracle complexities against prior projection-free methods.
  • Regret Bound: The algorithm achieves a regret of $\tilde{O}(\sqrt{dT} + d^2)$, where $d$ is the dimension and $T$ is the number of rounds. Crucially, the dependence on the set's asphericity $\kappa$ is reduced to merely $\text{poly-log}(\kappa)$.
  • Oracle Efficiency: It requires only $\tilde{O}(1)$ calls to a separation oracle per round, making it just as efficient as previous methods in terms of oracle usage.
  • Computational Complexity: The per-round runtime is $\tilde{O}(C_{sep} + d^\omega)$, where $C_{sep}$ is the cost of the oracle and $\omega \approx 2.37$ is the matrix multiplication exponent.
  • Stochastic Optimization: When applied to Stochastic Convex Optimization (SCO), the algorithm yields a convergence rate of $\tilde{O}(\sigma \sqrt{d/T} + d^2/T)$, establishing a state-of-the-art benchmark for projection-free methods.

Limitations and Future Work

As a purely theoretical work focused on mathematical guarantees and algorithmic complexity, the paper does not include empirical datasets or experimental validation. While the theory is robust, it remains to be seen how the constant factors in the $O(\cdot)$ notation affect practical runtime on real-world problems.

Furthermore, the algorithm involves maintaining and inverting matrices (related to the ellipsoids and ONS). In extremely high dimensions, this could become a computational bottleneck compared to simpler first-order methods like Frank-Wolfe. Finally, the paper does not establish whether the $d^2$ term in the regret bound is strictly optimal for this class of algorithms. The authors suggest that exploring these regret lower bounds and conducting experimental comparisons are natural next steps for future research.

Summary updated

BibTeX
@inproceedings{mhammedi2025ellipsoid,
  author = {Zakaria Mhammedi},
  title = {{An Ellipsoid Algorithm for Online Convex Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=LNsGnfXS2V},
}
Figure