Manuscript Offprint
arXiv:2610.41244A Unified Framework for Probability Estimation of Data-Dependent Events
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We study the general problem of estimating , the probability that an unknown distribution assigns to an event determined by a sample of i.i.d. draws from through a known mapping . The estimation algorithm knows and but does not have access to any additional samples from . This formulation captures classical missing mass, the data-dependent targets of adaptive data analysis and post-selection inference, and the test error of a data-trained predictor, whose estimation was recently studied by Gastpar et al. (2024a,b). Within this framework we examine the two classical approaches to estimation. The error of the empirical plug-in estimator is exactly a generalization gap, so generalization bounds transfer to it directly. The leave-one-out estimator, which recovers the Good–Turing estimator, is accurate for every mapping that is stable under the deletion of one sample point, including new structured examples such as neighborhoods of the sample and pierced sets.
The main application of our framework is to error estimation for a predictor that combines a base classifier with memorized exceptions, a structure common in theory and in practice. For it, the empirical estimator is identically zero and the leave-one-out estimator can fail. The test error is exactly the missing mass restricted to the error region of the base classifier, a region selected by the same sample. We formulate the general problem of adaptive missing mass estimation to address such dependence and propose a natural hybrid estimator, the Good–Turing estimator restricted to the selected region. We show that the generalization of the base classifier alone does not guarantee the accuracy of this estimator, and derive two bounds on its error: the first one based on the VC dimension of possible error regions and another based on the mutual information of the selected region with the sample.
1 Introduction
Estimating the probability mass assigned by an unknown distribution to a data-dependent set is a basic problem that appears in several guises across probability, statistics, and learning theory. In supervised learning, for example, a training sample determines a classifier, and hence determines an error region whose probability under the data distribution is the test error. In classical missing mass estimation, the sample determines the set of unseen outcomes, and the goal is to estimate the probability of drawing a new point from this unseen set. Although these examples are usually studied with different tools, they share a common structure: the target of estimation is not a fixed
*Work done when the author was an intern at Apple and a student at the University of Michigan, Ann Arbor.
functional of the distribution alone, but a random quantity chosen as a function of the observed sample.
The classical theory has developed powerful estimators for several important special cases. Uniform-convergence and stability arguments justify the empirical plug-in estimator for many learning-theoretic error estimates. Good-Turing-style estimators, and their leave-one-out variants, estimate the missing mass and related k-occurrence or heavy-hitter functionals, even in regimes where the empirical plug-in estimator is identically zero or badly biased [Good, 1953, McAllester and Schapire, 2000, McAllester and Ortiz, 2003]. These successes raise a natural broader question: When can one estimate the probability of an event that is itself chosen as a function of the observed sample?
In this work, we study this question through a unified framework for data-dependent probability estimation. Given i.i.d. samples from an unknown distribution over a domain , and a known mapping
that assigns to each sample an event, specified by its -valued indicator function on (and, more generally, a -valued query), the goal is to estimate the random quantity . The estimator is given and , but not any additional fresh samples from . Thus the same sample both determines the event and is used to estimate its probability (given fresh samples, the fraction of them that lies in would be an accurate estimate). This formulation subsumes classical missing mass estimation, heavy-hitter estimation, and test-error estimation for learning algorithms.
For the error of a classifier produced by a known learning algorithm, this question was recently posed by Gastpar et al. [2024a,b], who refer to the existence of an accurate estimator of the error as estimability of the algorithm and use it to study when generalization bounds can be tight. The error region of a classifier is a data-dependent event and, conversely, every data-dependent event is the error region of a classifier over a suitably labeled domain, so the notion of learning algorithm estimability and our notion of event estimatability point to the same fundamental problem. In Section 3.3 we give a detailed comparison and discuss some of the differences in the specific formulation we use.
Our guiding example and the main application of our framework is estimation of the error of a predictor that combines structured generalization with memorization. Such predictors are classical in learning theory, where memorizing exceptions is used to derive Occam (compressing) algorithms from PAC learning [Board and Pitt, 1990, Blumer et al., 1987], and common in practice, where deployed models are augmented with local patches, residual memories, and edit modules populated by specific errors [Kauschke and Fürnkranz, 2018, Yang et al., 2023, Mitchell et al., 2022]. For such exception-memorizing predictors both classical approaches to error estimation fail. The empirical estimator is identically zero and therefore does not give useful information about the true error. The leave-one-out estimate, in turn, requires retraining the base learner times and comes with no guarantee when that learner is unstable. The quantity to be estimated nonetheless has a clean description: the true error is exactly the missing mass restricted to the error region of the base classifier, the probability that a fresh point is unseen and falls into a region that was itself selected by the sample. To address this problem, in Section 6, we formulate this more generally as an adaptive missing mass estimation task and give a hybrid estimator that combines the empirical and leave-one-out estimator. We show that the generalization of the base classifier alone does not guarantee the accuracy of the hybrid estimator, but prove guarantees for it when either the error region of the base classifier has limited mutual information with the sample or the class of possible error regions has low VC dimension.
Sample-dependent regions whose missing mass is of interest arise well beyond this example. A deployed language model may decline to answer prompts that fail a filter trained on the same data, so that hallucination in the sense of Kalai and Vempala [2024], the mass of facts unseen in training, must be measured on a region chosen by the data. An analyst may ask how many distinct values remain unseen in a subpopulation defined by a predicate chosen after inspecting the sample [Haas et al., 1995, Charikar et al., 2000].
A framework for data-dependent probability estimation. We define the estimatability of a mapping in terms of the worst-case mean squared error of an estimator of (Definition 3.2), and extend the definition to -valued queries, to randomized mappings, and to restricted, possibly sample-size-dependent, classes of distributions (Definition 3.3). In Section 3.3 we show how this framework captures several known problems, including estimation of the test error or risk of a trained predictor, the estimability of learning algorithms, missing mass and heavy-hitter estimation, the Bayesian version of adaptive data analysis, point estimation of the targets of post-selection inference, and estimation of the realized miscoverage of conformal prediction sets. We discuss other related work in Section 2.
Empirical estimation. We observe that the error of the empirical estimator is the generalization error of viewed as a learning algorithm. Therefore every generalization bound for (e.g. one based on the VC dimension, algorithmic stability, differential privacy, max-information, or mutual information) is a sufficient condition for estimatability (Section 4).
Leave-one-out estimation. We observe that the classical hypothesis-stability bound for the leave-one-out estimate applies to any data-dependent event, so that the leave-one-out estimator has vanishing mean squared error for every mapping that is stable under the deletion of one sample point (Theorem 5.1). Computing the stability of specific mappings recovers the classical missing mass and heavy-hitter guarantees, with the leave-one-out estimator coinciding with the Good-Turing estimator, and extends them to new structured examples (Section 5). Specifically, for every neighborhood function on the domain, the mass of the union of the neighborhoods of the sample points is -estimatable, although this set can be much larger than the sample (Theorem 5.3). The same holds for the intersection of these neighborhoods, which includes the missing mass, and for the seen and the unseen parts of a fixed region. For the union of the neighborhoods of the points that occur exactly times in the sample, we obtain the rate , again for every neighborhood function (Theorem 5.7).
Adaptive missing mass estimation. As the main application of our framework, in Section 6 we formulate the problem of adaptive missing mass estimation (Definition 6.2) and propose a hybrid estimator for it. In this problem a selection rule chooses a region of the domain using the sample (such as the error region of the base classifier), and the goal is to estimate the missing mass of the selected region. Our estimator is based on writing this missing mass as the difference between the mass of the selected region and the mass of its part that is seen in the sample. We estimate the first term empirically (for the error region of a base classifier this gives its training error) and the second by the leave-one-out estimator in which the region is held fixed at its value on the full sample. The difference of the two estimates is the fraction of the sample made up of points that lie in the selected region and occur in the sample exactly once. Thus our estimator is the Good–Turing estimator restricted to the selected region (Definition 6.3). For the error of an exception-memorizing classifier, computing it requires training the base classifier once rather than times.
For a region fixed in advance, the restricted Good–Turing estimator has mean squared error (Corollary 5.5). However, here the region is selected using the same sample on which the estimator is evaluated. We show that this dependence can make the hybrid inaccurate even when the empirical mass of the selected region estimates its true mass with mean squared error under every distribution (Proposition 6.2).
At the same time, we show that the hybrid is accurate whenever the selected region has limited mutual information with the sample or the class of possible regions has low VC dimension. Specifically, its mean squared error is , where is the mutual information between the selected region and the sample, and , where is the VC dimension of the class of possible regions (with no restriction on how the region is chosen from this class). See Theorem 6.3 for a formal statement.
To prove the bound in terms of the mutual information we first show that for a region fixed in advance the error of the restricted Good–Turing estimator is sub-Gaussian at scale . The restricted Good–Turing estimate concentrates by McDiarmid’s inequality, and the missing mass of the region by an extension of the results of McAllester and Ortiz [2003]. We then use the Donsker–Varadhan variational inequality to decouple the selected region from the sample at the cost of an additive term. To prove the bound in terms of the VC dimension we replace the selected region by a nearby element of a suitable finite cover of the class of possible regions. We control the effect of the replacement using uniform convergence over the symmetric differences of possible regions and a union bound over the cover together which, again, relies on the concentration of the restricted Good–Turing estimator.
As a consequence, we get that the error of an exception-memorizing learner is estimatable whenever the base learner’s hypothesis class has bounded VC dimension (Corollary 6.4), even though the empirical estimator is identically zero. Specifically, if the base learner outputs binary classifiers from a class of VC dimension , then the hybrid estimates the error of the memorizing learner with mean squared error under every distribution and every labeling of the data (which need not belong to the class). We also give an example of a learner for which the hybrid has error while both standard estimators have constant error (Proposition C.1).
Limits of estimatability. In Section 7 we give three constructions of data-dependent events that cannot be consistently estimated by any procedure. The first of them is new and is a particularly simple instance of post-selection inference. Here the event consists of the points that are equal to 1 at the coordinate with the largest empirical mean (among binary coordinates), and its mass is the true mean of the selected coordinate. We consider distributions in which one coordinate is always 1 and all other coordinates are independent and uniform. With constant probability, exactly one other coordinate is then also equal to 1 on all sample points. If the special coordinate is chosen uniformly at random, then given such a sample the two coordinates are equally likely to be the special one. The true mean of the selected coordinate is then equally likely to be 1 and . Thus no estimator achieves mean squared error below (Theorem 7.1).
The other two constructions are close to those of Gastpar et al. [2024a,b] and use the same approach on progressively smaller domains. The last of these has quadratic in size and also shows that finiteness of the VC dimension of the image class does not suffice. Its image class has , whereas the empirical estimator is consistent as soon as (Corollary 4.1).
2 Related Work
Estimating the test error of a data-trained predictor has a long history in statistical learning theory; see the textbooks [Shalev-Shwartz and Ben-David, 2014, Mohri et al., 2012, Anthony and Bartlett, 2009] for an overview. Several of the problems related to ours, namely prediction-error estimation, missing mass estimation, adaptive data analysis, post-selection inference, and conformal prediction, are easier to compare with our setting once our definitions are in place, and we describe how each of them maps to our framework in Section 3.3. In this section we discuss the lines of work most closely related to our results.
The closest line of work to ours is the study of estimability by Gastpar et al. [2024a,b]. Motivated by the empirical finding that many of the generalization bounds proposed for neural networks are far from tight [Jiang et al., 2020], Gastpar et al. [2024a] observe that a generalization bound that is tight for every distribution is an estimator of the test error, and define a hypothesis class or a learning algorithm to be estimable if such an estimator exists. They show that for a fixed, known algorithm there may exist a trade-off between the algorithm's ability to learn a class and the estimability of its error. Specifically, this trade-off applies to algorithms that learn parity functions and linear functions over finite fields. Gastpar et al. [2024b] then study which algorithms are estimable. They give lower bounds for algorithms with an inductive bias towards a class of nearly orthogonal functions, or towards a suitable subset of a class of VC dimension when . They also show that an algorithm that is stable under the deletion of a block of sample points is estimable via a holdout estimator that trains on the remaining points. Their algorithm-dependent notion of estimability coincides with ours when specialized to the error regions of classifiers, up to the error criterion (Section 3.3). In contrast, the main focus of our work is the unified framework that naturally incorporates a variety of existing problems as well as new upper bounds that rely on tools developed for different problems.
The estimation of the error of a learning algorithm via leave-one-out and cross-validation has been analyzed through algorithmic stability since the work of Rogers and Wagner [1978] and Devroye and Wagner [1979]. Kearns and Ron [1999] give sanity-check bounds for the leave-one-out estimate under hypothesis stability, Bousquet and Elisseeff [2002] relate several notions of stability to generalization and to the leave-one-out estimate, and Kale et al. [2011] and Kumar et al. [2013] bound the error of -fold cross-validation via mean-square and loss stability.
The study of missing mass estimation dates back to the work of Good [1953] and more recently McAllester and Schapire [2000]. Refinements of the missing-mass concentration bounds of McAllester and Schapire [2000], McAllester and Ortiz [2003] appear in Berend and Kontorovich [2012, 2013], and Maurer [2022] extends them to metric spaces. A parallel line of work investigates minimax rates for missing mass estimation. Near-tight upper and lower bounds were developed in [Rajaraman et al., 2017, Acharya et al., 2018], alongside information-theoretic lower bounds based on classical techniques such as Fano's and Le Cam's methods [Paninski, 2003, Fano, 1966, Le Cam, 1973, Yu, 1997]. Complementary work by Valiant and Valiant [2011, 2017] studies the estimation of the unseen portion of the distribution, leading to near-optimal estimators for entropy, support size, and other distributional properties. We refer the reader to [Orlitsky et al., 2016, Balocchi et al., 2026] for a more comprehensive overview of works related to missing-mass, unseen-species, and support-size estimation.
Our framework is motivated by and explores data-dependent estimation tasks that require combining distinct estimation principles. A number of existing works on generalization have relied on combinations of different approaches to generalization: Foster et al. [2019] combine hypothesis-set stability with complexity bounds for data-dependent hypothesis sets, while Rivasplata et al. [2018], Dziugaite and Roy [2018], and Awasthi et al. [2020] develop PAC-Bayes guarantees for distribution-or sample-dependent priors using various notions of stability such as differential privacy. See also [Hellström et al., 2025] for a broader survey of information-theoretic and PAC-Bayes approaches to generalization.
3 Preliminaries
3.1 Notation
Let be a countable space, and let denote the set of all distributions over . For a set , we use to denote its complement and to denote its cardinality. For a distribution and a subset , we use to denote the cumulative mass that places on . That is, . We also define sets using their indicator functions and more generally consider real-valued functions on . For a function , we define . For a single point we abbreviate by .
As usual, for , we define . We define as the set of all finite sequences of examples in . We denote a sample of examples by , and, abusing notation, also write or for the set of its points (so that , and refer to that set). A mapping defined on is symmetric if for every sample and every permutation of its coordinates, i.e. if depends on only through its multiset of points. Unless stated otherwise, the mappings considered in this paper are symmetric. For a sample and index , we write for the sample with the th point removed. In particular, denotes the sample with its last point removed. The sample size is always clear from context.
3.2 Probability Estimation
In probability estimation, one aims to estimate the mass placed by an unknown distribution on a known, potentially sample-dependent, region using i.i.d. samples from . Throughout the paper, we use to denote a known mapping that assigns to each sample an indicator function on . We write for the resulting query and for its value at a point . We identify the indicator with the event (subset) it defines, and freely use set operations on the outputs of whenever convenient. Both and are assumed known, and the target of estimation is the induced mass
which for an event equals . More generally, we also allow to output a function from to , i.e. a statistical query or a (bounded) loss function.
We first define a probability estimator for the simpler case of deterministic mappings . A probability estimator , defined formally in Definition 3.1, maps a sample to a value in . In this paper, we will always assume is deterministic, though all our definitions of estimatability can be naturally extended to randomized estimators. Note that replacing a randomized by its expectation over its internal randomness can only decrease the mean squared error.
Definition 3.1 (Probability Estimator). A probability estimator is a function that maps a finite training sample to a number in .
Given knowledge of (but not ), our goal is to find an estimator such that and are close when is an i.i.d. draw. We will focus on the mean-squared error (MSE) of the estimator both for concreteness and because it is the most common notion of error in the literature.
Definition 3.2 (Estimatability). For an integer and , a mapping is -estimatable with samples if there exists an estimator such that
When the sample size is clear from the context we simply say that is -estimatable, and we write that is -estimatable for a function if it is -estimatable with samples for every . We also allow the problem itself to be parameterized by , that is where is defined over a domain that may depend on . We say that is estimatable if is -estimatable with samples for some sequence as , and non-estimatable otherwise. This definition can be easily extended to other notions of error, such as mean absolute deviation (MAD) or a high-probability tail bound.
In many specific learning problems one is only interested in the performance of the estimator over a restricted class of input distributions (as opposed to all distributions over the domain). The definition of estimation error and estimatability of mappings naturally extends to this class-specific setting by taking the supremum over . In addition, in many practical applications the event or query is generated by a randomized algorithm (such as a randomly initialized learning algorithm). In this case, we can extend the definition of estimatability to randomized mappings by allowing the estimator to depend on the randomness of as well. We incorporate these generalizations into the definition below.
Definition 3.3 (General Estimatability for Randomized Mappings). Let be a family of classes of distributions over , one for each sample size. A randomized mapping is defined by a function , where is the space of random seeds together with a distribution over . For an integer and , the mapping is then said to be -estimatable over with samples if there exists an estimator such that
In this paper, we are interested in understanding general conditions under which functions are estimatable. We now discuss several known choices of arising in specific problems and their estimatability properties.
3.3 Relationship to Known Estimation Problems
Prediction-error and loss estimation. Estimating the error of a data-trained predictor is a prototypical instance of our question. If a learning algorithm maps a labeled sample to a classifier , then is the (data-dependent) error region and is its test error; for a bounded loss, taking to be the corresponding loss function makes the risk. Classical generalization theory estimates this quantity by the training error whenever the induced class of error regions has low complexity, e.g. bounded VC dimension [Vapnik and Chervonenkis, 1971] or bounded Rademacher complexity [Boucheron et al., 2013]. In some regimes where the empirical estimator fails, cross-validation, leave-one-out, and bootstrap methods have been shown to estimate risk [Stone, 1974, Devroye and Wagner, 1979, Kearns and Ron, 1999, Efron, 1983].
Estimability of learning algorithms. The question of when the test error of the classifier produced by a known learning algorithm can be estimated from the training sample alone was posed by Gastpar et al. [2024a] and studied further by Gastpar et al. [2024b]. In their terminology, a learning algorithm is -estimable with respect to a class of distributions if there is an estimator (which may depend on ) such that with probability at least over for every distribution in the class, where is the error region of (or, for a bounded loss, its loss function). Gastpar et al. [2024b] also consider the version of this guarantee that holds on average over a uniformly random distribution from a finite collection, and its mean-squared-error analogue. Since is known, estimability with respect to all distributions is estimatability of the mapping in the sense of Definition 3.2, up to the choice of the error criterion. Conversely, for any mapping over , consider the labeled domain with distributions supported on the label 0, and the learning algorithm that on a sample outputs the classifier ; its error region is , so estimating its error is the same problem as estimating (for a -valued query the same identification goes through the loss of Section 4). Thus the two frameworks describe the same class of problems, and we keep the term estimatability for Definition 3.2, which applies to mappings and uses the mean squared error. The formulation in terms of events makes it natural to consider missing mass and its structured variants alongside prediction error, and to combine the estimators for them, which is the focus of this work.
Missing mass estimation. The most classical special case is missing mass: taking , the target is the probability that a fresh sample is not present in . Here the empirical estimator is identically zero, yet the Good–Turing estimator and its refinements estimate the missing mass at mean-squared-error rate : the Good–Turing bias is [Good, 1953], with high-probability guarantees given by McAllester and Schapire [2000], and the minimax mean-squared error is [Rajaraman et al., 2017, Acharya et al., 2018]. More generally, the mass of the -occurrence (heavy-hitter) set is -estimatable [McAllester and Schapire, 2000]. The leave-one-out estimator of Section 5 is based on these results and extends them to several additional structures.
Adaptive data analysis. In adaptive data analysis (ADA), a curator holding a sample answers a sequence of statistical queries posed adaptively by an analyst, returning estimates of each value [Dwork et al., 2014, 2015a,b, Bassily et al., 2016, Russo and Zou, 2016, Feldman and Steinke, 2018]. Our target is the value of a single such query, . In the positive direction, the machinery developed for ADA transfers to our setting directly. That machinery controls the generalization gap between the empirical answer and its true value by limiting how strongly the query depends on the sample . The main techniques are:
-
Differential privacy. If is -differentially private as a function of , its output is insensitive to any single sample point, and the generalization gap is controlled by and [Dwork et al., 2014]; tight and variance-adaptive versions of this transfer theorem were given by Bassily et al. [2016], Feldman and Steinke [2018].
-
Max-information. More generally, a bound on the (approximate) max-information between the sample and the query controls the gap [Dwork et al., 2015a, Rogers et al., 2016].
-
Mutual information. A bound on the mutual information between the sample and the query likewise controls the gap: the expected signed gap is at most [Russo and Zou, 2016, Xu and Raginsky, 2017, Feldman and Steinke, 2018].
Each of these is a sufficient condition for the empirical estimator to accurately estimate .
At the same time the requirements in ADA are incomparable to those of our setting. Adaptive data analysis requires a guarantee that holds for every distribution and every analyst; equivalently, the analyst may be assumed to know but not the realized sample , so the query it produces is independent of (it can depend on only indirectly, through the curator's earlier answers). However in estimatability, the mapping is fixed and known and its output depends on directly, and the estimator is given both and . Thus the basic ADA setting does not itself fall under our notion of estimatability. In particular, while positive results transfer, hardness does not: a lower bound for adaptive data analysis [Hardt and Ullman, 2014, Steinke and Ullman, 2015] does not imply a lower bound for estimatability, which is why the impossibility results of Section 7 require constructions of their own rather than being inherited from ADA.
Bayesian adaptive data analysis. Elder [2016a] proposed a Bayesian version of ADA in which the analyst and the curator both receive a prior over distributions on , and the data distribution is drawn from this prior (and is unknown to both). The curator wins if, with probability at least , all of its answers are within of the values of the queries, where the probability is also over the draw of [Elder, 2016a, Section 2]. Nissim et al. [2023] study a balanced model in which the distribution is chosen by a sampler that passes no information to the analyst. They note that when the sampler is publicly known, the two models are equivalent from an information-theoretic point of view. By a standard minimax argument, a curator that wins against every analyst exists for every prior if and only if for every analyst there is a curator that wins against it for every distribution (the curator may depend on the strategy of the analyst but not on its random bits). Indeed, for a fixed prior the minimax theorem allows the curator to be chosen after the analyst, and for a fixed analyst it equates the worst case over priors with the worst case over distributions (for a finite domain and finitely many possible queries and answers). We are not aware of this equivalence being stated in the literature. For a known analyst and fixed answering rules of the curator for the first queries, the -th query is a known randomized function of the sample whose value the curator needs to estimate for every distribution.¹ Thus our framework (Definition 3.3) captures this setting, one query at a time. For Dirichlet priors, Elder [2016b] shows that the curator that answers with the posterior mean matches the statistical guarantees of the static case. Beyond such specific priors, we are not aware of positive results for this setting that are stronger than those for general ADA. The negative results are either purely computational [Nissim et al., 2023] or apply only to restricted families of curators, such as those that answer each query with a function of its prior and posterior means [Elder, 2016a].
Post-selection and selective inference. In post-selection (selective) inference, a model, variable, or hypothesis is chosen after examining the data, for example the support recovered by the Lasso, or the most significant among many candidates, and one seeks inference for a target defined by that selection [Berk et al., 2013, Taylor and Tibshirani, 2015, Lee et al., 2016, Fithian et al., 2014]. This setting differs from ordinary generalization in two ways. First, the selection is typically from a rich family (all sub-models, all subsets of variables), so uniform convergence over the family is unavailable and the naive in-sample value of the selected target is systematically biased. Second, the standard remedy is not a complexity bound but conditioning on the selection event and performing inference under the resulting conditional law [Lee et al., 2016, Fithian et al., 2014]. In our notation the selected object is and the selected parameter is its mass . We differ in two ways:
¹Strictly speaking, Definition 3.3 gives the estimator the random bits of the analyst, which the curator does not see. This does not change the minimax error since, for every prior, the conditional expectation of the value of the query given the sample and the random bits depends only on the sample and the query.
we seek distribution-free point estimation of rather than conditional tests or intervals, and we ask when this is possible at all – for a sufficiently rich selection family no estimator can succeed, as our impossibility results show (e.g. Theorem 7.1, which selects the coordinate of maximal empirical mean among exponentially many candidates).
Conformal prediction and distribution-free uncertainty quantification. Given a training or calibration sample , a conformal method outputs a prediction set for the label of a new point ; its error event is data-dependent, and is the realized miscoverage of the particular set produced from [Vovk et al., 2005, Lei et al., 2013, Angelopoulos and Bates, 2021]. Conformal methods are designed to control this probability marginally over the joint draw of and the test point, under exchangeability. Our question is complementary: once a particular has been produced, can its realized miscoverage be estimated from the same sample ? Noorani et al. [2025] use ideas from missing mass estimation to address this question for generative models.
Classical estimation. Finally, our task differs from classical parameter estimation in that the estimand is itself random: is a function of the realized sample, whereas in classical problems, mean estimation, or empirical risk minimization over -statistics [Clémençon et al., 2008], the target is a fixed functional of . This randomness of the estimand drives several of the phenomena we study and means that standard lower-bound techniques for classical estimation, such as Le Cam's two-point method, do not directly apply: Appendix E exhibits a mapping that is estimatable with zero error in the sense of Definition 3.2 while the corresponding deterministic functional cannot be estimated to within a constant.
In Sections 4 and 5, we focus on two natural estimators : the empirical-distribution-based estimator and the leave-one-out estimator. We show that these two estimators are sufficient for estimating a large class of functions . In Section 6 we combine the two estimators to solve adaptive missing mass estimation, and in Section 7 we complement our upper bounds with lower bounds.
4 Empirical Estimator
The simplest and most well-studied estimator constructs the empirical distribution over its samples and returns the empirical mass of the query (for an event, , or equivalently,
We can view the output directly as a (data-dependent) loss function on a data point, in which case the error of the empirical estimator becomes the gap between the empirical and population loss. More formally, define (which contains ) and an algorithm such that on input , we have . Define the loss function by (for an event , this is ). Then the minimax MSE of the empirical-distribution-based estimator can be written as
where the last line is exactly the generalization error for algorithm with respect to the loss function . This relationship implies that standard bounds for the empirical estimation of losses imply bounds for the corresponding events.
For a sample size , define as the hypothesis class induced by the image space of on . Classical VC theory then yields the following bound, proved in Appendix A; in particular, any with is estimatable via the empirical estimator.
Corollary 4.1 (VC-based upper bound for the empirical estimator). Let be any function such that for all . Then
A second, incomparable, sufficient condition is that the output of be small on average. Writing
for the worst-case expected cardinality of the output of , we show in Appendix A that the mean-squared error of the empirical estimator is , so that estimation is possible whenever .
Theorem 4.2 (Cardinality-based upper bound for the empirical estimator). Let and be such that . Then
If moreover for every , then the left-hand side is at most .
The two complexity measures and are incomparable: Appendix A exhibits mappings for which each of the two bounds is vacuous while the other is not.
Another class of approaches for understanding the properties of the empirical estimator is based on various notions of stability of the output [Bousquet and Elisseeff, 2002, Shalev-Shwartz et al., 2010, Feldman and Vondrak, 2018, 2019], all of which become properties of since . Information-theoretic generalization bounds, controlling the gap through the mutual or conditional mutual information between the sample and the output [Xu and Raginsky, 2017, Steinke and Zakynthinou, 2020, Hellström et al., 2025], apply in the same way. Since these arguments mostly require only plugging in existing upper bounds on generalization error, we omit them here.
Finally, the adaptive-data-analysis techniques discussed in Section 3.3, namely differential privacy, max-information, and mutual information, each yield a further sufficient condition for the empirical estimator: whenever has a small value of the corresponding quantity, the generalization gap above is controlled [Dwork et al., 2014, 2015a, Bassily et al., 2016, Russo and Zou, 2016, Feldman and Steinke, 2018, Rogers et al., 2016].
All of the above guarantees extend directly to randomized mappings (Definition 3.3): given the seed , the empirical estimator uses the realized query , and identifying the algorithm absorbs the internal randomness of into that of . Since the VC-, stability-, privacy-, and information-based bounds above all apply to randomized algorithms, they carry over without change.
5 Estimation via the Leave-One-Out Estimator
In Section 4, we identified generic conditions on for which the empirical-distribution-based estimator enjoys vanishing estimation error. One might wonder if this empirical distribution-based estimator can work for all . Unfortunately, this is not the case even for the well-studied missing mass estimation problem . In this setting, the empirical plug-in estimator is identically zero, while the true probability mass of unseen elements is typically nonzero, leading to a large bias. Motivated by this example, we study the leave-one-out estimator , which, writing for the query produced on the sample with the th point removed, computes
It turns out that while the missing mass is not estimatable via the empirical-distribution-based estimator, it is estimatable using the leave-one-out estimator. In fact, we show that the leave-one-out estimator is valid for any sufficiently stable function . Our notion of stability involves the following quantity:
where , , and is the expected change in the query when the last sample point is dropped; for an event (indicator-valued ) this equals the symmetric-difference mass . We call the deletion stability of at sample size , and say that is stable if . This quantity is the hypothesis stability of Devroye and Wagner [1979], named by Kearns and Ron [1999] and used in the form of Bousquet and Elisseeff [2002, Definition 3], for the “algorithm” and the loss . Theorem 5.1 below is the classical bound on the deleted estimate for hypothesis-stable algorithms (Kearns and Ron, 1999, Theorem 3.1; Bousquet and Elisseeff, 2002, Lemma 9), restated in this setting: the quantity those results bound, the difference between the true error of the hypothesis trained on the full sample and its leave-one-out estimate, is exactly the estimation error of for . What is new is the object to which the bound is applied. A data-dependent event is the output of a learning algorithm in this sense, with no labels and no hypothesis class, and the content of this section lies in computing for the mappings considered below and in identifying the resulting estimators with the Good-Turing estimator (Remark 5.1).
Theorem 5.1 bounds the error of the leave-one-out estimator by up to an additive ; in particular, every stable mapping is estimatable via the leave-one-out estimator. Missing proofs for this section are in Appendix B.
Theorem 5.1 (Estimation via the Leave-One-Out Estimator). Let be any symmetric mapping. Then, for every and every ,
and consequently
In particular, if then is estimatable.
While missing mass estimation gives a task for which leave-one-out succeeds and the empirical estimator fails, the following proposition gives the reverse direction. Together, these examples show that the two estimators are incomparable.
Proposition 5.2 (Empirical succeeds while leave-one-out fails). For any non-empty domain , define if the length of the sequence is even, and if the length is odd. Then while , for every and .
Proof. If is even then , so , while every fold has odd length, so and . If is odd the roles are reversed: and .
Appendix C.2 shows a simple problem that combines the failure modes of both the empirical and the leave-one-out estimators (but is solved by the proposed hybrid estimator).
As with the empirical estimator, the leave-one-out estimator extends directly to randomized mappings (Definition 3.3): it reuses a single seed across all folds, computing , so that conditioning on reduces to the deterministic guarantee of Theorem 5.1. Averaging over then preserves the bound, with now also averaged over . We omit the formal details.
Remark 5.1 (The leave-one-out estimator is the Good–Turing estimator). For the two classical mappings the leave-one-out estimator coincides exactly with the Good–Turing estimator. Write for the number of distinct elements occurring exactly times in . For missing mass, , a point lies in precisely when it occurs once in , so
the Good–Turing estimator of Good [1953]. More generally, for , the set of points occurring exactly times in (Section 5.1), a point lies in precisely when it occurs times in , and each such element is counted once for each of its occurrences, so
which is the classical Good–Turing estimator for the mass of the -occurrence set. Theorem 5.1 together with Lemma 5.6 thus recovers the classical guarantees for these estimators, and simultaneously extends the same estimator to the mappings considered below.
5.1 Applications
In this section, we upper bound for several natural choices of . Our results recover well-known facts, such as missing mass being -estimatable, while also showing that estimation is possible for new choices of .
Estimating Mass of Neighbors. In this section, we study the estimatability of natural functions whose output size can be much larger than . These functions are best described by a directed graph on the vertex set whose edges are given by a function : for each vertex , is the set of outgoing neighbors of . We write for the set of in-neighbors of . Given such a function , we consider functions of the form
On a sample , returns the set of all outgoing neighbors across the examples in , and thus measures the mass placed by on all the neighbors of the sample. The following theorem shows that for any neighboring function , its corresponding function is estimatable.
Theorem 5.3 (Unions of Neighborhoods). Let be any function and consider the function . Then is -estimatable via the leave-one-out estimator.
Complements require no separate argument. For every mapping , the leave-one-out estimate of the complement is , and because . Hence is estimatable via the leave-one-out estimator at the same rate as , and we obtain the following corollary.
Corollary 5.4. Let be any function and consider the function . Then is -estimatable via the leave-one-out estimator.
Indeed, with , so this follows from Theorem 5.3 and the observation above. Note that a special case of Corollary 5.4 is the classical missing mass problem . Hence, these results provide, to the best of our knowledge, an alternative proof of the fact that missing mass is -estimatable.
Estimating Mass of Pierced Sets. In many applications, one is interested in estimating the mass of in-sample examples that satisfy certain properties. For example, in ecology, one might be interested in estimating the mass of species with a predetermined anomaly [Good, 1953, Chao and Lee, 1992, Bunge et al., 2014]. Motivated by these applications, we consider functions of the form
where is a prespecified “piercing” set that is fixed, i.e. does not depend on the realized samples . Since is the union of the neighborhoods , Theorem 5.3 shows that estimation is then possible at a rate of . The set may itself be chosen as a function of the sample size, say . The proof is unchanged, but the estimator must then be the level- leave-one-out estimator , which holds fixed across the folds.
The same bound holds for the unseen part of a fixed region, which is the mass of the missing examples with the property, and for the unions and .
Corollary 5.5 (Pierced Sets). Let be any fixed set. Each of the mappings , , and has for every , and is therefore -estimatable via the leave-one-out estimator.
Proof. For each of the four mappings, , since adding to changes the set of sample points only by adding , and only if . Hence
and Theorem 5.1 applies.
With , the mapping is the missing mass.
Estimating Mass of Functions of Heavy Hitters. One important generalization of missing mass estimation is estimating the mass of heavy hitters. Given a sample and an integer , define to be the set of examples that occur exactly times in (i.e. the -heavy hitters); for we have , while . When , our estimation task reduces exactly to that of estimating the -heavy hitters, which is known to be -estimatable [McAllester and Schapire, 2000]. Lemma 5.6 shows that when . Hence, by Theorem 5.1, we recover this known result.
Lemma 5.6. Fix and let . Then, .
Next, we consider estimating the mass of the neighbors of the -heavy hitters. Unlike Lemma 5.6, this result has an additional term, and we leave whether the rate holds for every neighborhood function as an open question.
Theorem 5.7 (Unions of Heavy-Hitter Neighborhoods). Let be any function. For , consider the function . Then for every , and is -estimatable via the leave-one-out estimator.
Finally, we also extend these results to estimating the mass of arbitrary piercings of the -heavy hitters.
Theorem 5.8 (Piercings of Heavy Hitters). Let be any fixed set. For , consider the function . Then is -estimatable via the leave-one-out estimator.
6 Estimating the Error of a Memorizing Classifier via Adaptive Missing Mass Estimation
Estimating the true error of a trained classifier is the basic instance of our problem. Most theoretical approaches to it rely on the empirical estimate together with an upper bound on the generalization gap, obtained by one of the methods discussed in Section 4. Yet in practice the empirical error is close to 0 while the generalization gap is large, often over 20% [Zhang et al., 2017]. An estimate obtained in this way cannot be more accurate than the gap it bounds, and so these approaches cannot give a useful estimate of the true error.
In this section we show that by combining the two types of estimators one can estimate the error of a natural class of exception-memorizing predictors. These predictors combine a structured base classifier with data-dependent corrections, such as the memorization of individual, atypical training examples. Such classifiers are used both in theory (e.g., Board and Pitt, 1990, Angluin et al., 1997, Manoj and Srebro, 2023), most notably in the classical proof that PAC learning implies an Occam (or consistent and compressing) classifier [Blumer et al., 1987, Board and Pitt, 1990], and in many practical systems. For example, Batchwise Patching retains an immutable black-box classifier and invokes local patch classifiers selected by an error-region detector for concept drift and transfer learning [Kauschke and Fürnkranz, 2018], and RESMEM augments an existing prediction model (e.g., a neural network) by fitting the model's residuals with a nearest-neighbor based regressor [Yang et al., 2023]. Other correction modules populated by specific errors, edits, or user feedback include feedback-memory graph repair, memory-assisted prompt correction, discrete edit codebooks, per-edit experts, and routed side memories [Tandon et al., 2022, Mitchell et al., 2022, Madaan et al., 2022, Hartvigsen et al., 2023, Yao et al., 2024, Wang et al., 2024]. It is also known that standard training methods memorize such atypical examples [Feldman, 2020, Feldman and Zhang, 2020], although in this case there is typically no explicit separation between the base classifier and the exceptions.
We first describe this class of learners formally, starting with the simplest one, which memorizes every exception in the training set.
6.1 Exception-Memorizing Learners
Let inputs come from a space with labels given by a fixed labeling function , and identify the example space with the set of correctly labeled pairs, ; we suppress the label and write for the example . A base learner is an algorithm that maps a sample to a classifier . We write
for the error region of . (The base learner may be randomized; for simplicity we suppress the dependence on its random seed and treat it as deterministic.)
The simplest exception-memorizing learner runs and then memorizes the training set: on an example that occurs in it predicts the label recorded in , and elsewhere it predicts as . Its memorized answers are correct, so its error region is
where is the set of sample points, as in Section 3.
In practice, a memorized exception is used to correct the predictions on other, sufficiently similar inputs as well. To model this we use a neighborhood function as in Section 5.1, which assigns to each example a set of neighbors; we assume throughout that . Memorizing an exception then corrects the base classifier on all of .
Definition 6.1 (Neighborhood-correcting learner ). Let be a base learner and a neighborhood function. For a region and a sample , the correction set
is the part of that is corrected by memorizing the exceptions in , that is, the points of that lie in . The learner runs on to obtain and then corrects on every neighbor of every exception in . Its error region is
Here we model the correction as exact: on every neighbor of a memorized exception the corrected classifier is right. Since , a correction never introduces an error; it only removes errors of . When we have , and is the exception-memorizing learner of (3), which we denote by .
Neither of the two standard estimators is adequate for estimating the error of the exception-memorizing classifier. The empirical estimator is identically zero, since excludes every sampled point. The leave-one-out estimator retrains on each of the folds, which is expensive, and it is not covered by the guarantee of Theorem 5.1 when is unstable, for example because its training objective is non-convex; Appendix C.2 gives a simple example in which it fails.
6.2 Adaptive Missing Mass Estimation
The true error of the exception-memorizing classifier, , is exactly the missing mass of the error region. For a region fixed in advance this is the mass of the out-of-sample pierced set we defined in Section 5.1, which is -estimatable by Corollary 5.5. In our problem the region is selected using the same sample whose missing mass is then estimated. This gives rise to a general question of adaptive missing mass estimation that we formulate below.
Definition 6.2 (Adaptive missing mass estimation). A region selection rule is a map , possibly randomized using an internal seed , as in Definition 3.3. For a region and a sample , let
be the missing mass of . Adaptive missing mass estimation for a selection rule is the problem of estimating , the missing mass of the selected region.
6.3 The Hybrid Estimator
The missing mass of the selected region is the difference of two masses,
and we estimate the two terms using two different estimators. The mass of the selected region is estimated empirically, by the fraction of the sample that it contains, which for the error region of a base classifier is its training error. The mass of the seen part is estimated by leave-one-out with the region held fixed: for a fixed region , the leave-one-out estimator of the in-sample piercing of Section 5.1 is
and the hybrid evaluates it at , the region output on the full sample. Writing for the number of occurrences of in , a point lies in exactly when , so the difference of the two estimates is a count of singletons.
Definition 6.3 (Hybrid estimator). For a region selection rule , the hybrid estimator of the missing mass is
For the exception-memorizing classifier, , we write .
The right-hand side of (10) is the Good-Turing estimator of the missing mass restricted to the selected region. For a region fixed in advance we write for this restricted Good-Turing estimator, so that . Since exactly when is a singleton, is the leave-one-out estimator of the out-of-sample piercing , and Corollary 5.5 gives . We note that for the error region of a base classifier, computing the hybrid requires running the base learner once rather than times.
The two components of the hybrid have errors of different kinds; the following lemma, immediate from (7) and (9), fixes the notation for them.
Lemma 6.1 (Error decomposition). For every region selection rule and every sample ,
Consequently, writing
for the worst-case mean-squared errors of the empirical estimate of the selected region, of the leave-one-out estimate of its seen part, and of the hybrid, we have
The first term is controlled by any of the conditions of Section 4, and the second would be if the region were fixed in advance. The key problem is the adaptivity: the estimate is evaluated at the region chosen by the same sample , and this dependence invalidates the standard analysis. One might hope that the generalization of the selection rule is sufficient to control the error: if is an accurate estimate of , perhaps is an accurate estimate of as well. The following proposition, proved in Appendix C, shows that it is not.
Proposition 6.2 (Generalization of the base learner does not suffice for the hybrid estimator). There is a base learner , with a symmetric error-region rule , such that , while for the exception-memorizing learner built from it for every sample and
for an absolute constant c > 0.
In the construction, is the set of points that occur exactly once in , provided that the sample passes a consistency check, and it is empty otherwise. The check compares the fraction of the sample made up of such points with the Good-Turing estimate of their mass. Passing this check guarantees that the training error of is an accurate estimate of the population error , under every distribution. We show that the check holds with constant probability under the uniform distribution on points. Yet contains no unseen point, so the memorizing classifier is perfect, whereas the hybrid counts every singleton of and reports an error of about .
The proposition shows that the two ingredients of the hybrid cannot be analyzed separately: no bound of the form holds for all selection rules. We note that in this construction the error of the memorizing classifier is identically zero and is therefore trivially estimatable, so the proposition is a statement about the hybrid estimator and not about estimatability. We next give two natural conditions on the selection rule under which the error can be controlled. The first bounds the error by the amount of information that the selected region carries about the sample. The second bounds it by the complexity of the class of regions that the rule can output, with no restriction on how the region is chosen from the class.
Theorem 6.3 (Adaptive missing mass estimation). Let be a region selection rule and let be the class of all regions that can output on samples of size . The constants in the following bounds are absolute.
(i) For every , writing for the mutual information (in nats) between the sample and the selected region,
In particular, if takes at most values then .
(ii) If satisfies , then
In particular, whenever or .
The proof of part (i), given in Appendix C.3, uses known concentration results for the missing mass [McAllester and Ortiz, 2003] to show that for every region fixed in advance, the error of the restricted Good–Turing estimator is sub-Gaussian at scale . It then uses the Donsker–Varadhan variational inequality to decouple the selected region from the sample at a price of . This approach is common in information-theoretic generalization bounds mentioned in Section 3.3. The information-theoretic argument immediately implies a cardinality-based bound which can also be derived via the union bound from the concentration results of McAllester and Ortiz [2003]. To derive part (ii), proved in Appendix C.4, we rely on the cardinality-based bound together with standard covering arguments based on the VC dimension. The two conditions are incomparable. The class of all singletons has VC dimension 1, yet the rule on , which is symmetric, can reveal arbitrarily many nats about the sample, so (ii) is not a consequence of (i); conversely, a rule whose output carries little information about the sample may range over a class of large VC dimension.
Implications for the error of a memorizing classifier. Theorem 6.3 can be directly translated into analogous bounds on the error of the hybrid estimator for the exception-memorizing classifier, with the VC dimension of the error-region class replacing that of , and replacing . The condition is the same one that makes the error of the base learner itself estimatable by the empirical estimator (Corollary 4.1). The theorem shows that it also makes the error of the memorizing learner built on top of it estimatable, via the hybrid, even though for this learner the empirical estimator is identically zero.
Finally, we observe that the VC dimension of the error-region class is bounded for every base learner whose output is constrained to a hypothesis class of bounded VC dimension, for every possible labeling of the data. To state this uniformly over labelings, let the base learner be defined on all labeled samples in , so that it applies to every labeling , and write , , , and for the example space, the error regions of , and the error region of the exception-memorizing learner under the labeling .
Corollary 6.4 (Base learners with a hypothesis class of bounded VC dimension). Let , let be a class with , and let be a base learner whose output lies in on every labeled sample. Then for every labeling and every . Consequently, if , then for every labeling the hybrid estimator for the error of the exception-memorizing learner built from satisfies
with an absolute constant that does not depend on y.
The proof (in Appendix C.5) follows directly from the definition of VC dimension. The indicator of the error region of relative to is , with addition modulo 2, and adding pointwise is a bijection on the labelings of any finite set, so a set is shattered by the error regions of if and only if it is shattered by . Note that the labeling need not belong to , and the estimator is the same for every labeling, since (10) is computed from the labeled sample and alone. The corollary extends to an arbitrary label set, with replaced by the graph dimension of ; see Corollary C.7 in Appendix C.5.
For the neighborhood-correcting learner , bounding the error of the hybrid estimator beyond the memorization case is an open problem, discussed in Section 8.
7 The Limits of Estimatability
Our framework leads to a natural question: when is a data-dependent function estimatable by some procedure? We first observe that standard lower bounds on learnability of function classes or distributions do not directly imply the existence of non-estimatable mappings, nor do classical estimation lower bounds (Appendix E). In these lower bounds, one usually proves that the error of the learning process is high with high probability. Such a lower bound typically defines an event (or set corresponding to the loss) whose probability is high and, importantly, known. We demonstrate that there exist ways to define functions in the transition between the learnable regime and the hard regime so that the defined event is not estimatable.
We give three constructions of non-estimatable events, of decreasing domain size, which we include for completeness: the first and simplest uses a domain of size , the second , and the third only . The first construction is a simple instance of post-selection which shows that even a simple event that selects the coordinate with the largest empirical mean cannot be estimated when the number of coordinates is exponentially large in . The second construction corresponds to learning parity functions and is close to the constructions of Gastpar et al. [2024a], and the third is a random code, as is the construction underlying Theorem 2.1 of Gastpar et al. [2024b]. Since both are stated directly in terms of events, their proofs are self-contained and, we believe, somewhat simpler. The mechanism in all three constructions is the same. With constant probability the sample is consistent with a small number of candidate distributions that are equally likely given the sample, and the selected event has different masses under them, so that no estimator can do better than the posterior variance of the target.
Theorem 7.1. For every , let and . For , let be the smallest coordinate maximizing , and define
Then no estimator achieves mean-squared error below 1/64 for .
Proof. For each , let be the product distribution on in which coordinate is deterministically 1 and every coordinate is an independent Bern(1/2) random variable. For these product laws, is exactly the mean of the coordinate selected by the maximum empirical mean rule.
Fix any estimator . It suffices to lower-bound the Bayes risk when is uniform on and, conditional on , . Given the sample, let
be the set of all-one coordinates. Since exactly when , and because , the maximum empirical mean equals 1 and its argmax set is ; hence . Moreover, each lies in independently with probability . Let be the event . Then
where the last inequality holds because is decreasing in n with limit .
Now fix a realization for which holds and write with . By symmetry,
On this realization, . Therefore
Conditioned on and , the target is thus uniform on , so every estimate has conditional squared loss at least its variance, namely . Averaging,
Since the supremum over is at least this average over , the claim follows.
A limitation of the lower bound in Theorem 7.1 is that it requires an input space of size . Next, we give another example of a hard-to-estimate event that directly corresponds to learning parity functions in dimension . This example is still relatively easy to analyze and the input space size is exponentially smaller: .
Theorem 7.2. For every , let . For a sample , let
let be the lexicographically first non-zero vector in if , and otherwise, and define . Then no estimator achieves mean-squared error below for .
Proof of Theorem 7.2. Fix and let . For any vector , define , i.e., the subspace orthogonal to , which has dimension (whenever ). The function is defined in the theorem statement. Note that both and depend on . This still yields a single non-estimatable mapping on a fixed countable domain. Concretely, one may take , the (countable) set of all finite binary strings, and apply the construction to the projection of each sample point onto its first coordinates, padding with zeros as needed.
Next, consider the following distribution over input distributions (which may depend on ). Choose a non-zero vector uniformly at random, and let be the uniform distribution on . Now, let be any purported estimator. We will show that
which implies that is not a constant-error estimator for .
To prove this, first note that under , each is uniform on the -dimensional space , so the probability that is linearly independent is
Next, given a linearly independent sample set , there are exactly 3 non-zero vectors orthogonal to all elements of , one of which is . If the other two non-zero vectors orthogonal to are and , then by symmetry, . Furthermore, if , then contains all of , so . If (i.e., ), then has dimension , so within we have .
Thus conditioned on the linear independence of , the variance of the target value is easily computed to be . Since independence holds with probability at least , we conclude that .
7.1 Hardness on a Domain of Quadratic Size
Both constructions above require a domain that is exponential in n. We now show that non-estimatability already arises on a domain whose size is only quadratic in n.
Theorem 7.3. For every there is a domain with and a function such that
Proof outline. The full proof is in Appendix D; we sketch the idea. Fix , and . We select a random “code” of sets , each an independent uniformly random -subset of , with , where for a fixed -element set (so and ). Let be uniform on , and let output the first set that contains the sampled set . Consider the Bayesian experiment with uniform on and . With constant probability the sample has no repetitions, and then the number of other ’s containing is Binomial, which takes the value 1 with constant probability. In that case there are exactly two candidate supports and , the posterior distribution of is uniform on , and the estimand is 1 for one of them and for the other. The other candidate is a uniformly random -set containing , so , and by Jensen’s inequality the posterior variance is at least on average. Averaging over the code and applying the probabilistic method fixes a single code.
We remark that in this case the image class has size , so its VC dimension is at most .
8 Discussion and Open Problems
In this work we studied data-dependent probability estimation via a unified framework that incorporates a variety of existing problems and methods, and used it to estimate the error of exception-memorizing predictors via adaptive missing mass estimation. We also described several limitations on estimatability. Our results suggest that estimatability can arise from fundamentally different structural properties. Empirical estimators exploit generalization control, for example through low complexity of the induced image class, algorithmic stability, differential privacy, or information-theoretic bounds, while leave-one-out estimators rely on stability under small perturbations of the sample. Understanding how these principles interact, and whether they admit a unified characterization, remains an intriguing direction for future work. We list a few directions below.
Characterizing estimatability. The most fundamental open problem is to characterize which functions are estimatable. Our results provide several sufficient conditions and impossibility results, but a complete characterization remains open. In particular, it is unclear whether there exists a single structural notion that captures estimatability, or whether fundamentally different mechanisms are unavoidable.
Domain size of hard instances. Theorem 7.3 gives a non-estimatable mapping on a domain of size . On the other hand, if , then for every the image class has VC dimension at most , so the empirical estimator is already consistent by Corollary 4.1. Closing the gap between this linear lower bound and the quadratic construction is a natural and interesting open problem.
Neighborhood-correcting learners. Our results for the exception-memorizing learner concern a classifier that overrides the base classifier only at the training points themselves. In practice a memorized exception is also used to correct the predictions on nearby inputs, and the natural model is a learner that corrects on the neighborhood of every exception in the sample, for a neighborhood function as in Section 5.1 (Definition 6.1). Its error region is with the part covered by the neighborhoods of the sample points in removed, and the hybrid estimator extends naturally: the mass of is estimated by the training error, and the corrected mass by leave-one-out with the region held fixed. For a region fixed in advance the corrected part is a union of neighborhoods, so the second estimate is -accurate by Theorem 5.3. What is missing is the adaptive step. The proof of Theorem 6.3 rests on exponential concentration of the error of the restricted Good-Turing estimator for a fixed region, which comes from the concentration of the missing mass [McAllester and Ortiz, 2003] together with a bounded-differences argument for the count of singletons. Neither ingredient is available once neighborhoods are involved: in general a single sample point can cover or uncover many others, so the leave-one-out estimate of the corrected mass does not have bounded differences, and the indicators of the uncovered points need not be negatively associated, so the argument for the missing mass does not apply. For the uncovered mass itself, concentration is known only under additional conditions in metric spaces [Maurer, 2022]. Establishing such concentration, or bounding the error of the hybrid for neighborhood-correcting learners by other means, in terms of the complexity of the error-region class or the information it carries about the sample, is an open problem.
Optimal rates and complexity measures. Our analysis primarily focuses on establishing consistency under broad conditions. A natural next step is to determine optimal rates of convergence for different families of functions .
Beyond the current estimators. The examples in this work suggest that empirical and leave-one-out estimators are complementary rather than competing approaches and can be combined to obtain new estimators. This raises the possibility of developing new estimators that adaptively combine multiple structural properties of . Understanding the space of such estimators, and identifying natural problems that require genuinely new techniques, is an interesting direction for future work.
AI Use Disclosure
The authors formulated the framework, initiated the research on all questions and wrote a preliminary draft of this work. All parts of this version were created via an interactive process in which AI (Claude Opus/Fable;ChatGPT Sol/Astra) generated drafts, details of proofs, and improved authors' proofs based on author-provided structure and instructions. The resulting text was also extensively edited and proofread by the authors. The authors take full responsibility for the content of this paper.
A Results for the Empirical Estimator
Definition A.1 (VC dimension [Vapnik and Chervonenkis, 1971]). Let . A set is shattered by if, for every , there exists such that for all . The VC dimension of , denoted , is the largest integer for which there exists a set that is shattered by .
This section proves Corollary 4.1 and Theorem 4.2 of Section 4 and shows that the two complexity measures they involve are incomparable.
For a class of subsets of we write
for the uniform deviation of the empirical measure over . Both Corollary 4.1 and the VC bound for adaptive missing mass (Appendix C.4) rest on the following bound.
Lemma A.1 (Uniform deviation). If then .
Proof. The classical chaining bound on the Rademacher complexity of a VC class gives [Talagrand, 1994, Boucheron et al., 2013, Vershynin, 2018], and changes by at most when one sample point is replaced, so the bounded-differences form of the Efron-Stein inequality [Boucheron et al., 2013] gives . Hence , uniformly in .
Proof of Corollary 4.1. Since , the estimation error satisfies , so Lemma A.1 with gives the claim.
We record the cardinality-based complexity measure of (1) for reference:
Proof of Theorem 4.2. Fix and write , , and . Since , the set is finite almost surely, and Cauchy-Schwarz over gives
If for every sample, taking expectations and using gives the second claim. In general, since the error is at most 1 in absolute value, for every
The function satisfies , and replacing one sample point changes by a vector of norm at most , so McDiarmid's inequality gives for every . We take and , so that and . This gives
and taking the supremum over proves the first claim.
We end this section by showing that the upper bounds of Corollary 4.1 and Theorem 4.2 are incomparable: writing for the image class of a mapping , there exist such that (1) but , and (2) but . For (1), take and consider , so that while is a singleton. For (2), take , where denotes the collection of finite subsets of , and consider
Note that since we can always consider samples for all . On the other hand, is nonempty only when the points of are distinct and exhaust for a single . Writing , the probability of that event for a given is by the AM-GM inequality; the events for distinct are disjoint and . Since always, by Stirling's approximation.
B Missing Proofs for Section 5
Proof of Theorem 5.1. At a fixed , this is the bound of Devroye and Wagner [1979] on the deleted estimate in the form of Bousquet and Elisseeff [2002, Lemma 9], applied to the loss , whose hypothesis stability [Bousquet and Elisseeff, 2002, Definition 3] is (see the discussion after (2)); taking the supremum over gives the uniform form.
Proof of Theorem 5.3. By Theorem 5.1, it suffices to bound . Fix and write for the mass of the in-neighbors of . Deleting from removes from exactly the points of that lie in no other neighborhood, so for independent of ,
since if and only if , these events are independent with probability given , and for all . Thus, , and hence is estimatable with MSE that decays at a rate of .
Corollary 5.5 is proved in the main text. Lemma 5.6 and Theorem 5.8 rest on one identity: for and ,
which uses and . In words, the probability that a point of mass p is drawn and occurs exactly j times among n-1 further draws is at most .
Proof of Lemma 5.6 and Theorem 5.8. Both mappings have the form for a neighborhood function , and we first bound for an arbitrary . Fix and a distribution . Adding to increases the multiplicity of by one and leaves every other point unchanged. Hence enters exactly when its multiplicity in is and leaves exactly when its multiplicity is , and no other point changes status; in either case the union of neighborhoods changes only within . Therefore, for any ,
Conditioning on , the multiplicity of in is distributed as , so by (16) with and ,
For take : then , and the displayed bound reads , which is Lemma 5.6. For take : then , so again , and Theorem 5.1 gives estimation error .
Proof of Theorem 5.7. Fix , and a point , let , and write . Then if and only if . Passing from to raises the multiplicity of by one and changes no other multiplicity, so and differ at most in . Hence exactly when , and exactly when .
By symmetry of , . When is a single point, exactly indices have equal to it, and otherwise the sum is 0. So this probability is .
For the second event, is independent of , so with its probability is . The events are disjoint, so , and requires the multiplicity of in , which has distribution , to equal . Let . The terms with contribute at most . For the mean exceeds , and the Chernoff bound (take ) has a right-hand side that is decreasing in . At , writing , it equals , since . So these terms contribute at most .
Therefore for every , and averaging over gives . If , this is at most ; otherwise . Taking the supremum over and applying Theorem 5.1 completes the proof.
C Proofs for Section 6
C.1 Proof of Proposition 6.2
Recall from Section 5.1 that is the set of points that occur exactly times in , and from Remark 5.1 that . For a sample of size let
and define the region selection rule
The rule depends on only through its multiset of points, so it is symmetric, and it is the error region of a base learner: given the labeling , let predict for and a label different from for . Throughout, is the error region of the exception-memorizing learner built from this base learner.
The base learner generalizes. Every point of occurs once in , so . By Remark 5.1, the leave-one-out estimator of the mapping is , and Lemma 5.6 together with Theorem 5.1 gives
On we have and , so
while outside both and are 0. Squaring with and taking expectations,
The hybrid fails. Since , we have and for every sample. On the other hand every point of is a singleton of , so by the definition (10) of the hybrid estimator
Let be the uniform distribution on and let . Then
so that . Replacing one sample point changes each of and by at most 2, hence by at most 6, and McDiarmid's inequality gives . Since ,
and by the Cauchy–Schwarz inequality, for , we conclude that
for every . This proves the proposition with .
C.2 A Learner for Which the Hybrid Beats Both Standard Estimators
The following example shows that holding the base classifier fixed across the folds can be essential. It gives an exception-memorizing learner whose error the hybrid estimates at rate uniformly over all distributions, while both the empirical and the leave-one-out estimator have error bounded away from zero.
Let , where is a set of rare inputs. The base learner is unstable in the simplest possible way: it returns a perfect classifier when the sample size is odd and a classifier that errs exactly on when the sample size is even, so that for odd and for even . (A symmetric rule that depends on the sample rather than on , such as the parity of the number of distinct sample points, has the same effect.) Concretely, label and for every ; the learner returns the true labeling at odd sample sizes and the constant classifier 0 at even ones. The exception-memorizing learner built from it has error region .
Proposition C.1 (The hybrid succeeds where both standard estimators fail). For the learner above,
whereas for every even n there is a distribution at which both the empirical and the leave-one-out estimator have mean-squared error at least 1/16.
Proof. Since depends only on , the selection rule takes a single value, so the first claim follows from Definition 6.3 and part (i) of Theorem 6.3 with . For the lower bounds, let be even and let put mass on and mass on each of . Then , and since each occurs in with probability at most ,
The empirical estimator is identically zero because contains no sample point. Every leave-one-out fold has odd size, so and the leave-one-out estimator is identically zero as well. For either estimator, Jensen's inequality gives
C.3 An Information Bound for Adaptive Missing Mass
This section and the next (Appendix C.4) prove Theorem 6.3. We use the notation of Section 6.2: for a region and a sample ,
M_{V}(S)=D(V\backslash T(S)),\qquad\widehat{M}_{V}(S)=\frac{1}{n}\sum_{i=1}^{n}\mathbf{1}\{x_{i}\in V,\ #_{x_{i}}(S)=1\},\qquad Z_{V}(S):=\widehat{M}_{V}(S)-M_{V}(S)are the missing mass of , its restricted Good-Turing estimator, and the error of that estimator. A region selection rule is a map , where is an internal seed independent of (Definition 3.3); a deterministic rule ignores . For a selection rule we write for , and for the mutual information, in nats, between and when .
Theorem C.2 (Information bound for adaptive missing mass). There is an absolute constant c such that for every , every , and every region selection rule ,
where the expectation is over and the seed . In particular, if takes at most values then .
The proof has two steps. First, for a region fixed in advance, the error is sub-Gaussian at scale , so that has bounded expectation for a small absolute constant . Second, a change of measure from the joint law of to the product of its marginals, at a price of , transfers this bound to the selected region.
Proof. Step 1: a fixed region. Fix and a region , and write . Since is a singleton of exactly when it does not occur in ,
so the bias of the estimator is
using for .
Both terms of concentrate. The estimator changes by at most when one sample point is replaced, since only the singleton status of the old and of the new value can change, so McDiarmid's inequality gives
The missing mass does not have bounded differences, but it concentrates at the same scale. The proofs of McAllester and Ortiz [2003, Theorems 10 and 16] for the unrestricted missing mass ( ) use only the negative association of the indicators , which is inherited by every subcollection, together with bounds on and on , which can only decrease when the sums are restricted to . Hence there is an absolute constant such that
Let . Since requires one of the two centered terms to deviate by at least , (19) and (20) give with . Integrating this tail with ,
Finally by (18), so with we obtain, for every region , every and every (since , so that ),
Step 2: decoupling. Let be the joint law of with and , and let be the product of its marginals, so that . If there is nothing to prove. Otherwise the Donsker-Varadhan variational inequality, , applied to gives
The last step uses that under the region is independent of , so (21) applies conditionally on and hence after averaging over its law. Rearranging proves (17) with . If takes at most values then .
C.4 VC Bounds for Adaptive Missing Mass
Theorem C.2 gives the rate for a selection rule with at most possible outputs. We now replace by the VC dimension of the class of possible outputs, with no restriction on how the region is chosen from that class. Throughout, is a region selection rule with values in a class , is its error as in Appendix C.3, and is the empirical distribution of (Section 4). As in Appendix A, denotes the uniform deviation of the empirical measure over a class , and we write for the class of symmetric differences of pairs of regions in .
The argument is a covering reduction, applied to one distribution at a time (the cover is used only in the analysis, so it may depend on ). For let . An internal -cover of is a finite such that every has some with ; let denote the smallest size of such a cover. We replace the selected region by a nearby element of a cover, apply Theorem C.2 to the resulting finite-valued rule, and control the effect of the replacement by uniform convergence over . Requiring the cover to lie inside restricts the replacement errors to this class. The two lemmas below and Lemma A.1 supply the ingredients.
Lemma C.3 (Replacing the region). For all regions and every sample ,
Proof. A sample point contributes to exactly one of and only if it lies in , so . Also .
Lemma C.4 (Symmetric differences). If then .
Proof. If then has at most one member and . Let and let be the growth function of , the largest number of distinct traces of on points. Every trace of on a set of points is the symmetric difference of two traces of , so . If shattered points, Sauer's lemma would give , which is false since .
Theorem C.5 (Covering bound for adaptive missing mass). Let and let be a selection rule with values in . There is an absolute constant such that for every and every ,
Proof. Fix and ; if there is nothing to prove. Fix an internal -cover of size , and let map each region to the first cover element within -distance of it. Then is a selection rule with at most values, so Theorem C.2 gives for an absolute constant . Since and , Lemma C.3 gives
Therefore
and by Lemmas C.4 and A.1 the last expectation is .
Haussler's packing bound [Haussler, 1995] controls the covering numbers uniformly in : for every class of VC dimension and every ,
for absolute constants . Choosing to balance the terms of (22) gives part (ii) of Theorem 6.3.
Corollary C.6 (VC bound for adaptive missing mass). Let be a selection rule with values in a class with . If then
with an absolute constant, and if the left-hand side is . In particular, if then the left-hand side tends to 0.
Proof. For apply Theorem C.5 with and use (23): since , each of the three terms in (22) is . If then has a single member, and Theorem C.2 with gives . For the last claim, as .
C.5 Proof of Corollary 6.4 and the Multiclass Extension
Throughout, , , and are defined as in Section 6 for a labeling .
Proof of Corollary 6.4. Error regions. Fix a labeling and, for , let be its error region relative to , whose indicator is . For a finite , the map is a bijection of , and it maps the set of restrictions to of the members of onto the set of restrictions to of the members of . Hence is shattered by if and only if it is shattered by , and . Since the output of lies in , every member of is the image of some under the bijection from to , which preserves the VC dimension, and so .
The estimate. Fix . By Definition 6.3, the error of the hybrid estimator for is for the selection rule on the example space , whose image class is . Apply Theorem 6.3 with . If , part (ii) gives , which is because is nondecreasing on . If then consists of a single region, and part (i) with gives , which is again as . The constants in Theorem 6.3 are absolute and do not depend on the example space, so the bound holds with one constant for every .
For a general label set the role of the VC dimension is played by the graph dimension. For a class , write for the class of graphs of its members, viewed as subsets of ; the graph dimension of is [Natarajan, 1989, Ben-David et al., 1995]. When it coincides with . Indeed, if is shattered by then is shattered by , since . Conversely, let be shattered by . No satisfies and at once, so contains at most one pair with each first coordinate, and for some with . For every there is with when and when , and as ranges over so does this labeling of ; thus is shattered by . Corollary 6.4 is therefore the case of the following statement.
Corollary C.7 (Multiclass version of Corollary 6.4). Let be any label set, let be a class with graph dimension , and let be a base learner whose output lies in on every labeled sample. Then for every labeling and every , and if then
for every labeling , with an absolute constant.
Proof. Fix a labeling and, for , let . Suppose that is shattered by and let , so that . For every there is with for all , that is, ; hence is shattered by and . Since every member of is the image of some under the bijection , we get . The remaining step of the proof of Corollary 6.4 applies verbatim, with in place of .
Remark C.1 (The logarithmic factor). For a finite class the direct bound of Theorem C.2 is preferable to (24). For an infinite VC class the factor comes from applying the finite-range bound to a single cover at one scale; the argument does not show that it is intrinsic, and removing it would require a multiscale or localized analysis of the process .
D Proof of the Quadratic-Domain Construction
We assume throughout.
Proof of Theorem 7.3. The construction. Let , and . For a set with and uniform on , let
which does not depend on , and set . Since each factor is at most , we have . Draw independently and uniformly from , write , and let be the uniform distribution on . For a sample let , let be the set of codewords consistent with , and define if and otherwise.
Reduction to a Bayesian experiment. Fix a code and an estimator . Let be uniform on and, given , let . Since the supremum over dominates the average over ,
Each assigns probability to every ordered sample with and probability 0 to every other sample. Hence, given and , the posterior distribution of is uniform on , which contains . On the event , write , let , so that , and let . The target equals 1 if and otherwise, each with posterior probability . Since is determined by , its conditional mean-squared error given is at least the conditional variance of the target. So for every estimator the right-hand side of (25) is at least , and it suffices to show that : some code then has , and has the claimed property.
Lower bound on . Condition on , on , and on the sample . Under this conditioning the other codewords , are still independent and uniform on . Let be the event that are distinct. Since the sample is drawn uniformly from a set of size ,
Assume that holds, so that has exactly elements. Then is Binomial with mean , and
using , , and for . Given in addition that and that is the index of the other consistent codeword, the codeword is uniform among the -subsets of that contain , independently of : the event depends on only through , and on the other codewords only through their not containing . So is a uniform -subset of , and with (a population of elements, of which the elements of are marked, and draws). Since and ,
and by Jensen's inequality . Averaging over , , and , and using that ,
E Estimation of Data-dependent Mass versus Its Expectation
The value in Definition 3.2 is a random quantity, determined by the realized sample. One could instead ask to estimate its expectation,
a deterministic functional of . This is the form of problem to which the classical lower-bound techniques for functional estimation, the two-point method of Le Cam and the method of Fano [Le Cam, 1973, Fano, 1966, Yu, 1997], apply, and one might hope to obtain lower bounds on estimatability from them. The following example shows that the two targets are different: the random mass can be observed exactly while its expectation cannot be estimated to within a constant. A lower bound on estimating (26) therefore carries no implication for estimatability in the sense of Definition 3.2, which is why the impossibility results of Section 7 argue directly about the conditional distribution of the random target given the sample.
Proposition E.1. Let and let if and otherwise. Then the estimator satisfies for every sample and every , so is estimatable with zero error, whereas for every
Proof. The first claim holds because is a function of the sample.
For the second claim, note that is the probability that the point 0 appears in the sample,
We compare two distributions that differ only in the mass of the point 0. Let , let put all of its mass on the point 1, and let put mass on 0 and mass on 1. Under the point 0 never appears, so , whereas
Let denote the gap between the two values, so . The two sample laws, on the other hand, are close: and differ by in total variation, so
By the two-point method of Le Cam [Le Cam, 1973, Yu, 1997], every estimator therefore satisfies
References
Jayadev Acharya, Yelun Bao, Yuheng Kang, and Ziteng Sun. Improved bounds for minimax risk of estimating missing mass. In IEEE International Symposium on Information Theory (ISIT), 2018.
Anastasios N Angelopoulos and Stephen Bates. A gentle introduction to conformal prediction and distribution-free uncertainty quantification. arXiv:2107.07511, 2021.
Dana Angluin, Märtiņš Krikis, Robert H. Sloan, and György Turán. Malicious omissions and errors in answers to membership queries. Machine Learning, 1997.
Martin Anthony and Peter L. Bartlett. Neural Network Learning: Theoretical Foundations. Cambridge University Press, 2009.
Pranjal Awasthi, Satyen Kale, Stefani Karp, and Mehryar Mohri. Pac-bayes learning bounds for sample-dependent priors. In NeurIPS, 2020.
Cecilia Balocchi, Stefano Favaro, and Zacharie Naulet. Bayesian nonparametric inference for “species-sampling” problems. Statistical Science, 2026.
Raef Bassily, Kobbi Nissim, Adam D. Smith, Thomas Steinke, Uri Stemmer, and Jonathan Ullman. Algorithmic stability for adaptive data analysis. In ACM Symposium on Theory of Computing (STOC), 2016.
Shai Ben-David, Nicolò Cesa-Bianchi, David Haussler, and Philip M. Long. Characterizations of learnability for classes of -valued functions. Journal of Computer and System Sciences, 1995.
Daniel Berend and Aryeh Kontorovich. The missing mass problem. Statistics & Probability Letters, 2012.
Daniel Berend and Aryeh Kontorovich. On the concentration of the missing mass. Electronic Communications in Probability, 2013.
Richard Berk, Lawrence Brown, Andreas Buja, Kai Zhang, and Linda Zhao. Valid post-selection inference. The Annals of Statistics, 2013.
Anselm Blumer, Andrzej Ehrenfeucht, David Haussler, and Manfred K. Warmuth. Occam's razor. Information Processing Letters, 1987.
Raymond Board and Leonard Pitt. On the necessity of Occam algorithms. In ACM Symposium on Theory of Computing (STOC), 1990.
Stéphane Boucheron, Gábor Lugosi, and Pascal Massart. Concentration Inequalities: A Nonasymptotic Theory of Independence. Oxford University Press, 2013.
Olivier Bousquet and André Elisseeff. Stability and generalization. Journal of Machine Learning Research, 2002.
John Bunge, Amy Willis, and Fiona Walsh. Estimating the number of species in microbial diversity studies. Annual Review of Statistics and Its Application, 2014.
Anne Chao and Shen-Ming Lee. Estimating the number of classes via sample coverage. Journal of the American Statistical Association, 1992.
Moses Charikar, Surajit Chaudhuri, Rajeev Motwani, and Vivek Narasayya. Towards estimation error guarantees for distinct values. In ACM Symposium on Principles of Database Systems (PODS), 2000.
Stéphan Clémençon, Gábor Lugosi, and Nicolas Vayatis. Ranking and empirical minimization of U-statistics. The Annals of Statistics, 2008.
Luc Devroye and Terry Wagner. Distribution-free performance bounds for potential function rules. IEEE Transactions on Information Theory, 1979.
Cynthia Dwork, Vitaly Feldman, Moritz Hardt, Toniann Pitassi, Omer Reingold, and Aaron Roth. Preserving statistical validity in adaptive data analysis. arXiv:1411.2664, 2014. Extended abstract in STOC 2015.
Cynthia Dwork, Vitaly Feldman, Moritz Hardt, Toniann Pitassi, Omer Reingold, and Aaron Roth. Generalization in adaptive data analysis and holdout reuse. arXiv:1506.02629, 2015a. Extended abstract in NeurIPS 2015.
Cynthia Dwork, Vitaly Feldman, Moritz Hardt, Toniann Pitassi, Omer Reingold, and Aaron Roth. The reusable holdout: Preserving validity in adaptive data analysis. Science, 2015b.
Gintare Karolina Dziugaite and Daniel M Roy. Data-dependent pac-bayes priors via differential privacy. In NeurIPS, 2018.
Bradley Efron. Estimating the error rate of a prediction rule: improvement on cross-validation. Journal of the American Statistical Association, 1983.
Sam Elder. Challenges in Bayesian adaptive data analysis. arXiv:1604.02492, 2016a.
Sam Elder. Bayesian adaptive data analysis guarantees from subgaussianity. arXiv:1611.00065, 2016b.
Robert Mario Fano. Transmission of Information: A statistical theory of communications. MIT Press, 1966.
Vitaly Feldman. Does learning require memorization? A short tale about a long tail. In ACM Symposium on Theory of Computing (STOC), 2020.
Vitaly Feldman and Thomas Steinke. Calibrating noise to variance in adaptive data analysis. In Conference on Learning Theory (COLT), 2018.
Vitaly Feldman and Jan Vondrak. Generalization bounds for uniformly stable algorithms. In NeurIPS, 2018.
Vitaly Feldman and Jan Vondrak. High probability generalization bounds for uniformly stable algorithms with nearly optimal rate. In Conference on Learning Theory (COLT), 2019.
Vitaly Feldman and Chiyuan Zhang. What neural networks memorize and why: Discovering the long tail via influence estimation. In NeurIPS, 2020.
William Fithian, Dennis Sun, and Jonathan Taylor. Optimal inference after model selection. arXiv:1410.2597, 2014.
Dylan J Foster, Spencer Greenberg, Satyen Kale, Haipeng Luo, Mehryar Mohri, and Karthik Sridharan. Hypothesis set stability and generalization. In NeurIPS, 2019.
Michael Gastpar, Ido Nachum, Jonathan Shafer, and Thomas Weinberger. Fantastic generalization measures are nowhere to be found. In International Conference on Learning Representations (ICLR), 2024a.
Michael Gastpar, Ido Nachum, Jonathan Shafer, and Thomas Weinberger. Which algorithms have tight generalization bounds? arXiv:2410.01969, 2024b.
Irving J Good. The population frequencies of species and the estimation of population parameters. Biometrika, 1953.
Peter J Haas, Jeffrey F Naughton, S Seshadri, and Lynne Stokes. Sampling-based estimation of the number of distinct values of an attribute. In International Conference on Very Large Data Bases (VLDB), 1995.
Moritz Hardt and Jonathan Ullman. Preventing false discovery in interactive data analysis is hard. In IEEE Symposium on Foundations of Computer Science (FOCS), 2014.
Tom Hartvigsen, Swami Sankaranarayanan, Hamid Palangi, Yoon Kim, and Marzyeh Ghassemi. Aging with GRACE: Lifelong model editing with discrete key-value adaptors. In NeurIPS, 2023.
David Haussler. Sphere packing numbers for subsets of the boolean n-cube with bounded Vapnik–Chervonenkis dimension. Journal of Combinatorial Theory, Series A, 1995.
Fredrik Hellström, Giuseppe Durisi, Benjamin Guedj, and Maxim Raginsky. Generalization bounds: Perspectives from information theory and PAC-Bayes. Foundations and Trends in Machine Learning, 2025.
Yiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan, and Samy Bengio. Fantastic generalization measures and where to find them. In International Conference on Learning Representations (ICLR), 2020.
Adam Tauman Kalai and Santosh S Vempala. Calibrated language models must hallucinate. In ACM Symposium on Theory of Computing (STOC), 2024.
Satyen Kale, Ravi Kumar, and Sergei Vassilvitskii. Cross-validation and mean-square stability. In Innovations in Computer Science (ICS), 2011.
Sebastian Kauschke and Johannes Fürnkranz. Batchwise patching of classifiers. In AAAI Conference on Artificial Intelligence (AAAI), 2018.
Michael Kearns and Dana Ron. Algorithmic stability and sanity-check bounds for leave-one-out cross-validation. Neural Computation, 1999.
Ravi Kumar, Daniel Lokshtanov, Sergei Vassilvitskii, and Andrea Vattani. Near-optimal bounds for cross-validation via loss stability. In ICML, 2013.
Lucien Le Cam. Convergence of estimates under dimensionality restrictions. The Annals of Statistics, 1973.
Jason D Lee, Dennis L Sun, Yuekai Sun, and Jonathan E Taylor. Exact post-selection inference, with application to the lasso. The Annals of Statistics, 2016.
Jing Lei, James Robins, and Larry Wasserman. Distribution-free prediction sets. Journal of the American Statistical Association, 2013.
Aman Madaan, Niket Tandon, Peter Clark, and Yiming Yang. Memory-assisted prompt editing to improve GPT-3 after deployment. In Conference on Empirical Methods in Natural Language Processing (EMNLP), 2022.
Naren Sarayu Manoj and Nathan Srebro. Shortest program interpolation learning. In Conference on Learning Theory (COLT), 2023.
Andreas Maurer. Concentration of the missing mass in metric spaces. arXiv:2206.02012, 2022.
David McAllester and Luis Ortiz. Concentration inequalities for the missing mass and for histogram rule error. Journal of Machine Learning Research, 2003.
David A McAllester and Robert E Schapire. On the convergence rate of Good-Turing estimators. In Conference on Learning Theory (COLT), 2000.
Eric Mitchell, Charles Lin, Antoine Bosselut, Christopher D. Manning, and Chelsea Finn. Memory-based model editing at scale. In ICML, 2022.
Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwalkar. Foundations of Machine Learning. The MIT Press, 2012.
Balas K. Natarajan. On learning sets and functions. Machine Learning, 1989.
Kobbi Nissim, Uri Stemmer, and Eliad Tsfadia. Adaptive data analysis in a balanced adversarial model. In NeurIPS, 2023.
Sima Noorani, Shayan Kiyani, George Pappas, and Hamed Hassani. Conformal prediction beyond the seen: A missing mass perspective for uncertainty quantification in generative models. arXiv:2506.05497, 2025.
Alon Orlitsky, Ananda Theertha Suresh, and Yihong Wu. Optimal prediction of the number of unseen species. Proceedings of the National Academy of Sciences, 2016.
Liam Paninski. Estimation of entropy and mutual information. Neural Computation, 2003.
Nikhilesh Rajaraman, Andrew Thangaraj, and Ananda Theertha Suresh. Minimax risk for missing mass estimation. In IEEE International Symposium on Information Theory (ISIT), 2017.
Omar Rivasplata, Emilio Parrado-Hernández, John S Shawe-Taylor, Shiliang Sun, and Csaba Szepesvári. Pac-bayes bounds for stable algorithms with instance-dependent priors. In NeurIPS, 2018.
Ryan Rogers, Aaron Roth, Adam Smith, and Om Thakkar. Max-information, differential privacy, and post-selection hypothesis testing. In IEEE Symposium on Foundations of Computer Science (FOCS), 2016.
William H Rogers and Terry J Wagner. A finite sample distribution-free performance bound for local discrimination rules. The Annals of Statistics, 1978.
Daniel Russo and James Zou. Controlling bias in adaptive data analysis using information theory. In International Conference on Artificial Intelligence and Statistics (AISTATS), 2016.
Shai Shalev-Shwartz and Shai Ben-David. Understanding machine learning: From theory to algorithms. Cambridge University Press, 2014.
Shai Shalev-Shwartz, Ohad Shamir, Nathan Srebro, and Karthik Sridharan. Learnability, stability and uniform convergence. Journal of Machine Learning Research, 2010.
Thomas Steinke and Jonathan Ullman. Interactive fingerprinting codes and the hardness of preventing false discovery. In Conference on Learning Theory (COLT), 2015.
Thomas Steinke and Lydia Zakynthinou. Reasoning about generalization via conditional mutual information. In Conference on Learning Theory (COLT), 2020.
Mervyn Stone. Cross-validatory choice and assessment of statistical predictions. Journal of the Royal Statistical Society: Series B (Methodological), 1974.
Michel Talagrand. Sharper bounds for Gaussian and empirical processes. The Annals of Probability, 1994.
Niket Tandon, Aman Madaan, Peter Clark, and Yiming Yang. Learning to repair: Repairing model output errors after deployment using a dynamic memory of feedback. In Findings of the Association for Computational Linguistics: NAACL, 2022.
Jonathan Taylor and Robert J Tibshirani. Statistical learning and selective inference. Proceedings of the National Academy of Sciences, 2015.
Gregory Valiant and Paul Valiant. Estimating the unseen: an n/log (n)-sample estimator for entropy and support size, shown optimal via new clts. In ACM Symposium on Theory of Computing (STOC), 2011.
Gregory Valiant and Paul Valiant. Estimating the unseen: improved estimators for entropy and other properties. Journal of the ACM, 2017.
VN Vapnik and A Ya Chervonenkis. On the uniform convergence of relative frequencies of events to their probabilities. Theory of Probability and Its Applications, 1971.
Roman Vershynin. High-dimensional probability: An introduction with applications in data science. Cambridge University Press, 2018.
Vladimir Vovk, Alexander Gammerman, and Glenn Shafer. Algorithmic Learning in a Random World. Springer, 2005.
Peng Wang, Zexi Li, Ningyu Zhang, Ziwen Xu, Yunzhi Yao, Yong Jiang, Pengjun Xie, Fei Huang, and Huajun Chen. WISE: Rethinking the knowledge memory for lifelong model editing of large language models. In NeurIPS, 2024.
Aolin Xu and Maxim Raginsky. Information-theoretic analysis of generalization capability of learning algorithms. In NeurIPS, 2017.
Zitong Yang, Michal Lukasik, Vaishnavh Nagarajan, Zonglin Li, Ankit Singh Rawat, Manzil Zaheer, Aditya Krishna Menon, and Sanjiv Kumar. ResMem: Learn what you can and memorize the rest. In NeurIPS, 2023.
Zihan Yao, Yu He, Tianyu Qi, and Ming Li. Scalable model editing via customized expert networks. In Conference on Language Modeling (COLM), 2024.
Bin Yu. Assouad, Fano, and Le Cam. In Festschrift for Lucien Le Cam: research papers in probability and statistics. Springer, 1997.
Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In International Conference on Learning Representations (ICLR), 2017.