Manuscript Offprint
arXiv:2611.05346Agnostic Learning by Imitating
Abstract
Given a class of machine learning models and sample access to a data distribution with binary labels, which computational task is harder: training a discriminative model that distinguishes positive and negative labels as well as the best member of the class, or training a generative model whose outputs are indistinguishable from real data by all members of the class? We prove that these two fundamental tasks in computational learning theory are not just closely related, but actually equivalent to each other in complexity. One direction of this equivalence was previously known. Indeed, the powerful regularity lemma in complexity theory gives an efficient oracle reduction from the indistinguishability task (a.k.a. multiaccuracy) to the distinguishing task (a.k.a. agnostic learning) in the style of boosting algorithms. Our main contribution is an efficient oracle reduction in the other direction.
Taking this idea further, we show that a multiaccuracy oracle is a remarkably powerful primitive, achieving not just agnostic learning but also a wide range of seemingly more demanding learning objectives via similarly efficient and direct constructions. Our results crucially use the power of making adaptive queries to the oracle, and stand in stark contrast to prior work, which showed that post-processing a single multiaccurate predictor is insufficient for even weak forms of learning. On a technical level, we draw a connection between our (offline) problem and a version of no-regret learning in the online setting, which allows us to use follow-the-leader type algorithms to modify the label distribution and aggregate the predictions of the multiaccuracy oracle.
*Supported by a Knight-Hennessy Scholarship, the Simons Foundation Collaboration on the Theory of Algorithmic Fairness, and the Simons Foundation investigators award 17351. †This research has been supported in part by EPSRC grant EP/Y028872/1, Mathematical Foundations of Intelligence: An “Erlangen Programme” for AI. ‡Supported by the Simons Foundation Collaboration on the Theory of Algorithmic Fairness, and the Simons Foundation investigators award 17351. §This work was done in part while the author was an intern at Apple and while at The University of Texas at Austin. The author was supported in part by the NSF AI Institute for Foundations of Machine Learning (IFML) and, during the 2026–27 academic year, by the Institute for Advanced Study and an anonymous donor. ¶Work done during an internship at Apple, as well as with support from Simons Foundation Grant 733782 and Cooperative Agreement CB20ADR0160001 with the United States Census Bureau.
Contents
1 Introduction 1
1.1 Main Result ..... 2
1.2 Why This Direction Is Harder ..... 3
1.3 Algorithm Overview ..... 5
1.4 Analysis Overview ..... 10
1.5 Related Work ..... 13
1.6 AI Methodology ..... 14
2 Preliminaries 14
3 Upper Bounds 16
3.1 Reweighting and Conditioning ..... 17
3.2 Achieving Agnostic Learning ..... 17
3.3 Achieving Omniprediction and Multicalibration ..... 18
3.4 Deferred Lemmas on FTL and Smoothing ..... 20
4 Lower Bounds 22
4.1 Lower Bounds for Omniprediction ..... 22
4.2 Lower Bounds for Multicalibration ..... 23
5 Derandomization 25
5.1 Degree-2 Calibration ..... 26
5.2 General Derandomization ..... 29
A Deferred Proofs From Section 3 40
B Deferred Proofs From Section 4 44
C Deferred Proofs From Section 5 47
D Constructing a Partition Function 50
E Implementation using Statistical Queries 51
-
Train a discriminative model that distinguishes positively and negatively labeled data points from as well as (or better than) the best model in the baseline class .
-
Train a generative model which produces synthetic labels for each point, such that the resulting joint distribution of points and labels is indistinguishable from real labeled data drawn from by all observers in the class .
Although these two tasks sound related, they are not quite the same, and they lie at the core of two different formulations of the question: What does it mean to learn optimally, relative to a baseline class? The first task, namely the distinguishing task with respect to a restricted class of competitors, corresponds to the agnostic model for learning, introduced by [Hau92] and [KSS94], extends Valiant's influential theory of Probably Approximately Correct (PAC) learning [Val84] beyond the realizable setting. The second task, which frames learning as ensuring indistinguishability with respect to a restricted class of distinguishers, has its roots in the imitation game proposed by Alan Turing as a test of machine intelligence, now known as the Turing test [Tur50]. The form of indistinguishability that is relevant to us is multiaccuracy, which was first defined in the context of complexity theory [TTV09], and later in the setting of algorithmic fairness [HKRR18].
In this work, we ask: What is the complexity of these two learning tasks relative to one another? That is, which of the two tasks is easier and which is harder in terms of its computational complexity? Also, does the answer change depending on how restricted or how expressive the class is, or depending on the properties of the underlying data distribution ?
Before stating our results, let us briefly state the formal definitions of the versions of the distinguishing and indistinguishability tasks that we consider.
Distinguishing. We model the distinguishing task as agnostic learning [Hau92, KSS94]. Here, we are given independent samples from and a description of a class of functions , and we train a discriminative model or predictor . Each output of is a number between and , which should be interpreted as the mean of a distribution over the two-element set of binary labels . Our goal is for the expected absolute value of the error to be not much worse than that of the best model in the class :
Informally, our model should “beat” the baseline class at loss minimization. Our algorithm should succeed with probability at least regardless of the conditional distribution of given , but we treat the marginal distribution over the features as fixed and known in advance.
Although we have stated the definition of agnostic learning in terms of loss minimization, it can be stated just as easily in terms of distinguishing two distributions over the feature space , corresponding to positively and negatively labeled examples. The first distribution is the conditional distribution of given and the second is the conditional distribution of given
. If labels are balanced, meaning , then a model satisfies inequality (1) if and only if its advantage at distinguishing from is at most worse than the best distinguishing advantage of any function in . Here, distinguishing advantage has the usual definition of
for probability distributions and on and a test .
Indistinguishability. We model the indistinguishability task as multiaccuracy [TTV09, HKRR18]. Here, and are the same as in agnostic learning, but we now view as a generative model, a perspective that we will soon elaborate. Our goal is for the error, still , to be approximately uncorrelated with all models in the class :
Informally, our model should “fool” observers in the class into thinking that the labels it generates are the same as real labels. Once again, we allow a small failure probability , treat the conditional distribution of given as unknown, and treat the marginal distribution of as known.
Although we have stated the definition of multiaccuracy in terms of correlation, it can be stated just as easily in terms of distinguishing the ground-truth distribution over real data points from the modeled distribution over simulated data points , where is generated from in the sense that . Indeed, a two-input distinguisher taking values in achieves absolute advantage at most at distinguishing from if and only if satisfies inequality (2) with respect to the function .
The imitation in the title refers to multiaccuracy, since the only guarantee we have is that the real and simulated distributions look the same to observers modeled by functions in .
1.1 Main Result
Our main result is that distinguishing (agnostic learning) and indistinguishability (multiaccuracy) are statistically and computationally equivalent in complexity for all feature distributions and all model classes . By “equivalent”, we mean that an efficient algorithm for either one of the two problems can be transformed into an efficient algorithm for the other using a simple and elegant oracle reduction with poly overhead.
Theorem 1.1 (Main, Informal). Agnostic learning and multiaccuracy are statistically and computationally equivalent in the sense that for all feature distributions and model classes :
-
There exists a -agnostic learning algorithm for that only accesses the data distribution via calls to a -multiaccuracy oracle for .
-
(Conversely, there exists a -multiaccuracy algorithm for that accesses the data distribution via calls to a -agnostic learning oracle for [TTV09, HKRR18].)
The converse direction of this equivalence was previously known. Indeed, the powerful regularity lemma of [TTV09] states that efficient -multiaccurate models always exist in the form of clipped linear combinations of functions from and it was later shown that these component functions can be efficiently found using adaptive calls to a (weak) agnostic learning oracle
The original versions of the lemma pertained to the specific class of cuts in graphs [Sze75, FK96].
[HKRR18]. Agnostic learning turns out to be a simple yet powerful learning primitive. Other examples of goals that are known to be achievable using an agnostic learning oracle include multicalibration, a stronger version of (2) that conditions on the level sets of , and omniprediction, a stronger version of (1) that requires small error not just for the loss but also simultaneously for a multitude of other loss functions in a set [HKRR18, GKR22]. Provided , omniprediction implies agnostic learning.
The forward direction was open prior to our work. Positive answers were known under stronger assumptions on the predictor, typically that it satisfies calibration guarantees [Daw85] of varying strengths. It was known that if a model is both -multiaccurate and calibrated, then it must be an agnostic learner for the class [CGKR25]. The stronger guarantee of multicalibration was known to imply omniprediction for a rich family of convex losses [GKR22], and hence agnostic learning. These assumptions can be viewed as requiring stronger indistinguishability guarantees between the real and simulated data distributions, via the outcome indistinguishability framework [DKR21].
The above reductions to agnostic learning were one-shot reductions, where we take the predictor satisfying calibrated multiaccuracy, and output sign() as our learner. It was shown by [CGKR25] that such reductions will not suffice for multiaccuracy: there are multiaccurate predictors where even conditioned on the output of the predictor, the true label is uniformly random (a condition they called anti-calibration). This implies that no post-processing of the predictor can beat random guessing. But it leaves open the possibility that a more sophisticated reduction to multiaccuracy (for example, with repeated oracle calls) could still yield agnostic learning. Note that the reduction in the other direction crucially uses multiple rounds with adaptive calls to the agnostic learner to get a multiaccurate predictor.
In this work, we show that access to a multiaccuracy oracle for a class is indeed sufficient for agnostic learning of . We prove this by designing a statistically and computationally efficient oracle reduction from agnostic learning to multiaccuracy. By “multiaccuracy oracle”, we mean an algorithm that receives as input samples from an arbitrary labeled data distribution with fixed marginal over features and outputs a predictor that is -multiaccurate with respect to this distribution. We find this main result surprising given the aforementioned negative results regarding the post-processing of a single multiaccurate predictor. Moreover, our reduction holds even in the statistical query (SQ) framework of [Kea98]. This follows by standard arguments for implementing boosting-style procedures using statistical queries [Fel09]. Importantly, this implies that SQ lower bounds for agnostic learning also extend to learning multiaccurate predictors. See the related work section, as well as Appendix E, for more details.
1.2 Why This Direction Is Harder
The standard reduction from multiaccuracy to weak agnostic learning can be seen as a boosting algorithm that proceeds in rounds: at round , assuming we have not achieved multiaccuracy, we use the weak learner to find that is correlated with the residual error of our predictor. We think of as the expectation of a Bernoulli random variable , which is guaranteed to predict better than random guessing. We update our predictor using so as to reduce the squared error. A standard potential argument shows that this cannot proceed for too many rounds.
Why does boosting or some similar procedure not work in the reverse direction? It is because we work with a different primitive: At stage , we are given a -multiaccurate predictor , which knows all the structure in the target distribution (that it was trained on) that is observable to
Technically, the summands found by the oracle need not belong to the class , unless we happen to be working with a proper (weak) agnostic learning oracle.
the class . Yet, the key challenge is that need not be any better at predicting than random guessing. The following example illustrates this point.
A Guiding Example. Consider a data distribution with uniform -bit features and binary labels . Let be the class of symmetric functions , which are invariant under permutations of the input bits. In this setting, there are many perfectly multiaccurate predictors. For example, consider the predictors for each index . By symmetry of the and bits, satisfies -multiaccuracy. In fact, it does so even after conditioning on the predictions made by :
Indeed, from the point of view of symmetric tests, is a fine model for . However, since the coordinates of are independent, the predictors are essentially random guesses for the label!
Assume that our goal is to achieve squared loss comparable to the best symmetric function. Each gives a squared loss of 2 since
In contrast, the best symmetric function achieves error :
Now assume that is very large compared to the number of queries we can make to the multiaccuracy oracle. Given for in response to our queries, can we combine these random guesses to improve on the squared loss of each individual guess? The answer is yes: we output the average , whose squared error is seen to be bounded by . Hence for , we are within of the optimal squared error, since .
What can we learn from this? Note that is also independent of , just like each for . It is also -multiaccurate, being the average of multiaccurate predictors. However, unlike the s and like , it has low calibration error. By the result of [GKR23, CGKR25], multiaccuracy together with calibration implies agnostic learning. So one lesson is to try and make calibrated predictions, while not losing multiaccuracy.
Another key idea comes from considering the agnostic learning setting, where the goal is to achieve correlation comparable to the best hypothesis in . As [CGKR25] showed, there are distributions and classes where the optimal hypothesis from the class satisfies , whereas there exist multiaccurate predictors where ; in fact the stronger anti-calibration condition holds. This anti-calibration condition in their example also shows that naively attempting to calibrate a multiaccurate predictor doesn't work as we simply get the constant zero function after calibrating. We can reconstruct a similar example by fixing an odd dimension , setting , and letting , where is the Majority function on variables. Then, achieves correlation , which is optimal for (all symmetric functions). But every convex combination of is perfectly -multiaccurate, yet has 0 correlation with . Our aim is to learn a hypothesis with correlation close to . Clearly, we cannot achieve this by averaging predictors that have 0 correlation with . So we need the multiaccuracy oracle to not just repeat combinations of , but to eventually reveal . In general, we want to extract from the oracle a diverse set of predictors, including ones that have non-trivial correlation. These observations inspire our main reduction, which we describe in the next section.
Algorithm 1 Weighted Multiaccuracy
Require: Multiaccuracy oracle MA with sample size , reweighting measure , labeled data points for and .
1: 2: for : 3: Sample with 4:
5: return
▷ Learning
▷ Averaging
1.3 Algorithm Overview
High-Level Outline. We query the multiaccuracy oracle to get predictors that are all -multiaccurate for the target distribution . At each stage, we ensure that the predictor is weakly independent of the predictors seen so far. We then output a randomization/weighted average of the various as our final predictor. If we think of each as having a structured component along and an orthogonal noise component, then averaging preserves the structure but the noise cancels out. Over multiple rounds, we prove that randomizing over the predictors yields a predictor that is both multiaccurate and calibrated, and this implies agnostic learning. Indeed, this approach naturally yields the much stronger primitive of swap multicalibration, which is known to guarantee swap omniprediction, a strong generalization of agnostic learning [GKR23].
The question that remains is finding the right notion of weak independence. We require that the predictor is multiaccurate conditioned on the level sets of , suitably discretized, for some suitably chosen weights . We show how to obtain such a predictor efficiently using calls to a standard multiaccuracy oracle, changing only the conditional distribution over the labels , while leaving the marginal distribution over fixed. By stitching together the multiaccurate predictors for each level set, we ensure that the overall predictor is multiaccurate for the target distribution that we wish to learn agnostically.
The analysis of this algorithm is fairly subtle; it combines ideas from classic algorithms like Follow-the-leader in the online learning literature [Han57], with the technique of loss outcome indistinguishability from more recent work on omniprediction [GHK+]. Randomization over the predictors , which is typical in online learning, is in fact essential for achieving strong notions like omniprediction or multicalibration that give guarantees for multiple losses or distinguishers, since different s might do well for different losses. In contrast, for agnostic learning (single loss) or degree-2 calibration (single distinguisher), one can pick the single best predictor over the iterations.
We now present a more formal outline of the reduction from agnostic learning to multiaccuracy, which has several steps. It is simple to state what each step aims to accomplish; however the analysis is far from obvious. For this reason, we first explain the steps of the algorithm and defer all analysis to the technical overview in Section 1.4.
Step 1: Reweighting. The first step, described in Algorithm 1, converts a -multiaccuracy oracle for a fixed feature distribution into a multiaccuracy oracle for any reweighting of . The algorithm takes as input a function , which we view as a measure that is allowed to decrease (but not increase) the weight of some feature vectors . If we seek multiaccuracy conditional on the level sets of an arbitrary function of the features, then running
Algorithm 2 Agnostic Learning
Require: Conditional multiaccuracy oracle CMA, grid size , function
1: for : 2: 3: 4: return
▷ Response aggregation () ▷ rounds to multiples of
▷ Averaging
Algorithm 1 on each of the -valued level-set indicator functions achieves the following guarantee, which we call -conditional multiaccuracy.
Theorem 1.2 (Conditional Multiaccuracy). For all , running Algorithm 1 for rounds with a -multiaccuracy oracle on each level set of yields a predictor satisfying
If the oracle has failure probability , then the resulting Conditional Multiaccuracy Algorithm has failure probability at most .
Algorithm 1 operates by making a sequence of queries to the (unweighted) multiaccuracy oracle, using the same feature distribution but different label distributions at each time step. Specifically, at time , our algorithm uses a label distribution that preserves the true label of with probability , and otherwise replaces it with the prediction of the oracle's previous output; since binary labels are required, we randomly round the prediction to accordingly.
Step 2: Agnostic Learning. The next part of our reduction, described in Algorithm 2, also makes iterative calls to an oracle, but this time to a conditional multiaccuracy oracle, such as the one in Theorem 1.2. The following theorem states the agnostic learning guarantee that it achieves.
Theorem 1.3 (Agnostic Learning). Algorithm 2 with a -conditional multiaccuracy oracle, soft-thresholding , grid size , and time horizon outputs satisfying
If the oracle has failure probability , then Algorithm 2 has failure probability at most .
At each time step , Algorithm 2 first computes a weighted average of the oracle responses received so far, placing slightly more weight on more recent responses. It then post-processes with the carefully chosen soft-thresholding function
Next, the algorithm queries the conditional multiaccuracy oracle on , rounded to multiples of , to receive a new response . Finally, the algorithm outputs a nonuniform weighted average of over time steps .
Algorithm 3 Multicalibration and Omniprediction
Require: Conditional multiaccuracy oracle CMA, grid size , learning weights , mixing weights , noise function .
1: for : 2: 3: ▷ Response aggregation () ▷ rounds to multiples of
4: def : 5: 6: return ▷ Randomization
7: return
Note that Theorem 1.3 implies that if the optimal correlation with is a constant , then the algorithm gets correlation in rounds, hence in constantly many rounds. In our guiding example with variables, it implies that within rounds, the conditional multiaccuracy oracle must return a predictor that depends on .
Note that the averaging over stopping times is a strength of the algorithm, not a weakness. Essentially, our guarantee states that the post-processed iterates perform well on average. In particular, if one were to output the one with the lowest loss, which can be identified with a handful of additional labeled samples, this would also perform well. We also remark that the nonuniform weighting in both the response aggregation and final averaging is not strictly necessary; as our proof will show, if we were to use a uniform weighting for both the average over in the inner loop and the average over at the end, it would only cost an additional factor of in the time horizon .
Step 3: Omniprediction and Multicalibration. At this point, we have shown that multi-accuracy is sufficient to achieve agnostic learning, which was previously known to be sufficient to achieve strong learning-theoretic goals like omniprediction and multicalibration. Our next result shows that with minor modifications to Algorithm 2, we can actually achieve direct conversions from multiaccuracy into omniprediction and multicalibration that are much more efficient than going through agnostic learning as an intermediate step and then composing with known reductions. As a concrete comparison, for the case of multicalibration, the algorithm of [GKR+22] uses calls to a weak agnostic learner. Each of these calls can in turn be implemented at the required accuracy using conditional multiaccuracy calls, by our Theorem 1.3. This composition therefore uses a total of conditional multiaccuracy calls to achieve multicalibration. In comparison, our Theorem 1.4 below achieves multicalibration (and the stronger guarantee of swap multicalibration) at the same accuracy using only conditional multiaccuracy calls.
The notion of omniprediction we consider is with respect to a class of loss functions that we call naturally parametrized losses. To define this class, we need some notation. Consider a real-valued loss function , which takes as input a label and an action in some arbitrary action set. Given a value , which we identify with the unique probability distribution over with mean , we define
(expected loss)
(best response)
Note that does not necessarily exist for an arbitrary loss and value , and even when it does exist, it might not be unique. We also define the discrete partial derivative
We say that is naturally parametrized if its action set is and . This class includes, in particular, all generalized linear model (GLM) loss functions, a class of loss functions that are convex in this natural parameter, which have also arisen in prior work on omniprediction [GHK], but the losses we consider need not be convex. We let be the class of naturally parametrized loss functions with bounded best responses and we let further require that is -Lipschitz. For examples of such loss functions, see Section 2.
Algorithm 3 differs from Algorithm 2 in a few ways. Now, at step , we split the domain by the level sets of , which is loss-independent, as opposed to splitting by the level sets of for some loss-dependent post-processing . It also outputs a randomized predictor derived from the entire sequence of iterates , rather than any particular chosen from the sequence. We also sometimes add additional noise. Theorem 1.4 below summarizes the various learning guarantees attained by Algorithm 3. We aim for omniprediction with respect to all suitably bounded naturally parametrized loss functions, with better rates when is Lipschitz. We also target the challenging “swap” versions of multicalibration, along with a novel “smooth swap” version. We defer the formal definitions of omniprediction and multicalibration to the next section.
Theorem 1.4. Algorithm 3 with a -conditional multiaccuracy oracle outputs a randomized predictor with any one of the learning guarantees listed below, for some appropriate choices of the algorithm's parameters , , and (the choices depend on the particular guarantee):
In each case, the predictor is also -multiaccurate. Omniprediction is with respect to or . If the oracle has failure probability , then Algorithm 3 has failure probability at most .
We prove Theorem 1.4 in Section 3, where we also prove certain quantitative improvements in the case of a single loss function (not necessarily ). We show in Section 4 that many of the rates in Theorem 1.4 are tight for our algorithm by constructing several specific hard inputs. We remark that omniprediction also has a challenging “swap” variant in the literature, which Theorem 1.4 does not explicitly attempt to achieve. However, it was shown in [GKR23] that swap omniprediction is equivalent up to a small change of parameters to swap multicalibration, which our algorithm indeed achieves.
Note that the addition of noise in Algorithm 3 may be effectively omitted by plugging in the identity function, which in particular is deterministic, for the noise function parameter .
In fact, if we only allow swapping of the function (but not the loss ), then we can achieve this with the same error rates as for the non-swap versions laid out in Theorem 1.4. Allowing swapping of both and incurs a larger error rate, owing to our larger error rate for swap multicalibration and the conversion to swap omniprediction.
1.3.1 Additional Definitions
We now formally define multicalibration [HKRR18, GKR23] and omniprediction [GKR ]. As discussed, multiaccuracy is a notion of indistinguishability, and multicalibration strengthens it by applying it to each level set of the predictor. When the class contains only constant functions, multicalibration collapses to the much older notion of calibration [Daw82]. In some cases, we allow a different distinguisher from to be applied to each level set, which we call swapping. In our proofs, the notion of smoothness will play a central role, which is why we present a new notion of smooth swap multicalibration alongside the existing notions. For a unified definition, we use the framework of sample-access outcome indistinguishability (OI) [DKR ].
Definition 1.5 (Multiaccuracy and Multicalibration [HKRR18, GKR23]). Given a function class , let be the class of all functions such that for every value . A predictor is -swap multicalibrated with respect to a distribution over labeled data points if for all ,
There are several special cases, depending on whether or not is -Lipschitz, meaning is -Lipschitz in for every , and whether or not factors, meaning for some and some . If (4) holds...
...when is 1-Lipschitz,
then is -smooth swap multicalibrated;
...when factors,
then is -multicalibrated;
...when is 1-Lipschitz and factors, then is -smooth multicalibrated;
...when ignores its first input, then is -multiaccurate.
We only consider base classes that contain the constant 1 function and are closed under negation and convex combinations. We omit the prefix “multi” when only contains the constant functions (e.g., -calibration instead of -multicalibration or -swap multicalibration, and -smooth calibration instead of -smooth multicalibration or -smooth swap multicalibration). When is a randomized predictor, the expectation in (4) is also taken over its internal randomness.
We remark that the definition of smooth swap multicalibration may be less intuitive than the others since it may be harder to imagine natural examples of functions that are Lipschitz but do not factor. For an example of where such functions naturally arise, one might consider the expected advantage of distinguishers that observe only an unbiased noisy estimate of , rather than the prediction itself.
We now turn our attention to loss minimization and omniprediction [GKR ], with an emphasis on naturally parametrized loss functions. While most parts of the following definition are standard in the literature, the smooth variant is new.
Definition 1.6 (Omnipredictor [GKR ]). Given a function class and a class of loss functions , a predictor is an -omnipredictor if for all and ,
If inequality (5) only holds when the function is 1-Lipschitz, then we instead say that is an -smooth omnipredictor.
By default, in this paper, refers to the class of naturally parametrized loss functions, meaning that , with -valued best responses . When this is clear from context, we simply say that is a -omnipredictor or -smooth omnipredictor.
1.4 Analysis Overview
In this section, we present the ideas behind the analysis of our main oracle reductions from agnostic learning (and beyond) to multiaccuracy. There are multiple ways to frame our arguments. The most natural approach is perhaps through the lens of online learning, even though we study the batch setting. To begin, let us consider the following simple game played repeatedly between two players, named the Predictor and Nature.
Definition 1.7 (Deterministic Online Prediction Game). At each time step ,
-
The Predictor selects and announces a prediction . We require to be a deterministic function of Nature's previous responses . We call the function the Predictor's strategy.
-
After seeing , Nature adaptively selects and announces its response .
Ultimately, the Predictor has one of two possible goals. The first possible goal of the Predictor is to minimize its external regret for a class of loss functions , which measures its excess loss incurred with respect to the best fixed action in hindsight:
As always, we focus on loss functions that are affine in their first input. We emphasize that both the Predictor's action and Nature's response are real values in the interval , rather than discrete values in .
The second possible goal for the Predictor is to minimize its calibration error with respect to a class of weight functions . Intuitively, online calibration asks that the error should be uncorrelated with . In the extreme, contains all functions, in which case -calibration requires that for a random time step . For a given weight class , we define the calibration error as
1.4.1 Multiaccuracy Oracle Reductions by Online Regret/Calibration
The fundamental observation of our work is that any efficiently computable online strategy for the Predictor with low regret can be converted into a computationally efficient oracle reduction from -omniprediction to -multiaccuracy. Similarly, if the Predictor's strategy achieves low online calibration error , then we can convert it into an efficient oracle reduction from -swap multicalibration (for weight functions in ) to -multiaccuracy.
Suppose we are given access to an oracle that takes as input a query predictor and produces a response that is multiaccurate on each level set of . Let us call this conditional multiaccuracy oracle repeatedly across time steps , where at each round we submit the following query, defined pointwise for each as
If the Predictor has regret , then applying this bound pointwise for each yields
Note that since the bound has been applied pointwise for each , we may choose a different fixed action for each on the right-hand side. Next, since is naturally parametrized, we have the special identity
This identity tells us that when the correlation of with is small, the action incurs similar loss on a real label as on a simulated label generated from . By -conditional multiaccuracy, we know that simulated labels generated from the model are indistinguishable from real labels by both the entire class and by any post-processing of in expectation over . Accordingly, we may replace with in inequality (6) whenever , which gives
This is exactly -omniprediction, not for any single predictor in the sequence, but rather for the randomized predictor that on input outputs for a freshly sampled time index . If the set contains a single convex loss , as is the case for agnostic learning, then this randomization is not even necessary, since we may simply output the average of the (post-processed) predictors in the sequence.
Similarly, if the Predictor has online calibration error , then we get the following pointwise bound, where is any function such that for all :
Once again, by applying -conditional multiaccuracy, we may replace with whenever for all values . This gives us either -swap multicalibration or -smooth swap multicalibration, depending on whether the class contains all possible bounded weight functions or just those bounded weight functions that are 1-Lipschitz:
1.4.2 Online Regret/Calibration by Following the Leader
At this point, all that remains is to determine which loss classes and which weight classes admit efficient strategies for the Predictor with low regret and calibration error. For this, we use a classic and extremely simple algorithm in online learning, known as Follow the Leader (FTL) (see [Han57, CBL06]). At each time step , this algorithm makes a prediction that would have been the best fixed response in hindsight to the rounds completed so far.
In this technical overview, we write for the overall conditional multiaccuracy error across level sets, suppressing the discretization and per-level set accounting. What we really mean is -conditional multiaccuracy, applied to splitting functions with level sets.
In order to analyze this algorithm, it is helpful to introduce two quantities, which we call the entropy and divergence, that can be defined for any loss function :
(entropy)
(divergence)
The entropy is a concave function measuring the irreducible or inherent loss when the true distribution is given by . The divergence is a nonnegative function measuring the excess loss of using a suboptimal action . The two parts of this decomposition of the loss into are sometimes called aleatoric uncertainty and epistemic uncertainty [AGG]. For example, has entropy . For more examples, see Section 2.
It turns out that FTL has regret if the loss function's entropy is smooth, which is roughly equivalent to the requirement that is Lipschitz. In fact, using a weighted variant of FTL, one can improve this to regret. For non-smooth entropy functions like , we use a smoothing trick based on the addition of a small amount of random noise to transfer our results from the smooth-entropy case. For more details, see the proof of our main upper bound in Section 3.
We show that, conveniently, the FTL update rule also works for online smooth calibration, which we again transfer to full calibration with a noise trick. To our knowledge, this use case of Follow the Leader was not previously known. Concretely, we fix and have the Predictor play
By modifying the proof of the familiar regret bound for Follow the Leader, we show that this algorithm achieves small smooth calibration error:
If , then the online error is . We emphasize that deterministic online algorithms for smooth calibration were previously known and that the rate is known to be achievable [FH18, QZ24, ACRS25] and in fact optimal [GKS26]. We choose to use Follow the Leader for its explicit and straightforward handling of real-valued responses from Nature, where previous results generally considered only discrete -valued responses.
1.4.3 Lower Bounds and Derandomization
All of our upper bounds based on Algorithms 2 and 3 make queries of granularity to a -conditional multiaccuracy oracle, which is in turn implemented using calls to an ordinary -multiaccuracy oracle. Although these reductions are efficient, they raise the question of whether the number of oracles calls can be improved further. In Section 4, we construct several instances of classes and distributions over pairs for which many calls to a conditional multiaccuracy oracle are required to achieve agnostic learning. Some of these instances are specific to our particular oracle algorithm, while others are not. For more detail, see the discussion in Section 4 and Lemmas 4.3 to 4.5.
In some cases, our oracle reduction outputs a randomized predictor, partly due to mixing across a sequence of predictors and partly due to explicit noise injection into the predictor's output. We
For cross-entropy loss, and are the usual notions of Shannon entropy and Kullback-Leibler (KL) divergence. More generally, for proper losses , is a Bregman divergence of , and when is naturally parametrized and convex, is the Fenchel-Young divergence of .
show in Section 5 that these predictors can be derandomized in certain cases, either by avoiding adding the noise to begin with (Theorem 5.2) or by fixing the random coin tosses in advance (Theorem 5.7).
1.5 Related Work
As discussed, the notion of agnostic learning dates back to the work of [Hau92, KSS94]. The related notion of weak agnostic learning, as well as techniques for agnostic boosting, play an important role in this literature [BDLM01, MM02, KMV08, KK09, Fel10]. In particular, these techniques arise in the proof of the complexity-theoretic regularity lemma, or equivalently, the construction of multiaccurate predictors, as discussed earlier [TTV09, HKRR18, KGZ19]. These works are also responsible for initiating the now quite substantial line of work on multicalibration. Especially relevant to us in this body of work are the notions of outcome indistinguishability [DKR+21] and omniprediction, which concerns the simultaneous optimization of multiple loss functions [GKR+22, GHK+23, DLLT23, GJRR24, LSS25, DHI+25, GT26, OKK25]. Besides their relevance to omniprediction and other machine learning tasks, multiaccuracy and multicalibration have recently seen a surprisingly rich collection of applications to complexity theory and cryptography [DLLT23, HLNR23, CDV24, MPV25, CGKR25, DT26].
Our work can be seen as the culmination of a line of research starting in [HKRR18, GKR+22], and continued in [GHK+23, GKR23, OKK25, DLLT23, CGKR25, CGK+26] that aims to understand the learning power implied by multigroup fairness notions of varying strength. For a fixed class , we know that multicalibration yields omniprediction [GKR+22, GKR23] for convex losses, while calibrated multiaccuracy yields agnostic learning [GHK+23, CGKR25], both via one-shot reductions that post-process the predictions. One-shot multiaccuracy is a much weaker learning primitive, that does not yield (even) weak agnostic learning [CGKR25]. With oracle access to multiaccuracy and adaptive queries over multiple rounds, we show that one recovers the full power of omniprediction and multicalibration. [GHN26] recently proposed a “feature-augmented” multicalibration algorithm that avoids discretization during boosting, which uses a squared-loss minimization oracle over an augmented concept class. A call to such an oracle is stronger than a call to the multiaccuracy oracle we assume, given that any function which beats random guessing in squared error already gives a weak agnostic learner [CGKR25].
Turing formulates the imitation game as a game between a machine and a human, where winning the game means convincing the distinguisher that you are the human [Tur50]. Turing considers the possibility that a machine might win the imitation game using a policy that is different from imitating the behavior of a human. He considers this unlikely, and proceeds by explicitly assuming that the best strategy is indeed imitation. Recent studies cast doubt on this assumption, by showing that LLMs are sometimes more likely to be labeled human than humans themselves, which suggests that imitation is not the best strategy [JB26]. However, the name imitation suggests that perhaps a revised goal of the imitation game ought to be indistinguishability, for which there is no better strategy than imitation. The underlying question of what learning goals imitation achieves is what drives our work.
Computational Complexity of Multiaccuracy. Our main result (Theorem 1.1) establishes that multiaccurate prediction and agnostic learning have essentially equivalent computational complexity in the fixed-distribution setting. One direction of this equivalence was established by [HKRR18], who showed that agnostic learning implies multiaccurate prediction via an efficient reduction. Our converse reduction shows that computational lower bounds for agnostic learning also apply to multiaccurate prediction.
This equivalence is particularly informative in the statistical query (SQ) model [Kea98], where the complexity of agnostic learning is closely connected to polynomial approximation. The seminal work of [KKMS08] showed that low-degree polynomial approximators under the underlying feature distribution yield efficient agnostic learning algorithms, extending the classical result of [LMN93] for the realizable (noise-free) setting. Conversely, [DSFT⁺15] established that polynomial approximation degree characterizes the SQ complexity of agnostic learning for a broad family of concept classes under the uniform distribution on the Boolean hypercube. This characterization was subsequently extended to Gaussian feature distributions by [DKPZ21]. Since our reduction can equally be implemented in the SQ framework, these characterizations now extend to multiaccurate prediction. For a short survey of quantitative bounds on the complexity of agnostic learning obtained by combining these characterizations with results from approximation theory, see, e.g., [Sta26, Appendix C].
1.6 AI Methodology
Some steps of this paper’s proofs were incrementally accrued through repeated rounds of interactive discussion between the authors and ChatGPT-5.6 Sol. The model suggested conditioning by level sets, which we do in Step 1, as well as preliminary versions of Step 2, and preliminary versions of the hard inputs constructed in Section 4. The model’s provided version of Step 2 initially had some issues: it required exponentially many oracle calls, was specific to the loss, and had a somewhat opaque proof using a mysterious potential function. With further prompting, the model was able to bypass the first issue. The authors addressed the second issue with the introduction of Step 3, which used tools from convex analysis to generalize the proof to loss functions besides and also achieve omniprediction and swap multicalibration. The authors addressed the third issue using a connection to online learning, which significantly shortened, simplified, and modularized the proof. Similarly, the authors simplified and clarified the examples used in Section 4, the model’s versions of which were more complicated than necessary (e.g. three-dimensional instead of two-dimensional).
Acknowledgements. KS would like to thank Arsen Vasilyan for useful discussions regarding the derandomization procedure presented in Section 5.2.
2 Preliminaries
Throughout this paper, we write variables in boldface to indicate that they are random variables, such as a random feature vector or a randomized predictor . We use the abbreviations and .
Definition 2.1 (Convexity). A function is convex if
for all and . We say that is a subderivative of if
for all . Similarly, we say that is concave and that is a superderivative of .
Definition 2.2 (Bregman Divergence). Given a convex function and subderivative , let
Note that is -smooth if and only if . If is a concave function, we sometimes write instead of when the meaning is clear from context.
Definition 2.3 (Conjugacy). The convex conjugate of a function is
It is known that the biconjugate is the greatest convex lower-semicontinuous lower bound on .
Definition 2.4 (Loss Function Miscellany). Given a loss function , let
(expected loss)
(best response)
(entropy)
(divergence)
Example 2.5 (Entropy Functions).
• (Absolute Loss) The loss has a piecewise linear entropy
• (Squared Loss) The loss has a quadratic entropy
Also, is squared distance.
• (Logistic Loss) The loss has (rescaled) Shannon entropy
Definition 2.6 (Proper Loss [McC56, Sav71]). A loss function is proper if and
for all . Equivalently, there is some superderivative of such that
Equivalently, is a Bregman divergence of . Equivalently, .
Definition 2.7 (Natural Parametrization). We let be the class of loss functions with and and -bounded best responses for all . We let further require to be -Lipschitz in .
Classically, Bregman divergences are only defined for differentiable convex functions. Our extension beyond differentiable convex functions is quite natural, as long as one bears in mind that the notation obscures the fact that the definition depends not only on f but also on the choice of a particular subderivative of f at each point.
Example 2.8 (Natural Parametrization Examples).
- (Absolute Loss) If we define for , then for , we have
This can be extended to all as follows:
This extension is naturally parametrized and has as a -valued best-response (note that may be defined arbitrarily).
- (Squared Loss) If we define for , then
This is naturally parametrized with as a -valued best response.
- (Logistic Loss) If we define for , then
This is naturally parametrized with best-response , which can be made -valued by modifying to instead be linear with slope for and linear with slope for .
Definition 2.9 (Calibration Error [Daw85, GKSZ22]). Given a class of weight functions , the weight-restricted calibration error of a predictor with respect to (and a distribution over labeled data points ) is
When contains only the identity function, we instead write , called degree-2 calibration error. When contains all 1-Lipschitz functions, we instead write , called smooth calibration error. When contains all functions, we instead write , called expected calibration error.
Definition 2.10 (Pseudodimension [Hau92]). The pseudodimension of a class is the VC dimension of the following class over the domain :
3 Upper Bounds
In this section, we analyze our main oracle reduction from agnostic learning to multiaccuracy. As discussed, our reduction also achieves several nominally stronger guarantees, such as (swap) omniprediction and (swap) multicalibration, in one fell swoop. We follow the template outlined in the technical overview in Section 1.4.
3.1 Reweighting and Conditioning
As described in the introduction, the first step of the reduction, described in Algorithm 1, allows us to transform a multiaccuracy oracle for the feature distribution into a conditional multiaccuracy oracle with respect to an arbitrary function . Theorem 1.2 states the guarantee for this step of the algorithm. To prove it, we first prove the following, slightly more general theorem.
Theorem 3.1. Algorithm 1 with a -multiaccuracy oracle and outputs satisfying
If the oracle has failure probability , then Algorithm 1 has failure probability at most .
Proof. At each step , the -multiaccuracy oracle returns satisfying
In particular, for any fixed and for every , we have,
Let . Taking the average of the above inequality over all time steps causes the second term on the left-hand side to telescope. This gives
Likewise, using Eq. (7) in the other direction, we can conclude that for any ,
As Eqns. (8) and (9) apply to each , rearranging the terms and using the triangle inequality, we conclude that
□
Proof of Theorem 1.2. Apply Theorem 3.1 to each for each .
3.2 Achieving Agnostic Learning
We now analyze our reduction from agnostic learning to (conditional) multiaccuracy, described in Algorithm 2. As explained in the technical overview, the key tools that we use are the bounds on the online regret and online calibration error of Follow the Leader. We also use some smoothing tricks along the way. We defer these helper lemmas on FTL and smoothing to Section 3.4. We actually prove the following, stronger version of Theorem 1.3, which handles not just loss but any particular naturally parametrized loss satisfying mild conditions:
Theorem 3.2. If is naturally parametrized and convex in its second argument with an -bounded and -Lipschitz best response function , then Algorithm 2 with a -conditional multiaccuracy oracle, the function , grid size , and outputs satisfying
Even if is not -Lipschitz, a modified choice of f and slightly longer sequence of calls suffice to achieve the inequality above. In both cases, if the oracle has failure probability , then Algorithm 2 has failure probability at most .
In the statement of Theorem 3.2, we also assumed that the loss function is convex, but we emphasize that this is only for simplicity. The two real assumptions are (1) natural parametrization and (2) bounded best responses. If the loss function satisfies these two assumptions but is nonconvex, the error rates in Theorem 3.2 still hold verbatim, but for a modified version of the algorithm that replaces the final averaging over iterates with a random mixture over and additional random noise (hence, the modified algorithm for a nonconvex loss outputs a randomized predictor). This will be apparent from the following proof.
Proof of Theorems 1.3 and 3.2. Let be a random time index with . Let and denote, respectively, the queries to and responses from the conditional multiaccuracy oracle in Algorithm 2. Suppose first that is -Lipschitz and set . By Lemmas 3.4 and 3.5, with linear weights , we have the following regret bound, which holds pointwise for all :
Next, we apply indistinguishability, as described in the technical overview. Indeed, since is naturally parametrized, we have . Therefore, on the left-hand side, where the predictor is , we may replace with by multiaccuracy conditional on while introducing error .⁸ On the right-hand side, we may similarly replace with whenever while introducing error . Ultimately, these substitutions yield
In the special case that , the error terms on the right-hand side are when we set and . Otherwise, we apply Lemma 3.8 to obtain an approximation of for which is -Lipschitz. Letting and applying the approximation guarantee from Lemma 3.8,
The error terms on the right-hand side are when we set and .
Finally, suppose in addition that is convex in its second input. Then, in the smooth case, Jensen's inequality allows us to move the expectation over as follows:
Similarly, in the nonsmooth case, Jensen's inequality allows us to move both the expectation over t and the expectation over the random noise:
3.3 Achieving Omniprediction and Multicalibration
Finally, we show how to go beyond agnostic learning to (smooth) omniprediction and (smooth) swap multicalibration, as described in Algorithm 3, while still only accessing the data distribution through a multiaccuracy oracle. The proof of Theorem 1.4, which analyzes Algorithm 3, follows roughly the same template as the previous proof, with a few additional steps.
Recall that denotes rounding to multiples of .
Proof of Theorem 1.4 (Omniprediction). As in the preceding proof, let be a random time index with , let and denote the queries to and responses from the oracle, and suppose that is -Lipschitz. (As usual, we also assume that is naturally parametrized and that is -valued.) As in the previous proof, we apply Lemmas 3.4 and 3.5 pointwise, which gives the following regret bound for linear weights :
Next, we apply indistinguishability as in the previous proof, but with some slight modifications. Once again, since is naturally parametrized, we have . Therefore, on the left-hand side, where the predictor is , we may replace with by multiaccuracy conditional on the (loss-independent) quantity while introducing error . Here, we have used the fact that is -Lipschitz. On the right-hand side, we may similarly replace with while introducing error whenever . Ultimately, these substitutions yield
In the special case that , the error terms on the right-hand side are when we set and . Otherwise, we apply Lemma 3.8 to obtain an approximation of for which is -Lipschitz. Applying the approximation guarantee from Lemma 3.8,
The error terms on the right-hand side are all when we set and and . Since the loss function was arbitrary and no step of the algorithm depended on its choice, we conclude that Algorithm 3 achieves omniprediction.
Proof of Theorem 1.4 (Multicalibration). Departing slightly from the previous proof, let be uniform and let and denote the queries to and responses from the oracle with geometrically increasing weights for . By Lemma 3.7, our online calibration error bound, we have the following inequality for all whenever the weight function is -Lipschitz:
By applying the same indistinguishability argument as in the preceding two proofs, we see that for all such that is -Lipschitz for all and for all ,
Once again, note that there is an term that arises because we round to multiples of before calling the conditional multiaccuracy oracle.
In the case of smooth swap multicalibration, where , the error terms on the right-hand side are when we set and . For (full) swap multicalibration, we apply Lemma 3.9, which uses the noise operator to mimic the effect of smoothing an initially nonsmooth weight function. Substituting , the lemma implies that
The error terms on the right-hand side are when we set , , and .
3.4 Deferred Lemmas on FTL and Smoothing
We now state the various helper lemmas that we used in the preceding sections. Some of these lemmas are essentially standard results in the literature with known proofs, but others are genuinely new. We defer all proofs to Appendix A.
We begin with a helpful lemma relating the entropy function and best-response function of a given loss function . In particular, the lemma will imply that Lipschitzness of implies smoothness of . To state the lemma, recall that for a given loss function , we define its associated entropy to be the concave function and its divergence to be the nonnegative function .
Lemma 3.3. If is a best-response function of , then is a superderivative of and
where denotes the Bregman divergence from to with respect to (Definition 2.2).
Next, we present the standard regret bound for Follow the Leader. As described in the technical overview, Follow the Leader is an online algorithm which, at time t, performs the best action in hindsight for the t-1 previous time steps. The regret bound is folklore in the literature, but since it is usually stated with rather different notation, we include a self-contained proof in our context for the reader's convenience.
Lemma 3.4 (Follow the Leader's Regret). Given a loss function , weights , distribution means , define the prefix sums and weighted averages (let ). In this setting, Follow the Leader, which in round plays the best response in hindsight to the first rounds, achieves the following regret bound:
While Lemma 3.4 gives a clean exact expression for the regret, there is no reason to believe that this regret is small a priori. The following lemma, which is also more or less standard up to changes in notation, outlines an important special case where this regret can be bounded.
Lemma 3.5. In the setting of Lemma 3.4, if is -Lipschitz, then the regret satisfies
The preceding lemma bounded the regret of Follow the Leader in terms of a sum depending on the chosen weights . The next technical lemma shows that this bound is indeed small for many choices of the weights, such as uniform weights , linearly increasing weights , and geometrically increasing weights with for all . In each case, we normalize the weights so that they sum to . To our knowledge, the lemma is new, but nevertheless quite straightforward.
Lemma 3.6 (Step Sizes). Given , let and . Then,
• (Uniform) If for all , then .
• (Linear) If for all , then .
• (Geometric) If for , then .
Now, we shift our attention to the online smooth calibration error of Follow the Leader, as opposed to its regret for a given loss function. As discussed, deterministic online algorithms for smooth calibration were previously known, but to our knowledge, the fact that such a simple algorithm as Follow the Leader achieves this goal was not previously known. The following lemma uses geometrically increasing weights.
Lemma 3.7 (Follow the Leader's Calibration Error). Given a -Lipschitz function and distribution means , define the weighted Follow the Leader iterates , , , and for . Then, we have the following online calibration bound:
Next, we prove some useful smoothing lemmas, which will allow us to transfer results for smooth omniprediction to full omniprediction, and similarly transfer results for smooth multicalibration to full multicalibration. This is relevant, in particular, for loss's non-Lipschitz best response, needed for our main result on agnostic learning.
For loss minimization, the smoothing operation that we study can be viewed in two equivalent ways: either as a Lipschitz approximation to the best-response function or as a small addition of noise to the prediction itself. While the former view has the advantage of being deterministic, the second is more convenient for omniprediction since it is not specific to the loss under consideration.
Lemma 3.8 (Loss Smoothing). Let be a naturally parametrized loss function with a -valued best-response function . Then, for all , there exists a naturally parametrized loss function with the following two properties:
• (Smoothness) The best response function is -valued and -Lipschitz.
• (Approximation) For all and ,
Also, for all ,
Concretely, and are derived from and by the formula
Here, is the (randomized) noise function that randomly rounds its input either up or down to the nearest multiple of while preserving its input's value in expectation.
For example, starting from the loss with best response function the smoothing lemma constructs a modified loss whose best response function is . If we use the convention , then this is precisely the piecewise linear function defined in the introduction, which agrees with when and increases linearly from -1 to +1 over the interval .
Finally, we state our lemma for smoothing calibration weight functions by adding random noise. This lemma is essentially known in the recent literature [BN24, HWY25, GSTT26], but for slightly different noise functions than the one we consider. Our chosen noise function, which we denote by , has the advantage of keeping the predictions discrete-valued in a grid over the interval .
Lemma 3.9 (Weight Smoothing). Suppose that has calibration error for weight functions that are -valued and -Lipschitz in their first input, meaning that
Then, has calibration error for arbitrary -valued weights .
4 Lower Bounds
In this section, we give examples showing that the number of calls that we make to the conditional multiaccuracy oracle is essentially tight in several important cases. We emphasize that our lower bounds are on the number of calls to a conditional multiaccuracy oracle. Proving lower bounds on the required number of calls to the underlying multiaccuracy oracle, as opposed to the conditional multiaccuracy gadget, is an interesting direction for future work.
4.1 Lower Bounds for Omniprediction
We start by showing via the guiding example from Section 1.2 that the upper bound for smooth omniprediction and the upper bound for (full) omniprediction are both tight up to constant factors. As our argument will show, they are tight not only for our specific algorithm, but also for any algorithm whose queries and final output are restricted to be pointwise functions of the oracle responses of a conditional multiaccuracy oracle. In fact, this example rules out improvements even for and loss minimization, which are clearly prerequisites for smooth omniprediction and (full) omniprediction, respectively.
Theorem 4.1 (Large ). Consider the class of algorithms with access to a conditional multiaccuracy oracle, whose queries and final output are restricted to be pointwise functions of the oracle responses received so far. Among such algorithms, queries are required to achieve -approximate loss minimization, and queries instead for loss.
Proof. Recall the guiding example in Section 1.2, where the data distribution consists of uniform -bit features for odd , and binary labels , while is the class of symmetric functions , which are invariant under permutations of the input bits. The predictors for are each independent of , and moreover the same is true for any post-processing function used to combine these predictors:
The loss of any function of is 1 since
On the other hand, the Majority function Maj, which is clearly symmetric, achieves correlation . Using the standard fact that its degree-1 Fourier coefficients are all ,
Unless , the gap between the loss suffered by and exceeds .
Since we assume is odd, is well-defined.
We now consider the loss, which can be bounded for any as
The optimal symmetric function is , which is perfectly calibrated and whose sign is Majority. Computing its loss, we see that
Unless , the gap between the loss suffered by and exceeds .
4.2 Lower Bounds for Multicalibration
What remains is to show that our upper bound for smooth swap multicalibration and upper bound for (full) swap multicalibration are also tight up to constant factors. In fact, our examples will rule out improvements even for smooth calibration and (full) calibration, where there is effectively no class . As a bonus, we will also show that the randomization over iterates performed at the end of Algorithm 3 is necessary, in the sense that there may not exist any particular iterate, besides the initial 0 predictor, that is smoothly calibrated. We emphasize that the following lower bounds, unlike Theorem 4.1, are quite specific to our specific oracle algorithm, Algorithm 3.
To state our various results, it will be helpful to define the notion of a valid sequence of queries to a conditional multiaccuracy oracle. These are query sequences that could have arisen over the course of Algorithm 3 for some underlying data distribution and some adversarially chosen sequence of oracle responses. The hard problem instances that we construct do not assume the class contains any functions besides the constant functions, nor do they assume that any error, such as statistical or rounding error, is present in the oracle responses. We will, however, place a restriction on the types of queries submitted to the oracle; we require these to be weighted averages of the previous responses with coefficients determined in advance by a constant step size . This restriction was not needed for Theorem 4.1.
Definition 4.2 (Valid Query Sequence). A sequence of query predictors is valid for if there exists a distribution over pairs and a sequence of response predictors such that the following conditions hold for all :
• (Update Rule) if and for , then
• (Conditional Accuracy in Expectation)
We use the convention .
In the previous section, the first query was , but in this section, it will be cleaner to use zero-based indexing of the queries with the initialization .
Our first two results of this section, Lemmas 4.3 and 4.4, state that there exist long valid sequences with large calibration error. By “large,” we mean greater than , and by “long,” we mean for degree-2 calibration or for (full) calibration. These lemmas show that our upper bound for smooth swap multicalibration and upper bound for (full) swap multicalibration are tight. We defer all further proofs in this section to Appendix B.
Lemma 4.3 (Large CE). For all and , there exist valid for such that
In fact, we have the stronger lower bound , which also holds for the degree-2 calibration error of any randomized predictor defined as a random mixture of composed with additional unbiased random noise .
Lemma 4.4 (Large ECE). For all and , there exist valid for such that
In fact, we have the stronger lower bound , which also holds for the expected calibration error of any randomized predictor defined as a random mixture of composed with additional unbiased random noise .
Our next result, Lemma 4.5, shows that the random mixture over time steps at the end of Algorithm 3 is necessary, in the sense that one cannot hope to simply output a single, deterministic iterate from the sequence. Crucially, the hard instances that we construct apply when there are multiple weight functions of interest. This is not a coincidence. As we saw in Section 3 and will discuss further in Section 5.1, when there is only one weight function or loss function of interest (e.g. agnostic learning) Algorithm 3 can indeed be modified to output a single iterate , possibly with additional noise and post-processing.
Lemma 4.5 (Smooth Calibration Tradeoff). For all , there exist valid such that
for two different 1-Lipschitz and -valued weight functions .
Although we defer the proofs of Lemmas 4.3 to 4.5 to Appendix B, we sketch the main ideas here.
The results all rely on a certain simple family of predictors, which we will use for the Bayes-optimal , the queries , and the responses . In this family, the feature space is , the sphere of radius centered at , and each defines a predictor
This predictor is -valued as long as . For clarity of presentation, our examples will sometimes involve vectors with norm greater than , but still . We keep in mind that these vectors must eventually be scaled down to have norm at most , but this scaling will not affect any of our results since all our examples use . Intuitively, the sequences that we construct will resemble circular or oscillating paths in the plane.
There are a few key properties of these predictors that we use repeatedly. They pertain to expectations of products, conditional expectations, and expected absolute values. We state the properties for arbitrary dimensions , but to reiterate, we only really need the case .
Lemma 4.6. Fix and sample . Then for all with ,
In particular, if and only if . Also,
where is a constant depending only on n, and not the direction of b.
The first key observation is that in the linear predictor family, degree-2 calibration error measures the squared distance to the point . Indeed, by Lemma 4.6, for any ,
In other words, if and a sequence of points lies entirely on a circle centered at the point , then the sequence has constant degree-2 calibration error (in dimensions, this set becomes a sphere). For a non-zero prediction vector, Lemma 4.6 implies a similar formula for expected calibration error:
Here, is the constant from Lemma 4.6. In particular, for the family of predictors under consideration, degree-2 and expected calibration error essentially differ by a factor of :
For the zero predictor, both calibration errors are zero. We also have the general relationship , which is not specific to the linear families under consideration. For the remaining details of the constructions, see Appendix B.
5 Derandomization
In several cases, our learning algorithms output randomized predictors , which may output different values in on the same input when invoked multiple times. In practice, this trait is arguably undesirable, raising the question of whether these predictors can be derandomized while retaining their various learning guarantees. In this section, we study several cases where this derandomization can indeed be performed.
We already saw that our algorithm does not require randomness to achieve loss minimization with respect to any single loss function with Lipschitz . Next, in Section 5.1, we similarly show that our algorithm can achieve calibration with respect to any single Lipschitz weight function without introducing unnecessary randomness. To this end, we first use the weight function (i.e., degree-2 calibration ) as a case study, to convey the intuition behind the proof, and then state the derandomization result for the more general case of -Lipschitz weight functions . Next, in Section 5.2, we give a recipe for derandomizing a predictor in a black-box fashion while maintaining a wide range of other learning guarantees.
5.1 Degree-2 Calibration
Suppose throughout that the query-response pairs satisfy (i.e., they satisfy the conditional accuracy in expectation condition from Definition 4.2). Recall that the geometric update is defined as
where . In this subsection only, we ignore oracle approximation and prediction-rounding errors for simplicity, and work with exact conditional accuracy.
At each step , we denote the degree-2 calibration error by . Our goal is to show that every sufficiently long consecutive sequence of query predictors contains at least one (deterministic) predictor whose absolute degree-2 calibration error satisfies , and hence is degree-2 calibrated with error parameter .
The proof proceeds in two steps:
-
Consecutive violations are close (Claim 5.1). Per the geometric update, each successive update changes the query predictor by at most , i.e., . Since the degree-2 calibration violation is Lipschitz in the prediction (specifically, the map is 3-Lipschitz), we can translate the closeness between successive updates to closeness between successive errors. This means that consecutive violations cannot switch from substantially positive to substantially negative (or vice versa) without passing through the approximately calibrated region .
-
Telescoping bounds the average signed violation (Theorem 5.2). Summing the identity in Lemma 5.3 over consecutive rounds and telescoping gives
Under the step size and sequence length assumption in Theorem 5.2, the RHS is upper-bounded by . This alone does not imply that any one violation is small. However, Claim 5.1 is what excludes this possibility. Indeed, suppose that for every round in these consecutive rounds. By Claim 5.1, consecutive violations cannot jump across the approximately calibrated region. Since none lies inside that region, then they must all either satisfy or all satisfy . Their average would likewise also be greater than or less than , respectively. In either case,
which contradicts the initial telescoping inequality.
Note that it is not necessarily true that the absolute violation decreases at every round. What we show is that the query predictors cannot all have large absolute violation for too many consecutive rounds.
The first step of the proof can be formally stated as follows:
Claim 5.1. For all , .
The proof of this claim follows from Lemma 7.4 in [BGHN23], adapted to the range of our predictors. The proof requires expanding the expression point-wise, factoring out the term, and using the fact that all of output values in .
Next, we use a potential-based argument to show that in any long-enough sequence of iterates , at least one of the predictors is -degree-2 calibrated. Formally:
Theorem 5.2. Fix and assume . Suppose that are a valid sequence of query-response pairs that satisfy the geometric update rule. Let be any starting round. If , then there exists such that
Equivalently, no consecutive block of more than iterates can remain entirely outside the -degree-2 calibration region.
To prove this theorem, we use an appropriate potential function, defined using the values. Before proving Theorem 5.2, we define and prove a key identity of this potential function:
Lemma 5.3. Let . Then,
where is defined in the geometric update and .
Proof. By the query-response pairs property, it follows that
since on each level set of (on which is, by definition, constant), the residual has mean equal to 0. Therefore, . By adding and subtracting , we have:
Pointwise, by expanding and applying the geometric update definition, we have that
By taking expectations and using the fact that , it follows that
as we wanted to show.
Summing the identity in Lemma 5.3 over consecutive rounds and re-arranging gives
Since the potential takes values between zero and one, and each squared difference is at most four, taking absolute values yields
which is the expression we used in the proof intuition at the beginning of Section 5.1.
With this lemma in hand, we now prove Theorem 5.2:
Proof of Theorem 5.2. Suppose toward contradiction that
By Claim 5.1,
Therefore, the values in equation (13) cannot change sign. Indeed, moving from a value greater than to a value smaller than would require a change strictly larger than . Consequently, either
or
Suppose first that equation (14) holds. By Lemma 5.3, . Summing over gives . Given that by assumption , it follows that the right-hand side is greater than 2. This is impossible because , and hence .
Suppose instead that equation (15) holds. Since , Lemma 5.3 implies that
since . Summing over gives . We again reach a contradiction, since implies that the left-hand side is smaller than , which is impossible since , and hence .
Hence equation (13) cannot hold, proving that at least one of the predictors for some is -degree-2 calibrated.
5.1.1 Generalization to Fixed w-Calibration
Beyond 2-calibration error, for a weight function , define the w-calibration violation of the query predictor at round t by
In particular, taking recovers the degree-2 calibration definition.
We generalize our derandomization result of the degree-2 calibration case (Theorem 5.2) to a general L-Lipschitz weight function w:
Theorem 5.4. Let be any starting round and let be -Lipschitz. Suppose that are a valid sequence of query-response pairs that satisfy the geometric update rule. Fix and assume and . Then there exists a fixed such that
The proof is very similar to the case of degree-2 calibration: we use the same geometric update and exact conditional-accuracy assumption as in the degree-2 case. For this reason, we defer the formal proofs to the appendix.
The proof of Theorem 5.4 then follows the same two steps:
-
Consecutive violations are close (Lemma C.1). The geometric update is unchanged, so consecutive query predictions still differ by at most 2λ. What changes is the Lipschitz constant: the map is now Lipschitz with constant . Consequently, . Hence if is small enough relative to , consecutive violations cannot jump across the approximately calibrated region .
-
Telescoping bounds the average signed violation (Theorem 5.4). The same argument as with the degree-2 calibration case holds, this time with the telescoping expression
Under the step size and sequence length assumption in Theorem 5.4, the RHS is upper-bounded by .
5.2 General Derandomization
We will now provide a general and simple recipe for derandomizing a randomized predictor. The main idea is to partition the space into sets of sufficiently small mass and fix, for each piece, an independent predictor drawn from the original distribution over predictors. Similar ideas have appeared in prior work in different contexts (see, e.g., [LV25, NR26]), but we provide all the relevant statements and proofs here for completeness. The proof is based on a simple Hoeffding bound.
The proposed derandomization procedure requires the existence of a partition of the feature space into low-mass regions. This assumption is captured by the following definition.
Definition 5.5 (Partition Function). Let be a distribution over and let be measurable and total, where . We say that is a -partition function with respect to if the following inequality holds for all :
Given a sufficiently refined partition function, we use the following simple, black-box derandomization procedure.
Definition 5.6 (Piecewise Derandomization). Let be a -partition function with respect to a distribution over , and let be a randomized predictor, i.e., a random variable over the space of functions mapping to . The -piecewise derandomization of is the following randomized procedure that outputs a deterministic predictor .
-
For each , let be an independent copy of .
-
Let , where is a realization of .
Our main derandomization result states that the piecewise derandomization procedure defined above yields with high probability a predictor that fools any fixed and bounded function , in expectation over . The corresponding accuracy scales polynomially with the refinement of the partition function.
Theorem 5.7. Let , let and let be a -partition function with respect to the distribution over . Let be any randomized predictor. Then, the -piecewise derandomization of satisfies the following with probability at least :
Proof. We view as a random variable depending on the realization of during the derandomization procedure. Accordingly, we also define the random variable as follows:
We will show that with probability at least over the random choice of , we have , as desired. To this end, we decompose the terms of the difference as follows:
Observe that each of the terms in the first equation is a random variable whose expectation with respect to equals the corresponding term of the second equation. In particular:
Moreover, we have that with probability 1 over the choice of , due to the definition of function , and the bound on the values of . As a consequence, we have that almost surely for values satisfying
The result follows due to a standard Hoeffding bound, by additionally observing that the random variables are independent, by the definition of .
Constructing the Partition Function We have shown that it is possible to derandomize any predictor with respect to any fixed target measure and function , provided that there exists a -partition function with respect to . In Appendix D, we show that a partition function can be efficiently constructed with sample access to essentially whenever does not have point masses larger than . We call such distributions -divisible.
Example 5.8. Any distribution over that admits a density is -divisible for any and a -partition function can be constructed with probability at least in time and using samples from . The same is true for any discrete distribution over that does not assign mass more than to any singleton.
Applications We will now show that our main results on smooth swap multicalibration and smooth omniprediction (see Theorem 1.4) can be derandomized in a black-box way, as long as is -divisible for some appropriate .
Remark 5.9. Note that the divisibility assumption is almost without loss of generality: If had heavy atoms , then we would be able to compute accurate estimates of the Bayes-optimal values using poly samples, and apply our main algorithm on the truncation of that does not have heavy atoms. Note that this requires labeled samples (not just unlabeled) and changes the marginal distribution over features, but any reweighting such as this one is already addressed by the very first step of our algorithm.
The idea is to view the aforementioned guarantees from Theorem 1.4 as bounds on quantities of the form:
where the function family can be represented by a sparse subset of small cardinality. Therefore, it suffices to fool only the members of the family , and the result follows by combining Theorem 5.7 with a union bound.
We now define the notion of sparsification that suffices for our purposes.
Definition 5.10. Let be a collection of functions of the form . We say that is -sparsifiable with respect to a distribution over if there is a set with cardinality such that for all , there exists such that
Application I: Smooth Swap Multicalibration We first focus on smooth swap multicalibration, where the class is assumed to have bounded pseudodimension (see Definition 2.10).
Lemma 5.11 (Sparsifying Smooth Swap Multicalibration Witnesses). Let have pseudo-dimension , and let be the class of functions
where for every and is -Lipschitz for every for some . Then, for every distribution over and every , the class is -sparsifiable with respect to , where
Proof. Let denote the -marginal of . Choose a grid in such that every is within of some grid point, where . By the standard pseudo-dimension covering bound (see, e.g., [Hau92]), has an -cover of radius and size at most .
Associate with every the tuple of cover elements approximating , and retain one representative for every realized tuple. The number of retained representatives is bounded by the size of the net corresponding to each coordinate, raised to the number of coordinates . Therefore, it is at most
If and have the same tuple, then
for every predictor . Since , it follows that
Taking the supremum over proves the result.
We are ready to provide a derandomization result for smooth swap multicalibration.
Corollary 5.12 (Derandomizing Smooth Swap Multicalibration). Let have pseudo-dimension , and suppose that is -smooth swap multicalibrated with respect to . There is a universal constant such that, for any , if is -divisible, then the piecewise derandomization obtained from a -partition function is -smooth swap multicalibrated with probability at least . Moreover, can be constructed using unlabeled samples from .
Proof. Apply Lemma 5.11 with accuracy to obtain a sparsifying set of size:
Conditional on being a -partition function, the partition-function concentration bound (Theorem 5.7) and a union bound over show that the expectations of all its functions change by at most under derandomization. Sparsifiability extends the guarantee to every smooth swap witness, at an additional error of at most . The guarantee for therefore transfers to . Finally, the construction of the partition function succeeds with probability at least ; a union bound completes the proof.
Application II: Smooth Omniprediction Next, we focus on smooth omniprediction, obtaining the following derandomization result.
Corollary 5.13 (Derandomizing Smooth Omniprediction). Let be an -omnipredictor with respect to , where . There is a universal constant such that, for any , if is -divisible, then the piecewise derandomization obtained from a -partition function is an -omnipredictor with probability at least . Moreover, can be constructed using unlabeled samples from .
As usual, our approach will be to express the guarantee we want to preserve after derandomization as a bound on a quantity of the following form:
where the set is sparsifiable. To this end, a first idea would be to choose . However, the class of loss functions we consider is not guaranteed to only contain Lipschitz losses and it is not clear whether is sparsifiable.
Instead, the guarantee we have is that the optimal response function is -Lipschitz. In the following lemma, we show that this suffices for our purposes, by showing that there is a choice of that preserves the omniprediction guarantee, and leads to a sparsifiable family .
Lemma 5.14 (Sparsifying loss functions for smooth omniprediction). Let be the class of naturally parametrized loss functions with a -bounded and -Lipschitz best response function . For , define
and let
Then, for every distribution over and every , the class is -sparsifiable with respect to , where
In fact, the same sparsifying set works simultaneously for every distribution .
Proof. For , let
Then and is -Lipschitz.
We first express in terms of . Fix . Since minimizes and minimizes , natural parametrization gives
and similarly
Therefore
Since is Lipschitz, hence continuous, it follows that
Equivalently, recall from Lemma 3.3 that , viewed as a function of v, is concave with superderivative , which in fact must be a derivative by -smoothness. Thus,
Using natural parametrization once more,
so
Also,
Hence
Consequently, for any ,
since and .
The class of -Lipschitz functions satisfying has an -cover of radius and size
Indeed, discretize at spacing and quantize function values at resolution . Since and is -Lipschitz, there are only possibilities for each successive quantized value, and there are grid points.
Partition the losses according to the closest cover element and retain one loss from every nonempty part. If is the representative of the part containing , then
and hence
Therefore, for every predictor ,
This proves the claim. Since the cover does not depend on , the same sparsifying set works simultaneously for every distribution .
We complete the proof of Corollary 5.13 by using Lemma 5.14.
Proof of Corollary 5.13. Apply Lemma 5.14 with accuracy to the centered postprocessed losses. The resulting sparsifying set has size
and each of its functions is bounded in absolute value by . The partition-function concentration bound (Theorem 5.7) and a union bound therefore show that, with probability at least conditional on being a -partition function, every function in the sparsifying set changes by at most under derandomization. By Lemma 5.14, this extends to every , so simultaneously for all such ,
Recalling that
we obtain
The centering term is the same on both sides, and therefore cancels:
Since is an -omnipredictor,
Combining the previous two inequalities gives
for every . Hence is an -omnipredictor.
Finally, by the partition-function construction lemma, can be constructed with probability at least using
unlabeled samples from . A union bound with the derandomization event above gives overall success probability at least .
References
[ACRS25] Eshwar Ram Arunachaleswaran, Natalie Collina, Aaron Roth, and Mirah Shi. An elementary predictor obtaining distance to calibration. In Yossi Azar and Debmalya Panigrahi, editors, Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2025, New Orleans, LA, USA, January 12-15, 2025, pages 1366–1370. SIAM, 2025.
[AGG+25] Gustaf Ahdritz, Aravind Gollakota, Parikshit Gopalan, Charlotte Peale, and Udi Wieder. Provable uncertainty decomposition via higher-order calibration. In The Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24-28, 2025. OpenReview.net, 2025.
[BDLM01] Shai Ben-David, Philip M Long, and Yishay Mansour. Agnostic boosting. In International Conference on Computational Learning Theory, pages 507–516. Springer, 2001.
[BGHN23] Jarosław Blasiok, Parikshit Gopalan, Lunjia Hu, and Preetum Nakkiran. A unifying theory of distance from calibration. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, pages 1727–1740, 2023.
[BN24] Jaroslaw Blasiok and Preetum Nakkiran. Smooth ECE: Principled reliability diagrams via kernel smoothing. In The Twelfth International Conference on Learning Representations (ICLR), 2024.
[CBL06] Nicolò Cesa-Bianchi and Gábor Lugosi. Prediction, learning, and games. Cambridge University Press, 2006.
[CDV24] Sílvia Casacuberta, Cynthia Dwork, and Salil Vadhan. Complexity-theoretic implications of multicalibration. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing (STOC), pages 1071–1082, 2024.
[CGK+26] Sílvia Casacuberta, Parikshit Gopalan, Varun Kanade, Omer Reingold, Konstantinos Stavropoulos, and Pranay Tankala. Multigroup fairness and omniprediction: Separations and equivalences. In The Annual Conference on Neural Information Processing Systems (NeurIPS'26), 2026.
[CGKR25] Sílvia Casacuberta, Parikshit Gopalan, Varun Kanade, and Omer Reingold. How global calibration strengthens multiaccuracy. In 2025 IEEE 66th Annual Symposium on Foundations of Computer Science (FOCS), pages 1198–1227. IEEE, 2025.
[Daw82] A. P. Dawid. Objective probability forecasts. University College London, Dept. of Statistical Science. Research Report 14, 1982.
[Daw85] A Philip Dawid. Calibration-based empirical probability. The Annals of Statistics, pages 1251–1274, 1985.
[DHI 25] Cynthia Dwork, Chris Hays, Nicole Immorlica, Juan C. Perdomo, and Pranay Tankala. From fairness to infinity: Outcome-indistinguishable (omni)prediction in evolving graphs. In The Thirty Eighth Annual Conference on Learning Theory (COLT), volume 291 of Proceedings of Machine Learning Research, pages 1564–1637. PMLR, 2025.
[DKPZ21] Ilias Diakonikolas, Daniel M Kane, Thanasis Pittas, and Nikos Zarifis. The optimality of polynomial regression for agnostic learning under gaussian marginals in the SQ model. In Proceedings of The 34 Conference on Learning Theory, COLT, pages 1552–1584. PMLR, 2021.
[DKR 21] Cynthia Dwork, Michael P. Kim, Omer Reingold, Guy N. Rothblum, and Gal Yona. Outcome indistinguishability. In ACM Symposium on Theory of Computing (STOC), 2021.
[DLLT23] Cynthia Dwork, Daniel Lee, Huijia Lin, and Pranay Tankala. From pseudorandomness to multi-group fairness and back. In The Thirty-Sixth Annual Conference on Learning Theory (COLT), volume 195 of Proceedings of Machine Learning Research, pages 3566–3614. PMLR, 2023.
[DSFT 15] Dana Dachman-Soled, Vitaly Feldman, Li-Yang Tan, Andrew Wan, and Karl Wimmer. Approximate resilience, monotonicity, and the complexity of agnostic learning. In Piotr Indyk, editor, Proceedings of the twenty-sixth annual ACM-SIAM symposium on Discrete algorithms, pages 498–511. SIAM, 2015.
[DT26] Cynthia Dwork and Pranay Tankala. Efficient and private property testing via indistinguishability. In Symposium on Foundations of Computer Science (FOCS). IEEE, 2026.
[Fel09] Vitaly Feldman. A complete characterization of statistical query learning with applications to evolvability. In 2009 50th Annual IEEE Symposium on Foundations of Computer Science, pages 375–384, 2009.
[Fel10] Vitaly Feldman. Distribution-specific agnostic boosting. In Innovations in Computer Science - ICS 2010, pages 241–250, 2010.
[FGR 17] Vitaly Feldman, Elena Grigorescu, Lev Reyzin, Santosh S Vempala, and Ying Xiao. Statistical algorithms and a lower bound for detecting planted cliques. Journal of the ACM (JACM), 64(2):1–37, 2017.
[FGV17] V. Feldman, C. Guzmán, and S. S. Vempala. Statistical query algorithms for mean vector estimation and stochastic convex optimization. In Philip N. Klein, editor, Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2017, pages 1265–1277. SIAM, 2017.
[FH18] Dean P. Foster and Sergiu Hart. Smooth calibration, leaky forecasts, finite recall, and Nash dynamics. Games Econ. Behav., 109:271–293, 2018.
[FK96] A. Frieze and R. Kannan. The regularity lemma and approximation schemes for dense problems. In Proceedings of 37th Conference on Foundations of Computer Science, pages 12–20, October 1996. ISSN: 0272-5428.
[GHK 23] Parikshit Gopalan, Lunjia Hu, Michael P. Kim, Omer Reingold, and Udi Wieder. Loss minimization through the lens of outcome indistinguishability. In Innovations in Theoretical Computer Science (ITCS), 2023.
[GHN26] Ira Globus-Harris and Inbal Livni Navon. Augmented feature boosting for multicalibration. arXiv preprint arXiv:2609.33891, 2026.
[GJRR24] Sumegha Garg, Christopher Jung, Omer Reingold, and Aaron Roth. Oracle efficient online multicalibration and omniprediction. In David P. Woodruff, editor, Proceedings of the 2024 ACM-SIAM Symposium on Discrete Algorithms, SODA 2024, Alexandria, VA, USA, January 7-10, 2024, pages 2725–2792. SIAM, 2024.
[GKR 22] Parikshit Gopalan, Adam Tauman Kalai, Omer Reingold, Vatsal Sharan, and Udi Wieder. Omnipredictors. In Innovations in Theoretical Computer Science (ITCS), 2022.
[GKR23] Parikshit Gopalan, Michael Kim, and Omer Reingold. Swap agnostic learning, or characterizing omniprediction via multicalibration. Advances in Neural Information Processing Systems, 36, 2023.
[GKS26] Parikshit Gopalan, Satyen Kale, and Spandan Senapati. Personal communication, 2026.
[GKSZ22] Parikshit Gopalan, Michael P. Kim, Mihir Singhal, and Shengjia Zhao. Low-degree multicalibration. In Conference on Learning Theory, 2-5 July 2022, London, UK, volume 178 of Proceedings of Machine Learning Research, pages 3193–3234. PMLR, 2022.
[GSTT26] Parikshit Gopalan, Konstantinos Stavropoulos, Kunal Talwar, and Pranay Tankala. The importance of being smoothly calibrated. In Huijia (Rachel) Lin, editor, 7th Symposium on Foundations of Responsible Computing, FORC 2026, Harvard University, Cambridge, MA, USA, June 3-5, 2026, volume 368 of LIPIcs, pages 21:1–21:22. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2026.
[GT26] Isaac Gibbs and Ryan J. Tibshirani. Sample-efficient omniprediction for proper losses. In Steve Hanneke and Tor Lattimore, editors, The Thirty Ninth Annual Conference on Learning Theory (COLT), volume 336 of Proceedings of Machine Learning Research, pages 2679–2719. PMLR, 2026.
[Han57] James Hannan. Approximation to Bayes risk in repeated play. In Melvin Dresher, A. W. Tucker, and Philip Wolfe, editors, Contributions to the Theory of Games, Volume III, number 39 in Annals of Mathematics Studies, pages 97–139. Princeton University Press, 1957.
[Hau92] David Haussler. Decision theoretic generalizations of the PAC model for neural net and other learning applications. Information and Computation, 100(1):78–150, 1992.
[HKRR18] Úrsula Hébert-Johnson, Michael P. Kim, Omer Reingold, and Guy N. Rothblum. Multicalibration: Calibration for the (computationally-identifiable) masses. In Proceedings of the 35th International Conference on Machine Learning (ICML), pages 1939–1948. PMLR, 2018.
[HLNR23] Lunjia Hu, Inbal Rachel Livni Navon, and Omer Reingold. Generative models of huge objects. In 38th Computational Complexity Conference (CCC 2023), volume 264 of Leibniz International Proceedings in Informatics (LIPIcs), pages 5:1–5:20, 2023.
[HWY25] Jason D. Hartline, Yifan Wu, and Yunran Yang. Smooth calibration and decision making. In 6th Symposium on Foundations of Responsible Computing, FORC 2025, volume 329 of LIPIcs, pages 16:1–16:26, 2025.
[JB26] Cameron R. Jones and Benjamin K. Bergen. Large language models pass a standard three-party Turing test. Proceedings of the National Academy of Sciences, 123(21):e2524472123, 2026.
[Kea98] Michael Kearns. Efficient noise-tolerant learning from statistical queries. J. ACM, 45(6):983–1006, November 1998.
[KGZ19] Michael P. Kim, Amirata Ghorbani, and James Zou. Multiaccuracy: Black-box post-processing for fairness in classification. In Proceedings of the 2019 AAAI/ACM Conference on AI, Ethics, and Society, pages 247–254, 2019.
[KK09] Adam Kalai and Varun Kanade. Potential-based agnostic boosting. In Advances in Neural Information Processing Systems, volume 22. Curran Associates, Inc., 2009.
[KKMS08] Adam Tauman Kalai, Adam R. Klivans, Yishay Mansour, and Rocco A. Servedio. Agnostically learning halfspaces. SIAM J. Comput., 37(6):1777–1805, 2008.
[KMV08] Adam Tauman Kalai, Yishay Mansour, and Elad Verbin. On agnostic boosting and parity learning. In Proceedings of the 40th Annual ACM Symposium on Theory of Computing, pages 629–638. ACM, 2008.
[KSS94] Michael J Kearns, Robert E Schapire, and Linda M Sellie. Toward efficient agnostic learning. Machine Learning, 17(2):115–141, 1994.
[KZ20] Andrey Kupavskii and Nikita Zhivotovskiy. When are epsilon-nets small? Journal of Computer and System Sciences, 110:22–36, 2020.
[LMN93] Nathan Linial, Yishay Mansour, and Noam Nisan. Constant depth circuits, Fourier transform, and learnability. Journal of the ACM (JACM), 40(3):607–620, July 1993.
[LSS25] Haipeng Luo, Spandan Senapati, and Vatsal Sharan. Improved bounds for swap multicalibration and swap omniprediction. arXiv preprint arXiv:2505.20885, 2025.
[LV25] Jane Lange and Arsen Vasilyan. Robust learning of halfspaces under log-concave marginals. Advances in Neural Information Processing Systems, 38:100700–100744, 2025.
[McC56] John McCarthy. Measures of the value of information. Proceedings of the National Academy of Sciences, 42(9):654–655, 1956.
[MM02] Yishay Mansour and David McAllester. Boosting using branching programs. Journal of Computer and System Sciences, 64(1):103–112, 2002.
[MPV25] Cassandra Marcussen, Aaron Putterman, and Salil Vadhan. Characterizing the distinguishability of product distributions through multicalibration. In 40th Computational Complexity Conference (CCC 2025), 2025.
[NR26] Georgy Noarov and Aaron Roth. Optimal deterministic multicalibration and omniprediction, 2026.
[OKK25] Princewill Okoroafor, Robert Kleinberg, and Michael P. Kim. Near-optimal algorithms for omniprediction. In 2025 IEEE 66th Annual Symposium on Foundations of Computer Science (FOCS), pages 1595–1609. IEEE, 2025.
[QZ24] Mingda Qiao and Letian Zheng. On the distance from calibration in sequential prediction. In Shipra Agrawal and Aaron Roth, editors, The Thirty Seventh Annual Conference on Learning Theory, June 30 - July 3, 2024, Edmonton, Canada, volume 247 of Proceedings of Machine Learning Research, pages 4307–4357. PMLR, 2024.
[Sav71] Leonard J Savage. Elicitation of personal probabilities and expectations. Journal of the American Statistical Association, 66(336):783–801, 1971.
[Sta26] Konstantinos Stavropoulos. Computational foundations of reliable learning. PhD thesis, 2026.
[Sze75] Endre Szemeredi. Regular partitions of graphs. Technical report, Stanford University, Stanford, CA, USA, March 1975.
[TTV09] Luca Trevisan, Madhur Tulsiani, and Salil P. Vadhan. Regularity, boosting, and efficiently simulating every high-entropy distribution. In Proceedings of the 24th Annual IEEE Conference on Computational Complexity (CCC), pages 126–136. IEEE Computer Society, 2009.
[Tur50] Alan M. Turing. Computing machinery and intelligence. Mind, LIX(236):433–460, 1950.
[Val84] L. G. Valiant. A theory of the learnable. Commun. ACM, 27(11):1134–1142, November 1984.
A Deferred Proofs From Section 3
Proof of Lemma 3.3. First, observe that the proper loss function is affine in with coefficient . Also, by definition, . These two simple constraints imply that , viewed as a function of , is an affine upper bound on of the form
where . Therefore, is a superderivative of . In this notation, it is easy to see that the divergence satisfies
Proof of Lemma 3.4. The definition of states that for any action ,
Since is affine in its first input and , we may rewrite this as
Separating the final term from the sum on the left gives
If we choose to minimize the sum of the first terms on the left, this becomes
Continuing by induction on T completes the proof.
Although the preceding proof of the Follow the Leader regret bound is the standard one, a helpful observation is that the proof can alternatively be phrased in terms of a potential function , whose change in value we track across iterations. This point of view will prove to be useful for the lower bound constructions. There, we construct examples where the algorithm requires many iterations by carefully controlling the potential gap from one iteration to the next.
Alternate Proof of Lemma 3.4. Consider the superderivative of the concave function . For any two points , we have the first-order approximation
Substituting and and the update rule yields
Rearranging terms and using the fact that (Lemma 3.3) yields
Summing over , the left-hand side telescopes, leaving
Finally, observe that by the definition of .
Proof of Lemma 3.5. By Lemma 3.3, the proper loss can be written in the form
where is a superderivative of . In the special case that is -Lipschitz, the function must be -smooth, meaning that
Using the update rule and the fact that predictions are -valued,
Proof of Lemma 3.6. We consider the three cases separately.
• (Uniform) When , we have
• (Linear) When , we have
• (Geometric) When we normalize so that , we have
and hence
This is at most , which is for .
Proof of Lemma 3.7. Let . Since is -Lipschitz, is -smooth. Using the update rule
which holds for , along with -smoothness of W, we see that
Summing over t so that the left-hand side telescopes, and then rearranging terms, yields
Note that the numerator on the right-hand side is bounded since is bounded. Also, the same argument goes through with in place of , completing the proof. (Note that the update rule is actually slightly different for the edge case , but this difference is inconsequential, contributing an additional error of at most in the worst case, or after dividing through by .)
Proof of Lemma 3.8. As in the proof of Lemma 3.5, if the loss function has the form
for some function , then the proper loss can be written as
where is the negation of the convex conjugate of and where is a superderivative of . Our goal is to construct slightly modified functions that satisfy the following corresponding pair of identities:
We construct these modified functions in three steps:
-
First, we set .
-
Next, we let be the antiderivative of with .
-
Finally, we let be the convex conjugate of , or more precisely
This also uniquely determines .
To build intuition for the construction of from , observe that is a Lipschitz and piecewise-linear approximation of . Specifically, we obtain from by interpolating points on the graph of at horizontal spacing . Clearly, if is -valued, then this interpolation is -Lipschitz. Accordingly, the antiderivative is -smooth. Moreover, one can check that and differ pointwise by at most . Indeed, by concavity, and are both nonincreasing, so if we set , then
Since and differ pointwise by at most , so do their convex conjugates. In particular, differs pointwise by at most from a convex lower bound on :
Thus, for all inputs and , we have
Similarly, it is easy to check that for all inputs , the expected value of over the random noise introduced by is close to the smoothed proper loss :
Proof of Lemma 3.9. Given and and , define
Intuitively, is a piecewise-linear approximation of obtained by interpolating points on the graph of at horizontal spacing . Also, the function belongs to by our assumption throughout this paper that is closed under convex combinations. Clearly, is -Lipschitz in its first input and
B Deferred Proofs From Section 4
Proof of Lemma 4.6. By symmetry, and for . Therefore,
Next, we decompose where is parallel to and is perpendicular to . By symmetry, has the same distribution as , so
Finally, we use the standard fact that and hence
For predictors in the linear family, there is a clean characterization of valid sequences. We state it in the following lemma, which has a simple proof using Lemma 4.6.
Lemma B.1. Suppose that satisfy the following conditions with respect to :
• for all and for all ;
Then the sequence is valid as per Definition 4.2 for , up to rescaling by a factor of .
Proof of Lemma B.1. Define and for , which is -valued because
Next, consider the following algebraic identity, which holds for all points :
Using the definition of , we can rewrite this as
Subtracting this from the potential gap condition in this lemma's statement yields
which by Lemma 4.6 is precisely the condition for a valid sequence from Definition 4.2.
We now present a unified proof of our various lower bounds. We begin with two examples that give lower bounds of and on degree-2 calibration error and on expected calibration error. Together, they imply Lemmas 4.3 and 4.4.

Figure 1: Examples B.2 to B.4.
Example B.2 (Infinite Sequence with Small Error). Let lie on a circle of radius centered at the origin in . Obtain by rotating counterclockwise about the origin by an angle , where . By Lemma B.1, this is a valid sequence because
and, letting and as always,
By equations (10) and (11), this sequence has degree-2 calibration error and expected calibration error . Clearly, lower bounds on the norm are preserved by mixing over a random time index , regardless of its distribution, so if we define , it follows that and , as well. Similarly, for any unbiased randomized noise function , since , Jensen's inequality implies
and
so this noise addition preserves the lower bounds on and ECE, as well.
Example B.3 (Finite Sequence with Large Error). Let be a sequence of points on a circle of radius centered at in . By equation (10), this circle is the set of points with . For points on this circle, , so the potential gap condition from Lemma B.1 becomes
A simple continuity argument shows that for any point in, say, the upper one-third of the circle, there exists a solution to this equation that also lies on the circle at distance from . Thus, for a sufficiently small universal constant , we may choose and remain in the upper one-third of the circle for time steps. Therefore, after rescaling, this is a valid sequence whose degree-2 calibration error is negative, constant across rounds, and has absolute value . As in the previous example, this lower bound on the absolute degree-2 calibration error is preserved even if we consider any randomized predictor defined as a mixture of . Similarly, for any unbiased randomized noise function , we have
Since the degree-2 calibration error was negative without noise, and since variance is always non-negative, the above calculation shows that this noise addition preserves the lower bound on , as well.
Proof of Lemma 4.3. The lower bound comes from Example B.2, and the lower bound comes from Example B.3. Choosing the stronger of the two examples gives that .
Proof of Lemma 4.4. The lower bound comes from Example B.2, and the lower bound comes from Example B.3. Choosing the stronger of the two examples gives that .
Having proved Lemmas 4.3 and 4.4, we now give an example of a valid predictor sequence where the degree-2 calibration error oscillates. This will prove to be a useful gadget for showing that randomization over the iterates is necessary.
Example B.4 (Infinite Sequence with Oscillating Error). Let lie on a circle of radius centered at . Let denote the identity matrix and denote counterclockwise rotation by . Define by rotating counterclockwise about by an angle , and define
As long as and and , we have the required boundedness conditions and and . If we additionally set and , with defined the same way as always, then we have conditional accuracy in expectation:
Here we require that lies in the upper one-third of the circle because this guarantees that a small horizontal move of along the circle corresponds to an even smaller second-order term of , which is not true near the leftmost and rightmost points on the circle.
Therefore, this is a valid sequence. Moreover, its degree-2 calibration error oscillates:
For example, if and and for then
which oscillates from +1 to -1 back to +1 over periods of length . In this example, is close to for small . (The predictors and are -bounded but not quite -valued. Scaling down by a constant factor fixes the issue.)
Proof of Lemma 4.5. For each sign , choose and a valid sequence such that
for some constant . This is possible by Example B.4. Note that at any time , one of the two predictors must have degree-2 calibration error for its respective , simply because and are off by a phase shift and are therefore never close to 0 at the same time . To combine these examples, define a new space with
Intuitively, the new space has two groups labeled and , where both and take on values in the range and , respectively. Define the 1-Lipschitz weight function
Intuitively, the clipping to ensures that ignores behavior in the group and ignores behavior in the group . More formally, if the group index is uniform, then
Taking the maximum over gives
C Deferred Proofs From Section 5
Proof of Theorem 5.4. First, we prove the following helper lemma:
Lemma C.1. Let be -Lipschitz, and define . Then, for every ,
Moreover, for every , the function is -Lipschitz.
Proof. For the first statement,
Since is -Lipschitz,
and integrating gives equation (16). For the second statement, for every ,
where we used and .
We can now prove Theorem 5.4. Analogously to Theorem 5.2, we define the calibration error on the -th iteration:
By Lemma C.1 the function is -Lipschitz. Since by the geometric update,
we have
Suppose toward contradiction that for every . Equation (17) implies that the 's cannot change sign. Indeed, moving from a value greater than to a value smaller than would require a change greater than . Therefore, either
or
Here we use the following potential function to track the changes, which generalizes the potential function that we used in the proof of Theorem 5.2. Namely, define
By Lemma C.1 and the geometric update rule,
where pointwise.
By the query-response pair property , it follows that for every bounded function ,
Hence,
Then, taking expectations, and by the definition of the potential function,
Moreover, . Therefore,
As in the case of degree-2 calibration, summing the potential identity over consecutive rounds makes the intermediate potential values cancel:
Consequently, rearranging gives
Since the weight function is bounded in absolute value by one, its integral is 1-Lipschitz. Together with the bounded prediction range and the remainder estimate above, this gives
Taking absolute values therefore yields
which is the bound used in the proof sketch in Section 5.1.1.
By assumption, , and hence . Suppose first that equation (18) holds. From equation (20) it follows that
Hence, summing over gives . This is impossible: since , the function is 1-Lipschitz on , and so for every , . Hence,
and hence it cannot be that .
Symmetrically, if we instead suppose that equation (19) holds, from equation (20) we get that
Summing over gives . This again contradicts the fact that . Hence the entire block cannot satisfy .
Therefore, there exists some such that
as we wanted to show.
D Constructing a Partition Function
We now argue that partition functions (Definition 5.5) exist and can be constructed efficiently from unlabeled samples from under the following mild conditions.
Definition D.1. We say that a distribution is -divisible if:
• (No Heavy Atoms) For all , .
• (Total Order) There is a total order on admitting an efficient comparison oracle.
Essentially, the only non-trivial requirement we impose on the distribution is that there are no points with probability mass larger than . The existence of a total order is, for example, always true for distributions over that admit a density or a probability mass function. Under these conditions, we show that a -partition function can be constructed as follows.
Lemma D.2. Suppose that is -divisible. Then, there is an algorithm that, upon receiving i.i.d. samples from , outputs with probability at least a -partition function. The algorithm runs in time , where is the time required for a single evaluation of the comparison oracle on .
Proof. Let be the set of i.i.d. samples from . Let be the set of singletons and intervals with respect to the order , i.e., sets of the form:
We also assume the standard measurability conditions required for the VC -net theorem. These mild measurability conditions hold for all distributions on finite or countable domains, and for all distributions on admitting a density, using the lexicographic order.
Observe that the VC dimension of is 2. Therefore, due to the standard VC -net theorem (see, e.g., [KZ20] and references therein), we have that is a -net for with probability at least .
Let be a sorting of the elements of , which can be computed in time . Without loss of generality, we assume that there are no duplicates, since we can otherwise remove them. We define as follows:
Observe that is measurable and total. Moreover, for any , takes the value with probability at most , because does not have heavy atoms.
To complete the argument, note that does not contain any points in the intervals of the form . Since is a -net (w.h.p.), this implies that the mass of on each of these intervals is at most .
Example D.3. Any distribution over that admits a density is -divisible for any . We may use the lexicographic order, whose comparisons can be performed in time .
E Implementation using Statistical Queries
In this section, we demonstrate that all of our main results in Theorems 1.3 and 1.4 continue to hold in the statistical query framework of [Kea98]. The statistical query framework is a restricted computation model for statistical problems. It captures a wide range of algorithms like moment methods, convex relaxations, polynomial regression, and gradient descent [FGR+17, FGV17]. Concretely, it restricts the access of the algorithm to the underlying distribution as follows.
Definition E.1 (Statistical Query Algorithm, [Kea98]). For a labeled distribution over and tolerance , we say that an algorithm is a statistical query algorithm with tolerance if it has access to only through adaptive statistical queries of tolerance . Concretely, in response to , the algorithm receives a value satisfying
In order to show that our reductions are SQ-preserving, we observe that the only part where we access the distribution is when we invoke the conditional multiaccuracy oracle of Theorem 1.2. It therefore suffices to prove the following lemma.
Lemma E.2. Suppose that we have a -multiaccuracy oracle that can be implemented with -tolerant statistical queries. Then, we have an algorithm for conditional multiaccuracy with the specifications of Theorem 1.2, that can be implemented with -tolerant statistical queries.
Proof. Suppose that we have access to statistical queries of tolerance under a labeled distribution over pairs . The conditional multiaccuracy oracle of Theorem 1.2 works by calling Algorithm 1 a number of times using the same distribution , but different label reweightings . For each reweighting, the multiaccuracy oracle is called on distributions of the form , where:
for some known .
Therefore, to implement a -tolerant statistical query requested by the multiaccuracy oracle, we observe:
Note that the quantity inside the expectation is a function of , and is pointwise bounded by 2. Therefore, if we define as follows:
then we have , and we can obtain a -tolerant query for using the available oracle. Let be the response of the oracle. Then:
Therefore, we can implement a statistical query for using a statistical query for with the same tolerance.
As an immediate consequence of Lemma E.2, we obtain that our main results in Theorems 1.3 and 1.4 are SQ-preserving.