arXiv:2610.22564cs.LGOct 2026

Manuscript Offprint

arXiv:2610.22564

Deterministic Bounds on Accuracy and Stability of Metric-Space Regression and Classification

Nina Maria Gottschling, Jakob Gawlikowski, Michele Caprio

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 2\sqrt{2}. 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:

predicty∈M1⊂Ygivenx∈M2⊂X,(1.1)\mathrm{predict}y\in\mathcal{M}_{1}\subset\mathcal{Y}\mathrm{given}x\in\mathcal{M}_{2}\subset\mathcal{X}, \tag{1.1}

where the available input-target pairs (y,x)∈M1×M2(y, x) \in \mathcal{M}_1 \times \mathcal{M}_2 are given by a finite dataset of tuples DM={(ym,xm)}m=1M⊂M1×M2\mathcal{D}_M = \{(y_m, x_m)\}_{m=1}^M \subset \mathcal{M}_1 \times \mathcal{M}_2 for some M∈NM \in \mathbb{N}. Here, yy represents the data of interest, while xx denotes the available data from which we wish to predict yy. The sets M1⊂Y\mathcal{M}_1 \subset \mathcal{Y} and M2⊂X\mathcal{M}_2 \subset \mathcal{X} describe the sets of target and input signals of interest. The dataset DM\mathcal{D}_M is deliberately defined in this general way to encompass many known cases and settings. For example, the ambient input set X\mathcal{X} may consist of tensors for image-based regression and classification problems or of a structure supporting tabular data, and the set M2⊂X\mathcal{M}_2 \subset \mathcal{X} may consist of all admissible images.

*Computing and Computational Sciences, Oak Ridge National Laboratory, Oak Ridge, Tennessee.

†^{\dagger}German Aerospace Center (DLR), Remote Sensing Technology Institute, Wessling, Germany.

‡^{\ddagger}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

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 FxF_x (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 Y\mathcal{Y} consists of one-hot encoded vectors or more generally Y={y∈[0,1]C:∑c=1Cyc=1}\mathcal{Y} = \{y \in [0,1]^C : \sum_{c=1}^C y_c = 1\} for C∈NC \in \mathbb{N} classes.

In applications, an input may correspond to multiple admissible targets, even if the observed dataset DM\mathcal{D}_M contains a unique target for that input. To characterize such ambiguity, we introduce a multiset of admissible input-target pairs R\mathcal{R} satisfying DM⊂R\mathcal{D}_M \subset \mathcal{R}. For a fixed input xx, we define its feasible set in the following Definition 1.1. If, for a fixed input xx, 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 R\mathcal{R} be an underlying admissible input-target multiset. For an input xx obtained from a sample (y,x)∈R(y, x) \in \mathcal{R} let the feasible set FxF_x be defined as

Fx:=⋃(y,x)∈R{y}⊂M1.(1.2)F_{x}:=\bigcup_{(y,x)\in\mathcal{R}}\{y\}\subset\mathcal{M}_{1}. \tag{1.2}

As ∪\cup is the disjoint union, the feasible set FxF_x is a multiset.

A non-singleton feasible set indicates that multiple targets are admissibly associated with the same input. If y,y′∈Fxy, y' \in F_x with y≠y′y \neq y', then (y,x),(y′,x)∈R(y, x), (y', x) \in \mathcal{R} although these pairs need not both be contained in the observed finite dataset DM\mathcal{D}_M. 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 DM′\mathcal{D}_M' 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 R\mathcal{R} with DM⊂R\mathcal{D}_M \subset \mathcal{R}. Relative to this admissible multiset, we assume that there exists a multiset

DM′={(ym,xm)}m=1M′⊂R(1.3)\mathcal{D}_{M^{\prime}}=\{(y_{m},x_{m})\}_{m=1}^{M^{\prime}}\subset\mathcal{R} \tag{1.3}

such that DM⊂DM′\mathcal{D}_M \subset \mathcal{D}_{M'} and, for some x∈M2x \in \mathcal{M}_2, there exist distinct y,y′∈M1y, y' \in \mathcal{M}_1 with y,y′∈Fxy, y' \in F_x.

Here, DM′\mathcal{D}_{M'} is not meant to be uniquely determined or algorithmically recovered from DM\mathcal{D}_{M}; it is an admissible enlargement of the observed sample used to represent latent ambiguity in the input-target relation. The condition that some FxF_{x} contains two distinct values y≠y′y \neq y' 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 y^⊂Y\hat{y} \subset \mathcal{Y} to the true target yy from an input xx. Any algorithm or method that produces a potentially set-valued regressor or classifier mapping data points xx in M2\mathcal{M}_2 to approximations of the true target yy is denoted by

ϕ:M2⇉Y,\phi:\mathcal{M}_{2}\rightrightarrows\mathcal{Y},

with ϕ(x)=y^⊂Y\phi(x) = \hat{y} \subset \mathcal{Y}. 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 ϕ:M2⇄Y\phi : \mathcal{M}_2 \rightleftarrows \mathcal{Y} for approximately solving (1.1) is often quantified by the empirical root-p mean of the residuals between the predictions and targets over the M∈NM \in \mathbb{N} samples DM={(ym,xm)}m=1M\mathcal{D}_M = \{(y_m, x_m)\}_{m=1}^M, and can be denoted by

L(DM,ϕ,p)=(1M∑m=1MdYH({ym},ϕ(xm))p)1/p,(1.4)\mathcal{L}(\mathcal{D}_{M},\phi,p)=\left(\frac{1}{M}\sum_{m=1}^{M}d_{\mathcal{Y}}^{H}(\{y_{m}\},\phi(x_{m}))^{p}\right)^{1/p}, \tag{1.4}

for some p∈[1,∞)p \in [1, \infty) and a metric dyd_y on M1\mathcal{M}_1, where the Hausdorff distance is defined by dyH({y},ϕ(x)):=sup⁡z∈ϕ(x)dy(y,z)d_y^H(\{y\}, \phi(x)) := \sup_{z \in \phi(x)} d_y(y, z). For p=1p = 1, this is the mean absolute error (MAE), and for p=2p = 2, 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 ϕ:M2⇄Y\phi : \mathcal{M}_2 \rightleftarrows \mathcal{Y} can be measured by the Hausdorff distance induced by the normalized Hamming metric dHd_H, so that

Acc(DM,ϕ)=1−1M∑m=1MdHH({ym},ϕ(xm)).(1.5)\mathrm{A c c}(\mathcal{D}_{M},\phi)=1-\frac{1}{M}\sum_{m=1}^{M}d_{H}^{H}(\{y_{m}\},\phi(x_{m})). \tag{1.5}

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 y^\hat{y} to the true target y.