arXiv:2610.10499cs.LGOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.10499

Oracle-Efficient and Parameter-Free Agnostic Smoothed Online Learning

Sasha Voitovych, Adam Block, Alexander Rakhlin, Abhishek Shetty

Abstract

Online learning is an attractive framework in many domains because it permits well-defined learning even when data are dependent or chosen adversarially. This generality, however, comes at a steep price, introducing significant statistical and computational barriers. Recently, smoothed online learning has emerged as a promising framework that interpolates between the fully adversarial and fully stochastic settings by assuming that the conditional law of each covariate has density at most 1/σ1/\sigma with respect to some fixed base measure μ\mu, and it is known to match the statistical and computational guarantees of classical learning while still allowing for much of the flexibility of online learning. However, existing oracle-efficient algorithms require either (i) sampling access to the base measure μ\mu or (ii) labels that are perfectly predicted by a fixed hypothesis. Both assumptions limit the applicability of these algorithms, in contrast to statistical learning, where empirical risk minimization (ERM) learns efficiently in the agnostic setting without any knowledge of the data distribution. We show that neither assumption is necessary, giving the first oracle-efficient algorithm that achieves sublinear regret in the agnostic setting without knowledge of μ\mu. Our algorithm, based on Gaussian Follow-The-Perturbed-Leader, is parameter-free: it requires no knowledge of μ\mu, the smoothing parameter σ\sigma, or the horizon T, and it achieves regret O~(dT/σ)\widetilde{O}(d\sqrt{T/\sigma}) for binary classes of VC dimension d with a single call to an ERM oracle per round, which is optimal up to a d\sqrt{d} factor. En route to establishing the regret bound, we introduce several new techniques that may be of independent interest.

1 Introduction

Learning from independent data without a priori knowledge of the generating process is the archetypal paradigm in machine learning (Valiant, 1984): a learner that observes a training sample drawn from an unknown distribution can generalize to new examples from the same distribution. Its main appeal is that it removes the need to model nature's distribution, which may be highly complex and need not belong to a known parametric family. Beyond the statistical benefits of assuming independence, there are computational advantages: near-optimal learning can be achieved with a simple algorithm, empirical risk minimization (ERM), which simply optimizes its predictions on historical data (Vapnik and Chervonenkis, 1971; Blumer et al., 1989).

In many modern applications, however, the independence assumption is difficult to justify, let alone verify. Data often arrive sequentially, and the data-generating process may even react to the learner's own predictions. Many modern data modalities, such as text, video, and state trajectories of physical systems (e.g., in robotics and control), exhibit strong temporal dependencies. In interactive decision making, such as bandits and reinforcement learning, the learner's own past decisions determine which data it collects (Lattimore and Szepesvári, 2020; Foster et al., 2021). Financial markets are another example: prices are strongly dependent over time, and the predictions of trading systems influence the actions of market participants, which in turn shape the data those systems observe. Deployed recommendation systems exhibit similar feedback loops: the system's recommendations influence users' behavior, which in turn shapes the data the system collects (Chaney et al., 2018; Jiang et al., 2019). In such settings, guarantees premised on independence need not hold, and algorithms developed assuming independence may not learn, necessitating a theory of learning that makes minimal assumptions on how the data are generated.

Online learning (Littlestone, 1988) provides a promise of such a theory: it dispenses with the independence assumption altogether and permits learning even from dependent, possibly adversarial data. Formally, online learning is a repeated game between a learner and nature: in each round tt, the learner observes a covariate XtX_t, predicts a label Y^t\hat{Y}_t, observes the true label YtY_t, and suffers loss ℓ(Y^t,Yt)\ell(\hat{Y}_t, Y_t). The learner's goal is to minimize its regret with respect to a fixed comparator class F\mathcal{F}:

RegT=∑t=1Tℓ(Y^t,Yt)−inf⁡f∈F∑t=1Tℓ(f(Xt),Yt).(1)\mathrm{Reg}_{T}=\sum_{t=1}^{T}\ell(\hat{Y}_{t},Y_{t})-\inf_{f\in\mathcal{F}}\sum_{t=1}^{T}\ell(f(X_{t}),Y_{t}). \tag{1}

Importantly, the data-generating process may be arbitrary; in particular, it may adapt to the learner's past actions. This generality, however, comes at both a statistical and a computational price.

Learnability in online binary classification is characterized by the Littlestone dimension, which may be infinite even for simple classes such as linear threshold functions (Littlestone, 1988; Ben-David et al., 2009). The situation is further exacerbated by computational barriers. A natural computational framework is the ERM oracle model, designed to capture the efficacy of optimization in modern practice. When queried, an ERM oracle for F\mathcal{F} returns a predictor f∈Ff \in \mathcal{F} that minimizes the empirical loss on the given dataset. This oracle forms the basic computational primitive of statistical learning and is a practically meaningful abstraction, since ERM is routinely solved, at least approximately, with off-the-shelf tools such as stochastic gradient descent. Ideally, then, one would like online learning algorithms to be oracle-efficient, i.e., run efficiently when given query access to an ERM oracle. Without further assumptions in the sequential setting, however, Hazan and Koren (2016) showed that this goal is unattainable: even for a finite comparator class, access to an ERM oracle does not make online learning computationally tractable. In other words, in the absence of independence, generalization and learning do not reduce to optimization.

In order to circumvent these barriers, there has been substantial effort in understanding smoothed online learning, which provides a way to interpolate between the stochastic and adversarial regimes (Rakhlin et al., 2011; Haghtalab et al., 2020; Block et al., 2022, 2024b; Blanchard, 2025; Blanchard et al., 2026). Intuitively, smoothness prevents the adversary from concentrating probability mass on small sets, while still permitting strong temporal dependencies. Formally, letting ptp_t denote the law of XtX_t conditional on the history, we require that there exist a single probability measure μ\mu, referred to as the base measure, such that in every round tt,

∥dptdμ∥∞≤1σ,\left\|\frac{\mathrm{d}p_{t}}{\mathrm{d}\mu}\right\|_{\infty}\leq\frac{1}{\sigma},

where the smoothness parameter σ∈(0,1]\sigma \in (0,1] controls the power of the adversary. At σ=1\sigma = 1, the covariates are drawn independently from μ\mu in every round; as σ↓0\sigma \downarrow 0, the constraint becomes increasingly permissive. This relaxation removes both statistical and computational barriers: an extensive literature shows that VC classes are learnable in the smoothed setting for every σ>0\sigma > 0 and, moreover, efficiently so in the ERM-oracle model (Haghtalab et al., 2020; Block et al., 2022; Haghtalab et al., 2022). Further, from a statistical perspective, Blanchard et al. (2026) showed that a technical generalization of the smoothed model essentially captures learnability for general sequences of distributions.

However, most oracle-efficient algorithms in this setting assume that μ\mu is known to the learner and rely crucially on the ability to sample from it. In practice, this amounts to an additional modeling assumption on nature, and the choice of any particular μ\mu is often hard to justify. A notable exception is the work of Block et al. (2024b), which shows that ERM itself achieves sublinear regret in the realizable setting, where the data are labeled by some fixed f∗∈Ff^* \in \mathcal{F}, i.e., Yt=f∗(Xt)Y_t = f^*(X_t). 1^{1} Whether efficient learning is possible in the more general agnostic setting has remained open. This is in contradistinction to classical statistical learning theory, where a single algorithm (ERM) succeeds in both the realizable and agnostic settings while being entirely parameter-free and requiring no knowledge of the data distribution. Thus, in an attempt to relax the independence assumptions on nature, we have lost precisely what makes statistical learning appealing: the learner never needs to model nature explicitly.

Main results. In this work, we give the first oracle-efficient algorithm that achieves sublinear regret in general agnostic smoothed online learning without the knowledge of the base measure. Surprisingly, this guarantee is achieved by a natural algorithm: follow-the-perturbed-leader (FTPL) with Gaussian perturbations, which is entirely parameter-free. It is well known since Hannan (1957) that ERM can fail on agnostic data even when the covariate domain has size 1 (which forces σ=1\sigma = 1). Intuitively, this failure stems from a lack of stability: ERM is sensitive to individual data points, and its solution can change drastically in response to a single label flip. A standard way to stabilize ERM is to regularize it, either with an explicit potential, as in follow-the-regularized-leader (FTRL) (Shalev-Shwartz and Singer, 2007; Abernethy et al., 2008; McMahan, 2017), or with a random perturbation of the objective, as in FTPL (Hannan, 1957; Kalai and Vempala, 2005; Hutter and Poland, 2005; Devroye et al., 2013). Motivated by the algorithm in Block et al. (2022), we show that natural Gaussian perturbations suffice to achieve sublinear regret. In particular, for binary classification, we show that FTPL with Gaussian perturbations attains

EReg⁡T≤O~(dTσ)(2)\mathbb{E}\operatorname{Reg}_{T}\leq\widetilde{O}\left(d\sqrt{\frac{T}{\sigma}}\right) \tag{2}

simultaneously for all μ\mu and σ\sigma. This guarantee has optimal dependence on TT and σ\sigma, and is statistically suboptimal only by a factor of d\sqrt{d} (Blanchard, 2025). We also note that in the realizable case the d\sqrt{d} factor can be removed via an L∗L^*-regret bound (see Section D). This matches the ERM guarantee of Block et al. (2024b) in the realizable case and is optimal up to logarithmic factors (Blanchard, 2025, Theorem 3).

We now define our Gaussian FTPL learner formally. Let F⊆{±1}X\mathcal{F} \subseteq \{\pm 1\}^{\mathcal{X}} be a comparator class. In round tt, the algorithm samples a fresh Gaussian vector G(t)=(G1(t),…,Gt−1(t))∼N(0,It−1)G^{(t)} = (G_1^{(t)}, \ldots, G_{t-1}^{(t)}) \sim \mathcal{N}(0, I_{t-1}) and computes

f^t∈arg⁡min⁡f∈F∑s=1t−1[ℓ(f(Xs),Ys)+Gs(t)f(Xs)],(3)\hat{f}_{t}\in\arg\min_{f\in\mathcal{F}}\sum_{s=1}^{t-1}\left[\ell(f(X_{s}),Y_{s})+G_{s}^{(t)}f(X_{s})\right], \tag{3}

where we let ℓ(y^,y)=−yy^\ell(\hat{y}, y) = -y\hat{y} in the binary case. We use a weighted ERM oracle (Section 2 gives the precise model). This algorithm is completely parameter-free: it requires no knowledge of the base measure μ\mu, the smoothness parameter σ\sigma, or the horizon TT. It thus addresses precisely the limitation of prior work discussed above, achieving oracle-efficient learning adaptively for every μ\mu and σ\sigma.

1^{1}More generally, their result applies to well-specified regression.

Our algorithm and guarantee extend to classes F⊆[−1,1]X\mathcal{F} \subseteq [-1, 1]^{\mathcal{X}} and convex 1-Lipschitz losses by adding an averaging step in each round (Section 3). In terms of the fat-shattering dimension fatε(F)\text{fat}_{\varepsilon}(\mathcal{F}) (Section 2), the resulting bound is O~(dT/σ)\widetilde{O}(d\sqrt{T/\sigma}) for parametric classes with fatε(F)≲dlog⁡(1/ε)\text{fat}_{\varepsilon}(\mathcal{F}) \lesssim d\log(1/\varepsilon), and O~α(T(2α+1)/(2α+2)/σ)\widetilde{O}_{\alpha}(T^{(2\alpha+1)/(2\alpha+2)}/\sqrt{\sigma}) for nonparametric classes with fatε(F)≲ε−α\text{fat}_{\varepsilon}(\mathcal{F}) \lesssim \varepsilon^{-\alpha}, matching the leading exponents of TT and 1/σ1/\sigma in Blanchard (2025, Theorem 4).

Technical overview. We sketch the analysis for the binary case, which already contains the main ideas for the general real-valued setting. A central tool in the analysis of FTPL algorithms is stability (Kalai and Vempala, 2005): intuitively, if the perturbations have controlled magnitude and the algorithm's predictions are stable, a regret bound follows. However, we find it difficult to analyze the stability of Eq. (3) directly; instead, we are able to show that the predictions of Eq. (3) are close to predictions of an auxiliary algorithm that is itself stable.

In more detail, our proof proceeds in two steps: (i) we first compare the predictions of our FTPL forecaster to those of an auxiliary algorithm, exponential weights over a cover G\mathcal{G} of F\mathcal{F} (Vovk, 1990; Littlestone and Warmuth, 1994; Freund and Schapire, 1997); (ii) we then directly bound the regret of the auxiliary algorithm. We emphasize that the auxiliary algorithm need not be efficient, as it is used only in the analysis.

STEP 1: COMPARISON WITH THE AUXILIARY ALGORITHM. Formally, let f~t∈conv(G)\tilde{f}_t \in \text{conv}(\mathcal{G}) be defined as follows:

f~t:=∑f∈Gwt(f∣G(t))f,withwt(f∣G(t))∝exp⁡(−∑s<t[ℓ(f(Xs),Ys)+Gs(t)f(Xs)]),(4)\tilde{f}_{t}:=\sum_{f\in\mathcal{G}}w_{t}(f\mid G^{(t)})f,\quad\mathrm{w i t h}\quad w_{t}(f\mid G^{(t)})\propto\exp\left(-\sum_{s<t}[\ell(f(X_{s}),Y_{s})+G_{s}^{(t)}f(X_{s})]\right), \tag{4}

such that the weights wt(f∣G(t))w_t(f \mid G^{(t)}) sum to one over all f∈Gf \in \mathcal{G}. Our first technical contribution reduces the regret of f^t\hat{f}_t to that of f~t\tilde{f}_t. More precisely, letting RegEW\text{Reg}^{\text{EW}} denote the regret of the learner in Eq. (4), we show that, as long as G\mathcal{G} approximates F\mathcal{F} sufficiently well (see Section 4.2 for details),

EReg⁡T−EReg⁡TEW≤O~(dTσ).(5)\mathbb{E}\operatorname{R e g}_{T}-\mathbb{E}\operatorname{R e g}_{T}^{\mathrm{E W}}\leq\widetilde{O}\left(d\sqrt{\frac{T}{\sigma}}\right). \tag{5}

The proof of this reduction has two steps. First, we compare the predictions of f^t\hat{f}_t and f~t\tilde{f}_t on past covariates X1:t−1X_{1:t-1}, showing that for every 1≤t≤T1 \leq t \leq T,

E∑s=1t−1(EG(t)f^t(Xs)−EG(t)f~t(Xs))2≲d2log⁡2(2T/σ).(6)\mathbb{E}\sum_{s=1}^{t-1}(\mathbb{E}_{G^{(t)}}\hat{f}_{t}(X_{s})-\mathbb{E}_{G^{(t)}}\tilde{f}_{t}(X_{s}))^{2}\lesssim d^{2}\log^{2}(2T/\sigma). \tag{6}

This follows by expressing the prediction vectors of f^t\hat{f}_{t} and f~t\tilde{f}_{t} as gradients of certain potentials and using Stein's lemma (Stein, 1981; Abernethy et al., 2014) to relate differences in predictions to differences in potentials.

Next, we use an improved version of the surprise lemma of Block et al. (2024b) to translate Eq. (6) into closeness of predictions on the current covariate XtX_t. Specifically, adapting arguments from Xie et al. (2022); Block et al. (2024b) to convex hulls of VC classes, we prove that for any sequence of predictable functions ht∈conv(±F)h_t \in \text{conv}(\pm \mathcal{F}),

E∑t=1T∣ht(Xt)∣≲log⁡(2T)σE∑t=1T∑s<tht(Xs)2+dTσlog⁡2(2T/σ).\mathbb{E}\sum_{t=1}^{T}|h_{t}(X_{t})|\lesssim\sqrt{\frac{\log(2T)}{\sigma}\mathbb{E}\sum_{t=1}^{T}\sum_{s<t}h_{t}(X_{s})^{2}}+\sqrt{\frac{dT}{\sigma}}\log^{2}(2T/\sigma).

Intuitively, this shows that the value of a predictable test function hth_t at a new covariate XtX_t is controlled by its cumulative second moments on past covariates; informally, values of ∣ht(Xt)∣|h_t(X_t)| that are surprisingly large relative to the history cannot occur too often. Applied to differences ht=(EG(t)f^t−EG(t)f~t)/2h_t = (\mathbb{E}_{G(t)} \hat{f}_t - \mathbb{E}_{G(t)} \tilde{f}_t)/2 and combined with Eq. (6), this shows that predictions f^t(Xt)\hat{f}_t(X_t) and f~t(Xt)\tilde{f}_t(X_t) are close on average. This proves Eq. (5) since the loss is 1-Lipschitz.

STEP 2: BOUNDING THE REGRET OF THE AUXILIARY ALGORITHM. Thus, we have reduced our problem to bounding the regret of the exponential weights algorithm in Eq. (4). Here, a central difficulty is that, while typical worst-case bounds on the regret of exponential weights require learning rate η∝1/T\eta \propto 1/\sqrt{T}, the algorithm described by Eq. (4) uses a constant learning rate (i.e. η=1\eta = 1), for which these bounds are vacuous (Cesa-Bianchi and Lugosi, 2006). We show that despite this apparent hurdle, the Gaussian perturbations themselves provide the necessary stability to ensure low regret. Precisely, we show that the predictions of exponential weights with Gaussian perturbations have low cumulative variance:

∑t=1TEVar⁡f∼wt(⋅∣G(t))(f(Xt))≤O~(T(log⁡∣G∣+d)σ).\sum_{t=1}^{T}\mathbb{E}\operatorname{Var}_{f\sim w_{t}(\cdot|G^{(t)})}(f(X_{t}))\leq\widetilde{O}\left(\sqrt{\frac{T(\log|\mathcal{G}|+d)}{\sigma}}\right).

Combining this with the standard variance-based analysis of exponential weights (Cesa-Bianchi et al., 2007; De Rooij et al., 2014) yields a corresponding regret bound:

EReg⁡TEW≲dlog⁡(2T/σ)+∑t=1TEVar⁡f∼wt(⋅∣G(t))(f(Xt))≤O~(T(log⁡∣G∣+d)σ).\mathbb{E}\operatorname{Reg}_{T}^{\mathrm{EW}}\lesssim d\log(2T/\sigma)+\sum_{t=1}^{T}\mathbb{E}\operatorname{Var}_{f\sim w_{t}(\cdot|G^{(t)})}(f(X_{t}))\leq\widetilde{O}\left(\sqrt{\frac{T(\log|\mathcal{G}|+d)}{\sigma}}\right).

By controlling the size of the cover (Proposition 4.2) and using Eq. (5), we obtain Eq. (2).

Conventions and notation. We write log for the natural logarithm. For an integer nn, we let [n][n] denote the set {1,…,n}\{1, \ldots, n\}. Throughout, C,c>0C, c > 0 denote sufficiently large and sufficiently small universal constants, respectively. We additionally use standard non-asymptotic big-O notation as shorthand: we write f≤O(g)f \leq O(g) or f≲gf \lesssim g to mean that f≤Cgf \leq Cg for a sufficiently large universal constant CC. We use O~\widetilde{O} to suppress logarithmic factors in dd, TT, and 1/σ1/\sigma. We write Za:bZ_{a:b} for the sequence (Za,Za+1,…,Zb)(Z_a, Z_{a+1}, \ldots, Z_b). For a class H\mathcal{H} of functions, we write conv⁡(H)\operatorname{conv}(\mathcal{H}) to denote the pointwise closure of the convex hull of H\mathcal{H} and let conv⁡(±H):=conv⁡(H∪−H)\operatorname{conv}(\pm \mathcal{H}) := \operatorname{conv}(\mathcal{H} \cup -\mathcal{H}).

References (100)

Couldn't load all references. Reload the page to try again.