Adaptive Realizable Regression from Two Online Learners

Dirk van der HoevenNeurIPS 2026

TL;DR

When estimating a true underlying function from noisy data, standard conversions from online learning get stuck with a floor of irreducible noise. This paper introduces a clever duet of two online learning algorithms that work together to cancel out that noise floor. The result is an estimator whose error shrinks rapidly when data is clean, degrades gracefully when data is noisy, and adapts to the simplicity of the true function—all without needing to know the noise level or data bounds in advance.

What Problem Does This Paper Address?

Imagine you are building a contextual bandit or a reinforcement learning agent. Under the hood, you often rely on realizable regression: you have features $X$ and noisy labels $Y$, and you assume the true expected value $f^\star(X) = \mathbb{E}[Y|X]$ lives somewhere inside a known collection of functions $\mathcal{F}$.

Your goal is to output an estimate $\widehat{f}$ that gets as close to $f^\star$ as possible under the absolute loss, $\mathbb{E}_X[|\widehat{f}(X) - f^\star(X)|]$. Notice that this is estimation error, not prediction risk ($\mathbb{E}[|\widehat{f}(X) - Y|]$). Even if you knew $f^\star$ perfectly, your prediction risk wouldn't hit zero because $Y$ is inherently noisy. Estimation error, however, should vanish as you collect more data ($n \to \infty$).

Usually, researchers turn sequential "online" learners into batch statistical estimators using a classic trick called online-to-batch conversion. Unfortunately, standard conversions bound the prediction risk, leaving behind an irreducible noise term that never goes away. Recent batch methods (like minimizing a "betting loss") managed to bypass this and adapt to the noise variance, but they rely on uniform convergence arguments. That means their error bounds scale with the total size of the function class ($\log|\mathcal{F}|$—useless if $\mathcal{F}$ is infinite!) and depend on theoretical expectations you can't actually measure from your data.

Methods

Dirk van der Hoeven proposes a remarkably clean reduction that runs two off-the-shelf online learning algorithms, $\mathcal{A}$ and $\mathcal{B}$, in parallel over $n$ data points:

  • Algorithm $\mathcal{A}$ (The Predictor): Outputs predictions $f_t^A$ at each step. Its average prediction becomes our final estimator $\widehat{f}$.
  • Algorithm $\mathcal{B}$ (The Loss-Maker): Plays a supporting role. To shrink estimation error, $\mathcal{A}$ ideally needs to know the direction (the sign) of its error relative to the unknown $f^\star$. Since $f^\star$ is hidden, $\mathcal{B}$ maintains a probability distribution over $\mathcal{F}$ to estimate that sign based on whether candidate functions point in the same direction as the observed residual $(f_t^A(X_t) - Y_t)$. $\mathcal{B}$ then constructs a custom, learned loss function to feed to $\mathcal{A}$.

To get concrete statistical guarantees, the author plugs an existing parameter-free online learner called Squint+L (equipped with a prior $\pi$ over $\mathcal{F}$) into both $\mathcal{A}$ and $\mathcal{B}$. Finally, by replacing the sign function with subgradients, the author generalizes this duet to work for any convex loss function where $\ell(z, z) = 0$ (such as Bregman divergences or pinball losses).

Datasets

Not discussed in the paper. (This is a purely theoretical work focused on proving statistical bounds.)

Key Insights and Ideas

  • Zeroing out the noise floor: Why doesn't noise accumulate here like in standard online-to-batch conversions? Because of how $\mathcal{B}$ constructs the loss for $\mathcal{A}$. Evaluated at the true function $f^\star$, the expected conditional loss $\mathbb{E}_t[\ell_t^A(f^\star)]$ is identically zero. The irreducible label noise cancels out in expectation, turning the estimation problem into the sum of $\mathcal{A}$'s regret, $\mathcal{B}$'s regret, and a well-behaved martingale.
  • Priors unlock infinite classes: Because the proof relies on regret bounds rather than uniform convergence, the complexity of $\mathcal{F}$ only shows up as $\log(1/\pi(f^\star))$, where $\pi$ is any prior distribution we choose. If we assign higher prior weight to simpler functions (connecting directly to Minimum Description Length), we get much faster learning rates whenever $f^\star$ happens to be simple—even if $\mathcal{F}$ is countably infinite!
  • Self-evaluating bounds: Statistical bounds usually depend on unknowable quantities like the true conditional noise variance $\mathbb{E}_X[\sigma(X)]$. Here, the exact same algorithm yields an empirical bound computed strictly from runtime observables (cumulative training loss and squared residuals), letting the learner verify its own accuracy on the fly.

Key Results

  • Noise- and Range-Adaptive Rates (Theorem 2): Without knowing the label bound $B$ or average conditional variance $\mathbb{E}_X[\sigma(X)]$, instantiating the reduction with Squint+L achieves estimation error bounded (with probability $\ge 1-\delta$) by: $$O\left(\sqrt{\frac{\mathbb{E}_X[\sigma(X)]\,\Gamma(f^\star)}{n}} + \frac{B\,\Gamma(f^\star)}{n}\right)$$ where $\Gamma(f^\star) = \log(1/\delta) + \log((1+\log(Bn))/\pi(f^\star))$. When noise $\sigma(X) = 0$, it automatically hits the "fast rate" $O(1/n)$; under heavy noise, it smoothly falls back to the optimal $O(1/\sqrt{n})$ slow rate.

  • Tighter $n$-dependence: Compared to prior variance-adaptive work that incurred a $\log(n)$ overhead, this parameter-free bound sharpens the dependence to $\log\log(Bn)$.

  • Observable Guarantees (Theorem 3): For finite $\mathcal{F}$ and known $B$, the empirical bound (using observable squared residuals) is proven to be within a constant factor of the unobservable theoretical variance bound with high probability.

Limitations and Future Work

  • Computational Cost: If $\mathcal{A}$ and $\mathcal{B}$ take $O(|\mathcal{F}|)$ time per round, total runtime is $O(|\mathcal{F}|n)$. Designing computationally efficient algorithms for continuous, convex, or countably infinite $\mathcal{F}$ remains an open problem.
  • Empirical Bound Priors: The observable empirical bound requires a uniform prior over a finite $\mathcal{F}$. Using a non-uniform prior would introduce $\log(1/\pi(f^\star))$ into the bound, which cannot be computed from data since $f^\star$ is unknown.
  • Loss of Variance-Adaptivity in General Losses: For general convex losses (Theorem 5), linearizing the loss decouples the gradient from the residual. Because general gradients aren't bounded by $1$ like the sign function, worst-case gradient ranges leak into $\mathcal{B}$'s regret, replacing the nice variance-adaptive rate with a worst-case $O(BL/\sqrt{n})$ rate. Exploiting loss curvature (like strong convexity or exp-concavity) to recover $O(1/n)$ fast rates—and applying these empirical bounds to contextual bandits—are slated for future work.

Summary updated

Abstract

We study realizable regression with a finite or countably infinite function class $\mathcal{F}$. We are given $D_n = \{(X_t, Y_t)\}_{t=1}^n$, which is assumed to be i.i.d.\ with $f^\star \in \mathcal{F}$ such that $\mathbb{E}[Y_t|X_t] = f^\star(X_t)$. The goal is to estimate $f^\star$ with $\hat{f}$ under the absolute loss $\mathbb{E}_X[|\hat{f}(X) - f^\star(X)|]$. We propose a simple reduction that runs two instances of online learning algorithms: one minimizes a learned loss and the other minimizes the error induced by learning the loss. Our main result is a prior-dependent second-order bound: for any prior $\pi$ over $\mathcal{F}$, the estimator achieves with probability at least $1 - \delta$, \begin{align*} \mathbb{E}_X[|\hat{f}(X) - f^\star(X)|] \leq C\sqrt{\frac{\mathbb{E}_X[\sigma(X)]\,\Gamma(f^\star)}{n}} + \frac{CB\,\Gamma(f^\star)}{n}\,, \end{align*} where $\sigma(X) = \mathbb{E}_Y[(Y - f^\star(X))^2 \mid X]$ is the conditional variance, $\Gamma(f^\star) = \log(1/\delta) + \log((1+\log(Bn))/\pi(f^\star))$, $C > 0$ is an absolute constant, and $B$ is an upper bound on $|Y|$ and $|f(X)|$. The bound adapts automatically to the noise level $\mathbb{E}_X[\sigma(X)]$ and range $B$ without any prior knowledge of it, achieving the fast rate $O(B\Gamma(f^\star)/n)$ when $\sigma(X) = 0$ and recovering the slow rate $O(B\sqrt{\Gamma(f^\star)/n})$ in the worst case. The dependence on $\mathcal{F}$ enters only through $\log(1/\pi(f^\star))$, enabling faster rates for structured $\mathcal{F}$ or sparse $f^\star$ and extending naturally to countably infinite classes via summable priors. For finite $\mathcal{F}$ we further show that the same algorithm produces an empirically verifiable bound that allows the learner to evaluate the quality of $\hat{f}$ from the data alone, without knowledge of $\mathbb{E}_X[\sigma(X)]$. Finally, we extend our reduction to general convex loss functions satisfying $\ell(f(x), f(x)) = 0$.
BibTeX
@inproceedings{hoeven2026adaptive,
  author = {Dirk van der Hoeven},
  title = {{Adaptive Realizable Regression from Two Online Learners}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=crQTD0yWpW},
}
Figure