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/σ with respect to some fixed base measure μ, 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 μ 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 μ. Our algorithm, based on Gaussian Follow-The-Perturbed-Leader, is parameter-free: it requires no knowledge of μ, the smoothing parameter σ, or the horizon T, and it achieves regret O(dT/σ) for binary classes of VC dimension d with a single call to an ERM oracle per round, which is optimal up to a 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 t, the learner observes a covariate Xt, predicts a label Y^t, observes the true label Yt, and suffers loss ℓ(Y^t,Yt). The learner's goal is to minimize its regret with respect to a fixed comparator class F:
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 returns a predictor f∈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 pt denote the law of Xt conditional on the history, we require that there exist a single probability measure μ, referred to as the base measure, such that in every round t,
dμdpt∞≤σ1,
where the smoothness parameter σ∈(0,1] controls the power of the adversary. At σ=1, the covariates are drawn independently from μ in every round; as σ↓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 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 μ 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 μ 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∗∈F, i.e., Yt=f∗(Xt). 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). 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
ERegT≤O(dσT)(2)
simultaneously for all μ and σ. This guarantee has optimal dependence on T and σ, and is statistically suboptimal only by a factor of d (Blanchard, 2025). We also note that in the realizable case the d factor can be removed via an 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 be a comparator class. In round t, the algorithm samples a fresh Gaussian vector G(t)=(G1(t),…,Gt−1(t))∼N(0,It−1) and computes
where we let ℓ(y^,y)=−yy^ 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 μ, the smoothness parameter σ, or the horizon T. It thus addresses precisely the limitation of prior work discussed above, achieving oracle-efficient learning adaptively for every μ and σ.
1More generally, their result applies to well-specified regression.
Our algorithm and guarantee extend to classes F⊆[−1,1]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) (Section 2), the resulting bound is O(dT/σ) for parametric classes with fatε(F)≲dlog(1/ε), and Oα(T(2α+1)/(2α+2)/σ) for nonparametric classes with fatε(F)≲ε−α, matching the leading exponents of T and 1/σ 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 of 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) be defined as follows:
such that the weights wt(f∣G(t)) sum to one over all f∈G. Our first technical contribution reduces the regret of f^t to that of f~t. More precisely, letting RegEW denote the regret of the learner in Eq. (4), we show that, as long as G approximates F sufficiently well (see Section 4.2 for details),
ERegT−ERegTEW≤O(dσT).(5)
The proof of this reduction has two steps. First, we compare the predictions of f^t and f~t on past covariates X1:t−1, showing that for every 1≤t≤T,
This follows by expressing the prediction vectors of f^t and 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 Xt. 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),
Intuitively, this shows that the value of a predictable test function ht at a new covariate Xt is controlled by its cumulative second moments on past covariates; informally, values of ∣ht(Xt)∣ that are surprisingly large relative to the history cannot occur too often. Applied to differences ht=(EG(t)f^t−EG(t)f~t)/2 and combined with Eq. (6), this shows that predictions f^t(Xt) and f~t(Xt) 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, the algorithm described by Eq. (4) uses a constant learning rate (i.e. η=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:
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:
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 n, we let [n] denote the set {1,…,n}. Throughout, C,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) or f≲g to mean that f≤Cg for a sufficiently large universal constant C. We use O to suppress logarithmic factors in d, T, and 1/σ. We write Za:b for the sequence (Za,Za+1,…,Zb). For a class H of functions, we write conv(H) to denote the pointwise closure of the convex hull of H and let conv(±H):=conv(H∪−H).
2 Preliminaries and Related Work
We now introduce the necessary technical definitions and notation for our analysis, before moving on to briefly discuss related work.
Online learning and smoothness. We reserve X to refer to the space of covariates, and d to refer to the VC dimension of the comparator class F. For convenience, we assume binary labels are in {±1}. For a sequence of covariates Xt, labels Yt, and predictions Y^t, let Ht=σ((Xs,Ys,Y^s)s∈[t]) be the σ-algebra induced by the learner's observations up to round t, and write pt=Law(Xt∣Ht−1). For a fixed probability measure μ and σ∈(0,1], the covariate process is σ-smooth with respect to μ if, almost surely, for all t, pt is absolutely continuous w.r.t. μ and
dμdpt∞≤σ1.
Complexity measures. Let F⊆{±1}X. We say that F shatters a set {x1,…,xn}⊆X if for every y1:n∈{±1}n there exists f∈F with f(xi)=yi for all i∈[n]. The VC dimension of F is the largest integer d such that F shatters some set of size d (or ∞ if no such largest d exists) (Vapnik and Chervonenkis, 1971).
For real-valued classes F⊆[−1,1]X and a scale ε>0, we say that Fε-shatters a set {x1,…,xn}⊆X if there exist witnesses y1:n∈Rn such that for every σ1:n∈{±1}n there exists f∈F with
σi(f(xi)−yi)≥εforalli∈[n].
The fat-shattering dimension of F at scale ε, denoted fatε(F), is the largest n such that Fε-shatters some set of size n (Kearns and Schapire, 1994; Alon et al., 1997). The map ε↦fatε(F) is non-increasing, and for binary classes F⊆{±1}X, fatε(F) is equal to the VC dimension of the class for all ε∈(0,1].
ERM oracle model. Following Hazan and Koren (2016) and the literature on oracle-efficient smoothed online learning (Block et al., 2022; Haghtalab et al., 2022), we assume access to a weighted agnostic ERM oracle. In particular, for any n covariates X1:n, a sequence ℓi:[−1,1]→[−1,1] of convex functions, each given either by label loss (that is, ℓi(⋅)=ℓ(⋅,yi) for some label yi) or a linear function, and weights wi≥0, we assume we can compute a solution to the following optimization problem:
argf∈Fmini=1∑nwiℓi(f(Xi)).
We note that weights in our analysis satisfy ∥w∥∞≲log(T) w.h.p.
Related work. Due to its robustness and fundamental nature, online learning has been extensively studied over the past decades with a relatively complete understanding of its theoretical foundations (Freund and Schapire, 1997; Ben-David et al., 2009; Cesa-Bianchi and Lugosi, 2006; Shalev-Shwartz, 2012; Rakhlin et al., 2011; Block et al., 2021) and computational properties (Hazan and Koren, 2016; Kalai and Vempala, 2005; Abernethy et al., 2014; Rakhlin et al., 2012). On the other hand, because of the strong statistical and computational lower bounds, more recently a number of works have explored online learning under various relaxations and assumptions to achieve tractable algorithms and improved performance guarantees (Rakhlin et al., 2011). Of particular relevance are prior works (Haghtalab et al., 2020; Block et al., 2022; Haghtalab et al., 2022; Block and Polyanskiy, 2023; Block et al., 2024a,b) that focus on the statistical and computational advantages of smoothed online learning under the assumption that the base measure is known, as well as applications to other domains like game theory (Daskalakis et al., 2024). Other work sought to extend these results, either by taking advantage of additional structure for specific base measures (Block et al., 2023b,a; Block and Simchowitz, 2022), or considering more general loss functions (Bhatt et al., 2023).
In all of the above work relevant to smoothed online learning, some knowledge of the base measure was required, which limits the applicability of the results. A separate line of work has sought to develop methods that do not rely on knowing the base measure, thereby broadening the scope and applicability of smoothed online learning techniques (Wu et al., 2023, 2024), although the former work focuses on oracle-inefficient algorithms under substantially stronger assumptions whereas the latter provides oracle-efficient solutions assuming the features are independent. In Block et al. (2024b), the authors demonstrate that it is possible to achieve strong performance guarantees even without knowledge of the base measure using just empirical risk minimization, but they require the labels to be well-specified in the sense that their conditional means can be perfectly predicted by an element of the comparator class. On the other end of the spectrum, Blanchard (2025) consider the agnostic setting where no such well-specification assumption is made, but do not consider oracle-efficient algorithms. Unlike these prior works, ours is the first to propose an oracle-efficient algorithm (similar in spirit to one in Block et al. (2022)) that is capable of achieving sublinear regret under an arbitrary unknown base measure; moreover, our algorithm's regret scales optimally in both time and smoothness, losing only a d factor compared to the optimal rate.
3 Main Results
The main results of our paper are two oracle-efficient regret bounds, for the binary and the real-valued loss cases. We begin with the binary case. Recall that Gaussian FTPL as defined in Eq. (3), in each round t, computes:
and predicts Y^t=f^t(Xt). Note that the above can be implemented using one call to the weighted ERM oracle. For this algorithm, we obtain the following regret guarantee.
Theorem 3.1. Consider a binary class F:X→{±1} of VC dimension d≥1, and let ℓ(y^,y)=−y^y be the binary loss. For every horizon T≥1 and every covariate process that is σ-smooth with respect to a fixed μ, the learner in (3) satisfies
ERegT≲dlog2(2T/σ)σT.
A complete proof of the above statement is given in Section B. Note that the regret bound above is obtained in a completely parameter-free manner. In particular, the learner in (3) requires no knowledge of the base measure μ, the smoothness parameter σ, or the horizon T.
Extending the above guarantee to convex Lipschitz losses requires an additional averaging step, which, intuitively, helps reduce the variance of the predictor. Formally, in round t, our learner resamples the noise G(t) independently t times, and computes (conditionally) independent solutions f^t(i),i∈[t] to the optimization problem in Eq. (3). The prediction is then aggregated in the following way:
Y^t=t1i=1∑tf^t(i)(Xt).(7)
The above can be recognized as a Monte-Carlo estimate of the expectation EG(t)f^t(Xt). By Jensen's inequality ℓ(EG(t)f^t(Xt),Yt)≤EG(t)ℓ(f^t(Xt),Yt), so, up to the Monte Carlo error, the averaged prediction incurs no more loss than a single Gaussian FTPL prediction in conditional expectation.
Theorem 3.2. Consider a class F:X→[−1,1] and let ℓ(y^,y) be convex and 1-Lipschitz in its first argument, and suppose the covariate process is σ-smooth with respect to a fixed μ. Then, the learner in (7) satisfies
A complete proof of the above statement is given in Section C. Theorem 3.2 gives explicit rates for two important families of function classes. For parametric classes, i.e., those satisfying fatε(F)≲dlog(1/ε) at sufficiently small scales, we have
ERegT≤O(dσT).
As in binary classification, the dependence on d is suboptimal by a factor of d, up to logarithmic factors (Blanchard, 2025). For nonparametric classes, i.e., those satisfying fatε(F)≲ε−α,α>0, choosing ε≍αT−1/(2α+2) gives
ERegT≤Oα(σT(2α+1)/(2α+2)).
For fixed σ, this is sublinear for every α>0. It matches the leading horizon and smoothness exponents in Blanchard (2025, Theorem 4), which achieves this guarantee with an inefficient algorithm. Notably, our result applies to regret as defined in Eq. (1), while Blanchard (2025) only controls pseudo-regret (where comparator is fixed before the draw of the data). Compared with the i.i.d. setting, where the optimal regret rate scales as T21∨αα−1 (Mendelson and Vershynin, 2003), up to logarithmic factors, our bound has a larger exponent of T. Nevertheless, sublinear regret remains possible for every α>0. We thus present a framework for smoothed online learning that recovers the qualitative picture of statistical learnability, while retaining oracle efficiency and requiring no knowledge of the base measure.
4 Analysis Techniques
We give an overview of the proof of Theorem 3.1 in the binary case, as it is simpler and still contains the key ideas needed for the general case. The complete proofs for the binary case are deferred to Section B, and the proofs for the real-valued case are contained in Appendix C. Our proof has three ingredients: a sharper surprise lemma (Section 4.1), a reduction to exponential weights (Section 4.2), and a regret bound for Gaussian-perturbed exponential weights (Section 4.3).
4.1 Surprise Lemma
For smoothed online learning algorithms that aim to extrapolate behavior over the past into the future, surprise lemmas have proven useful (Block et al., 2024b; Blanchard, 2025). Intuitively, for an arbitrary sequence of (predictable) test functions {ht}, a surprise lemma quantifies for how many t the value ht(Xt) can be significantly larger than the past values ht(X1),…,ht(Xt−1). Formally, we prove the following version of the surprise lemma, which controls expected absolute values of test functions as a function of their past second moments.
Lemma 4.1. Let F be a class of VC dimension d and let {ht}t∈[T] be a predictable sequence of functions with ht∈conv(±F). Then
The above is proven in two steps. We first use a result from Xie et al. (2022, Section 3.2, equations (3)–(5)), which establishes an analogous estimate where the second moments are evaluated on a tangent sequence Xˉ1:T as opposed to realized covariates X1:T, where a (decoupled) tangent sequence Xˉ1:T is defined by drawing independent samples Xˉt∣Ht−1∼pt for each t. Compared to the analogous statement in Block et al. (2024b, Lemma 12), which involves first moments of the test functions, keeping second moments allows for a sharper transfer from past to current covariates. The next step is to extend the norm comparison inequality of (Block et al., 2024b, Theorem 10) to convex hulls of VC classes, for which we utilize Maurey's empirical method (Pisier, 1981). It is important to allow ht∈conv(±F) as we wish to apply Lemma 4.1 to functions of predictions of exponential weights, which live in the convex hull of the class. The full proof is in Appendix B.1.
4.2 Reduction to exponential weights
In this section, we show that predictions of our Gaussian FTPL algorithm are close to predictions of an auxiliary exponential weights algorithm that is run over the cover G of F. Prior work establishes existence of covers of controlled size that approximate F well along a draw of a smoothed covariate trajectory, using the coupling lemma (Haghtalab et al., 2024).
Proposition 4.2. Let F:X→{±1} be a binary class with VC dimension d. For every probability measure μ, horizon T≥1, and σ∈(0,1], there exists a cover G⊆F such that log∣G∣≲dlog(2T/σ) and, for every covariate process that is σ-smooth with respect to μ,
We show that predictions of such an algorithm are close on average to the predictions of our Gaussian FTPL learner as in Eq. (3).
Lemma 4.3 (Reduction to exponential weights). Consider a binary function class F:X→{±1} of VC dimension d. For f^t and f~t as defined in Eqs. (3) and (4), respectively, we have the following bound:
Since binary loss ℓ(y^,y)=−y^y is Lipschitz, the above immediately implies
ERegT−ERegTEW≲dlog2(2T/σ)σT.
We prove Eq. (10) in two steps. First, we show that f^t and f~t agree on past covariates (when averaged over their Gaussian randomness). Then, using predictability of f^t and f~t, we leverage the surprise lemma (Lemma 4.1) to transfer that guarantee into closeness on current covariates. In particular, we obtain the following estimate.
where H(w)=∑f∈Gw(f)log(1/w(f)) denotes entropy. Then, almost surely, 2 we have f^t(Xs)=−∂GsΦt(G) and f~t(Xs)=−∂GsΦ~t(G) for every s<t. These identities follow from Danskin's theorem for the finite maximum (Bertsekas, 2016, Appendix B), and using the fact that wt is the maximizer in the variational formula for Φ~t; in the context of online learning, this idea also appears in Abernethy et al. (2014). Thus,
where (a) uses Stein's lemma (Lemma A.4) and (b) uses the Cauchy–Schwarz inequality. It remains to control Φt−Φt. The two potentials differ in that (1) Φt maximizes over F rather than G, which Proposition 4.2 controls, and (2) Φt adds an entropy term, which costs at most log∣G∣. Combining these, we obtain:
An application of the surprise lemma (Lemma 4.1) to Lemma 4.4 finishes the proof of Lemma 4.3. The full proof is in Appendix B.3.
2In particular, it suffices that any two maximizers f and f′ of either potential give the same predictions on X1:t−1, which is true almost surely by absolute continuity of the Gaussians.
4.3 Regret of Gaussian-perturbed exponential weights
It remains to bound the regret of the exponential weights algorithm. In particular, we show the following upper bound.
Lemma 4.5. The regret of the exponential weights algorithm in (4) satisfies
ERegTEW≲σdTlog2(2T/σ).(11)
The proof has three steps. First, we adapt the variance-based analysis of exponential weights (Cesa-Bianchi et al., 2007, Lemmas 3 and 4), using the Bernstein bound of De Rooij et al. (2014, Lemma 4) to handle the Gaussian-perturbed losses. This results in the following claim.
Proposition 4.6. Let G⊆F be a nonempty finite class, and let ℓ(y^,y)=−yy^ be the binary loss. For every data sequence, the predictor f~t defined in (4) satisfies the following inequality,
By Proposition 4.2, the comparator losses over the entire class F and over the cover G are close, so it remains to bound the cumulative variance on the right-hand side of (12). We now show that the Gaussian perturbations alone keep these variances small on the covariates from the past, even though the learning rate is constant.
Lemma 4.7. Let G be a nonempty finite class of functions X→[−1,1] and let ℓ be any loss. For every t≤T and every fixed history (Xs,Ys)s<t, the weights in (4) satisfy
The proof, given in Appendix B.4, combines Stein's lemma (Lemma A.4) with a Gaussian maximal inequality. Finally, we transfer this bound to the current covariates. For binary predictions, the variance can be written as
This is a predictable convex mixture over the disagreement class {1{f=g}:f,g∈F}, whose VC dimension is O(d) (see Appendix B.4). Applying Lemma 4.1 to this mixture and summing (13) over t≤T gives
Substituting into (12) and adding the cover approximation cost gives Lemma 4.5. Finally, Theorem 3.1 follows by combining Lemmas 4.3 and 4.5.
5 Conclusion and Discussion
Our results show oracle-efficient learning from smooth data is possible even when the data are agnostic and the base measure unknown. Moreover, the algorithm that we propose is close to the best that could be hoped for: entirely parameter free, requiring no knowledge of the base measure, the smoothness parameter, or the horizon, and conceptually simple. Modulo the remaining d gap between that which we have shown is achievable by our algorithm and the statistical optimum, our work essentially closes the question of oracle-efficient learning from smooth data.
Concurrent work. In independent and concurrent work, Buzaglo and Hazan (2026) establish an oracle-efficient regret bound of O(dT) for binary classification with i.i.d. covariates and adversarial labels (which corresponds to the σ=1 case of our setting). They analyze the same form of Gaussian FTPL, with a horizon-dependent perturbation scale. Their analysis controls the mass of disagreement regions of nearly leading hypotheses (that is, the sets of covariates on which at least two near-leaders disagree) through a generalization argument that relies heavily on the i.i.d. assumption. General σ-smoothed processes require additional care, since it still permits intricate dependencies between covariates, which prevents such a generalization argument to extend directly. A natural attempt would be to apply our surprise lemma (Lemma 4.1) to the disagreement indicators. However, the family of disagreement regions can have infinite VC dimension even when the underlying hypothesis class has VC dimension one (e.g., for the “star class” (Hanneke, 2024)).
Statement on the use of AI
In this work, we used generative AI tools to help develop theoretical arguments, formulate and refine mathematical claims and hypotheses, propose proof ingredients, write and revise proofs, and interpret theoretical results. Over July and August of 2026, the authors established a O(T3/4d1/4/σ) regret bound for an adaptation of the algorithm of Wu et al. (2024), extending its original guarantee for i.i.d. covariates ( σ=1) to the general σ-smooth setting. The proof analyzed the stability of Rademacher potentials with perturbations on subsampled past covariates, using an information-theoretic decoupling argument to control the effect of dependencies among covariates. The proof was developed and refined through iterative work between the authors and GPT 5.6 Sol. On September 6, 2026, GPT 6 Astra subsequently proposed the modification to Gaussian FTPL used in the present manuscript. The corresponding proof was completed through further iterations with the model. We additionally used GPT 6 Astra, GPT 5.6 Sol, and Claude Opus 5.5 to identify and compare related literature, draft and edit manuscript text, improve exposition and organization, and edit LaTeX. All mathematical claims in the present manuscript were independently verified by the authors. The authors take responsibility for the final manuscript, including all text, claims, and proofs produced with AI assistance.
Acknowledgments
The authors acknowledge support from the NSF through awards DMS-2031883 and PHY-2019786, the DARPA AIQ program, and AFOSR FA9550-25-1-0375. SV acknowledges support from Amazon AI Research Innovation Fellowship.
References
Jacob Abernethy, Chansoo Lee, Abhinav Sinha, and Ambuj Tewari. Online linear optimization via smoothing. In Conference on learning theory, pages 807–823. PMLR, 2014.
Jacob D Abernethy, Elad Hazan, and Alexander Rakhlin. Competing in the dark: An efficient algorithm for bandit linear optimization. In Conference on Learning Theory, 2008.
Noga Alon, Shai Ben-David, Nicolo Cesa-Bianchi, and David Haussler. Scale-sensitive dimensions, uniform convergence, and learnability. Journal of the ACM (JACM), 44(4):615–631, 1997.
Ingo Althöfer. On sparse approximations to randomized strategies and convex combinations. Linear Algebra and its Applications, 199:339–355, 1994.
Shai Ben-David, Dávid Pál, and Shai Shalev-Shwartz. Agnostic online learning. In Conference on Learning Theory, 2009.
Dimitri P. Bertsekas. Nonlinear Programming. Athena Scientific, 3 edition, 2016.
Alankrita Bhatt, Nika Haghtalab, and Abhishek Shetty. Smoothed analysis of sequential probability assignment. Advances in Neural Information Processing Systems, 36:79808–79831, 2023.
Moïse Blanchard. Agnostic smoothed online learning. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, pages 1997–2006, 2025.
Moïse Blanchard, Abhishek Shetty, and Alexander Rakhlin. Characterizing online and private learnability under distributional constraints via generalized smoothness. In Proceedings of Thirty Ninth Conference on Learning Theory, volume 336 of Proceedings of Machine Learning Research, pages 729–759. PMLR, 2026.
Adam Block and Yury Polyanskiy. The sample complexity of approximate rejection sampling with applications to smoothed online learning. In The Thirty Sixth Annual Conference on Learning Theory, pages 228–273. PMLR, 2023.
Adam Block and Max Simchowitz. Efficient and near-optimal smoothed online learning for generalized linear functions. Advances in neural information processing systems, 35:7477–7489, 2022.
Adam Block, Yuval Dagan, and Alexander Rakhlin. Majorizing measures, sequential complexities, and online learning. In Proceedings of Thirty Fourth Conference on Learning Theory, volume 134 of Proceedings of Machine Learning Research, pages 587–590. PMLR, 2021.
Adam Block, Yuval Dagan, Noah Golowich, and Alexander Rakhlin. Smoothed online learning is as easy as statistical learning. In Conference on Learning Theory, pages 1716–1786. PMLR, 2022.
Adam Block, Max Simchowitz, and Alexander Rakhlin. Oracle-efficient smoothed online learning for piecewise continuous decision making. In The Thirty Sixth Annual Conference on Learning Theory, pages 1618–1665. PMLR, 2023a.
Adam Block, Max Simchowitz, and Russ Tedrake. Smoothed online learning for prediction in piecewise affine systems. Advances in Neural Information Processing Systems, 36:41663–41674, 2023b.
Adam Block, Mark Bun, Rathin Desai, Abhishek Shetty, and Zhiwei S Wu. Oracle-efficient differentially private learning with public data. Advances in Neural Information Processing Systems, 37:113191–113233, 2024a.
Adam Block, Alexander Rakhlin, and Abhishek Shetty. On the performance of empirical risk minimization with smoothed data. In The Thirty Seventh Annual Conference on Learning Theory, pages 596–629. PMLR, 2024b.
Anselm Blumer, Andrzej Ehrenfeucht, David Haussler, and Manfred K Warmuth. Learnability and the Vapnik-Chervonenkis dimension. Journal of the ACM (JACM), 36(4):929–965, 1989.
Stéphane Boucheron, Gábor Lugosi, and Pascal Massart. Concentration Inequalities: A Nonasymptotic Theory of Independence. Oxford University Press, 02 2013. doi: 10.1093/acprof:oso/9780199535255.001.0001.
Gon Buzaglo and Elad Hazan. Oracle-efficient online classification with stochastic inputs and adversarial outputs. arXiv preprint arXiv:2609.33760, 2026.
Nicolo Cesa-Bianchi and Gábor Lugosi. Prediction, learning, and games. Cambridge university press Cambridge, 2006.
Nicolo Cesa-Bianchi, Yishay Mansour, and Gilles Stoltz. Improved second-order bounds for prediction with expert advice. Machine Learning, 2007.
Allison JB Chaney, Brandon M Stewart, and Barbara E Engelhardt. How algorithmic confounding in recommendation systems increases homogeneity and decreases utility. In Proceedings of the 12th ACM conference on recommender systems, pages 224–232, 2018.
Constantinos Daskalakis, Noah Golowich, Nika Haghtalab, and Abhishek Shetty. Smooth Nash Equilibria: Algorithms and Complexity. In 15th Innovations in Theoretical Computer Science Conference (ITCS 2024), volume 287 of Leibniz International Proceedings in Informatics (LIPIcs), pages 37:1–37:22, 2024.
Steven De Rooij, Tim Van Erven, Peter D Grünwald, and Wouter M Koolen. Follow the leader if you can, hedge if you must. The Journal of Machine Learning Research, 15(1):1281–1316, 2014.
Luc Devroye, Gábor Lugosi, and Gergely Neu. Prediction by random-walk perturbation. In Conference on Learning Theory, pages 460–473. PMLR, 2013.
Dylan J Foster, Sham M Kakade, Jian Qian, and Alexander Rakhlin. The statistical complexity of interactive decision making. arXiv preprint arXiv:2112.13487, 2021.
Yoav Freund and Robert E Schapire. A decision-theoretic generalization of on-line learning and an application to boosting. Journal of computer and system sciences, 55(1):119–139, 1997.
Nika Haghtalab, Tim Roughgarden, and Abhishek Shetty. Smoothed analysis of online and differentially private learning. Advances in Neural Information Processing Systems, 33:9203–9215, 2020.
Nika Haghtalab, Yanjun Han, Abhishek Shetty, and Kunhe Yang. Oracle-efficient online learning for smoothed adversaries. Advances in Neural Information Processing Systems, 35:4072–4084, 2022.
Nika Haghtalab, Tim Roughgarden, and Abhishek Shetty. Smoothed analysis with adaptive adversaries. Journal of the ACM, 71(3):1–34, 2024.
James Hannan. Approximation to Bayes risk in repeated play. In Contributions to the Theory of Games, Volume III, Annals of Mathematics Studies. Princeton University Press, 1957.
Steve Hanneke. The star number and eluder dimension: Elementary observations about the dimensions of disagreement. In The Thirty Seventh Annual Conference on Learning Theory, pages 2308–2359. PMLR, 2024.
David Haussler. Sphere packing numbers for subsets of the boolean n-cube with bounded Vapnik-Chervonenkis dimension. Journal of Combinatorial Theory, Series A, 69(2):217–232, 1995.
Elad Hazan and Tomer Koren. The computational power of optimization in online learning. In Proceedings of the forty-eighth annual ACM symposium on Theory of Computing, pages 128–141, 2016.
Marcus Hutter and Jan Poland. Adaptive online prediction by following the perturbed leader. Journal of Machine Learning Research, 6(22):639–660, 2005.
Ray Jiang, Silvia Chiappa, Tor Lattimore, András György, and Pushmeet Kohli. Degenerate feedback loops in recommender systems. In Proceedings of the 2019 AAAI/ACM Conference on AI, Ethics, and Society, pages 383–390, 2019.
Adam Kalai and Santosh Vempala. Efficient algorithms for online decision problems. Journal of Computer and System Sciences, 71(3):291–307, 2005.
Michael J Kearns and Robert E Schapire. Efficient distribution-free learning of probabilistic concepts. Journal of Computer and System Sciences, 48(3):464–497, 1994.
Tor Lattimore and Csaba Szepesvári. Bandit Algorithms. Cambridge University Press, 2020.
Tengyuan Liang, Alexander Rakhlin, and Karthik Sridharan. Learning with square loss: Localization through offset rademacher complexity. In Conference on Learning Theory, pages 1260–1285. PMLR, 2015.
Nick Littlestone. Learning quickly when irrelevant attributes abound: A new linear-threshold algorithm. Machine learning, 2(4):285–318, 1988.
Nick Littlestone and Manfred K Warmuth. The weighted majority algorithm. Information and computation, 108(2):212–261, 1994.
H Brendan McMahan. A survey of algorithms and analysis for adaptive online learning. Journal of Machine Learning Research, 18(90):1–50, 2017.
Shahar Mendelson and Roman Vershynin. Entropy and the combinatorial dimension. Inventions mathematicae, 152(1):37–55, 2003.
Gilles Pisier. Remarques sur un résultat non publié de B. Maurey. Séminaire d'analyse fonctionnelle, pages 1–12, 1981.
Alexander Rakhlin, Karthik Sridharan, and Ambuj Tewari. Online learning: Stochastic, constrained, and smoothed adversaries. Advances in neural information processing systems, 24, 2011.
Sasha Rakhlin, Ohad Shamir, and Karthik Sridharan. Relax and randomize: From value to algorithms. Advances in Neural Information Processing Systems, 25, 2012.
Norbert Sauer. On the density of families of sets. Journal of Combinatorial Theory, Series A, 13(1): 145–147, 1972.
Shai Shalev-Shwartz. Online learning and online convex optimization. Foundations and Trends in Machine Learning, 4(2):107–194, 2012. ISSN 1935-8237. doi: 10.1561/2200000018.
Shai Shalev-Shwartz and Yoram Singer. A primal-dual perspective of online learning algorithms. Machine Learning, 2007.
Saharon Shelah. A combinatorial problem; stability and order for models and theories in infinitary languages. Pacific Journal of Mathematics, 41(1):247–261, 1972.
Charles M Stein. Estimation of the mean of a multivariate normal distribution. The annals of Statistics, pages 1135–1151, 1981.
L. G. Valiant. A theory of the learnable. Communications of the ACM, 27(11):1134–1142, 1984.
V. N. Vapnik and A. Ya. Chervonenkis. On the uniform convergence of relative frequencies of events to their probabilities. Theory of Probability & Its Applications, 16(2):264–280, 1971. doi:10.1137/1116025.
Volodimir G Vovk. Aggregating strategies. In Proceedings of the third annual workshop on Computational learning theory, 1990.
Changlong Wu, Ananth Grama, and Wojciech Szpankowski. Online learning in dynamically changing environments. In Proceedings of Thirty Sixth Conference on Learning Theory, volume 195 of Proceedings of Machine Learning Research, pages 325–358. PMLR, 2023.
Changlong Wu, Jin Sima, and Wojciech Szpankowski. Oracle-efficient hybrid online learning with unknown distribution. In The Thirty Seventh Annual Conference on Learning Theory, pages 4992–5018. PMLR, 2024.
Tengyang Xie, Dylan J Foster, Yu Bai, Nan Jiang, and Sham M Kakade. The role of coverage in online reinforcement learning. arXiv preprint arXiv:2210.04157, 2022.
A Additional preliminaries
We collect preliminaries for smoothed online learning, variance-based regret bounds for exponential weights, Gaussian integration by parts, and Maurey's empirical method.
A.1 Covers under smoothed processes
VC and fat-shattering dimensions are intimately related to covers. In a proposition below, we collect bounds that control sizes of covers in terms of class's VC or fat-shattering dimension. The bounds on projections follow from Sauer (1972); Shelah (1972); Alon et al. (1997). L2(μ) versions follow from Haussler (1995); Mendelson and Vershynin (2003).
Proposition A.1. There are universal constants 0<c<1 and C>1 such that the following hold for every F:X→[−1,1], and ε∈(0,1].
(i) For any set of n points z1:n, there exist a finite cover G⊂F such that:
If F is binary with VC dimension d, the cover can be chosen with log∣G∣≤dlog(Cn) and, for every f∈F, there exists g∈G such that f(zi)=g(zi) for all i∈[n].
(ii) For every probability measure μ on X, there is a finite subset G⊂F such that
If F is binary, we have log∣G∣≤Cdlog(C/ε) and the same approximation guarantee holds.
It is well-established in the smoothed online learning literature that covers w.r.t. L1(μ) norm provide approximation guarantees along the draw of a smoothed trajectory (Haghtalab et al., 2024). In particular, the following proposition follows using the coupling construction of Haghtalab et al. (2024, Theorem 2.1 and Appendix B.2).
Proposition 4.2. Let F:X→{±1} be a binary class with VC dimension d. For every probability measure μ, horizon T≥1, and σ∈(0,1], there exists a cover G⊆F such that log∣G∣≲dlog(2T/σ) and, for every covariate process that is σ-smooth with respect to μ,
Proof of Proposition 4.2. Set δ=1/(2T) and n=⌈σ−1log(T/δ)⌉. The recursive coupling construction of Haghtalab et al. (2024, Theorem 2.1 and Appendix B.2) implies existence of a coupling between the smooth covariate sequence X1:T and an array Z1:T,1:n, drawn i.i.d. from μ, so that
The VC dimension of such a class is in O(d) Blumer et al. (1989). Results for norm comparison inequalities for VC classes (Boucheron et al., 2013, Exercise 12.4) thus imply that, with probability at least 1−δ over the i.i.d. array Z1:T,1:n,
For real-valued classes, the above can be extended to bounds that depend on the fat-shattering dimension of the class.
Proposition A.2. Let F⊆[−1,1]X. There are universal constants c,C>0 such that the following hold. For every μ, horizon T≥1, σ∈(0,1], and 0<ε≤1/16, there exist a finite subset G={g1,…,g∣G∣}⊆F and a map π:F→[∣G∣] with gπ(f)=f for f∈G, such that
log∣G∣≲fatcε(F)log2σεCT(16)
and, for every covariate process that is σ-smooth with respect to μ, with probability at least 1−1/T, we have
Condition on the unordered multiset {Zj,Zj′},j∈[N]. Choose an ε/4-cover G′⊆F on the 2N points {Zj,Zj′}, j≤N using Proposition A.1(i), so that G′ depends only on the multiset of 2N points, but not on their ordering. By Proposition A.1(i), its cardinality satisfies
log∣G′∣≲fatcε(F)log2(CN/ε)≲fatcε(F)log2σεCT.
If f,g satisfy the event in (18), choose functions h,h′∈G′ from the cover such that ∣h−f∣≤ε/4 and ∣h′−g∣≤ε/4 on all 2N points. Then, on the event Eq. (18), we have
Fix h,h′∈G′. Now, recall that so far we have conditioned on the multiset of 2N observations, but not on their ordering. Call a sample Z∈{Zj,Zj′}j≤N good if ∣h(Z)−h′(Z)∣≤3ε/2, and call it bad otherwise. Then, on the above event, all bad samples are from Z1:N, and there are at least k of them. By exchangeability, the probability that all ≥k bad samples are assigned to Z1:N is at most 2−k. Thus, conditional on the multiset of 2N points, we have for any fixed pair h,h′:
Variance-based bounds are a standard tool for analyzing exponential weights (Cesa-Bianchi et al., 2007). The following is a one-round Bernstein bound of De Rooij et al. (2014, Lemma 4), which will be useful in our analysis of exponential weights.
Proposition A.3. Let G be a nonempty finite class, let w∈Δ(G) be a set of weights, and let ℓ:G→R be a loss function. Suppose,
f∈Gmaxℓ(f)−f∈Gminℓ(f)≤s,
that is, s upper bounds the range of the loss. Then, for every η>0,
where the coefficient is interpreted as η/2 when s = 0.
A.3 Gaussian geometry
The following identity is due to Stein (1981). Intuitively, it will allow us to relate gradients of certain potentials to their correlations with the Gaussians.
Lemma A.4 (Stein's lemma). Let G=(G1,…,Gn) have independent standard Gaussian coordinates, and let Ψ:Rn→R be Lipschitz. Then, for every s≤n,
EG∂GsΨ(G)=EG[GsΨ(G)].
To control the aforementioned correlations, the following two assertions will be useful.
Lemma A.5. Let G=(G1,…,Gn) have independent standard Gaussian coordinates.
(i) For every potential Ψ:Rn→R with EG[Ψ(G)2]<∞, we have ∑s≤n(EG[GsΨ(G)])2≤VarG(Ψ(G)).
(ii) Consider a finite class H:X→[−1,1] and any h:X×Rn→[−1,1] such that h(⋅,G)∈conv(H) almost surely. Then, for any z1:n∈Xn
i≤n∑(EG[Gih(zi,G)])2≤2log∣H∣.
Proof. First, note that we may assume without loss of generality that EΨ(G)=0. Then, (i) can be recognized as an instance of Bessel inequality for L2 space. Indeed, let γ be the standard Gaussian measure on R. For f,g∈L2(γn), let
⟨f,g⟩L2(γn):=EG∼γnf(G)g(G).
Let ei:x↦xi be the ith coordinate function; then, {ei} are orthonormal in this space, and we have
where the inequality is Bessel's inequality and the last equality uses EGΨ(G)=0. This concludes the proof of part (i).
For (ii), let αs=EG[Gsh(zs,G)] for s≤n, and assume that α=0, as otherwise there is nothing to prove. For a fixed G, the map h↦∑s≤nαsGsh(zs) is linear, so its value at h(⋅,G)∈conv(H) is at most its maximum over H. Thus,
For each h∈H, the sum inside the maximum is a centered Gaussian with variance ∑s≤nαs2h(zs)2≤∥α∥22. Thus, for every λ>0, Jensen's inequality and the Gaussian moment-generating function give
Taking λ=2log∣H∣/∥α∥2 gives ∥α∥22≤2log∣H∣∥α∥2. Dividing by ∥α∥2 and squaring concludes the proof.
A.4 Convex hull approximations
We use the following consequence of Maurey's empirical method (Pisier, 1981), in the ℓ∞ form due to Althöfer (1994).
Proposition A.6 (Maurey's empirical method). Let F⊆[−1,1]X. For any h∈conv(±F), integers m,K≥1, and points Z1,…,Zm∈X, there exist functions f1,…,fK∈±F such that
s∈[m]maxh(Zs)−K1i=1∑Kfi(Zs)≤K2log(2m).
A.5 Log-partition functions and their derivatives
Lemma A.7 (Derivatives of log-partition functions). Let ψ1,…,ψN:Rn→R be Lipschitz, and define
Proof. By Rademacher's theorem, almost every θ is a point of differentiability of all ψ1,…,ψN. At such θ, the chain rule gives the first identity and
Multiplying by hi and summing over i gives the second identity. In the linear case, each ψi is differentiable everywhere with ∂θrψi(θ)=(zi)r, so substituting into the two identities gives the stated result.
B Proofs for the binary case
The binary proof has three ingredients: a surprise lemma using second moments, a reduction to exponential weights, and a regret bound for the exponential-weights reference.
B.1 Surprise lemma
We first bound the cumulative expected values of predictable test functions by their historical second moments on a tangent sequence. A norm comparison then replaces the tangent moments by their realized counterparts.
B.1.1 Surprise lemma with tangent sequence
The following lemma follows from the change-of-measure argument of Xie et al. (2022, Section 3.2, equations (3)–(5)). We restate the result in our notation, and provide a proof for completeness.
Lemma B.1. For predictable test functions ht:X→[0,1], we have
be the index of the first round in which the cumulative scaled density at x reaches 1, with τ(x)=T if the set is empty. Intuitively, we can partition the surprise contribution Eht(Xt) in each round into x's that are still in the “burn-in” period (t≤τ(x)) and those that have left the burn-in phase. Observe that the burn-in contribution can be upper bounded as follows:
where we used ∣ht∣≤1. It remains to bound the contribution of those covariates that have left the burn-in period. From Xie et al. (2022, Lemma 4), we have with probability 1:
t=1∑T1+∑s<tas(x)at(x)≲log(2T).
On the event {∑s<tas(x)≥1}, we also have
∑s<tas(x)at(x)2≤1+∑s<tas(x)2at(x).
By Cauchy–Schwarz, the contribution after burn-in is bounded by
Proof of Lemma B.2. In the proof, we first reduce the claim to comparison for binary function class using layer-cake identity for expectations and Maurey's empirical method (Proposition A.6). Then, the proof is concluded by invoking Block et al. (2024b, Theorem 10). To start, using the layer-cake identity, we have
to be the class obtained by averaging K functions from F. Applying Proposition A.6 to the 2T points X1:T,Xˉ1:T, for every h∈conv(±F) there exists g∈Fλ such that
1{∣h(x)∣≥λ}≤g(x)≤1{∣h(x)∣≥λ/2}
for every x∈{Xs,Xˉs:s≤T}. Set m=⌈2Tlog(T)/σ⌉ and let Z1:m∼μm. Using Block et al. (2024b, Theorem 10) and a bound on Wills functional using growth function of the class, we have:
Proof of Lemma 4.1. If σT<1, the right-hand side of (9) is at least a constant multiple of T, so the claim follows from ∣ht∣≤1. Otherwise, apply Lemma B.1 to ∣ht∣ and the uniform bound in Lemma B.2 to ht on each prefix X1:t−1. This gives
where the last step uses σT≥1, d≥1, and log(2T)≤log(2T/σ).
The proofs of Lemmas B.2 and 4.1 use the VC dimension only to count the restrictions of ±F to finitely many points. The same argument therefore applies to finite classes of real-valued functions, which we use in Appendix C.
Corollary B.3. Let F⊆[−1,1]X be a nonempty finite class, and let {ht}t∈[T] be a predictable sequence of functions with ht∈conv(±F). Then,
wt(⋅∣G) from (4) maximize the latter potential in its variational form. Note that, by absolute continuity of the Gaussians, the set of all functions that maximize the former or the latter potential share predictions on every past covariate Xs. Thus, for every s<t and almost every G, we may apply Danskin's theorem for the finite maximum (Bertsekas, 2016, Appendix B). Combining it with Lemma A.7, differentiating the two potentials gives:
∂GsΦt(G)=−f^t(Xs),∂GsΦt(G)=−f~t(Xs).
Both potentials are Lipschitz functions of G, so Stein's lemma (Lemma A.4) yields
By Blumer et al. (1989), the difference class has VC dimension in O(d). Thus, by Sauer–Shelah lemma (Proposition A.1), the maximum in Eq. (25) is taken over at most exp(Cdlog(Ct)) functions. Applying Gaussian tail inequality with a union bound then gives:
Noting that the failure event of Proposition 4.2 contributes at most O(1) to the expected squared prediction discrepancy concludes the proof.
B.3 Proof of the reduction to exponential weights
We now apply the surprise lemma Lemma 4.1 to the difference of predictions.
Lemma 4.3 (Reduction to exponential weights). Consider a binary function class F:X→{±1} of VC dimension d. For f^t and f~t as defined in Eqs. (3) and (4), respectively, we have the following bound:
B.4 Regret of Gaussian-perturbed exponential weights
We first prove Proposition 4.6, which reduces the regret bound to controlling cumulative prediction variance. We then prove Lemma 4.7, which bounds the variances on the historical covariates, and combine it with the surprise lemma to prove Lemma 4.5.
Proposition 4.6. Let G⊆F be a nonempty finite class, and let ℓ(y^,y)=−yy^ be the binary loss. For every data sequence, the predictor f~t defined in (4) satisfies the following inequality,
Proposition 4.6 is the special case of the following proposition in which G⊆F consists of binary functions and ℓ(y^,y)=−yy^, which is linear, and hence convex and 1-Lipschitz, in its first argument. We use the general form in Appendix C.4.
Proposition B.4. Let G be a nonempty finite class of functions X→[−1,1], and let ℓ(y^,y) be convex and 1-Lipschitz in its first argument. For every data sequence, the predictor f~t defined in (4) satisfies the following inequality,
Apply Proposition A.3 to these weights and the losses ℓ(f(Xt),Yt)+Gt(t+1)f(Xt) at learning rate 1. Their range is at most st:=2(1+∣Gt(t+1)∣), and
This inequality also holds when the loss range is zero. Note that the last coordinate Gt(t+1) is centered and independent of the first t−1 coordinates. In particular,
by Jensen's inequality. Combining this with Eq. (26) and telescoping gives the desired result. ☐
Lemma 4.7. Let G be a nonempty finite class of functions X→[−1,1] and let ℓ be any loss. For every t≤T and every fixed history (Xs,Ys)s<t, the weights in (4) satisfy
The above reduces the proof to bounding the cumulative prediction variance. We know from Lemma 4.7 that variance of f∼wt on the past covariates Xs with s<t can be suitably upper bounded. To upper bound the above, we will show that variance terms can be expressed as predictable test functions of a VC class, and apply the surprise lemma Lemma 4.1. Indeed, for every t and x∈X, we have
To obtain (11), we use Proposition 4.2 and note that RegTEW≤2T with probability 1, and thus we can absorb the last term by T⋅dlog(2T/σ). This concludes the proof.
Theorem 3.1 follows by combining Lemma 4.3 and Lemma 4.5.
C Proofs for the real-valued loss case
The real-valued proof has the same three ingredients as the binary proof: a surprise lemma, a reduction to an exponential-weights reference algorithm that runs over a finite cover, and a regret bound for exponential weights.
First, we change slightly the way the reference exponential algorithm is defined. Let G be the cover from Proposition A.2 and, for each f, let gπ(f) be the element of the cover that corresponds to f. One can consider a partition of F into cells where each cell contains all functions f that share a corresponding element gπ(f). Within each cell, we consider clipping of functions towards their corresponding cover center; in particular, for a fixed valued ε<1/16, and for f∈F, define
fˉ(x)=gπ(f)(x)+max{−2ε,min{2ε,f(x)−gπ(f)(x)}}.
We then modify exponential weights by assigning each g∈G a weight determined by the smallest loss attained by a clipped function in its cell. Formally, we let
Intuitively, computing the averaging weights using clipped functions as opposed to the centers g accomplishes two goals. First, by selecting the minimizer within each cell, we improve the comparison between exponential weights and FTPL. Second, by introducing clipping, we ensure that the cell potentials are not too far from the perturbed scores of the cover centers G. Formally, we establish the following guarantee for the clipping we use.
Lemma C.1. Let G and the chosen cover elements gπ(f) be as in Proposition A.2, and define fˉ for f∈F as above.
(i) For every f∈F and x∈X, we have fˉ(x)∈[−1,1], ∣fˉ(x)−gπ(f)(x)∣≤2ε, and
Proof. For part (i), fˉ−gπ(f) is f−gπ(f) clipped to [−2ε,2ε]. Hence fˉ(x) lies between gπ(f)(x) and f(x), so it belongs to [−1,1] and satisfies ∣fˉ(x)−f(x)∣≤∣f(x)−gπ(f)(x)∣≤2. It equals f(x) whenever ∣f(x)−gπ(f)(x)∣≤2ε. For part (ii), part (i) gives ∣f(Xs)−fˉ(Xs)∣≤21{∣f(Xs)−gπ(f)(Xs)∣>2ε}. Summing over s≤T and applying (17) proves the claim.
C.1 Finite-scale surprise bounds
We begin by adapting our surprise bound argument for real-valued classes.
Lemma C.2. Let 0<ε≤1/16, and let {ht}t∈[T] be a predictable sequence of functions, each of which is a convex combination or a probability mixture of elements of ±F. Then
Compared with Lemma 4.1, the VC dimension is replaced by the fat-shattering dimension at scale cε, at the price of the additive term Tεlog(2T)/σ. This term pays for replacing each function by its chosen cover element, which is within 2ε of it except at a few covariates.
Proof of Lemma C.2. Throughout this proof, suprema over h range over conv(±F). We first establish the following analogue of Lemma B.2:
As in the proof of Lemma B.2, we use the layer-cake identity and Maurey's empirical method (Proposition A.6) to reduce the claim to comparison for a binary function class, after which we apply Block et al. (2024b, Theorem 10). To start, using the layer-cake identity, we have
For 2ε≤λ≤1, apply Proposition A.2 at scale λ/16 and horizon T to obtain a fixed finite class Gλ⊆F and a choice of cover element gπ(f) for every f∈F. Then
log∣Gλ∣≲fatcλ(F)log2σλCT.
The tangent sequence is also σ-smooth with respect to μ. Thus, applying Proposition A.2 to both sequences and taking a union bound, with probability at least 1−2/T we have
Call x∈{Xs,Xˉs,s∈[T]} good if ∣fi(x)−gi(x)∣≤λ/8, and call it bad otherwise. Let gˉ=K−1∑i=1Kgi. For any good x, the Maurey approximation and the cover guarantee imply
at all but CKfatcλ(F)log2(CT/(σλ)) points among the two sequences. These inequalities allow us to replace the two threshold indicators by g, on all but CKfatcλ(F)log2(CT/(σλ)) bad points. This gives:
where the last step uses ∫2ε1λ−1dλ≤log(1/ε). This proves (30).
If σT<1, the claim follows from ∣ht∣≤1, so assume σT≥1. Apply Lemma B.1 to ∣ht∣ and (30) on each prefix X1:t−1. Summing the prefix approximation terms gives ∑t=1T(t−1)ε2≤T2ε2, so
Proof of Lemma C.3. Fix the history (X1:t−1,Y1:t−1) and let G:=G(t) to lighten the notational load. The case t=1 is immediate, so suppose that t≥2. Recall the definition of potentials from Eq. (28):
with Φt,g as in Eq. (28). Note that wt(⋅∣G) from Eq. (29) maximize the latter potential in its variational form. Note that, by absolute continuity of the Gaussians, the set of all functions that maximize the former potential share predictions on the past covariates Xs. Differentiating the two potentials therefore gives, for every s<t and almost every G, by Danskin's theorem (Bertsekas, 2016, Appendix B) and Lemma A.7:
It remains to bound the difference of the potentials. Since the entropy of any distribution on G is at most log∣G∣, the variational form of Φt gives
g∈GmaxΦt,g(G)≤Φt(G)≤g∈GmaxΦt,g(G)+log∣G∣.
The cells {f∈F:gπ(f)=g} partition F, so maxg∈GΦt,g(G) is the supremum defining Φt(G) with each f replaced by fˉ. For each s<t, the map y↦ℓ(y,Ys)+Gsy is (1+∣Gs∣)-Lipschitz on [−1,1]. Hence, on the event of Lemma C.1(ii), which has probability at least 1−1/T over the history, using (16) to bound log∣G∣,
Since EG(1+maxs<t∣Gs∣)2≲log(2T), it follows that
EG(Φt−Φt)2≲fatcε(F)2log5σεCT.
Plugging this into Eq. (36) gives the claimed bound on the above event. The complement of this high probability event contributes at most O(1). This concludes the proof.
C.3 Proof of the reduction to exponential weights
We now apply the surprise lemma Lemma C.2 to the difference of predictions.
Lemma C.4. For f~t as defined in Eq. (29), we have the following bound:
Proof of Lemma C.4. Apply Lemma C.2 to the sequence
ht=21(EG(t)f^t−EG(t)f~t),t∈[T].
Note that both EG(t)f^t and EG(t)f~t are probability mixtures of elements of F and are predictable. Thus, ht is a probability mixture of elements of ±F, and using Lemma C.2 gives
C.4 Regret of Gaussian-perturbed exponential weights
We first prove Proposition C.5, which reduces the regret bound to controlling cumulative prediction variance. We then prove Lemma C.6, which bounds the variances on the historical covariates, and combine it with the surprise lemma to prove Lemma C.7.
Proposition C.5. For every data sequence, the predictor f~t defined in Eq. (29) satisfies the following inequality,
Apply Proposition A.3 to these weights and the losses ℓ(g(Xt),Yt)+Gt(t+1)g(Xt) at learning rate 1. Their range is at most st:=2(1+∣Gt(t+1)∣), and
Proof of Lemma C.7. Apply Proposition C.5 to the cover from Proposition A.2. The difference in the comparator terms over the clipped functions and F is upper bounded as:
since ℓ(⋅,Yt) is 1-Lipschitz. The right-hand side is at most 2T, so, by Lemma C.1(ii), its expectation is at most Cfatcε(F)log2(CT/(σε))+O(1). Thus, applying this estimate to (38), we have:
The above reduces the proof to bounding the cumulative prediction variance. We know from Lemma C.6 that the variance of g(Xs) under g∼wt on the past covariates Xs, s<t, can be suitably upper bounded. To upper bound the above, we will show that variance terms can be expressed as predictable test functions in the convex hull of a finite class, and apply Corollary B.3. Indeed, for every t and x∈X, we have
This is a predictable test-function that belongs to the convex hull of the squared-difference class:
{x↦(g(x)−g′(x))2/4:g,g′∈G}.
It has at most ∣G∣2 elements. If ∣G∣=1, all variances vanish; otherwise, using Lemma C.6 and applying Corollary B.3 to the sequence of variances, with the finite class from above in place of F, gives
To obtain the stated regret bound, we use Proposition A.2 to bound log∣G∣ and use a+b≤a+b. This concludes the proof.
C.5 Proof of the real-valued theorem
The preceding bounds control the Gaussian mean of FTPL. It remains to account for the finite average in (7) and combine the prediction and reference-regret bounds.
Theorem 3.2. Consider a class F:X→[−1,1] and let ℓ(y^,y) be convex and 1-Lipschitz in its first argument, and suppose the covariate process is σ-smooth with respect to a fixed μ. Then, the learner in (7) satisfies
Proof of Theorem 3.2. Fix 0<ε≤1/16 with fatcε(F)<∞. If 1+fatcε(F)>T or T<1/σ, then 2T is at most a constant times the expression inside the infimum in (8), so the bound at this ε follows from RegT≤2T. Otherwise, 1+fatcε(F)≤T and T≥1/σ, and we construct the fixed cover and the modified exponential weights algorithm from Eq. (29).
Conditional on Ht−1,Xt,Yt, the average of the t independent oracle predictions has variance at most 1/t about EG(t)f^t(Xt). Cauchy–Schwarz and Lipschitzness give
Since the loss is 1-Lipschitz, the first sum is bounded by Lemma C.4 in expectation. Lemma C.7 bounds the expectation of the second bracket. Plugging these bounds into (41), and using (16) to bound log(2∣G∣)≲1+fatcε(F)log(CT/(σε)) and log(2T/σ)≤log(CT/(σε)), yields
To obtain (8), note that each term on the right-hand side is at most a constant times
(1+fatcε(F)+Tε)σTlog3σεCT.
For the term log(2T)/σ, this uses T≥1/σ, which gives 1/σ≤T/σ; for the remaining terms, it uses σ≤1 and log(CT/(σε))≥1. Moreover, T/(σε)≥16 gives log(CT/(σε))≲log(2T/(σε)). The learner does not depend on ε, so taking the infimum over ε proves (8).
D L⋆-dependent regret
In this section, we demonstrate that Gaussian FTPL is capable of achieving a regret bound that adapts to the loss of the best comparator in binary classification. In particular, we derive bound similar to Theorem 3.1 in terms of the best comparator's number of mistakes, denoted by:
L⋆=f∈Fmint=1∑T1{f(Xt)=Yt}.
Theorem D.1. Consider a binary class F:X→{±1} of VC dimension d≥1, and let ℓ(y^,y)=−y^y be the binary loss. For every horizon T≥1 and every covariate process that is σ-smooth with respect to a fixed μ, the learner in (3) satisfies
ERegT≲σTlog2(2T/σ)(d2∧EL⋆+d).(42)
The learner does not require knowledge of L⋆. In particular, in the realizable case, L⋆=0 almost surely, thus, Gaussian FTPL recovers the bound
ERegT≲σdTlog2(2T/σ),
which, up to logarithmic factors, is optimal in the realizable case (Blanchard, 2025). Note that, in order to establish Theorem D.1, it suffices to prove:
ERegT≲σTlog2(2T/σ)(EL⋆+d),
since the second point in the minimum is given by Theorem 3.1. The proof of the above statement is shorter than Theorem 3.1 and is more reminiscent of the proof for ERM (Block et al., 2024b). We first bound the expected number of mistakes that Gaussian FTPL makes on the past covariates.
Lemma D.2. Let F⊆{±1}X have VC dimension d≥1. Fix a history (X1:t−1,Y1:t−1), and write G=G(t). The forecaster in (3) satisfies
Proof. The claim is immediate for t=1. Fix t≥2 and g∈F. All expectations are over G, with the history held fixed. Since (f(Xs)−Ys)2=2(1−Ysf(Xs)), optimality of f^t in (3) gives the basic inequality
where the last inequality follows from Sauer–Shelah (part (i) of Proposition A.1). Substituting this bound and using (f(Xs)−Ys)2=41{f(Xs)=Ys} gives
The proof of the regret bound is concluded by applying the surprise lemma Lemma 4.1 to translate Lemma D.2 into a guarantee on the current prediction loss.
Proof of Theorem D.1. The idea is to apply Lemma 4.1 to the process (Xt,Yt). First, note that conditional law of (Xt,Yt) given Ht−1 is σ/2-smooth with respect to μ⊗unif({±1}). Let
The first equality uses the conditional independence of (Xt,Yt) and G(t) given Ht−1. Since RegT is at most a factor of 2 times number of mistakes, the inequality above concludes the proof.