Manuscript Offprint
arXiv:2610.22564Deterministic Bounds on Accuracy and Stability of Metric-Space Regression and Classification
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Data-driven approaches often face ambiguity in datasets due to sensor or target noise, insufficient information, and noise in the input data. While best-fit machine learning methods can accommodate such noise through uncertainty estimates, they are prone to overfitting and it is challenging to quantify ambiguity of the relation between inputs and targets. We introduce a geometric framework that quantifies this ambiguity through the average kernel size, computed with data-dependent, i.e. model-independent, feasible sets derived from worst-case input and target noise. The framework provides computable, deterministic, non-asymptotic bounds on the best achievable empirical error and accuracy for a finite, constructed dataset, independent of the predictive model class, and applies to regression and classification with pseudo-metric input spaces and metric target spaces. The ambiguity of the input-target relation implies three consequences: an empirical error floor, an accuracy-stability trade-off, and, under standard probabilistic assumptions, a strictly positive distribution-training error gap when training below the accuracy bounds. Under standard Borel assumptions for Euclidean norms, the distributional analogue of the average kernel size is related to Bayes risk as it reduces to the optimal distribution root-mean-squared error times . Experiments spanning tabular regression, image regression and classification datasets yield nontrivial bounds on the best achievable empirical error and accuracy on a constructed dataset, alongside descriptive comparisons with model performance on the original datasets. The bounds provide a computable, model-independent reference scale on the constructed dataset and comparisons with model performance on the original dataset are descriptive.
Keywords accuracy bounds, data centric, aleatoric uncertainty, regression, classification, deep learning
1 Introduction
We express regression and classification problems using the following general framework:
where the available input-target pairs are given by a finite dataset of tuples for some . Here, represents the data of interest, while denotes the available data from which we wish to predict . The sets and describe the sets of target and input signals of interest. The dataset is deliberately defined in this general way to encompass many known cases and settings. For example, the ambient input set may consist of tensors for image-based regression and classification problems or of a structure supporting tabular data, and the set may consist of all admissible images.
*Computing and Computational Sciences, Oak Ridge National Laboratory, Oak Ridge, Tennessee.
German Aerospace Center (DLR), Remote Sensing Technology Institute, Wessling, Germany.
Department of Computer Science, University of Warwick, Coventry, United Kingdom.
1
This manuscript has been co-authored by UT-Battelle, LLC, under contract DE-AC05-00OR22725 with the US Department of Energy (DOE). The US government retains and the publisher, by accepting the article for publication, acknowledges that the US government retains a nonexclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this manuscript, or allow others to do so, for US government purposes. DOE will provide public access to these results of federally sponsored research in accordance with the DOE Public Access Plan (http://energy.gov/downloads/doe-public-access-plan).

Figure 1: Accuracy bounds: from data ambiguity to a reference scale on the constructed dataset. For an input x, the thresholds define a feasible set (Definition 1.1) of target values lying within the worst-case noise distance. The target values within this set may differ. The average kernel size, K, provides a reference scale for the best achievable empirical error on a finite constructed dataset; the term “average kernel size” is motivated by its namesake in inverse problems Gottschling et al. [2026], but here we define it directly from the constructed dataset without requiring a forward model. In this schematic, the optimal error on the constructed dataset lies between K/2 and K. Model errors reported on the original dataset are shown for descriptive comparison. Both the finite feasible sets and the value of K depend on the chosen pseudo-metric, metric, and thresholds. For models evaluated only on the original dataset, such comparisons are heuristic unless additional assumptions, such as those in Proposition 2.13, are invoked.
For classification, the ambient target set consists of one-hot encoded vectors or more generally for classes.
In applications, an input may correspond to multiple admissible targets, even if the observed dataset contains a unique target for that input. To characterize such ambiguity, we introduce a multiset of admissible input-target pairs satisfying . For a fixed input , we define its feasible set in the following Definition 1.1. If, for a fixed input , the targets are ambiguous, then the feasible set can be a non-singleton. As the disjoint union preserves multiplicities, it can be a multiset, which is an unordered collection of elements where each element can appear more than once.
Definition 1.1 (Feasible sets). Let be an underlying admissible input-target multiset. For an input obtained from a sample let the feasible set be defined as
As is the disjoint union, the feasible set is a multiset.
A non-singleton feasible set indicates that multiple targets are admissibly associated with the same input. If with , then although these pairs need not both be contained in the observed finite dataset . Such ambiguity may arise, for example, from noisy observations, where it is generally impossible for a given sample to determine whether the input, target, or both have been corrupted, or to identify the underlying noise mechanism. Consequently, for an individual input-target sample we generally cannot determine whether the sample has been corrupted by noise. To account for this ambiguity, we consider an admissible enlargement of the observed dataset and impose the following assumption.
Assumption 1.2 (Existence of an admissible enlargement). We assume that there exists a multiset of admissible input-target pairs with . Relative to this admissible multiset, we assume that there exists a multiset
such that and, for some , there exist distinct with .
Here, is not meant to be uniquely determined or algorithmically recovered from ; it is an admissible enlargement of the observed sample used to represent latent ambiguity in the input-target relation. The condition that some contains two distinct values excludes trivial cases and ensures a genuinely ambiguous regime.
The goal of solving regression and classification problems of the form (1.1) is to produce an approximation or set of approximations to the true target from an input . Any algorithm or method that produces a potentially set-valued regressor or classifier mapping data points in to approximations of the true target is denoted by
with . Examples include optimization-based methods, such as random forests, Segal [2004], Shwartz-Ziv and Armon [2022], McElfresh et al. [2023] which in some cases outperform deep neural networks on tabular data, and supervised or unsupervised deep learning methods Lathuilière et al. [2019], such as transformer-based architectures Han et al. [2022].
The empirical error of a (set-valued) regressor for approximately solving (1.1) is often quantified by the empirical root-p mean of the residuals between the predictions and targets over the samples , and can be denoted by
for some and a metric on , where the Hausdorff distance is defined by . For , this is the mean absolute error (MAE), and for , it corresponds to the root-mean-squared error (RMSE); its square is the empirical risk or also mean squared loss. The MAE and RMSE are commonly used to evaluate the error of regressors, see, e.g., [Bickel and Doksum, 2015, Chapter 1] and [Murphy, 2022, Chapter 1]. For classification, the empirical accuracy of a (set-valued) classifier can be measured by the Hausdorff distance induced by the normalized Hamming metric , so that
The normalization of the Hamming metric is introduced in detail in Section 2.1.
A common objective in regression problems across various applications is to find a regressor that minimizes the loss (1.4) in a given class of functions, such as finding the optimal architecture and parameter values for deep neural networks or, for example, in least squares regression Arlot and Massart [2009]. In classification problems, this changes to maximizing the accuracy in (1.5). This is commonly referred to as empirical risk minimization, where the "[...] true goal is to minimize the expected loss on future data that we have not yet seen. That is, we want to generalize, rather than just do well on the training set.", [Murphy, 2022, Chapter 1]. Under additional assumptions, the hope is that this procedure solves regression and classification problems of the form (1.1) and that the resulting regressors and classifiers produce, for any input x, an approximation or set of approximations to the true target y.
| Quantity | Object | Model-class dependent? | Sampling assumptions | Directly computable from one dataset? |
|---|---|---|---|---|
| Bayes risk | Distribution decision risk | No | A data-generating law is required | Generally not |
| Conditional variance | Distribution conditional dispersion | No | Usually i.i.d. sampling plus regularity or replication | Only under additional structure |
| VC/Rademacher complexity | Model-class complexity | Yes | Usually i.i.d. sampling | Sometimes, bounds a restricted class |
| Average kernel size (proposed) | Quantity in accuracy bounds | No | None for the deterministic Theorem 2.9 | Yes, once metrics and thresholds are fixed |
| Distributional analogue average kernel size (proposed) | Conditional pairwise dispersion | No | Standard Borel setting and integrability | Not without a sampling or estimation scheme |
Table 1: The average kernel size and its distributional analogue play different roles and are distinguished explicitly.
(i) Non-uniqueness of the target given the observed input. In many regression and classification problems, the available input does not determine a unique target, satisfying Assumption 1.2. This may occur because of measurement noise, omitted variables, or annotation uncertainty and is commonly referred to as aleatoric uncertainty in the field of machine learning, see Murphy [2022], Der Kiureghian and Ditlevsen [2009], Gawlikowski et al. [2023]. In such settings, even an ideal regressor or classifier cannot recover a single deterministic response from the observed input alone. Consequently, part of the prediction error is intrinsic to the data-generating relation and cannot be removed by choosing a more expressive model class or a better optimization method.
(ii) The need for computable, model-independent bounds on finite datasets. In computationally demanding settings, it is useful to estimate achievable empirical error and accuracy before extensive model selection and training. This motivates finite-sample bounds that are computable from the dataset itself and independent of a specific model class. To the best of our knowledge, related work does not provide such bounds in this form; see Table 1 and Section 1.3.
(iii) Expressive regressors and classifiers do not evade intrinsic accuracy limits. A third challenge is that expressive regressors and classifiers can fit the training dataset without resolving ambiguity inherent in the input-target relation. For example, for a finite dataset with no ambiguous targets that have the same input, interpolation by a large enough model is possible, but may come at the cost of poor generalization or overfitting, [Murphy, 2022, Chapter 1] and Zhang et al. [2016, 2021], and potentially a large Lipschitz constant. Hence, approximation power alone does not determine the best achievable test error and accuracy.
1.2 Contributions
We develop a framework for computing deterministic bounds on achievable regression and classification accuracy from finite datasets. Here, we introduce a metric-space framework that encodes input-target ambiguity through data-dependent feasible sets, with pseudo-metrics on inputs and metrics on targets. The main contributions are as follows.
We establish an accuracy-stability trade-off, Proposition 2.5. We show that a too small pointwise error on separated, ambiguous targets at nearby, but distinct, inputs forces a large (local) Lipschitz constant and that ambiguous targets produce a pointwise error floor.
We derive computable, deterministic, non-asymptotic lower and upper bounds on the best achievable empirical error and accuracy on datasets defined in Assumption 1.2. The lower bounds in Theorem 2.9 and Corollary 2.11 hold for all regressors and classifiers, while for distinct inputs the upper bound holds and the optimum is attained by an upper hemicontinuous compact-valued regressor or classifier.
Using a graph-based argument, we show that for Lipschitz continuous regressors and classifiers, the difference between empirical error, respectively accuracy, on the constructed and original datasets is bounded in terms of the Lipschitz constant and input-target ambiguity for finite feasible sets of equal cardinality (Proposition 2.13).
Under standard Borel assumptions, we show that regressors and classifiers achieving errors below the conditional ambiguity scale, necessarily incur a strictly positive generalization gap (Proposition 2.18). Under Euclidean squared loss, the Bayes squared risk equals one half the squared distributional analogue average kernel size.
Under an ideal two-stage design with inputs sampled from the input law and conditionally independent repeated targets, we prove a finite-sample concentration bound for the empirical average kernel size estimator (Proposition 2.19). This differs from the average kernel size computed by Algorithm 1, which is a data-dependent geometric quantity unless additional sampling assumptions are imposed.
We provide open-source code for reproducibility and experiments illustrating the computation of the deterministic bounds across regression and classification tasks, their dependence on the chosen pseudo-metric, thresholds, and feasible set sizes, and their comparison with benchmark models and locally trained models. The experiments examine whether the bounds are nontrivial, how selected model performances compare numerically with the resulting intervals, and how sensitive the intervals are to the finite feasible sets (Section 3). Figures 2 and 3 provide descriptive visual comparisons with selected model errors and accuracies; detailed qualifications are deferred to Section 3.

Figure 2: Deterministic regression accuracy intervals and regressor errors. The theoretical interval from Theorem 2.9 is . All scores are RMSE values in the units of the target variables of three regressors on the test datasets . Theoretical intervals apply to the admissible enlarged dataset constructed from the observed dataset ; plotted RMSE values are on . Numerical values and details are provided in Table 3 in Section 3.

Figure 3: Deterministic classification accuracy intervals and classifier accuracies. Theoretical intervals from Corollary 2.11 are reported as percentages; explicitly, the interval is . Accuracies are reported on the scale and from classifiers on the test datasets . Intervals are for ; plotted benchmark accuracies are on and may use different splits/protocols, so they are descriptive only. For CIFAR-10 the order of classifier names is changed relative to the numerical values provided in Table 5 in Section 3.
Scope of the bounds. The proposed bounds are not intrinsic properties of the dataset alone, but depend on the chosen pseudo-metric on the input space, the evaluation metric on the target space, and the finite-sample feasible set construction based on the thresholds from input and target noise. In the experimental section, whenever prior information on input (and/or target) measurement uncertainty was available, the thresholds and were set to conservative worst-case values implied by the corresponding noise models. In this setting the framework isolates a model-independent component of prediction difficulty, but does not directly account for optimization difficulty, finite model capacity, or model misspecification.
1.3 Relation to previous work
The proposed framework to tackle the three challenges in Section 1.1 is related to several existing lines of work, including optimal recovery, approximation theory, statistical learning theory, and modern deep learning.
Optimal recovery and worst-case approximation. Classical approximation-theoretic frameworks quantify best achievable worst-case error in settings related to (1.1). For noiseless linear problems, examples include Gelfand widths Pinkus [2012] and best k-term approximation Cohen et al. [2009]. Worst-case bounds for set-valued recovery maps were established on Banach spaces in Arestov [1986] and extended to metric spaces in Magaril-Il'yaev and Osipenko [1991]. For noisy problems, Binev et al. [2024] introduced optimal learning and upper bounds based on the Chebyshev radius, while Cohen et al. [2022] studied the optimal accuracy of nonlinear approximation methods; see also the radius of information in Traub et al. [1983] and the survey Micchelli and Rivlin [1977]. These works show that non-uniqueness can impose unavoidable error. Our approach differs in using metric and Hausdorff distances on feasible sets and optimal (set-valued) regressors and classifiers, without requiring a nested family of approximate prediction sets, and in providing a computable finite-dataset perspective relevant to modern machine learning.
Statistical learning theory and model-dependent bounds. Another line of work studies regressor and classifier error through sampling assumptions, hypothesis-class complexity, or specific model classes, including neural-network architectural restrictions. For example, Zhang [2009] derives sharp bounds for parameter estimation in linear regression under specific assumptions, and Qi et al. [2020] gives upper bounds for the mean absolute error of neural-network regressors under architectural assumptions. Vapnik-Chervonenkis (VC) theory, see Vapnik [2006, 1999], and related measures such as Rademacher complexity, see Bartlett and Mendelson [2002], provide generalization bounds for restricted model classes, while Cherkassky et al. [1999] show the usefulness of VC-type bounds for model selection in small i.i.d. datasets and linear regression. However, such bounds are typically not directly computable for arbitrary finite datasets and broad model classes, and they often rely on assumptions, such as i.i.d. sampling, that may fail in practice or be difficult to verify Arnold [1979].
Modern deep learning and the limits of classical explanations. Neural networks are universal approximators, see Hornik et al. [1989], Maiorov and Pinkus [1999], Bach [2017], Beck et al. [2022], Petersen and Voigtlaender [2018], Yarotsky [2017], but, as emphasized in Adcock and Dexter [2021], approximation-theoretic expressivity does not by itself provide guarantees on trainability or practical error and accuracy. Zhang et al. [2016, 2021] show that deep networks can fit datasets with random labels, and argue that classical notions such as VC dimension, Rademacher complexity, and uniform stability do not explain the generalization behavior of state-of-the-art neural networks. Separately, Northcutt et al. [2021] identified substantial label errors in widely used datasets, such as CIFAR-10, highlighting that both label uncertainty and annotation errors can limit measurable test accuracy. In some applications, deep learning is not even the best empirical choice: for instance, tree-based methods can outperform deep neural networks on tabular data Grinsztajn et al. [2022]. These observations motivate the search for accuracy limits that depend on the task and dataset rather than on the expressive power of a specific model family. The perspective of this paper is closest to geometric and recovery-based approaches that quantify ambiguity in the input-target relation. It is complementary to information-theoretic minimax lower bounds, such as Fano and Le Cam methods Tsybakov [2003], Le Cam [2012], Fano and Hawkins [1961], and to bias-variance decompositions of predic-tion risk Geman et al. [1992].
Bayes risk, irreducible error, and Bayes-error estimation. In statistical decision theory, the model-independent benchmark under distribution for a loss is the Bayes risk , where the infimum is over measurable decision rules , see Berger [1985] and Murphy [2022], which could be either regressors or classifiers. Under Euclidean squared loss, the Bayes rule is the conditional mean and the irreducible term is the expected conditional variance. Cover and Hart [1967] showed that the asymptotic error of a nearest-neighbor classifier is bounded above by twice the Bayes error; in their conditional sampling formulation, this error is characterized by pairwise disagreement between conditionally independent labels, which is the distributional analogue average kernel size in our settin. The problem of estimating this irreducible squared-loss term, often called the residual variance, has also been studied in nonparametric regression under i.i.d. sampling assumptions; see, for example, Devroye et al. [2018], who analyze a nearest-neighbor estimator together with asymptotic normality and concentration results. Our distributional analogue average kernel size gives an equivalent pairwise representation, as its square is exactly twice the Bayes squared risk. Recent work develops statistical estimators of Bayes error and optimal classification error and accuracy, including multiclass and computationally efficient approaches, see Chen et al. [2023], Jeong et al. [2023], Chen et al. [2025], Ushio et al. [2026]. These methods estimate distribution-level limits under probabilistic sampling assumptions, such as i.i.d. sampling. Related empirical studies refine the classical bias-variance picture in overparameterized regimes; see, for example, Neal et al. [2018], Yang et al. [2020]. In contrast, our bounds are deterministic and finite-sample, apply to the realized empirical loss on the constructed dataset from Assumption 1.2, extend to metric or pseudo-metric target spaces, and do not require i.i.d. sampling.
Nonparametric estimation of conditional structure. Estimating conditional means, conditional variances, and Bayes risk from finite data is a central problem in nonparametric statistics, see Stone [1977], Györfi et al. [2002]. Such estimators typically rely on i.i.d. sampling together with smoothness assumptions. Here the bounds are computed from deterministic and geometric finite feasible sets with a chosen pseudo-metric and threshold rule. It should be distinguished from an estimator based on genuine conditionally i.i.d. replicates. The convergence theorem connects the deterministic bounds to such an ideal sampling design.
Stability and generalization. Classical algorithmic-stability results control expected generalization error by studying how a learning rule changes when observations in the training sample are replaced Bousquet and Elisseeff [2002]. The accuracy-stability result concerns a different notion: the metric regularity of the fitted regressors and classifiers as a function of their input, which is a deterministic geometric obstruction. If nearby inputs are paired with well-separated targets, a regressor or classifier that fits both targets accurately must have a large local Lipschitz constant, independently of how the regressor or classifier was trained.
Dimensionality reduction and geometric preservation. Results such as the Johnson-Lindenstrauss lemma Johnson and Lindenstrauss [1984] show that low-dimensional embeddings can approximately preserve pairwise geometry, but this does not by itself quantify achievable prediction accuracy or ambiguity in the input-target relation.
Positioning of the present work. We use a feasible-set geometry to derive computable, deterministic, non-asymptotic lower and upper bounds on the best achievable empirical error on a realized, finite, constructed dataset. The bounds are model-class independent and apply to upper hemicontinuous compact-valued regressors and classifiers, a class containing single-valued, continuous regressors and classifiers. The input space has a pseudo-metric and the target space a metric, so the construction is not restricted to Euclidean regression. The provided distribution dependent results show that, they relate conditional target ambiguity to Bayes risk and to generalization gaps under probabilistic assumptions.
1.4 Outlook and impact
An important practical feature of the proposed framework is that the bounds on empirical error on the constructed dataset from Assumption 1.2 are computable before model optimization and training. As the bounds depend on the dataset, the chosen metric structure, and the finite samples used in the analysis, they provide task-dependent information prior to model selection and optimization. The framework can therefore help answer questions such as: Is the available data sufficiently informative for the task under the chosen evaluation metric? and How much improvement remains possible before the observed empirical error reaches the model-independent floor induced by the chosen input space pseudo-metric and finite feasible sets? The bounds quantify this remaining room for improvement in empirical error, but they do not imply that additional tuning, a different architecture, or a particular optimization method will attain it. Although the proof of Theorem 2.9 is constructive and provides an explicit variational formula for the regressor obtaining the best achievable empirical error, this regressor is computationally expensive as it requires solving an optimization problem for each input. The analogous formula and conclusion apply to classification.
This makes the bounds potentially useful for dataset assessment, model selection, and training diagnostics. More broadly, they provide a principled way to distinguish limitations imposed by the data from limitations imposed by a specific learning method.
1.5 Outline
The remainder of the paper is organized into three logically distinct parts. First, we develop deterministic finite-sample bounds on empirical loss and accuracy for a constructed dataset derived from feasible-set geometry. Second, under additional probabilistic assumptions, we relate the distributional analogue of the average kernel size to Bayes risk and generalization gaps. Here Section 2 develops the framework and assumptions and presents the main theoretical results, including the algorithm used to compute the accuracy bounds. Third, we provide experiments illustrating the behavior of the deterministic construction across several datasets and choices of evaluation metric. Here Section 3 presents the experimental results. Proofs are deferred to the end of the manuscript, while additional material for reproducibility, including implementation details and descriptions of the datasets considered, is provided in the Appendix. Our code is publicly available at this GitHub repository.
2 Main results
In the following subsections, we first define a minimal framework for regression and classification problems that is required to present the corresponding main theoretical results. Then, we present the main deterministic and finite-sample results, hereafter we introduce additional probabilistic assumptions required to present the distribution level results.
2.1 Problem formulation
We model a regression or classification problem by a dataset of tuples
for some , together with the prediction task (1.1). The ambient input space is equipped with a pseudo-metric , and the ambient target space is equipped with a metric . For image-based regression and classification tasks in Section 3 we chose a metric based on wavelet transforms concatenated with the norm. We endow and with the corresponding topologies generated by the open balls
for . We equip with the induced subspace topology. In addition, we assume the following.
Assumption 2.1 (Heine-Borel property). The metric space satisfies the Heine-Borel property, that is, every closed and bounded subset of is compact.
Throughout the paper, we denote by the projection and by the projection . The disjoint union of sets is denoted by . A regressor or classifier is modeled by a set-valued map
For , we define the image of under by
To accommodate set-valued regressors and classifiers, we extend the metric by the Hausdorff distance. For bounded sets , define
which is well-defined for nonempty compact sets. Considering set-valued regressors and classifiers allows us to include stochastic models, such as diffusion-based generative models. For example, a finite collection of predictions produced for a given input , yields a prediction set . For a dataset and , the empirical regression error of is defined by (1.4), which depends only on the sampled pairs in . For classification problems with classes, we use the normalized Hamming distance and restrict the target ambient space as follows.
Assumption 2.2 (Classification decisions and loss). For classification, the target and decision space is , equipped with its power-set sigma-algebra and the normalized Hamming metric
If a model outputs a score or probability vector in , it is converted to a one-hot decision by a fixed Borel-measurable tie-breaking arg max rule.
Given a classifier , the empirical accuracy is defined by (1.5) with .
Remark 2.3 (Loss convention for set-valued predictors). Our loss uses the Hausdorff distance defined with the supremum over the prediction set and therefore measures average prediction error over pointwise worst-case distances. This convention is natural when a set-valued prediction is used in a downstream decision problem requiring error and accuracy to be controlled uniformly over the outcomes regarded as possible, as in robust or minimax decision theory Gilboa and Schmeidler [1989], Chamberlain [2020]. Here, enlarging the prediction set cannot reduce the loss, and only provide benefits in downstream decision problems. This differs from coverage-oriented conventions, such as those used in conformal prediction Angelopoulos and Bates [2023], where a prediction set is rewarded for containing the realized target. Under such a convention, sufficiently large prediction sets could attain zero loss, so the lower bounds developed here would not directly apply.
We quantify the stability of a regressor or classifier by local and global Lipschitz constants. For and , the local -Lipschitz constant is defined by
where in the classification setting . The global Lipschitz constant is defined by
Related notions of Lipschitz continuity for set-valued maps may be found in Li [1994], Aubin [1990].
Following [Aliprantis and Border, 2006, Definition 17.2] we define upper hemicontinuity of a set-valued regressor or classifier . For this we define the upper inverse of a subset by
Then, is upper hemicontinuous at if for every neighborhood of , there is a neighborhood of such that implies or, equivalently, if is a neighborhood of in . As with functions, we say is upper hemicontinuous on , if it is upper hemicontinuous at every point of . For more context, see Section 8.
Remark 2.4 (Level of generality). We deliberately adopt this level generality to accommodate practical data representations. The distance may be a pseudo-metric because distinct inputs can become indistinguishable after preprocessing or finite-precision representations. Multisets are used because multiplicities of admissible targets affect the feasible-set construction and empirical averages. The Heine-Borel assumption on is the compactness condition needed for existence of minimizers; here finite-dimensional normed spaces are a standard special case.
2.2 Dataset-level stability and accuracy bounds
Motivated by the accuracy-stability trade-off for single-valued decoders solving inverse problems in Gottschling et al. [2025], we begin with an accuracy-stability trade-off showing that, when distinct targets correspond to nearby or identical inputs, a highly accurate regressor or classifier must become locally unstable. This observation motivates the lower bounds developed below.
Proposition 2.5 (Accuracy-stability trade-off). Let , let , let be a dataset, and let be an upper hemicontinuous regressor or classifier with nonempty compact values and let be a metric. Suppose there exist such that
Then, there exists an open ball centered at such that, for every with , the local -Lipschitz constant satisfies
While the proposition is, in essence, a geometric statement about an upper hemicontinuous , we formulate it using dataset points to situate it in the data-dependent framework used throughout the paper. The use of three dataset pairs in (2.2) is deliberate. The dataset contains and, , but the second accuracy condition evaluates the prediction at against the target , rather than against the target paired with . Thus, the proposition does not require to predict the target observed at . It only requires that the prediction at the nearby input be close to some target that occurs in the dataset, possibly paired with a different input . The more restrictive paired-target assumption is recovered by imposing . Since the proposition allows , it applies under a strictly weaker assumption and is therefore more general.
Under the assumptions of Proposition 2.5, the global Lipschitz constant satisfies
Hence, if , then letting forces . If two distinct targets are feasible for inputs with a very small distance, then uniformly small pointwise error is incompatible with global stability.
If two targets share exactly the same input and both are predicted with a pointwise error at most , then as , necessarily . In worst-case form, this gives
While this yields a worst-case obstruction, in statistical learning it is often more informative to quantify the typical ambiguity of the prediction task. This leads to the average kernel size and the computable empirical bounds below. The average kernel size is computed with the help of Algorithm 1 which constructs finite-sample feasible sets from Definition 1.1. It takes as input a collection of anchor points in , a dataset and threshold functions and , that satisfy the following assumption.
Assumption 2.6 (Threshold compatibility with admissibility). We assume that the threshold functions and are such that for all candidate pairs whenever
then
where R is the underlying admissible input-target multiset from Assumption 1.2.
Assumption 2.6 is a compatibility condition between the threshold-based feasible-set rule (2.3) and the underlying admissibility: it does not assume that is recovered from , but that the chosen thresholds are chosen such that reassignments remain in the multiset . For a given sample, we generally cannot determine whether the observed input or target has been corrupted, nor which noise mechanism is responsible. Worst-case magnitudes from input-noise and target-/measurement-noise models motivate candidate choices for and ; see Section3 for examples. Their use in Algorithm 1 is justified only when Assumption 2.6 also holds, i.e. when the threshold-based reassignments are compatible with the underlying admissible multiset . The assumption requires that, for observed pairs already contained in , a distance-based replacement of the input or target according to the corresponding threshold also yields an element of . The disjunctive rule in Assumption 2.6 and Algorithm 1 reflects uncertainty about the source of corruption: a candidate pair is admitted whenever it is compatible by either the input-threshold or the target-threshold criterion. Thus, the “or” does not mean that proximity in input and target space is equivalent; it reflects that the source of corruption is unknown at the sample level. Unless the noise is heteroskedastic, see Gawlikowski et al. [2023], the threshold functions and are constant. If no reliable prior information is available for choosing , another choice is to calibrate it using Proposition 2.5.
Remark 2.7 (Scope of Assumption 2.6). Assumption 2.6 ensures that the pairs introduced by Algorithm 1 are admissible in , but it does not imply any probabilistic statement about their multiplicities. Membership in does not imply that the constructed frequencies reproduce conditional probabilities. Such a claim would require additional probabilistic assumptions. Here, the condition (2.3) in Assumption 2.6 should therefore be understood as generating an admissible multiset of alternative targets.
Algorithm 1 returns finite multisets , the finite feasible sets, together with their cardinalities and a constructed dataset
If threshold functions and satisfy Assumption 2.6 and additionally we chose the number of anchor samples such that and if each anchor's own pair is in its feasible set and at least one set must be non-degenerate, then, as the anchors are sampled without replacement, the constructed dataset from Algorithm 1 satisfies Assumption 1.2 and makes this additional assumption obsolete. The sampling procedure in the algorithm is intentionally left open and may be implemented, for example, by brute-force search, Monte Carlo methods, or nearest-neighbor
If the sample-level noise corruption is known, we instead denoise sample-wise and choose and according to any remaining worst-case noise.
Algorithm 1 Approximation of feasible sets
Require: , dataset
Require: threshold functions ,
1:
2: for do
3: choose an anchor
4: ,
5: while do
▷ Sample without replacement; until or is empty.
6: sample
7: if or then
8:
9:
10:
11: end if
12: end while
13: end for
14: return , , and
queries, depending on the application. In our minimal implementation and examples in Section 3, we adopt queries based on nearest-neighbor distance matrices.
With the outputs from Algorithm 1 we define the quantity that is central to the lower and upper bounds on empirical accuracy and error.
Definition 2.8 (Average kernel size). Let , let be a dataset, and fix . Apply Algorithm 1 to obtain finite feasible sets
and let . The average kernel size is defined by
The diagonal terms are omitted, and the normalization averages pairwise distances within each feasible set before averaging across all allocated samples. Thus, Kersize( , ) measures the typical spread of targets associated with locally indistinguishable inputs and is a sample-weighted within-group average pairwise distance. The average kernel size provides the following finite sample, deterministic lower and upper bounds on the empirical error of regressors.
Theorem 2.9 (Deterministic accuracy bounds and upper-hemicontinuous attainment). Let , assume Assumptions 1.2 and 2.1, and let , with , be the constructed dataset returned by Algorithm 1 and where for every . Then, every regressor with nonempty values satisfies
If additionally for all , then
where the first infimum is taken over all upper hemicontinuous regressors with nonempty, compact values and the second over all maps with nonempty bounded values. The infimum is attained by an upper hemicontinuous regressor with nonempty compact values. The attaining regressor can be chosen singleton-valued on a neighborhood of every anchor .
Theorem 2.9 shows that enlarging the admissible model class to include discontinuous set-valued regressors does not improve the optimal empirical error on the constructed dataset. This supports the intuition that the average kernel size quantifies the residual variation in the target given a fixed pseudo-metric on the input space. If this quantity is nonzero, then part of the prediction error is intrinsic to the task and cannot be removed by changing the model or learning architecture alone. Although Theorem 2.9 holds for all sample sizes and all feasible set cardinalities for all , in the numerical experiments in Section 3 to ensure the average kernel size is representative of the whole dataset with size , if possible we chose . The feasible set cardinalities are determined by the thresholds, which we chose to satisfy Assumption 2.6.
Under additional assumptions on the target ambient space the minimizer admits a continuous single-valued extension via a standard bump function construction.
Corollary 2.10 (Continuous attainment under linear extension assumptions). Assume, in addition to the assumptions made in Theorem 2.9 including that for all , that is a convex subset of a normed linear space and that is a norm. Then, the finite assignment admits a continuous single-valued extension , and attains the unrestricted empirical minimum on .
In the scalar-valued case, where , the minimizer admits a Lipschitz-continuous single-valued extension via the extension theorem from McShane [1934]. For classification, we define the average kernel size by using the Hamming distance in (2.4) with . Since accuracy is an affine transformation of a metric rather than a metric itself, the classification statement is formulated as an upper bound on achievable accuracy and we obtain the upper bound in Corollary 2.11 under the additional Assumption 2.2, as an immediate consequence of Theorem 2.9.
Corollary 2.11 (Accuracy bounds for upper hemicontinuous classifiers). Assume Assumptions 1.2 and 2.1 and 2.2, with , , and let with be the dataset returned by Algorithm 1 and where for every . Then, every classifier with nonempty values satisfies
If additionally for all , then
The common supremum is attained by an upper hemicontinuous classifier with nonempty finite values.
Remark 2.12 (Classification target set extension). Since no classifier attaining the best accuracy needs to be constructed for the upper bound, the upper-bound statement in Corollary 2.11 also holds when the target space in Assumption 2.2 is replaced by
equipped with the metric .
Theorem 2.9 and Corollary 2.11 provide lower, respectively upper, bounds to the error, or respectively accuracy, of any model evaluated on a dataset constructed with Algorithm 1. A natural question is, whether the error, or accuracy, on the constructed dataset are near the error or accuracy on the original dataset. In the following we provide a deterministic comparison bound of these two quantities where we utilize a graph-based argument. Let denote the collection of reassignment edges generated by Algorithm 1. An edge indicates that the target is reassigned to the anchor input . Thus, , and the constructed dataset empirical loss can be written as an average over . For , define the original pointwise loss by
For each edge , we associate a reference index and a corresponding reassignment error . If is generated by the input distance criterion, we set
If is -Lipschitz, then . If is generated by the target distance criterion, we instead set
If both criteria apply, we choose the reference index corresponding to the smaller of the two available upper bounds. With this choice, the reverse triangle inequality for the Hausdorff metric gives, for every ,
We define the induced reference weights by
Thus is the fraction of constructed tuples whose reference index is . and if denotes the number of constructed tuples for which is the reference index, then . Finally, define
The quantity measures the average geometric error introduced by the reassignments, while the weights quantify the frequency with which the original observations are represented through the reference construction.
Proposition 2.13 (Original versus constructed dataset empirical loss). Assume Assumptions 1.2 and 2.1, and let with be the dataset returned by Algorithm 1 and where for every . For every and every regressor with nonempty values,
Remark 2.14 (Role of the thresholds). The thresholds and control the geometric term in Proposition 2.13. By definition of Algorithm 1 for an input edge , we have that and, if is L-Lipschitz, . For a target edge, we have that . Consequently, if and , then . If additionally the reference weights are balanced; meaning that for all , then Proposition 2.13 implies that
The thresholds and therefore control the geometric error. Control of by and does not by itself imply a nontrivial transfer of lower bounds from to . For predominantly target-based reassignments, may already absorb the ambiguity on , so the induced accuracy bounds on can be vacuous. Note that no independence assumption appears anywhere in the proposition.
2.3 Non-Vanishing Generalization Gaps
Up to this point, all statements have been deterministic and require only a dataset together with a metric structure. Extending the work on inverse problems in Gottschling et al. [2026] to regression and classification problems, we introduce a probabilistic setting to interpret the average kernel size as a model-independent component of irreducible prediction error. This requires measurability assumptions and the existence of conditional laws. For simplicity we consider single-valued measurable maps in the following and leave extensions to set-valued measurable regressors and classifiers to future work.
Assumption 2.15 (Standard Borel quotient setting). Let if and only if , let
and let be the quotient map. We assume that and are standard Borel spaces. For example, it suffices that they are Polish spaces equipped with their Borel sigma-algebras. We also assume that is Borel measurable.
Assumption 2.16 (Data-generating law). Let be a probability space. Equip with the Borel sigma-algebra of its pseudo-metric topology, and let and be measurable. The quotient map is Borel measurable, so we may define the quotient input random variable
Let denote the joint law of .
Under Assumption 2.16, Theorem 8.3 implies that there exists a regular conditional law
defined for -almost every . Now let and be conditionally independent with common conditional law given . Similar to the deterministic analog of the average kernel size in (2.4), we define the distributional analogue average kernel size by
For classification, we define the distributional analogue average kernel size analogously, replacing by the Hamming distance and taking . In the Euclidean setting we can show that the distributional analogue average kernel size also quantifies the irreducible error, akin to the bias-variance decomposition introduced in Geman et al. [1992].
Proposition 2.17 (Exact Euclidean squared-loss identity). Assume Assumptions 2.15 and 2.16, , , and . Let denote the conditional mean. Then, every measurable with finite squared risk satisfies
Consequently,
where the infimum is attained by the conditional mean m.
A large distributional analogue average kernel size therefore indicates that a substantial part of the prediction error is caused by aleatoric uncertainty or non-identifiability rather than by an inadequate model class. We define the generalized risk of a measurable regressor by
and, analogously, the generalized accuracy of a measurable classifier by
This probabilistic interpretation also yields lower bounds on generalization gaps whenever the training error is substantially smaller than the ambiguity encoded by the conditional law.
Proposition 2.18 (Positive generalization gaps from conditional ambiguity). Assume Assumptions 2.15 and 2.16 and let and .
Regression. Let and . Let be measurable and let with . If its empirical training loss satisfies
then
If and with Euclidean loss, then the sharper exact Bayes bound holds:
provided Kersize( ) > .
Classification. Let the target space be the finite one-hot set from Assumption 2.2 and let . If a measurable quotient classifier satisfies
then
Under ideal sampling conditions the following theorem relates the distributional analogue average kernel size to a finite-sample estimator.
Proposition 2.19 (Concentration of the ideal conditional-sampling estimator). Assume Assumptions 2.15 and 2.16. Let and assume
For , sample independently from . Let and conditional on all anchors , sample an array for mutually independent from . Assume that the arrays and are independent for every , regardless of whether the corresponding anchors and coincide. Define
Then, for every ,
converges in probability to Kersize( ) as , for any choice .
Remark 2.20 (Ideal conditional sampling versus Algorithm 1). The estimator in Proposition 2.19 assumes an ideal two-stage design: anchor inputs are sampled from the quotient input law and, at every anchor, repeated targets are sampled conditionally independently from the exact law of . Algorithm 1 does not require generating such samples, as it selects and is allowed to reuse observations from one finite dataset according to input- and target-distance thresholds; feasible sets can overlap and their elements can be dependent. The average kernel size returned by Algorithm 1 is a deterministic, data-dependent geometric surrogate. Proposition 2.19 should not be read as a consistency theorem for that surrogate, as such a result would require additional assumptions controlling neighborhood shrinkage, effective within-neighborhood sample sizes, continuity of the conditional law, sample reuse, and the weights induced by the selection rule.
3 Applications
In the following we provide an outline of experiments and implementation, however, comprehensive details on the implementation and considered datasets are in the Appendix in Section 9.1. We applied the framework to a range of tabular and image-regression tasks and image-classification tasks. For each experiment, we sampled finite feasible sets, constructed the dataset , computed the average kernel size, and used Theorem 2.9 and Corollary 2.11 to obtain model-independent bounds on the optimal empirical regression loss and classification error, respectively. The experiments are intended as illustrations of the deterministic construction. They address three empirical questions: i) whether the lower bound is nontrivial across domains, ii) how reported or measured model performance compares numerically with the resulting interval, and iii) how sensitive the bound is to the threshold and parameters used for the feasible set construction. We compared the theoretical intervals with the error and accuracy of several regressors and classifiers evaluated on both the original datasets and, where the models are available, on constructed datasets. We used a synthetic regression example to study how the accuracy bounds interact with the accuracy-stability trade-off from Proposition 2.5.
Across all experiments, the threshold-selection rule was as follows: when an input-noise model or target/label measurement-noise model was available, we set and equal to conservative worst-case noise magnitudes implied by that model. If such knowledge was not available, for the input threshold we followed a practical empirical heuristic based on quantiles detailed in the Appendix in Section 9.1.2 and assumed ideal, noiseless targets with . For the target criterion in the "or"-condition Algorithm 1 was not included. We used a wavelet-based metric with a conversion to float32 for all image inputs described in the Appendix in Section 9.1.1; for images represented in float64, this induces a pseudo-metric. All details on the datasets, wavelet-based metric and feasible set sampling are in the Appendix in Section 9.1.
3.1 Theoretical assumptions and guarantees versus experimental procedure
In all experiments, if an input-noise model or target/label measurement-noise model was available, then and were set to conservative worst-case values implied by that model; this first choice satisfies a part of Assumption 2.6 without taking into account the correct frequencies in the underlying admissible multiset.
For smaller datasets, , we computed the bounds on the full dataset and did not compute these separately on the train and test splits. For large and high-dimensional datasets, such as Tropical Cyclone and RESISC45, with a full dataset size in the range and/or inputs with higher dimension, we computed the bounds on random subsets of anchor samples with size or from the train or test splits over 20 different random seeds. As Assumption 2.6 is not satisfied. Here we reported the mean and standard deviation of the resulting bounds. For even larger datasets where a sample number is not representative of the dataset, the implementation of Algorithm 1 using nearest neighbors may not be feasible. Extending Algorithm 1 to be applicable to this scale is beyond the scope of this work.
Comparison to theoretical assumptions and guarantees: Theorem 2.9 and Corollary 2.11 only provide bounds on the error, respectively accuracy, on the constructed dataset from Algorithm 1. We explicitly computed the accuracy on the original and constructed dataset to validate the bounds for the synthetic regression example, MNIST, CIFAR-10 and EUROSAT. For the remaining datasets we did not compute the regressor errors or classifier accuracies on the constructed dataset from Algorithm 1 and instead report errors and accuracies from benchmark dataset challenges and published state-of-the-art models on the same datasets. In these cases, for CIFAR-10 and RESISC45, differing evaluation protocols make published results not directly comparable to the -based bounds and thus not violations of them. We did not compare the average kernel size against empirical conditional variance as a general baseline, as it is only directly estimable with additional assumptions, such as i.i.d. samples, in Euclidean regression settings with repeated or conditionally repeated observations. For the same reason, we did not compute the conditional mean, which is optimal according to Proposition 2.17.
3.2 Regression tasks
For all regression datasets considered, the accuracy bounds provided by Theorem 2.9 in conjunction with Algorithm 1 are provided in Table 3 and the parameters used for computation are provided in Table 2. We followed the procedure summarized above and outlined in the Appendix in Section 9.1.2. We computed the bounds on a synthetic regression dataset, the Tropical Cyclone open-source dataset from Huggingface, the UCI Energy Efficiency open-source datasets Tsanas and Xifara [2012] from UCI, the UCI Concrete Compressive Strength open-source dataset Yeh [1998] from UCI and the KAERI Critical Heat Flux (CHF) open-source dataset with uniform axial heating Park [2000] from Kaggle. Detailed dataset descriptions, as well as the RMSE of the optimal regressor on the constructed test dataset from the proof of Theorem 2.9, are in Appendix in Section 9.1.3.
Table 2: Parameters for the regression tasks. Here, denotes the original dataset size, the constructed dataset size generated by Algorithm 1, the number of anchors, the maximum number of nearest neighbors and the mean size of the feasible sets from the test dataset. *: for tropical cyclone the mean the standard deviation of across 20 subsets of size are: , ,
| Dataset | p | q | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Synthetic | 2 | 90 | 810 | 42.9k | 90 | 810 | 300 | 53.1 | - | 0.014 | 0.014 | ||
| Tropical Cyclone* | Wavelet- | 2 | 70k | 44k | 153.7k | 1k | 1k | 300 | 153.7 | 0.1 | 284.7 | 227.7 | |
| Energy Efficiency | 2 | 768 | - | 1.3k | 768 | - | 300 | 1.75 | 0.02 | 0.65 | - | ||
| Energy Efficiency | 2 | 768 | - | 1.3k | 768 | - | 300 | 1.75 | 0.02 | 0.65 | - | ||
| Concrete Strength | 2 | 1030 | - | 1.1k | 1030 | - | 300 | 1.10 | 0.02 | 0.0 | - | ||
| Critical Heat Flux | 2 | 651 | - | 59.2k | 651 | - | 300 | 90.9 | - | 0.17 | - |
Table 3: Optimal regression accuracy intervals and regressor errors. The theoretical interval from Theorem 2.9 is . All scores for models with are RMSE values, , in the units of the target variable reported in the three right columns. (1): models evaluated on a different test split. *: for tropical cyclone the mean bounds across 20 subsets of size are reported.
| Dataset | Interval train | Interval test | ||||||
|---|---|---|---|---|---|---|---|---|
| Synthetic | [0.0102, 0.0203] | [0.0113, 0.0225] | 0.0169 | 0.0221 | 0.0161 | 0.0225 | 0.0607 | 0.0720 |
| Tropical Cyclone* | [3.83, 7.65] | [3.38, 6.76] | 6.26 | - | 6.42 | - | 6.46 | - |
| Energy Efficiency | [0.28, 0.55] | - | 0.51 | - | 0.56 | - | 0.67 | - |
| Energy Efficiency | [0.78, 1.55] | - | 1.28 | - | 1.64 | - | 1.79 | - |
| Concrete Strength | [1.41, 2.81] | - | 1.97 | - | 2.08 | - | 2.10 | - |
| Critical Heat Flux | [106.49, 212.97] | - | 247.76 | - | 251.46 | - | 266.98 | - |
3.2.1 Relation to the accuracy-stability trade-off
We studied the accuracy-stability trade-off from Proposition 2.5 for the synthetic regression problem with input noise and target noise . The accuracy stability trade-off is visualized in Figure 4. We trained two versions of each of the two regressors to approximate the target function from samples in a train dataset to obtain errors below half of the average kernel size and above on the train dataset, the latter attaining the accuracy within the bounds from Theorem 2.9. We considered two Gaussian Process regressors, and two Support Vector Regression (SVR) models with a radial basis function (RBF) kernel and optimized the model hyperparameters with a brute-force grid search to meet the accuracy bounds conditions. We report the RMSE of each model on both the original train and test datasets and the constructed test dataset generated by Algorithm 1 and a lower bound

Figure 4: Accuracy-stability trade-off. The empirical Lipschitz constant compared against the RMSE of GP and SVR regressors on the train and test dataset. The average kernel size was computed from the reference dataset . Regression models satisfy , whereas models satisfy . The parameters for computing the average kernel size were , and . The exact numerical values and errors on the constructed test dataset are reported in the Appendix in Table 6.
to the Lipschitz constant of all models on the test dataset in the Appendix in Table 6. For noiseless inputs is 0.9-Lipschitz with respect to the Euclidean metric, since is 1-Lipschitz and is 0.9-Lipschitz, and hence, by composition, is 0.9-Lipschitz. Inspired by Proposition 2.5, we compute and compare it to the empirical Lipschitz constant of the unstable regressors, see Table 7 in the Appendix.
3.2.2 Sensitivity of the average kernel size to noise
In Figures 5 and 6 we illustrate the effect of increasing input and target noise of the synthetic regression problem on the average kernel size. For this we chose a larger dataset size of and increase the thresholds for feasible set sampling according to the increasing noise level on inputs or outputs. In Section 9.1.3 in the Appendix, we report the average kernel size for a noiseless control setting, evaluated the effect of misspecified thresholds and and compare the empirical average kernel size with the Bayes RMSE under an additional independence assumption, as well as evaluate Assumption 2.6 on admissible-pairs.
3.3 Classification tasks
For all classification datasets considered, the accuracy bounds provided by Corollary 2.11 in conjunction with Algorithm 1 are provided in Table 5 and the parameters used for computation are provided in Table 4 below. We followed the procedure summarized above and outlined in the Appendix in Section 9.1.2. We computed the bounds on the MNIST open-source dataset from Torch Vision, the CIFAR-10 open-source dataset from Torch Vision, the RESISC45 open-source dataset Cheng et al. [2017] from TorchGeo and the EUROSAT open-source dataset Helber et al. [2019] from Torch Vision. Detailed dataset descriptions, as well as the accuracy of the optimal classifier on the constructed test dataset from the Corollary 2.11, are in Appendix in Section 9.1.4.

Figure 5: Average kernel size as a function of input noise level . Constant and , . Corresponding values of and are in Table 8 in the Appendix.

Figure 6: Average kernel size as a function of target noise level . Constant and , and . Corresponding values of are in Table 9 in the Appendix.
Table 4: Parameters for the classification tasks. Here, denotes the original dataset size, the constructed dataset size generated by Algorithm 1, the number of anchors, the maximum number of nearest neighbors and the mean size of the feasible sets from the test dataset. *: for RESISC45 the mean the standard deviation across 20 subsets of size are: , , .
| Dataset | p | q | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MNIST | Wavelet- | 1 | 50k | 10k | 25.1k | 50k | 10k | 200 | 2.51 | 0.1 | 4.73 | 5.38 | |
| CIFAR-10 | Wavelet- | 1 | 40k | 10k | 13.0k | 40k | 10k | 200 | 1.30 | 0.05 | 27.4 | 30.8 | |
| RESISC45* | Wavelet- | 1 | 25.2k | 6.3k | 4.7k | 3k | 3k | 200 | 1.58 | 0.05 | 31.5 | 31.8 | |
| EUROSAT | Wavelet- | 1 | 16.2k | 5.4k | 15.0k | 16.2k | 5.4k | 200 | 2.77 | 0.09 | 2.44 | 2.70 |
Table 5: Optimal classification accuracy intervals and classifier accuracies. Theoretical intervals from Corollary 2.11 are reported as percentages; explicitly, the interval is . Accuracies, , for models with are reported on the [0, 100] scale in the three right columns. (1): model(s) evaluated on a different test split. *: for RESISC45 the mean bounds across 20 subsets of size are reported.
| Dataset | Interval train | Interval test | |||||
|---|---|---|---|---|---|---|---|
| MNIST | [100.0, 100.0] | [100.0, 100.0] | 99.53 | 99.45 | 99.78 | 99.43 | 99.77 |
| CIFAR-10 | [85.61, 92.81] | [83.76, 91.88] | 91.19 | 79.30 | 83.20 | 73.25 | |
| RESISC45*, (1) | [83.85, 91.93] | [82.36, 91.18] | - | - | |||
| EUROSAT | [97.78, 98.89] | [96.89, 98.44] | - | 97.06 | 96.63 |
3.3.1 Aleatoric uncertainty: dataset dependence and model independence of the accuracy bounds
Figure 7 compares the accuracy of networks trained on noisy versions of EUROSAT and MNIST with the ambiguity-based accuracy intervals derived from the average kernel size. We changed the labels of -fractions of the datasets to a different, random labels. In both datasets, adding label noise shifts the admissible accuracy range downward. On MNIST, the clean-data accuracy bounds are close to perfect accuracy, indicating that the task is nearly unambiguous under the chosen pseudo-metric on the input space, while the noisy-data accuracy bounds closely match the observed degradation in train and test accuracy. On EUROSAT, the clean-data accuracy bounds are already noticeably below 1 and reflect a higher baseline level of ambiguity.
EUROSAT model accuracy

MNIST model accuracy

Figure 7: Accuracy of models trained on train datasets of EUROSAT and MNIST with noisy labels with . The models trained on noisy datasets are evaluated on both the clean and noisy test and train datasets. The lower and upper bounds from Corollary 2.11, abbreviated as , are computed on the noisy, , and clean, , train and test datasets. The number of anchor samples and the quantiles for computing are in Table 4. The average kernel size is computed with a larger .
4 Discussion
The deterministic bounds from Theorem 2.9 and Corollary 2.11 hold for the dataset constructed in Algorithm 1. Where a priori knowledge of the input and target noise is unavailable, we selected input thresholds so the average kernel size remained stable with changes in feasible set size. In these cases, for both regression and classification datasets, our stability analysis across quantiles for choosing input threshold based on a practical empirical heuristic and feasible set size demonstrated that the bounds can be chosen to be relatively stable. We emphasize that the resulting kernel-size accuracy intervals are not an intrinsic property of the dataset alone, but rather, a property of the triple , and its interpretability depends on how well captures task-relevant indistinguishability and which evaluation metric is used. After all, the evaluation metric can be optimized to obtain arbitrarily good accuracy Redmon and Farhadi [2018]. We chose a wavelet-based pseudo-metric for all image-based tasks to ensure comparability across tasks; however, other metrics may be more relevant to object classification tasks, such as MNIST or CIFAR-10.
Regression accuracy bounds: Table 2 shows that the framework is applicable to a range of datasets of different sizes and ranging from image to tabular regression tasks. The bounds in Theorem 2.9 and the regressor errors in Table 3 show that the proposed intervals can be nontrivial and, in several cases, are numerically comparable to the performance reported for strong benchmark and published models. Figure 4 illustrates the accuracy-stability trade-off predicted by Proposition 2.5. The high-accuracy models have training errors smaller than half of the average kernel size, but this comes at the cost of significantly larger test errors and higher empirical Lipschitz constant estimates, , substantially exceeding the Lipschitz constant of the noiseless function generating the dataset. The models that satisfy the prescribed accuracy interval on the training set from Theorem 2.9, achieve lower test errors while maintaining close to the true regularity of the underlying data-generating function, see Table 6 in the Appendix. Classification accuracy bounds: Table 4 shows that the framework is applicable to a range of datasets of different sizes and image classification tasks. The accuracy bounds in Corollary 2.11 and the classifier accuracies in Table 5 show that the proposed intervals can be nontrivial and, in several cases, provide a descriptive reference scale, but benchmark accuracies on , especially under different splits or protocols, are not directly comparable to the bounds on . The train and test accuracies of the best model for the task of mapping images (I) to random classes (RC), reported in [Zhang et al., 2016, Table 1], illustrate the lower bound on the generalization gap for classification in Proposition 2.18.
Average kernel sizes and aleatoric uncertainty: For the synthetic regression example, Figures 5 and 6 show that the average kernel sizes increase with increasing input and target noise. Combined with the model-independent bounds on empirical error in Theorem 2.9, this indicates that the average kernel sizes capture increasing aleatoric uncertainty in the regression task. For MNIST and EUROSAT, Figure 9 shows that the average kernel sizes increase with increasing label noise. Together with Corollary 2.11 and Figure 7, this suggests that, under the chosen pseudo-metric and feasible-set construction, the resulting accuracy bounds capture a data-dependent component of aleatoric uncertainty. Here we note that, in the examples provided whenever we assumed ideal, noiseless targets with , our results may underestimate the aleatoric uncertainty of the corresponding tasks.
5 Limitations & Future Work
As shown above, the proposed framework can provide realistic accuracy bounds for a wide range of applications and tasks. Nevertheless, several open points limit its functionality in certain aspects and could be investigated further in future work.
First, the resulting bounds depend on the pair and the chosen evaluation metric . The interpretability of the feasible sets and the resulting average kernel size depend on whether the chosen pseudo-metric captures task-relevant indistinguishability. A poor metric may either merge unrelated inputs or fail to detect genuine ambiguity. In this work, we found that relatively simple metrics can already yield nontrivial bounds. For image data, metrics induced by transforms need not align with semantic similarity. Investigating different kinds of metrics, universal feature extractors (e.g., pretrained foundation models), or expert knowledge-based feature extractors could enable targeting the task-relevant features for the bounds more explicitly.
Second, the feasible set construction depends on the threshold parameters and . Ideally, these can be selected from prior knowledge of input and target noise and otherwise, alternatives are selecting the input threshold with a practical empirical heuristic based on quantiles or selecting the thresholds in order to guarantee a sufficiently small lower bound to the Lipschitz constant in the accuracy-stability trade-off from Proposition 2.5; however, Assumption 2.6 may be difficult to verify in practice and further properties or rules for selecting the thresholds in the absence of prior knowledge on input and target noise should be evaluated at a larger scale.
Third, Algorithm 1 provides finite-sample approximations of the feasible sets. If the dataset under-samples rare but valid targets for a given input, then the empirical average kernel size may underestimate the true spread. Hence, the lower bound is data-dependent and may be conservative when the dataset significantly under-samples rare but valid targets. An important next step is to provide construction diagnostics with guarantees, including feasible-set size distributions, singleton fractions, in order to distinguish ambiguity arising from local input neighborhoods from ambiguity induced primarily by the target tolerance. Here a theoretical direction for future work is to bridge the gap between the ideal distributional analogue quantity and the finite-sample average kernel size. This includes consistency of Algorithm 1 as with growing local sample counts, and an accuracy-stability frontier obtained by minimizing empirical loss over predictors with prescribed Lipschitz constant.
Fourth, the optimal accuracy intervals, as in Theorem 2.9, can be non-sharp in some applications where additional assumptions that yield sharper bounds are satisfied. While these provide a nontrivial model-independent accuracy range, they may not always identify the exact optimal empirical error due to the reasons outlined above. The proposed bounds quantify only one component of prediction difficulty, namely the ambiguity of the input-target multiset in the chosen (pseudo-)metric spaces. They do not account directly for optimization difficulty or finite model capacity. The optimum regressor or classifier is explicit in some special cases, in which we provide the corresponding error and accuracy in the Appendix, yet the bounds remain applicable in general metric settings where the anchor-wise minimization need not admit a closed form and may require solving a separate optimization problem for each anchor.
6 Conclusion
We introduced a geometric framework for deriving deterministic, non-asymptotic bounds on achievable empirical error and accuracy in regression and classification on general metric and pseudo-metric spaces. The central quantity, the average kernel size, measures target dispersion within finite feasible sets and yields a model-independent reference scale for empirical prediction difficulty on the constructed dataset. A complementary deterministic comparison bound relates empirical loss on the constructed dataset to empirical loss on the original dataset through a graph-based reassignment error, showing how the discrepancy is controlled by the thresholds, the predictor regularity, and the induced reference weights. Together with the stability result, the framework shows that fitting ambiguous targets below this scale entails increased local instability. Under additional probabilistic assumptions, the distributional analogue average kernel size is related to Bayes risk, implies positive generalization gaps below the ambiguity-compatible level, and admits a finite-sample concentration guarantee under an ideal conditional-sampling design. The average kernel size computed by Algorithm 1 should therefore be interpreted as a computable geometric surrogate for this ideal quantity unless further assumptions justify a statistical consistency claim. Important directions for future work include task-dependent pseudometric design and bridging the gap between the ideal sampling theory and the finite-sample construction used in practice.
7 Acknowledgements
N. M. Gottschling acknowledges research sponsored by the Laboratory Directed Research and Development Program of Oak Ridge National Laboratory, managed by UT-Battelle, LLC, for the U. S. Department of Energy. J. Gawlikowski acknowledges the funding provided by the German Aerospace Center from the department EO Data Science at the Earth Observation Center. This work was supported by the Helmholtz Association's Initiative and Networking Fund on the HAICORE (at) FZJ partition. M. Caprio gratefully acknowledges support from the Prob_AI Hub and the London Mathematical Society. ChatGPT 5.6 Sol was used to assist with proofreading.
References
Ben Adcock and Nick Dexter. The gap between theory and practice in function approximation with deep neural networks. SIAM Journal on Mathematics of Data Science, 3(2):624–655, 2021.
Adekanmi Adeyinka Adegun, Serestina Viriri, and Jules-Raymond Tapamo. Review of deep learning methods for remote sensing satellite images classification: experimental survey and comparative analysis. Journal of Big Data, 10(1):93, 2023.
Charalambos D. Aliprantis and Kim C. Border. Infinite dimensional analysis: A Hitchhiker's Guide. Springer, 2006.
Anastasios N Angelopoulos and Stephen Bates. Conformal prediction: A gentle introduction. Foundations and Trends in Machine Learning, 16(4):494–591, 2023.
Vitalii V. Arestov. Optimal recovery of operators and related problems. Collection of Papers from the All-Union School on the Theory of Functions, pages 3–20, 1986.
Sylvain Arlot and Pascal Massart. Data-driven calibration of penalties for least-squares regression. Journal of Machine learning research, 10(2), 2009.
Steven F Arnold. Linear models with exchangeably distributed errors. Journal of the American statistical Association, 74(365):194–199, 1979.
Jean-Pierre Aubin. Set-valued analysis. In Mutational and Morphological Analysis: Tools for Shape Evolution and Morphogenesis, pages 205–264. Springer, 1990.
Francis Bach. Breaking the curse of dimensionality with convex neural networks. Journal of Machine Learning Research, 18(19):1–53, 2017.
Peter L Bartlett and Shahar Mendelson. Rademacher and gaussian complexities: Risk bounds and structural results. Journal of machine learning research, 3(Nov):463–482, 2002.
Christian Beck, Arnulf Jentzen, and Benno Kuckuck. Full error analysis for the training of deep neural networks. Infinite Dimensional Analysis, Quantum Probability and Related Topics, 25(02):2150020, 2022.
James O. Berger. Statistical Decision Theory and Bayesian Analysis. Springer, 2 edition, 1985.
Peter J Bickel and Kjell A Doksum. Mathematical statistics: basic ideas and selected topics, volumes I-II package. Chapman and Hall/CRC, 2015.
Peter Binev, Andrea Bonito, Ronald DeVore, and Guergana Petrova. Optimal learning. Calcolo, 61(1):15, 2024.
Olivier Bousquet and André Elisseeff. Stability and generalization. Journal of Machine Learning Research, 2:499–526, 2002.
Gary Chamberlain. Robust decision theory and econometrics. Annual Review of Economics, 12(1):239–271, 2020.
Qingqiang Chen, Fuyuan Cao, Ying Xing, and Jiye Liang. Evaluating classification model against bayes error rate. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(8):9639–9653, 2023.
Qingqiang Chen, Fuyuan Cao, Ying Xing, and Jiye Liang. An efficient bayes error rate estimation method. Machine Learning, 114(6):134, 2025.
Gong Cheng, Junwei Han, and Xiaoqiang Lu. Remote sensing image scene classification: Benchmark and state of the art. Proceedings of the IEEE, 105(10):1865–1883, 2017. doi:10.1109/JPROC.2017.2675998.
Vladimir Cherkassky, Xuhui Shao, Filip M Mulier, and Vladimir N Vapnik. Model complexity control for regression using vc generalization bounds. IEEE transactions on Neural Networks, 10(5):1075–1089, 1999.
Albert Cohen, Wolfgang Dahmen, and Ronald DeVore. Compressed sensing and best k-term approximation. Journal of the American Mathematical Society, 22(1):211–231, 2009.
Albert Cohen, Ronald Devore, Guergana Petrova, and Przemyslaw Wojtaszczyk. Optimal stable nonlinear approximation. Foundations of Computational Mathematics, 22(3):607–648, 2022.
Thomas Cover and Peter Hart. Nearest neighbor pattern classification. IEEE transactions on information theory, 13(1):21–27, 1967.
Ingrid Daubechies. Ten lectures on wavelets. SIAM, 1992.
Armen Der Kiureghian and Ove Ditlevsen. Aleatory or epistemic? does it matter? Structural safety, 31(2):105–112, 2009.
Luc Devroye, László Györfi, Gábor Lugosi, and Harro Walk. A nearest neighbor estimate of the residual variance. Electronic Journal of Statistics, 12:1752–1778, 2018. doi: 10.1214/18-EJS1438.
DrivenData. Meet the winners of wind-dependent variables: Predict wind speeds of tropical storms, March 2021. URL https://drivendata.co/blog/wind-dependent-variables-winners/. Accessed: 2026-06-12.
Robert M Fano and David Hawkins. Transmission of information: A statistical theory of communications. American Journal of Physics, 29(11):793–794, 1961.
Chenyao Fu. pytorch-cifar-models. https://github.com/chenyaofo/pytorch-cifar-models, 2021. Pretrained CIFAR-10 and CIFAR-100 model weights.
Jakob Gawlikowski, Cedrique Rovile Njieutcheu Tassi, Mohsin Ali, Jongseok Lee, Matthias Humt, Jianxiang Feng, Anna Kruspe, Rudolph Triebel, Peter Jung, Ribana Roscher, et al. A survey of uncertainty in deep neural networks. Artificial Intelligence Review, 56(Suppl 1): 1513–1589, 2023.
Stuart Geman, Elie Bienenstock, and René Doursat. Neural networks and the bias/variance dilemma. Neural computation, 4(1):1–58, 1992.
Itzhak Gilboa and David Schmeidler. Maxmin expected utility with non-unique prior. Journal of mathematical economics, 18(2):141–153, 1989.
Nina M Gottschling, Vegard Antun, Anders C Hansen, and Ben Adcock. The troublesome kernel: On hallucinations, no free lunches, and the accuracy-stability tradeoff in inverse problems. SIAM Review, 67(1):73–104, 2025.
Nina Maria Gottschling, Paolo Campodonico, Vegard Antun, and Anders C Hansen. On the existence of optimal multi-valued decoders and their accuracy bounds for ill-posed inverse problems. European Journal of Applied Mathematics, pages 1–33, 2026.
Léo Grinsztajn, Edouard Oyallon, and Gaël Varoquaux. Why do tree-based models still outperform deep learning on typical tabular data? Advances in neural information processing systems, 35:507–520, 2022.
D. C. Groeneveld. Critical heat flux data used to generate the 2006 groeneveld lookup tables. Technical report, Thermalhydraulics Consultants, Inc., Deep River, Ontario, Canada, 2019. Manuscript completed July 2016; published January 2019.
László Györfi, Michael Kohler, Adam Krzyzak, and Harro Walk. A Distribution-Free Theory of Nonparametric Regression. Springer, 2002.
Kai Han, Yunhe Wang, Hanting Chen, Xinghao Chen, Jianyuan Guo, Zhenhua Liu, Yehui Tang, An Xiao, Chunjing Xu, Yixing Xu, et al. A survey on vision transformer. IEEE transactions on pattern analysis and machine intelligence, 45(1):87–110, 2022.
Patrick Helber, Benjamin Bischke, Andreas Dengel, and Damian Borth. Eurosat: A novel dataset and deep learning benchmark for land use and land cover classification. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 12(7):2217–2226, 2019.
Wassily Hoeffding. Probability inequalities for sums of bounded random variables. The collected works of Wassily Hoeffding, pages 409–426, 1994.
Kurt Hornik, Maxwell Stinchcombe, and Halbert White. Multilayer feedforward networks are universal approximators. Neural networks, 2(5):359–366, 1989.
Minoh Jeong, Martina Cardone, and Alex Dytso. Demystifying the optimal performance of multi-class classification. Advances in Neural Information Processing Systems, 36:31638–31664, 2023.
William B Johnson and Joram Lindenstrauss. Extensions of Lipschitz mappings into a Hilbert space 26. Contemporary mathematics, 26, 1984.
Olav Kallenberg. Foundations of modern probability. Springer, 2021. Third edition.
Stéphane Lathuilière, Pablo Mesejo, Xavier Alameda-Pineda, and Radu Horaud. A comprehensive analysis of deep regression. IEEE transactions on pattern analysis and machine intelligence, 42(9):2065–2081, 2019.
Lucien Le Cam. Asymptotic methods in statistical decision theory. Springer Science & Business Media, 2012.
Wu Li. Sharp lipschitz constants for basic optimal solutions and basic feasible solutions of linear programs. SIAM journal on control and optimization, 32(1):140–153, 1994.
Georgii G. Magaril-Il'yaev and Konstantin Y. Osipenko. Optimal recovery of functionals based on inaccurate data. Mat. Zametki, 50(6):85–93, 1991.
Vitaly Maiorov and Allan Pinkus. Lower bounds for approximation by mlp neural networks. Neurocomputing, 25(1-3):81–91, 1999.
Duncan McElfresh, Sujay Khandagale, Jonathan Valverde, Vishak Prasad C, Ganesh Ramakrishnan, Micah Goldblum, and Colin White. When do neural nets outperform boosted trees on tabular data? Advances in Neural Information Processing Systems, 36:76336–76369, 2023.
Edward James McShane. Extension of range of functions. Bulletin of the American Mathematical Society, 40(12):837–842, 1934.
Charles A. Micchelli and Theodore J. Rivlin. A survey of optimal recovery. Optimal estimation in approximation theory, pages 1–54, 1977.
Kevin P Murphy. Probabilistic machine learning: an introduction. MIT press, 2022.
National Aeronautics and Space Administration. Tropical cyclone wind estimation competition. 2024. doi: 10.34911/rdnt.1x18sn. URL https://doi.org/10.34911/rdnt.1x18sn.
Brady Neal, Sarthak Mittal, Aristide Baratin, Vinayak Tantia, Matthew Scicluna, Simon Lacoste-Julien, and Ioannis Mitliagkas. A modern take on the bias-variance tradeoff in neural networks. arXiv preprint arXiv:1810.08591, 2018.
Curtis G Northcutt, Anish Athalye, and Jonas Mueller. Pervasive label errors in test sets destabilize machine learning benchmarks. arXiv preprint arXiv:2103.14749, 2021.
Binghao Pan, Wensheng Liu, Pan Zhou, and Dapeng Oliver Wu. Predicting the compressive strength of recycled concrete using ensemble learning model. IEEE Access, 13:2958–2969, 2024.
Cheol Park. Effect of axial heat flux distribution on critical heat flux. Technical Report KAERI/TR-1665/2000, Korea Atomic Energy Research Institute, Daejeon, Republic of Korea, October 2000.
Fabian Pedregosa, Gaël Varoquaux, Alexandre Gramfort, Vincent Michel, Bertrand Thirion, Olivier Grisel, Mathieu Blondel, Peter Prettenhofer, Ron Weiss, Vincent Dubourg, et al. Scikit-learn: Machine learning in python. the Journal of machine Learning research, 12:2825–2830, 2011.
Philipp Petersen and Felix Voigtlaender. Optimal approximation of piecewise smooth functions using deep relu neural networks. Neural Networks, 108:296–330, 2018.
Allan Pinkus. N-widths in Approximation Theory, volume 7. Springer Science & Business Media, 2012.
Jun Qi, Jun Du, Sabato Marco Siniscalchi, Xiaoli Ma, and Chin-Hui Lee. Analyzing upper bounds on mean absolute errors for deep neural network-based vector-to-vector regression. IEEE Transactions on Signal Processing, 68:3411–3422, 2020.
Joseph Redmon and Ali Farhadi. Yolov3: An incremental improvement. arXiv preprint arXiv:1804.02767, 2018.
Christopher S Ruf, Scott Gleason, and Darren S McKague. Assessment of CYGNSS wind speed retrieval uncertainty. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 12(1):87–97, 2018.
Mark R Segal. Machine learning benchmarks and random forest regression. 2004.
Ravid Shwartz-Ziv and Amitai Armon. Tabular data: Deep learning is not all you need. Information Fusion, 81:84–90, 2022.
Robert H Simpson. The hurricane disaster—potential scale. Weatherwise, 27(4):169–186, 1974.
Adam J Stewart, Caleb Robinson, Isaac A Corley, Anthony Ortiz, Juan M Lavista Ferres, and Arindam Banerjee. Torchgeo: deep learning with geospatial data. ACM Transactions on Spatial Algorithms and Systems, 11(4):1–28, 2025.
Charles J. Stone. Consistent nonparametric regression. The Annals of Statistics, 5(4):595–620, 1977.
Ryan D Torn and Chris Snyder. Uncertainty of tropical cyclone best-track information. Weather and Forecasting, 27(3):715–729, 2012.
Joseph Frederick Traub, Grzegorz W Wasilkowski, and Henryk Woźniakowski. Information, uncertainty, complexity. Addison-Wesley Reading, MA, 1983.
Athanasios Tsanas and Angeliki Xifara. Accurate quantitative estimation of energy performance of residential buildings using statistical machine learning tools. Energy and buildings, 49:560–567, 2012.
Alexandre B Tsybakov. Introduction à l'estimation non paramétrique, volume 41. Springer Science & Business Media, 2003.
Ryota Ushio, Takashi Ishida, and Masashi Sugiyama. Practical estimation of the optimal classification error with soft labels and calibration. In International Conference on Learning Representations, volume 2026, pages 1604–1643, 2026.
Vladimir Vapnik. Estimation of dependences based on empirical data. Springer Science & Business Media, 2006.
Vladimir N Vapnik. An overview of statistical learning theory. IEEE transactions on neural networks, 10(5):988–999, 1999.
Zitong Yang, Yaodong Yu, Chong You, Jacob Steinhardt, and Yi Ma. Rethinking bias-variance trade-off for generalization of neural networks. In International Conference on Machine Learning, pages 10767–10777. PMLR, 2020.
Dmitry Yarotsky. Error bounds for approximations with deep relu networks. Neural networks, 94:103–114, 2017.
I-C Yeh. Modeling of strength of high-performance concrete using artificial neural networks. Cement and Concrete research, 28(12):1797–1808, 1998.
Jan Žegklitz and Petr Pošik. Symbolic regression algorithms with built-in linear regression. arXiv preprint arXiv:1701.03641, 2017.
Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016.
Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning (still) requires rethinking generalization. Communications of the ACM, 64(3):107–115, 2021.
Tong Zhang. Some sharp performance bounds for least squares regression with l 1 regularization. Annals of Statistics, 37(5A):2109–2144, 2009.
8 Proofs
After introducing preliminaries, we prove the main results. Each set-valued mapping has two natural inverses. The upper inverse (also called the strong inverse) of a subset of is defined by
The lower inverse (also called the weak inverse) is defined by
Recall that a neighborhood of a set is any set for which there is an open set satisfying . Any open set that satisfies is called an open neighborhood of .
Definition 8.1 ([Aliprantis and Border, 2006, Definition 17.2]). A set-valued mapping between topological spaces is:
upper hemicontinuous at if for every neighborhood of , there is a neighborhood of such that implies or, equivalently, if is a neighborhood of in .
lower hemicontinuous at if for every open set that meets , i.e. , there is a neighborhood of such that implies , equivalently, the lower inverse image is a neighborhood of .
continuous at x if it is both upper and lower hemicontinuous at x.
As with functions, we say is upper or lower hemicontinuous on X, if it is upper or lower hemicontinuous at every point of X. It is continuous if it is continuous at each point.
Definition 8.2 (Regular conditional distribution). Let and be random variables, where and are measurable spaces with -algebras and , respectively. A regular conditional distribution of given is a Markov kernel
such that
-
for every , the map is a probability measure on ;
-
for every , the map is -measurable;
-
for every and ,
Regular conditional distributions do not always exist. The following positive result guarantees that a regular conditional distribution exists, see Kallenberg [2021].
Theorem 8.3 (Existence of regular conditional distributions). If S and T are standard Borel spaces, then a regular conditional distribution of Y given Z exists and is unique up to -almost everywhere equality.
8.1 Proof of Proposition 2.5
Proof. Since , we choose such that . The set
is an open neighborhood of . By upper hemicontinuity of at , there exists a neighborhood of such that for all . Hence
Together with , the reverse triangle inequality gives, for every ,
Since , there exists an open ball centered at such that and for all . Set , which is not empty as . Then, for every and every , we have that , as and and is a metric. Thus, the point is admissible in the definition of . Therefore,
which proves the result.
8.2 Proof of Theorem 2.9
Proof. Let
be the finite feasible sets returned by Algorithm 1, and let with . Let be any regressor.
Step 1: Lower bound by half of the average kernel size. Fix and . For any , the triangle inequality gives
Since
we obtain
For , the convexity of implies for . Consequently,
Summing over all unordered pairs , and observing that each index occurs in exactly such pairs, gives
When , the left-hand side is zero by definition, so the inequality remains valid. Summing over and dividing by , we obtain
By the definition of the empirical loss and of the average kernel size, this is
Taking p-th roots yields
Since was arbitrary, the first claim follows.
Step 2: Existence of an optimal regressor. For each , define
The function is continuous. We next show that it attains its minimum. Let
Since the group is finite, . If , then, for every ,
Hence, . On the other hand,
Therefore every minimizer of lies in the closed ball . This ball is closed and bounded, and hence compact by Assumption 2.1. Since is continuous, it attains its minimum on this compact set. Thus, we may choose
Step 3: Characterization of the unrestricted empirical optimal regressor. Fix . For any nonempty prediction set ,
for each n. More importantly, since
we have, for every n,
for every . Consequently,
for every , and therefore
By the definition of ,
Equality is attained by the singleton prediction set . Since the anchor points are pairwise positively separated, the values of a regressor at the different anchors can be prescribed independently. Hence the unrestricted empirical optimal regressor attains
Step 4: Upper bound by the average kernel size. Fix with . By the minimizing property of , for every ,
Averaging this inequality over gives
The diagonal terms vanish, and symmetry of the metric implies
Therefore,
Since , , and hence
For , the left-hand side is zero as is an exact minimizer, while the corresponding kernel contribution is zero by definition. Summing over and dividing by , we obtain
Thus, . Together with Step 1, this gives
Step 5: Construction of an upper hemicontinuous minimizer. It remains to show that the unrestricted empirical optimum can be attained by an upper hemicontinuous map with nonempty compact values. Assume first that , and define . For , let . For , the triangle inequality implies . Hence the sets are pairwise disjoint. If , choose any and define in the same way. Choose an arbitrary , and define
Every value of is nonempty and finite, and hence compact. We claim that is upper hemicontinuous. Away from the boundaries , the map is locally constant and is therefore upper hemicontinuous. Now let . Since the sets are positively separated, there exists a neighborhood of that intersects no with . Thus, for every ,
. Let be any open set containing . Then , and consequently
Hence, after possibly shrinking , for all . This proves upper hemicontinuity at , and therefore is upper hemicontinuous on . Finally, since , for . Therefore,
Thus the unrestricted empirical infimum is attained by an upper hemicontinuous map with nonempty finite, hence compact, values. is singleton-valued on the open neighborhood of every anchor . Consequently,
and both infima lie between the lower and upper bound from steps 1 and 4. This completes the proof.
8.3 Proof of Proposition 2.13
Proof. For each edge , define and . By the choice of the reference index , we have . Since ,
By the reverse triangle inequality for the -norm,
Next, by the definition of the reference weights ,
Hence, using for all ,
For nonnegative and , the map satisfies . Therefore,
Combining the preceding two inequalities with the triangle inequality gives the claimed bound
8.4 Proof of Proposition 2.17
Proof. Conditional on , let be an independent copy of . Then . The conditional Pythagorean identity gives . Taking expectations proves the result.
8.5 Proof of Proposition 2.18
Proof. Regression generalization gap: Let be a measurable regressor such that . Fix . Let . By the triangle inequality, . Applying gives . Now taking the conditional expectation given , gives
Since and are i.i.d. conditional on , . Hence, . Taking the expectation over and using the tower property on the right hand side, yields
Now taking the 1/p-th power on both sides yields
Thus, as we have that . Finally, since empirical risk is bounded by , we have that , and, thus . The Euclidean sharpening follows from Proposition 2.17. Classification generalization gap: The proof follows the same structure as for the regression case by bounding from above.
8.6 Proof of Proposition 2.19
Proof. For each , let . Conditional on , the order-two U-statistic is unbiased, so . Taking expectations gives . The variables are independent and satisfy . Since , Hoeffding's inequality Hoeffding [1994] gives the stated bound.
9 Appendix
9.1 Experiment details
9.1.1 Pseudo-metric on image data
Across all image-based tasks we used the same metric to ensure comparability of image-based features. The metric on images was the composition of the norm with discrete wavelet features . The image feature was obtained by the concatenation of the four subbands obtained from a single-level two-dimensional discrete wavelet transform (DWT) applied independently to each channel Daubechies [1992]. Given an image , the resulting feature vector is denoted by . The DWT was computed using a chosen wavelet basis; in all experiments, we used the Haar wavelet basis. Specifically, for each channel, the transform decomposes the image into an approximation subband, denoted by LL (low-low), and three detail subbands: LH (low-high), HL (high-low), and HH (high-high). These subbands correspond to the responses of low- and high-frequency filters applied along the two spatial dimensions. The four resulting subbands were flattened and concatenated to form the final feature, . For wavelets with standard dyadic downsampling and even spatial dimensions, the resulting feature dimension is . The image similarity was measured by the metric
More generally, this construction can be viewed as a feature-induced pseudo-metric on the original image space: if the feature map g is not injective, distinct images may have identical feature representations and therefore zero distance. For the specific implementation considered here, all four subbands of the Haar DWT are retained, so the transform is invertible under the corresponding DWT conventions. The pseudo-metric terminology is therefore primarily relevant to the general feature-map formulation, particularly when g is replaced by a potentially non-injective feature encoder.
9.1.2 Feasible set construction
We sampled finite feasible sets using Algorithm 1. For image-based experiments, neighboring inputs were identified using the wavelet-induced distance in (9.1). Threshold choice followed a fixed rule throughout the experiments; whenever prior knowledge supplied an input-noise model and/or a target/label measurement-noise model, we set the thresholds and to the corresponding conservative worst-case noise bounds. If such prior information was unavailable, we estimated using the nearest-neighbor quantile rule in (9.2) and set unless target-noise information was available. Given the thresholds and approximately satisfying Assumption 2.6, and an anchor , the target of a sample was admitted to the feasible set whenever or . Thus, contains targets associated with samples that are close to the anchor either in input space or in target space. For one-hot labels, we set . In the case that prior knowledge did not supply an input-noise model, we used the following dataset-dependent procedure for the input threshold
where denotes the closest non-self neighbor of . The nearest neighbors for the dataset-dependent input threshold selection were computed with the nearest neighbor algorithm from Pedregosa et al. [2011]. We used the standard settings, the metric corresponding to the choice of and reported the maximum number of nearest neighbors used in nearest neighbor
If the target noise is unknown, one could use the analogous target-space nearest-neighbor quantiles, .
algorithm from Pedregosa et al. [2011] in the experiments. Additionally, we chose the maximum number of nearest neighbors such that the average kernel size converged with an ablation study outlined below. If the worst-case noise threshold was unknown, in our experiments we did not estimate via quantiles and set , thereby assuming noiseless targets.
The quantile parameter for choosing the threshold in (9.2) determines the locality scale at which samples are treated as indistinguishable with respect to the pseudo-metric : smaller values of enforce more local feasible sets, whereas larger values increase sample support but may merge points that are no longer similar. To focus on local neighborhoods we restricted the quantile to , that is, to the lower tail of the nearest-neighbor distance distribution. Within this range, was chosen by a bandwidth stability heuristic rather than by an optimality criterion: we selected the smallest lying in a region where the estimated average kernel size changed only mildly across neighboring values of . We identified such a region by requiring both small relative changes in the average kernel size and approximately small local curvature, and then choose the smallest in that plateau. This favors the most local scale at which the estimated ambiguity is not unduly sensitive to the threshold choice. We emphasize that this is a practical empirical heuristic for selecting a stable locality scale, not a claim of statistical optimality. To make the dependence on transparent, we reported full sensitivity curves in Section 9.2 below, which contains additional ablation studies, and verified that the average kernel size remained qualitatively stable throughout the selected range.
The values of , , and and the average feasible set size , as well as and the number of anchor samples , are reported for each experiment.
Ablation study on maximum number of nearest neighbors and quantiles: We assessed sensitivity to the quantile and maximum number of nearest neighbors used in nearest neighbor algorithm from Pedregosa et al. [2011] for computing the threshold and varied and . In the ablation over the neighborhood size we selected such that the average kernel size remained constant for larger . For varying the neighborhood size we set a convergence criterion at . For completeness, we extended the ablation study on quantiles to
although we do not recommend extending beyond the quantile , as the resulting threshold is unlikely to satisfy Assumption 2.6 for larger quantiles. For each parameter choice, we recomputed the nearest-neighbor graph, threshold , feasible sets, and average kernel size. This provides an empirical assessment of the stability of the resulting feasible-set geometry and is reported in Section 9.2.
9.1.3 Regression dataset details
For the synthetic regression dataset, we computed the average kernel size from feasible sets as a function of the maximum number of nearest neighbors and reached convergence with threshold at , see Figure 10. We generated a mesh grid of noisy input points and a noisy surface from the regression target function evaluated on the mesh grid of input points, where we added uniform input noise and target noise . Because bounded input and target noise were prescribed in the data-generation process, we set and equal to the corresponding worst-case noise magnitudes. Thus, we chose and . We trained three regressors to approximate the target function from samples in a train dataset and evaluated their predictive error on held-out test data. We considered a Gaussian Process regressor , a multilayer perceptron (MLP) regressor , and a Support Vector Regression (SVR) model with a radial basis function (RBF) kernel, denoted by . We report the RMSE of each model on both the original test dataset and the constructed test dataset generated by Algorithm 1. The error of the optimal regressor on is given
Note that the maximum number of nearest neighbors for computing the threshold for a given quantile is not equal to the number of maximal elements in a given feasible set obtained by Algorithm 1.
by .
As a noiseless control, we repeated the feasible-set construction on data generated from the deterministic relation , for which the Bayes RMSE is zero. For all tested positive input thresholds with , the empirical average kernel size was also zero on both train and test splits. Hence, in this setting the geometric threshold construction did not itself induce target ambiguity.
For a comparison to the Bayes risk, we assume the additive noise model
with independent of . Hence , so the Bayes RMSE is . By Proposition 2.17, the corresponding population comparison quantity is . As we do not observe , we compute the empirical proxy . For , the empirical results are identical, indicating that the input-threshold criterion is inactive in this regime. The corresponding test values of the average kernel size are
for corresponding values of , respectively. Comparing with the Bayes benchmark under the assumption that the noise is independently sampled of the input, 0.00866, we find that for the average kernel size the closest, whereas larger output thresholds increasingly overestimate the irreducible error under this independence assumption. Under target threshold misspecification for , we tested Assumption 2.6 as follows: a candidate reassignment is called admissible if the observed target value lies in the model-consistent interval associated with the anchor input , namely
Accordingly, the test precision is defined as
Its empirical value decreases from
as increases.
For the Tropical Cyclone open-source dataset from Huggingface, the input images were converted to tensors. We did not assume an explicit image-space noise model and therefore chose with the quantile heuristic. For the wind-speed targets, we used a heteroskedastic measurement-noise model outlined below and set accordingly. We computed the average kernel size from feasible sets as a function of the maximum number of nearest neighbors and reached convergence with threshold at , see Figure 10. For the ablation over quantiles see Figure 12. For the tropical cyclone regression tasks in Table 3, the maximum sustained wind speed is predicted from a triplet of consecutive satellite images or from the storm category (SC) defined by the Saffir-Simpson scale Simpson [1974]. We report the optimal accuracy intervals from Theorem 2.9 mean over 20 random subsets of size sampled from the train and test sets, , . The RMSE values, in knots, of the leaderboard winning models of DrivenData [2021] were computed on the test dataset. The dataset consists of single-channel long-wave infrared satellite images acquired every 15 minutes, paired with one-minute maximum sustained wind speeds in knots. Using the challenge's storm-level splits and TorchGeo data loader Stewart et al. [2025], we obtained approximately 70k training and 44k test samples. We resized images to pixels and standardized the wavelet features on the train and test splits. The wind-speed annotations are from National Aeronautics and Space Administration [2024]. As these annotations are operational intensity estimates rather than direct point measurements, we modeled their noise as heteroskedastic, with uncertainty increasing with wind speed. This is motivated by previous studies of tropical-cyclone intensity and wind-speed retrieval uncertainty Torn and Snyder [2012], Ruf et al. [2018], including approximately 1.4 m s low-wind and 17.2% high-wind uncertainties Ruf et al. [2018]. With wind speed y measured in knots, we used the phenomenological uncertainty model
where 39 knots approximates 20 m s⁻¹, 2.7 knots corresponds to approximately 1.39 m s⁻¹, and the high-wind branch represents approximately 17% relative uncertainty. These values motivated our label-noise model but are not intended as a direct recalibration of the uncertainty estimates. For τχ = 0.0 and the same heteroskedastic noise model for τy with otherwise the same parameters, we have that Kersize(D_M'_test, 2)_K = 5.91 kts. For the same input threshold and τy = 0.01 with otherwise the same parameters, we have that Kersize(D_M'_test, 2)_K = 2.36 kts. The error of the optimal regressor on D_M'test is given by R* = 4.3215 ± 0.1095.
As a sanity check, we considered the Tropical Cyclone Storm Categories (SC) dataset, we used only the labels from the tropical cyclone open-source dataset from Huggingface and consider the task of predicting the wind speed from the hurricane and storm categories of the Saffir-Simpson scale Simpson [1974]. We computed the average kernel size from the input of the storm category and bins containing the associated wind speeds in the train and test datasets. We assumed noiseless targets and set . Here we obtained accuracy bounds on the train dataset of [3.34, 6.68] and [3.23, 6.45] on the test dataset. Note that these intervals are in the same order of magnitude as the ones computed on the tropical cyclone dataset reported in Table 3.
For UCI Energy Efficiency open-source datasets Tsanas and Xifara [2012] from UCI with targets and , we standardized the input variables using the full set. No measurement-noise models were available, so was selected by the quantile-based rule and . We computed the average kernel size from feasible sets as a function of the maximum number of nearest neighbors and reached convergence with threshold at , see Figure 10. For the ablation over quantiles see Figure 12. This dataset Tsanas and Xifara [2012] contains eight input variables (relative compactness, surface area, wall area, roof area, overall height, orientation, glazing area, glazing area distribution) and two target variables, the heating load ( ) and cooling load ( ). The best model errors in RMSE were from [Žegklitz and Pošik, 2017, Table 5]. We assumed noiseless targets and set , which means that the target criterion was inactive in Algorithm 1. The error of the optimal regressor on is given by for and by for .
For the UCI Concrete Compressive Strength open-source dataset Yeh [1998] from UCI, we standardized the input variables using the full dataset. No measurement-noise models were available, so was selected by the quantile-based rule and . We computed the average kernel size from feasible sets as a function of the maximum number of nearest neighbors and reached convergence with threshold at , see Figure 11. For the ablation over quantiles see Figure 12. For this dataset Yeh [1998] there are eight input variables (cement, blast furnace slag, fly ash, water, superplasticizer, coarse aggregate, fine aggregate, and age) and one target variable, the concrete compressive strength. The best model errors in RMSE were from the benchmark results reported in [Pan et al., 2024, Table 10]. The error of the optimal regressor on is given by .
For the KAERI Critical Heat Flux (CHF) open-source dataset with uniform axial heating Park [2000] from Kaggle, we standardized the input variables using the full set. We computed the average kernel size from feasible sets as a function of the maximum number of nearest neighbors and reached convergence with threshold at , see Figure 11. We used five input variables (diameter, heated length, pressure, mass flux, and equilibrium quality) and one target variable, the critical heat flux. We set equal to the worst-case noise magnitude of a heteroskedastic noise model. To account for input measurement uncertainty, we assigned uncertainties of for diameter and length, for pressure, for mass flux, and
±0.01 absolute for equilibrium quality. For observation , the resulting input uncertainty radius was computed using , where denotes the assumed physical measurement uncertainty of feature for observation , and denotes the standard deviation of feature computed on the full dataset. We used the dimensionless worst-case threshold . We modeled target measurement uncertainty as heteroskedastic, where for a critical heat flux measurement in kW/m, we define
where represents a constant absolute uncertainty and represents a 10% relative uncertainty between targets as reported in [Groeneveld, 2019, Section 2.4]. This is an approximate heteroskedastic measurement model and should not be interpreted as independently verified measurement uncertainties. The best model errors were from Extra Trees, Random Forest, and Histogram Gradient Boosting regressors trained on samples and tested on samples. As we compute the average kernel size on the full dataset we do not obtain a constructed dataset solely for the test dataset and, thus, do not report the models' errors on this. For and the same heteroskedastic noise model for with otherwise the same parameters, we have that Kersize( , ) . For and with otherwise the same parameters, we have that Kersize( , ) . The larger average kernel size for may be due to aggregation pathologies. The error of the optimal regressor on is given by .
9.1.4 Classification dataset details
For the MNIST open-source dataset from Torch Vision, we converted the input images to tensors and normalized them using the MNIST training-set channel means and standard deviations. We computed the average kernel size from feasible sets as a function of the maximum number of nearest neighbors and reached convergence with threshold at ; see Figure 13. MNIST contains single-channel grayscale images of handwritten digits of size from 0 to 9. For MNIST, we computed the accuracies on the test set and the constructed test set for an EfficientNet B0, and with further random initializations of this model. The accuracy of the optimal classifier on is given by .
For the CIFAR-10 open-source dataset from Torch Vision, we converted the input images to tensors and normalized them using the CIFAR-10 training-set channel means and standard deviations. We computed the average kernel size from feasible sets as a function of the maximum number of nearest neighbors and reached convergence with threshold at , see Figure 13. CIFAR-10 contains three-channel color images of objects of size from 10 different classes. For CIFAR-10, we computed the accuracies on the test set and the constructed test set for a pretrained ResNet56, , and pretrained ShuffleNetV2, , from Fu [2021] and retrained on the train dataset. The accuracy for is reported from the CIFAR-10 Kaggle leaderboard. The accuracy of the optimal classifier on is given by .
For the RESISC45 open-source dataset Cheng et al. [2017] from TorchGeo, the input images were converted to tensors. We computed the average kernel size from feasible sets as a function of the maximum number of nearest neighbors and reached convergence with threshold at , see Figure 13. The RESISC45 dataset Cheng et al. [2017] is a publicly available benchmark for remote-sensing scene classification. It contains approximately 31.5k images spanning 45 land-use and scene categories, with substantial variation in spatial resolution, viewpoint, illumination, and background. The task is to map each RGB image of size to one of the 45 landcover classes. The accuracies on the test dataset with a 20/80 train/test split are from the best models from [Cheng et al., 2017, Table 6]. For RESISC45, the train and test intervals were computed from the mean average kernel sizes over 20 randomly selected subsets of 3k samples, and . The values shown in the ablation figures, such as Figure 8, correspond to individual subsets and are not used directly to compute these intervals. The accuracy of the optimal classifier on is given by .
For the EUROSAT open-source dataset Helber et al. [2019] we used the RGB version of the dataset provided by TorchGeo on HuggingFace together with the provided split into training, validation and testing. The input images were converted to tensors and normalized to [-1,1]. We computed the average kernel size from feasible sets as a function of the maximum number of nearest neighbors and reached convergence at , see Figure 13. The EUROSAT dataset Helber et al. [2019] is a publicly available benchmark for land-use and land-cover classification based on Sentinel-2 satellite imagery. It contains 27k labeled image patches distributed across 10 classes, including forests, residential areas, agricultural land, rivers, and industrial sites. The dataset provides both RGB and multispectral imagery and captures substantial variation in geographic location, land-cover structure, and spectral characteristics. We chose the classification task mapping RGB images of size to 10 different landcover classes. The best model's test-set accuracies is from [Adegun et al., 2023, Table 5] and a locally trained DNNs. The accuracy of the optimal classifier on is given by .
RESISC45 quantile ablation

EUROSAT quantile ablation
MNIST quantile ablation
CIFAR-10 quantile ablation

Quantile
Quantile
Figure 8: Average kernel size, Kersize( , 1) (AK), as a function of the quantile q for the classification datasets. The additional ticks on the x-axis indicate the quantiles for the computation of . The number of anchor samples K are in Table 4.
In addition to Figure 8 indicating the choice of quantiles for the input space thresholds , the Figure 14 contains a full ablation across all quantiles .
9.1.5 Sensitivity of the average kernel size to noise
We applied different levels of label noise on MNIST and EUROSAT and computed the average kernel sizes across quantiles. Figure 9 shows the estimated average kernel size as a function of the quantile q used to compute the threshold . For both datasets, the average kernel size increases with both the quantile q and the target noise level . Larger quantiles produce larger thresholds , thus Algorithm 1 yields larger feasible sets and therefore more heterogeneous targets in a given feasible set, while larger noise levels increase label dispersion within these sets. The MNIST curve in Figure 9 remains near zero for small quantiles. In contrast,
EUROSAT exhibits substantial average kernel size already at moderate quantiles, indicating greater intrinsic ambiguity under the chosen pseudo-metric. Overall, the plots show that the average kernel size increases consistently with increasing aleatoric label uncertainty.

Figure 9: EUROSAT and MNIST train datasets plots of average kernel size for different label noise levels versus the quantile used for computing the threshold . The number of anchor samples is the full train set size (cmp. Table 4) and the average kernel size is computed with .
9.2 Ablation studies
| Model | RMSE | RMSE | RMSE | |
|---|---|---|---|---|
| 0.000297 | 0.150666 | 0.145760 | 2.113529 | |
| 0.014644 | 0.016850 | 0.021984 | 0.930406 | |
| 0.000177 | 0.309775 | 0.304252 | 3.889222 | |
| 0.013384 | 0.016177 | 0.022371 | 0.921996 |
Table 6: Different regressors errors in RMSE. The average kernel size is computed from the reference dataset . Models , the GP and SVR, satisfy , whereas models satisfy . The table reports the training RMSE, the test RMSE, the RMSE on the constructed dataset , and the empirical Lipschitz estimate . , , and .
| Model | RMSE | ||
|---|---|---|---|
| 0.0003 | 2.100 | 2.11 | |
| 0.0146 | 0.051 | 0.930 | |
| 0.0002 | 2.118 | 3.889 | |
| 0.0134 | 0.231 | 0.922 |
Table 7: We set and compute the quantity which relates to the lower bound in Proposition 2.5 by taking the worst-case distance of similar targets and instead of the pointwise error the average error.
Tropical Cyclone ablation

Synthetic regression ablation

Energy efficiency ablation

Energy efficiency ablation

Figure 10: Average kernel size, AK or also Kersize( , 2) , for regression datasets as a function of the maximum number of nearest neighbors used in the threshold and feasible set computation. For synthetic regression the thresholds are chosen based on the worst-case noise and otherwise, the input threshold is chosen as the quantile of the nearest-neighbor distances according to (9.2). The quantile q and number of anchor samples K for train and test splits can be found in Table 2.
Concrete strength ablation

Critical heat flux ablation

Figure 11: Average kernel size, AK or also Kersize( , 2) , for regression datasets as a function of the maximum number of nearest neighbors used in the threshold and feasible set computation. For CHF the thresholds are chosen based on the worst-case noise and for concrete strength the input threshold is chosen as the quantile of the nearest-neighbor distances according to (9.2). The quantile and number of anchor samples for train and test splits can be found in Table 2.
Table 8: Average kernel size, AK or also Kersize( , 2) , for increasing input noise levels.
| AK | |||
|---|---|---|---|
| 0.01 | 0.00596 | 634.4k | 0.01414 |
| 0.05 | 0.00710 | 653.4k | 0.07071 |
| 0.10 | 0.01119 | 698.9k | 0.14142 |
| 0.20 | 0.02458 | 855.1k | 0.28284 |
| 0.30 | 0.04173 | 1087.6k | 0.42426 |
| 0.40 | 0.06339 | 1109.5k | 0.56569 |
| 0.50 | 0.08677 | 1093.0k | 0.70711 |
| 0.60 | 0.10327 | 1093.3k | 0.84853 |
| 0.70 | 0.13502 | 1035.2k | 0.98995 |
| 0.80 | 0.15497 | 1020.3k | 1.13137 |
| 0.90 | 0.18044 | 978.6k | 1.27279 |
| 1.00 | 0.20708 | 941.3k | 1.41421 |
Table 9: Average kernel size, AK or also Kersize( , 2) , for increasing target noise levels.
| AK | ||
|---|---|---|
| 0.01 | 0.00596 | 634.4k |
| 0.05 | 0.01556 | 733.2k |
| 0.10 | 0.02552 | 742.2k |
| 0.20 | 0.04741 | 746.8k |
| 0.30 | 0.07155 | 744.7k |
| 0.40 | 0.09789 | 745.1k |
| 0.50 | 0.11382 | 748.1k |
| 0.60 | 0.14349 | 746.9k |
| 0.70 | 0.16264 | 745.7k |
| 0.80 | 0.19173 | 745.1k |
| 0.90 | 0.21385 | 745.7k |
| 1.00 | 0.23710 | 745.1k |
Tropical Cyclone quantile ablation

Energy efficiency quantile ablation

Energy efficiency quantile ablation

Concrete strength quantile ablation

Figure 12: Average kernel size, AK or also Kersize( , 2) , and scaled thresholds as functions of the quantile parameter q for the regression datasets. Computed on subsets of samples from the tropical cyclone training and test datasets. The threshold is computed for each quantile q. The number of anchor samples K and are in Table 2.
CIFAR-10 ablation

MNIST ablation
RESISC45 ablation

EUROSAT ablation

Figure 13: Average kernel size, AK or also Kersize( , 1) , for classification datasets as a function of the maximum number of nearest neighbors used in the threshold computation. The threshold is chosen as the quantile of the nearest-neighbor distances according to (9.2). The quantile q and number of anchor samples K for train and test splits can be found in Table 4.
Classification datasets quantile ablation

Figure 14: Average kernel size, or also Kersize(, , and as a function of the quantile parameter for the different classification datasets, MNIST (MN), CIFAR-10 (C10), EUROSAT (ES) and RESISC45 (RS). The threshold is chosen for each quantile according to (9.2). The number of anchor samples for train and test splits can be found in Table 4.