arXiv:2609.10428math.STSep 2026

Manuscript Offprint

arXiv:2609.10428

Algorithmic stability via ensembling

Rina Foygel Barber, Richard J. Samworth

Abstract

Algorithmic stability refers to the property of an algorithm being insensitive to perturbations of the input data, where the type of perturbation may vary depending on the setting. In this work, we develop a general framework to quantify the extent to which any ensembling strategy defined via averaging can yield stability guarantees for any type of data perturbation. Our main theoretical result is a guarantee on the stability of this ensembled algorithm, given in terms of the norm of a certain covariance operator that describes the ensembling process. We show how our general framework yields interpretable and intuitive insights in several examples of perturbations of practical interest, and provides much sharper guarantees than those obtained from privacy considerations.

1 Introduction

In modern data analysis, there are many factors that play a role in choosing an algorithm for learning from data: we may wish to select an algorithm based on features such as accuracy (in recovering some underlying model or parameter), computational cost, privacy, robustness to outliers or to model errors, and many more. In this work, we are interested in the property of algorithmic stability, which measures the extent to which the output of an algorithm is sensitive to small perturbations of the training data; in particular, in the statistics literature, stability is commonly defined by considering the change in the output when deleting, or resampling, small amounts of the training data, but other types of perturbations have also been considered. Stability is widely considered to be a fundamental desirable property of learning algorithms (Meinshausen and Bühlmann, 2010; Yu, 2013; Shah and Samworth, 2013; Murdoch et al., 2019), and is closely connected with other statistical aims and properties such as generalization, learnability, reproducibility, and robustness (Mukherjee et al., 2006; Shalev-Shwartz et al., 2010; Yu and Kumbier, 2020).

Certain types of algorithms are provably stable—for instance, algorithms that are defined by strongly convex regularized optimization problems, where the regularization enforces low sensitivity to perturbations (Bousquet and Elisseeff, 2002; Wibisono et al., 2009). While

*University of Chicago, rina@uchicago.edu †University of Cambridge, r.samworth@statslab.cam.ac.uk the algorithms used in practice in many applications are often more complex, empirically they may appear to exhibit stability, but it is known to be impossible to empirically certify stability properties when data are limited (Kim and Barber, 2023; Luo and Barber, 2024).

Consequently, a recent question of interest is whether it is possible to introduce a post-hoc correction to an arbitrary base algorithm, enforcing stability without losing its favorable performance. The recent work of Soloff et al. (2024a,b) shows that bagging 1^1 (that is, repeatedly resampling the data, and then averaging the algorithm's output) ensures a guarantee of stability in the sense of low sensitivity to deleting small amounts of data. In this work, we develop a framework to study this phenomenon more generally: given any base algorithm, and any desired notion of stability (i.e., stability with respect to some sort of perturbation), can we use some form of ensembling in order to ensure that this stability property will hold?

References (53)