On the necessity of adaptive regularisation:Optimal anytime online learning on $\boldsymbol{\ell_p}$-balls

Emmeran Johnson, David Martínez-Rubio, Ciara Pike-Burke, Patrick Rebeschini

TL;DR

This paper explores online convex optimization on $\ell_p$-balls ($p>2$) and reveals a fundamental phase transition: the optimal learning strategy shifts completely between low- and high-dimensional settings. The authors prove that while an adaptive regularizer can achieve optimal performance without knowing the time horizon in advance, no single fixed separable regularizer can handle both regimes. Furthermore, they show that in the linear bandit setting, high dimensions make sub-linear regret entirely impossible.

What Problem Does This Paper Address?

In Online Convex Optimization (OCO), a learner sequentially chooses points from a decision set to minimize "regret"—the difference between their accumulated loss and the loss of the best fixed decision in hindsight. When the decision set is an $\ell_p$-ball with $p > 2$, the geometry introduces a unique challenge: the optimal regret rate changes drastically depending on whether the dimension $d$ is larger or smaller than the time horizon $T$.

If the time horizon $T$ is known, a learner can choose the perfect regularizer for the job. But what if $T$ is unknown (the "anytime" setting)? At the start of the game, the learner cannot know whether the problem will end up being low-dimensional ($d \le T$) or high-dimensional ($d > T$). This paper addresses whether standard algorithms like Follow-the-Regularised-Leader (FTRL) or Online Mirror Descent (OMD) can achieve optimal anytime regret using a single, fixed regularizer, or if explicit adaptivity is required.

Methods

The authors analyze the FTRL and OMD algorithmic families under two lenses:

  1. Adaptive Regularization: They propose a novel anytime FTRL/OMD framework that uses a time-varying regularizer. In early, high-dimensional rounds, the algorithm employs a uniformly-convex regularizer of degree $p$ ($\phi_p(x) = \frac{1}{p}\|x\|_p^p$). Once the number of rounds crosses a specific dimension-dependent threshold ($t_0 \approx d$), it seamlessly switches to a strongly-convex regularizer ($\phi_2(x) = \frac{1}{2}\|x\|_2^2$).
  2. Adversarial Lower Bounds: To test if a fixed regularizer could achieve the same feat, the authors construct a two-phase adversarial linear loss sequence. The first phase features canceling gradients (inducing variance), while the second phase forces the competitor into the corner of the $\ell_p$-ball (inducing bias). This setup exposes the mathematical limitations of fixed regularizers.

Datasets

This is a purely theoretical paper, so no real-world datasets were used. The authors validated their theoretical lower bounds using synthetic simulations (implemented in Google Colab using scipy.optimize), confirming the performance gap between fixed and adaptive regularizers.

Key Insights and Ideas

  • The Geometry Shift: $\ell_p$-balls for $p>2$ interpolate between a standard sphere ($p=2$) and a hypercube ($p=\infty$). In high dimensions, the "corners" of the ball behave differently, causing the optimal regret rate to shift from being polynomial in $d$ to completely independent of $d$.
  • The Impossibility of Fixed Separable Regularization: The core "aha!" moment is that a fixed separable regularizer (one that sums independently over each dimension, like $\|x\|_r^r$) cannot balance the bias-variance trade-off required for both regimes. To achieve optimal performance in low dimensions, the regularizer must exhibit quadratic growth. However, this exact quadratic growth forces a polynomial dependence on $d$ that causes the algorithm to fail catastrophically in high dimensions.
  • Bandits Face a Hard Wall: In the full-information setting, high dimensions simply slow down learning. In the bandit setting (where the learner only sees the scalar loss value rather than the full gradient vector), high dimensions completely destroy the ability to learn, rendering sub-linear regret impossible.

Key Results

  • Anytime Optimality via Adaptivity: The authors demonstrate that their adaptive regularizer achieves the absolute optimal regret rate across both dimension regimes without needing to know $T$ in advance.
Table 1: Optimal regret rates for OCO on ℓp-balls (p > 2) from known results. [28] show the regret bound of O(LT 1/2d1/2−1/p) achieved by OMD using a strongly-convex regulariser is optimal for d = O(T). When d ≫T this bound is vacuous since RT ≤2LT. For d > T, OMD with a uniformly-convex regulariser of degree p guarantees a regret of O(LT 1−1/p) [40] and is optimal [34, 18, 17, 40]. These guarantees can also be achieved with FTRL using the same regularisers [36, 4].
  • The Necessity of Adaptivity (Theorem 4.6): The main negative result proves that no fixed separable regularizer can be anytime optimal. Any fixed choice will be sub-optimal in at least one of the two dimension regimes. This limitation also applies to popular diagonal, coordinate-wise adaptive step-size methods like diagonal AdaGrad.
  • Linear Bandit Hardness (Theorem 5.1): In the linear bandit setting, the authors prove that if the dimension is sufficiently large ($d > T$), any algorithm will suffer linear regret ($\Omega(LT)$), meaning no meaningful learning can occur.

Limitations and Future Work

The primary limitation of the main negative result is its focus on separable regularizers. While the authors provide an extension in the appendix showing that certain non-separable regularizers also fail, proving this definitively for all possible non-separable regularizers remains an open challenge.

Additionally, the authors note that their theoretical threshold $t_0$ for switching regularizers is somewhat conservative. Empirically, a simpler heuristic threshold like $t_0 = 2d$ yields better practical performance, suggesting room to tighten the constants in future theoretical analyses.

Summary updated

Abstract

We study online convex optimization on $\ell_p$-balls in $\mathbb{R}^d$ for $p > 2$. While always sub-linear, the optimal regret exhibits a shift between the high-dimensional setting ($d > T$), when the dimension $d$ is greater than the time horizon $T$ and the low-dimensional setting ($d \leq T$). We show that Follow-the-Regularised-Leader (FTRL) with time-varying regularisation which is adaptive to the dimension regime is anytime optimal for all dimension regimes. Motivated by this, we ask whether it is possible to obtain anytime optimality of FTRL with fixed non-adaptive regularisation. Our main result establishes that for separable regularisers, adaptivity in the regulariser is necessary, and that any fixed regulariser will be sub-optimal in one of the two dimension regimes. Finally, we provide lower bounds which rule out sub-linear regret bounds for the linear bandit problem in sufficiently high-dimension for all $\ell_p$-balls with $p \geq 1$.
BibTeX
@inproceedings{johnson2025necessity,
  author = {Emmeran Johnson and David Martínez-Rubio and Ciara Pike-Burke and Patrick Rebeschini},
  title = {{On the necessity of adaptive regularisation:Optimal anytime online learning on $\textbackslash\{\}boldsymbol\{\textbackslash\{\}ell\_p\}$-balls}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=ONc9vWkwCp},
}
Figure