betaFeedback

WorksComputer Science

Calibrated Multiaccuracy: Deterministic and Randomized Sample Complexity

Abstract

Calibrated multiaccuracy asks that a predictor be globally calibrated and multiaccurate with respect to a bounded test family GG; that is, its residuals should be uncorrelated with every test g(x)∈Gg(x)\in G. This weakening of multicalibration suffices for many applications. Its sample complexity was not known to improve on that of full multicalibration, which is Θ~(log⁡∣G∣ε2+1ε3)\widetildeΘ\left(\frac{\log|G|}{\varepsilon^2} + \frac{1}{\varepsilon^{3}}\right) when ∣G∣|G| is at least a sufficiently large power of log⁡(1/ε)\log(1/\varepsilon). We resolve the sample complexity of ε\varepsilon-calibrated multiaccuracy, showing that it scales as Θ~(log⁡∣G∣ε2+1ε5/2), \widetildeΘ\left(\frac{\log|G|}{\varepsilon^2} + \frac{1}{\varepsilon^{5/2}}\right), separating it from the complexity of multicalibration. The upper bound is obtained by an algorithm that outputs a randomized predictor. For deterministic predictors, we establish the tight rate Θ~(log⁡∣G∣ε2+(log⁡∣G∣)1/3ε8/3) \widetildeΘ\left( \frac{\log|G|}{\varepsilon^2} + \frac{(\log|G|)^{1/3}}{\varepsilon^{8/3}} \right) whenever log⁡∣G∣=Ω(log⁡(1/ε))\log|G|=Ω(\log(1/\varepsilon)). When log⁡∣G∣≤ε−1+κ\log|G|\le\varepsilon^{-1+κ} for any fixed κ∈(0,1)κ\in(0,1), this rate is polynomially larger than the rate for randomized predictors. Thus, unlike for multicalibration, calibrated multiaccuracy exhibits a genuine sample-complexity separation between deterministic and randomized predictors. The matching upper and lower bounds show that the unusual cube-root dependence on log⁡∣G∣\log|G| is intrinsic. At log⁡∣G∣≍ε−1\log|G|\asymp\varepsilon^{-1}, the minimax rates for randomized and deterministic calibrated multiaccuracy both coincide with the minimax rate for multicalibration.

Introduction

Calibration and multiaccuracy. Calibration and multiaccuracy are both statistical consistency measures that we can ask of a model p:X→[0,1]p : \mathcal{X} \to[0,1] mapping features to predictions of bounded labels Y∈[0,1]Y \in[0,1]. Calibration asks that, among examples assigned prediction value pp, the average label should be close to pp. Multiaccuracy asks that for every test (or “group”) function g:X→[−1,1]g : \mathcal{X} \to[-1,1] in a prescribed family, the residual Y−p(X)Y - p(X) should be nearly uncorrelated with g(X)g(X) [19, 22]. Multicalibration combines these two ideas in a strong way, asking for calibration not just overall but also simultaneously within the feature subsets or test-weighted populations specified by the group family [19].

This paper studies an intermediate guarantee, weaker than multicalibration, obtained by imposing global calibration together with multiaccuracy. We study both randomized and deterministic predictors. In both regimes, the training algorithm may use randomness. The important distinction is the type of predictor it outputs. A randomized predictor Q=(Qx)x∈XQ = (Q_x)_{x\in\mathcal{X}} assigns to each feature value xx a distribution QxQ_x over predictions in [0,1][0,1]. On a fresh example (X,Y)(X,Y), let P∼QXP \sim Q_X be the realized prediction, drawn independently of YY conditional on XX. A deterministic predictor is instead a fixed function p:X→[0,1]p : \mathcal{X} \to[0,1], corresponding to the special case in which QxQ_x is a point mass at p(x)p(x), so that P=p(X)P = p(X). For a finite class G\mathcal{G} of tests g:X→[−1,1]g : \mathcal{X} \to[-1,1], define the multiaccuracy (MA) error and expected calibration error (ECE) in terms of the realized prediction:

MA⁡(Q;G)=sup⁡g∈G∣E[g(X)(Y−P)]∣,ECE⁡(Q)=E∣E[Y−P∣P]∣.\operatorname{MA}(Q;\mathcal{G}) = \sup_{g\in\mathcal{G}} \left|\mathbb{E}[g(X)(Y-P)]\right|,\qquad\operatorname{ECE}(Q) = \mathbb{E}\left|\mathbb{E}[Y-P\mid P]\right|.

The calibrated multiaccuracy error is

CMA⁡(Q;G)=max⁡{MA⁡(Q;G),ECE⁡(Q)}.\operatorname{CMA}(Q;\mathcal{G}) = \max\{\operatorname{MA}(Q;\mathcal{G}),\operatorname{ECE}(Q)\}.

Why calibrated multiaccuracy is interesting. Over the past several years, multicalibration has been the subject of intense study in part because it has found so many different applications, from omniprediction [16] to conditional guarantees in conformal prediction [1, 20] to complexity-theoretic constructions [3] to multiparty information aggregation [6, 7, 21]. A growing line of work, however, has shown that calibrated multiaccuracy is enough for tasks where multicalibration had previously been the standard tool. In omniprediction, the outcome-indistinguishability viewpoint decomposes loss minimization into calibration plus multiaccuracy for a loss-derived class of tests [17]. Casacuberta et al. [ [4] show that adding global calibration to multiaccuracy recovers several implications previously known from multicalibration, including optimal-density hardcore measures. In computational complexity, the multicalibration-based characterization of product-distribution indistinguishability of Marcussen et al. [2025] can also be obtained from calibrated multiaccuracy [11].

These results suggest that calibrated multiaccuracy is a useful relaxation of multicalibration: strong enough for many applications, but structurally weaker. However, prior to this paper, it had not been established that calibrated multiaccuracy error could actually be driven to 00 any faster than multicalibration error, as a function of the number of samples needed for learning. The best known sample complexity upper bounds for calibrated multiaccuracy in the regime ∣G∣=poly⁡(1/ε)|\mathcal{G}| = \operatorname{poly}(1/\varepsilon) were O~(ε−3)\widetilde{O}(\varepsilon^{-3}) [15] (Noarov and Roth 2027), no better than the minimax optimal rates for multicalibration [9]. The only non-trivial lower bound for calibrated multiaccuracy was the Ω(ε−5/2)\Omega(\varepsilon^{-5/2}) bound of Gibbs and Tibshirani [ [15], which applied only when the output after training was a deterministic predictor p:X→[0,1]p : \mathcal{X} \to[0,1]. In particular, no super-ε−2\varepsilon^{-2} lower bound was known for algorithms outputting randomized predictors.

Randomized versus deterministic predictors. One might naturally expect allowing the output predictor to randomize not to matter for a batch learning problem. For many familiar distributional learning objectives, randomization is not needed. It is never needed for risk minimization of a single expected loss, for example. The closely related multicalibration problem reinforces this expectation: Collina et al. [ [9] identified the minimax optimal sample complexity, initially with upper bounds that were realized by randomized predictors. However subsequently, Noarov and Roth [2027] showed that deterministic predictors suffice to achieve the minimax optimal sample complexity. Thus one might reasonably expect the same for calibrated multiaccuracy — that there should be no worst-case advantage to outputting a randomized predictor. Surprisingly (to us, at least), we show that the story is different for calibrated multiaccuracy: for polynomial-size test families, randomized predictors attain a strictly smaller minimax sample complexity!

Our results

Write A=max⁡{1,log⁡∣G∣}A = \max\{1, \log|\mathcal{G}|\} for the group budget. We prove the following, where the lower bounds take the worst case over distributions and bounded test families of the specified cardinality.

  1. Tight randomized sample complexity. We give an efficient algorithm which, given nn samples and a test family G\mathcal{G}, outputs a randomized predictor QQ satisfying, with probability 1−δ1-\delta:

CMA⁡(Q;G)≤C{log⁡(∣G∣/δ)n+(log⁡(n/δ)n)2/5}.\operatorname{CMA}(Q;\mathcal{G}) \le C \left\{ \sqrt{\frac{\log(|\mathcal{G}|/\delta)}{n}} + \left(\frac{\log(n/\delta)}{n}\right)^{2/5} \right\}.

Equivalently, error ε\varepsilon is achievable with O~(Aε2+1ε5/2)\widetilde{O}\left(\frac{A}{\varepsilon^2} + \frac{1}{\varepsilon^{5/2}}\right) samples. We prove a matching lower bound for arbitrary randomized predictors that is tight for every value of AA. For polynomial-size test families, this rate is Θ~(ε−5/2)\widetilde{\Theta}(\varepsilon^{-5/2}), compared with Θ~(ε−3)\widetilde{\Theta}(\varepsilon^{-3}) for full multicalibration. The formal upper bound is Theorem 4.1; the matching randomized lower bound is Theorem 6.1.

  1. Tight deterministic sample complexity and a separation. For algorithms that must output a deterministic predictor pp, we prove the information-theoretic sample-complexity upper bound

O~(Aε2+A1/3ε8/3).\widetilde{O}\left(\frac{A}{\varepsilon^2}+\frac{A^{1/3}}{\varepsilon^{8/3}}\right).

We also prove that, for log⁡(1/ε)≲A≲ε−1\log(1/\varepsilon) \lesssim A \lesssim\varepsilon^{-1}, some bounded test family with log⁡∣G∣=Θ(A)\log|\mathcal{G}| = \Theta(A) requires Ω(A1/3ε−8/3)\Omega(A^{1/3}\varepsilon^{-8/3}) samples from every algorithm whose output is a deterministic predictor. The randomized Ω(A/ε2)\Omega(A/\varepsilon^2) multiaccuracy lower bound applies a fortiori to deterministic predictors and supplies the matching term. Thus the upper bound is tight up to logarithmic factors for every A=Ω(log⁡(1/ε))A = \Omega(\log(1/\varepsilon)). In particular, the matching bounds show that the unusual A1/3A^{1/3} dependence is a genuine feature of deterministic prediction, not an artifact of the upper-bound analysis. Unlike the efficient algorithm for randomized predictors in item 1, this is an information-theoretic construction whose direct implementation can require exponential time. The formal upper and lower bounds are Theorems 5.1 and 7.1, respectively.

In the matching lower-bound range, this deterministic rate is polynomially larger than the randomized rate whenever A≤ε−1+κA \le\varepsilon^{-1+\kappa} for a fixed κ∈(0,1)\kappa\in(0,1). For example, at A=Θ(log⁡(1/ε))A = \Theta(\log(1/\varepsilon)), deterministic predictors require Θ~(ε−8/3)\widetilde{\Theta}(\varepsilon^{-8/3}) samples, while randomized predictors need only Θ~(ε−5/2)\widetilde{\Theta}(\varepsilon^{-5/2}). At A≳ε−1A \gtrsim\varepsilon^{-1}, both deterministic terms are of order ε−3\varepsilon^{-3}, matching the deterministic multicalibration rate of Noarov and Roth [2027].

It is useful to visualize the group-budget dependence by writing A=ε−βA = \varepsilon^{-\beta}. Figure 1 summarizes the resulting sample-complexity landscape.

The group-budget rate landscape

Figure 1. The group-budget rate landscape, with A=ε−βA = \varepsilon^{-\beta} and vertical axis the sample-complexity exponent of 1/ε1/\varepsilon, suppressing logarithmic factors. Blue and red give the tight randomized and deterministic calibrated multiaccuracy rates; teal gives the tight multicalibration rate. The open endpoints represent subpolynomial budgets.

Technical overview

A shared upper-bound template. Both upper bounds first learn a real valued intermediate score S∈[0,1]S \in[0,1] and then transform it into the final discrete prediction PP. We call this second stage score coarsening: it replaces SS by a predictor with finitely many prediction values.

The final objective involves two kinds of tests. Each g∈Gg \in\mathcal{G} defines the multiaccuracy test ϕg(x,p)=g(x)\phi_g(x,p) = g(x). Calibration also has a test-based form: writing QQ for the final predictor and P∼QXP \sim Q_X for its realized prediction,

ECE⁡(Q)=sup⁡h:[0,1]→{−1,1}E[h(P)(Y−P)].\operatorname{ECE}(Q) = \sup_{h:[0,1]\to\{-1,1\}} \mathbb{E}[h(P)(Y-P)].

Thus each sign-valued function hh of the prediction defines a calibration test ϕh(x,p)=h(p)\phi_h(x,p) = h(p).

Now fix a coarsening rule. For any bounded test ϕ(x,p)\phi(x,p) of the context and final prediction, define its lift to the intermediate score by

ϕ↑(x,s)=E[ϕ(x,P)∣X=x,S=s],\phi^\uparrow(x,s) = \mathbb{E}[\phi(x,P)\mid X=x,S=s],

where the expectation is over any randomness in the coarsening rule. The rule uses no information about YY once (X,S)(X,S) is fixed, and so Lemma 2.1 will give:

E[ϕ(X,P)(Y−P)]=E[ϕ↑(X,S)(Y−S)]+E[ϕ(X,P)(S−P)].(1)\mathbb{E}[\phi(X,P)(Y-P)] = \mathbb{E}[\phi^\uparrow(X,S)(Y-S)] + \mathbb{E}[\phi(X,P)(S-P)]. \tag*{(1)}

For a multiaccuracy test ϕg\phi_g, the lift is simply gg. For a calibration test ϕh\phi_h, write

ah(x,s)=E[h(P)∣X=x,S=s],a_h(x,s) = \mathbb{E}[h(P)\mid X=x,S=s],

for its lift. The score learner controls residuals of SS against both the original tests g∈Gg \in\mathcal{G} and these additional lifted calibration tests. The analysis of the coarsening rule controls the second term in the decomposition, and we choose the coarsening rule as a function of SS to minimize it.

There is an apparent circularity: the chosen coarsening rule depends on the learned score, but its lifted tests must be known when the score is learned. Both algorithms resolve this by specifying a finite menu of candidate rules in advance and learning SS against every induced lifted test. The randomized algorithm then chooses one rule from the menu. The deterministic algorithm will use different rules on different parts of the context space.

The randomized algorithm coarsens using mean-preserving rounding to a grid. The deterministic algorithm coarsens using category averaging: it partitions contexts into categories and replaces the scores in each category by their average. We next explain the main idea in each construction, followed by the two lower bounds.

Randomized upper bound

We process the i.i.d. training examples (X1,Y1),…,(Xn,Yn)(X_1,Y_1),\ldots,(X_n,Y_n) sequentially, learning score rules s1,…,sns_1,\ldots,s_n. Rule sts_t depends only on the preceding labeled examples (Xi,Yi)i<t(X_i,Y_i)_{i<t}. On observing XtX_t, it produces the score St=st(Xt)S_t=s_t(X_t) before observing YtY_t. On a new input xx, the intermediate predictor QpreQ^{\mathrm{pre}} draws an index JJ uniformly from [n][n] and outputs the score S=sJ(x)S=s_J(x).

In addition to the original multiaccuracy tests G\mathcal{G}, the learner controls a finite class A\mathcal{A} of lifted calibration tests, corresponding to the linear interpolations of binary signs at points on a fixed candidate collection of grids. For every candidate grid and sign assignment to its points, A\mathcal{A} contains the corresponding lift from (1). After training, we choose a grid Γ^\widehat{\Gamma} with O(m)O(m) intervals using the recorded scores S1,…,SnS_1,\ldots,S_n. The parameter mm trades off learning a larger auxiliary class against more accurate rounding. The final predictor rounds SS to this grid while preserving its conditional mean. Figure 2 summarizes the construction.

Sequential learning, grid selection, and randomized rounding construction

Figure 2. Rule sts_t is learned from the preceding examples and produces the recorded score St=st(Xt)S_t=s_t(X_t) before observing YtY_t. These nn scores determine a grid from the fixed candidate menu. On a new input, the final predictor evaluates a uniformly chosen saved score rule and then rounds its score to the selected grid while preserving its mean.

Learning the pre-rounded scores. We now bound the size of the auxiliary class A\mathcal{A}, which is separate from the original multiaccuracy test class G\mathcal{G}. Each candidate grid consists of O(m)O(m) partition points selected from a fixed fine mesh with polynomially many points in nn, and each selected point receives a sign in {−1,1}\{-1,1\} in each calibration test defined on that grid. For every collection of O(m)O(m) grid points from the mesh and assignment of signs to the grid points, we include in A\mathcal{A} the function that linearly interpolates the signs between the grid points. The choices of points and signs give at most exp⁡(O(mlog⁡n))\exp(O(m\log n)) lifted tests, so log⁡∣A∣=O(mlog⁡n)\log|\mathcal{A}|=O(m\log n). Standard multiobjective learning methods (e.g. [13] (Lee et al. 2022; Noarov et al. 2025)) let us learn score rules promising:

References

  1. [1]Osbert Bastani, Varun Gupta, Christopher Jung, Georgy Noarov, Ramya Ramalingam, and Aaron Roth. Practical adversarial multivalid conformal prediction. In Advances in Neural Information Processing Systems, volume 35, pages 29362–29373. Curran Associates, Inc., 2022. doi: 10.52202/068431-2129. URL https://proceedings.neurips.cc/paper_files/paper/2022/hash/bcdaaa1aec3ae2aa39542acefdec4e4b-Abstract-Conference.html.DOI
  2. [2]Stéphane Boucheron, Gábor Lugosi, and Pascal Massart. Concentration Inequalities: A Nonasymptotic Theory of Independence. Oxford University Press, 2013. ISBN 9780199535255. doi: 10.1093/acprof:oso/9780199535255.001.0001. URL https://academic.oup.com/book/26549.DOI
  3. [3]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, pages 1071–1082. Association for Computing Machinery, 2024. doi: 10.1145/3618260.3649748.DOI
  4. [4]Sílvia Casacuberta, Parikshit Gopalan, Varun Kanade, and Omer Reingold. How global calibration strengthens multiaccuracy. In 66th IEEE Annual Symposium on Foundations of Computer Science (FOCS 2025), pages 1198–1227. IEEE, 2025. doi: 10.1109/FOCS63196.2025.00063.
  5. [5]Alain Celisse and Tristan Mary-Huard. Theoretical analysis of cross-validation for estimating the risk of the k-nearest neighbor classifier. Journal of Machine Learning Research, 19(58):1–54, 2018. URL https://www.jmlr.org/papers/v19/15-498.html.
  6. [6]Natalie Collina, Surbhi Goel, Varun Gupta, and Aaron Roth. Tractable agreement protocols. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, pages 1532–1543. Association for Computing Machinery, 2025. doi: 10.1145/3717823.3718222.DOI
  7. [7]Natalie Collina, Ira Globus-Harris, Surbhi Goel, Varun Gupta, Aaron Roth, and Mirah Shi. Collaborative prediction: Tractable information aggregation via agreement. In Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 4712–4798. Society for Industrial and Applied Mathematics, 2026a. doi: 10.1137/1.9781611978971.172.DOI
  8. [8]Natalie Collina, Jiuy ao Lu, Georgy Noarov, and Aaron Roth. Optimal lower bounds for online multicalibration. In 67th Annual IEEE Symposium on Foundations of Computer Science (FOCS 2026), 2026b. URL https://arxiv.org/abs/2601.05245.
  9. [9]Natalie Collina, Jiuy ao Lu, Georgy Noarov, and Aaron Roth. The sample complexity of multicalibration. In Proceedings of the 2027 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). Society for Industrial and Applied Mathematics, 2027. URL https://arxiv.org/abs/2604.21923.
  10. [10]A. Philip Dawid. The well-calibrated Bayesian. Journal of the American Statistical Association, 77(379):605–610, 1982. doi: 10.1080/01621459.1982.10477856.DOI
  11. [11]Cynthia Dwork and Pranay Tankala. Supersimulators, 2025. URL https://arxiv.org/abs/2509.17994.
  12. [12]Cynthia Dwork, Michael P. Kim, Omer Reingold, Guy N. Rothblum, and Gal Yona. Outcome indistinguishability. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, pages 1095–1108. Association for Computing Machinery, 2021. doi: 10.1145/3406325.3451064.DOI
  13. [13]Gabriele Farina and Juan Carlos Perdomo. An efficient black-box reduction from online learning to multicalibration, and a new route to Φ-regret minimization, 2026. URL https://arxiv.org/abs/2604.19592.
  14. [14]Sumegha Garg, Christopher Jung, Omer Reingold, and Aaron Roth. Oracle efficient online multicalibration and omniprediction. In Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2725–2792. Society for Industrial and Applied Mathematics, 2024. doi: 10.1137/1.9781611977912.98.DOI
  15. [15]Isaac Gibbs and Ryan J. Tibshirani. Sample-efficient omniprediction for proper losses. In Steve Hanneke and Tor Lattimore, editors, Proceedings of Thirty Ninth Conference on Learning Theory, volume 336 of Proceedings of Machine Learning Research, pages 2679–2719. PMLR, 2026. URL https://proceedings.mlr.press/v336/gibbs26a.html.arxiv.org/abs/2510.12769
  16. [16]Parikshit Gopalan, Adam Tauman Kalai, Omer Reingold, Vatsal Sharan, and Udi Wieder. Omnipredictors. In 13th Innovations in Theoretical Computer Science Conference (ITCS 2022), volume 215 of Leibniz International Proceedings in Informatics (LIPIcs), pages 79:1–79:21. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi: 10.4230/LIPIcs.ITCS.2022.79.arxiv.org/abs/2109.05389
  17. [17]Parikshit Gopalan, Lunjia Hu, Michael P. Kim, Omer Reingold, and Udi Wieder. Loss minimization through the lens of outcome indistinguishability. In 14th Innovations in Theoretical Computer Science Conference (ITCS 2023), volume 251 of Leibniz International Proceedings in Informatics (LIPIcs), pages 60:1–60:20. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi: 10.4230/LIPIcs.ITCS.2023.60.DOI
  18. [18]Varun Gupta, Christopher Jung, Georgy Noarov, Mallesh M. Pai, and Aaron Roth. Online multivalid learning: Means, moments, and prediction intervals. In 13th Innovations in Theoretical Computer Science Conference (ITCS 2022), volume 215 of Leibniz International Proceedings in Informatics (LIPIcs), pages 82:1–82:24. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi: 10.4230/LIPIcs.ITCS.2022.82.DOI
  19. [19]Úrsula Hébert-Johnson, Michael Kim, Omer Reingold, and Guy Rothblum. Multicalibration: Calibration for the (Computationally-identifiable) masses. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 1939–1948. PMLR, 2018. URL https://proceedings.mlr.press/v80/hebert-johnson18a.html.
  20. [20]Christopher Jung, Georgy Noarov, Ramya Ramalingam, and Aaron Roth. Batch multivalid conformal prediction. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=Dk7QJp8jHEo.arxiv.org/abs/2209.15145
  21. [21]Michael Kearns, Aaron Roth, and Emily Ryu. Networked information aggregation via machine learning. In Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 4799–4845. Society for Industrial and Applied Mathematics, 2026. doi: 10.1137/1.9781611978971.173.DOI
  22. [22]Michael P. Kim, Am irata 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. ACM, 2019. doi: 10.1145/3306618.3314287.

Paper details

vlnc:W_qeg2gv6r
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 12

downloads · 3

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents