Bagging Improves Generalization Exponentially

Authors: Huaqian Jie, Donghao Ying, Henry Lam, Wotao Yin

Submitted to arXiv on 23 May. 2024
License: CC0 1.0
Abstract

Bagging is a popular ensemble technique to improve the accuracy of machine learning models. It hinges on the well-established rationale that, by repeatedly retraining on resampled data, the aggregated model exhibits lower variance and hence higher stability, especially for discontinuous base learners. In this paper, we provide a new perspective on bagging: By suitably aggregating the base learners at the parametrization instead of the output level, bagging improves generalization performances exponentially, a strength that is significantly more powerful than variance reduction. More precisely, we show that for general stochastic optimization problems that suffer from slowly (i.e., polynomially) decaying generalization errors, bagging can effectively reduce these errors to an exponential decay. Moreover, this power of bagging is agnostic to the solution schemes, including common empirical risk minimization, distributionally robust optimization, and various regularizations. We demonstrate how bagging can substantially improve generalization performances in a range of examples involving heavy-tailed data that suffer from intrinsically slow rates.

The papers around it, by date and closeness

Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper

How to read this map? Illustrated guide

Closest papers Prior work it builds on Papers that cite it

Papers around this one

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close
    A Characterization of Mean Squared Error for Estimator with Bagging
    Martin Mihelich, Charles Dognin, Yan Shu et al. · 2019 · Machine Learning · cited 10 times · AI summary available
    Abstract

    Bagging can significantly improve the generalization performance of unstable machine learning algorithms such as trees or neural networks. Though bagging is now widely used in practice and many empirical studies have explored its behavior, we still know little about the theoretical properties of bagged predictions. In this paper, we theoretically investigate how the bagging method can reduce the Mean Squared Error (MSE) when applied on a statistical estimator. First, we prove that for any estimator, increasing the number of bagged estimators $N$ in the average can only reduce the MSE. This intuitive result, observed empirically and discussed in the literature, has not yet been rigorously pro…

  2. Close Cited by this paper
    Bounding Optimality Gap in Stochastic Optimization via Bagging: Statistical Efficiency and Stability
    H. Lam, Huajie Qian · 2018 · arXiv: Optimization and Control · preprint, not peer reviewed · cited 11 times · Not summarized yet
    Abstract

    We study a statistical method to estimate the optimal value, and the optimality gap of a given solution for stochastic optimization as an assessment of the solution quality. Our approach is based on bootstrap aggregating, or bagging, resampled sample average approximation (SAA). We show how this approach leads to valid statistical confidence bounds for non-smooth optimization. We also demonstrate its statistical efficiency and stability that are especially desirable in limited-data situations, and compare these properties with some existing methods. We present our theory that views SAA as a kernel in an infinite-order symmetric statistic, which can be approximated via bagging. We substantiat…

  3. Close* Cited by this paper Used in depth by this paper
    Analyzing Bagging
    P. Bühlmann, Bin Yu · 2001 · cited 788 times · Not summarized yet
  4. Close
    Theoretical Guarantees of Learning Ensembling Strategies with Applications to Time Series Forecasting
    Hilaf Hasson, Danielle C. Maddix, Yuyang Wang et al. · 2023 · Machine Learning · cited 7 times · Not summarized yet
    Abstract

    Ensembling is among the most popular tools in machine learning (ML) due to its effectiveness in minimizing variance and thus improving generalization. Most ensembling methods for black-box base learners fall under the umbrella of "stacked generalization," namely training an ML algorithm that takes the inferences from the base learners as input. While stacking has been widely applied in practice, its theoretical properties are poorly understood. In this paper, we prove a novel result, showing that choosing the best stacked generalization from a (finite or finite-dimensional) family of stacked generalizations based on cross-validated performance does not perform "much worse" than the oracle be…

  5. Close
    On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minima
    Nitish Shirish Keskar, Dheevatsa Mudigere, Jorge Nocedal et al. · 2016 · Machine Learning · cited 3,680 times · Not summarized yet
    Abstract

    The stochastic gradient descent (SGD) method and its variants are algorithms of choice for many Deep Learning tasks. These methods operate in a small-batch regime wherein a fraction of the training data, say $32$-$512$ data points, is sampled to compute an approximation to the gradient. It has been observed in practice that when using a larger batch there is a degradation in the quality of the model, as measured by its ability to generalize. We investigate the cause for this generalization drop in the large-batch regime and present numerical evidence that supports the view that large-batch methods tend to converge to sharp minimizers of the training and testing functions - and as is well kno…

  6. Close
    A U-turn on Double Descent: Rethinking Parameter Counting in Statistical Learning
    Alicia Curth, Alan Jeffares, Mihaela van der Schaar · 2023 · Machine Learning · cited 42 times · AI summary available
    Abstract

    Conventional statistical wisdom established a well-understood relationship between model complexity and prediction error, typically presented as a U-shaped curve reflecting a transition between under- and overfitting regimes. However, motivated by the success of overparametrized neural networks, recent influential work has suggested this theory to be generally incomplete, introducing an additional regime that exhibits a second descent in test error as the parameter count p grows past sample size n - a phenomenon dubbed double descent. While most attention has naturally been given to the deep-learning setting, double descent was shown to emerge more generally across non-neural models: known c…

  7. Close
    Improving the convergence of SGD through adaptive batch sizes
    Scott Sievert, Shrey Shah · 2019 · Machine Learning · preprint, not peer reviewed · cited 12 times · AI summary available
    Abstract

    Mini-batch stochastic gradient descent (SGD) and variants thereof approximate the objective function's gradient with a small number of training examples, aka the batch size. Small batch sizes require little computation for each model update but can yield high-variance gradient estimates, which poses some challenges for optimization. Conversely, large batches require more computation but can yield higher precision gradient estimates. This work presents a method to adapt the batch size to the model's training loss. For various function classes, we show that our method requires the same order of model updates as gradient descent while requiring the same order of gradient computations as SGD. Th…

  8. Close
    Efficient Adaptive Ensembling for Image Classification
    Antonio Bruno, Davide Moroni, Massimo Martinelli · 2022 · Expert Systems (2023) · cited 33 times · AI summary available
    Abstract

    In recent times, with the exception of sporadic cases, the trend in Computer Vision is to achieve minor improvements compared to considerable increases in complexity. To reverse this trend, we propose a novel method to boost image classification performances without increasing complexity. To this end, we revisited ensembling, a powerful approach, often not used properly due to its more complex nature and the training time, so as to make it feasible through a specific design choice. First, we trained two EfficientNet-b0 end-to-end models (known to be the architecture with the best overall accuracy/complexity trade-off for image classification) on disjoint subsets of data (i.e. bagging). Then,…

Prior work it builds on

  1. Related Used in depth by this paper
    Breaking the Heavy-Tailed Noise Barrier in Stochastic Optimization Problems
    Nikita Puchkin, Eduard A. Gorbunov, Nikolay Kutuzov et al. · 2023 · arXiv.org · preprint, not peer reviewed · cited 34 times · Not summarized yet
    Abstract

    We consider stochastic optimization problems with heavy-tailed noise with structured density. For such problems, we show that it is possible to get faster rates of convergence than $\mathcal{O}(K^{-2(\alpha - 1)/\alpha})$, when the stochastic gradients have finite moments of order $\alpha \in (1, 2]$. In particular, our analysis allows the noise norm to have an unbounded expectation. To achieve these results, we stabilize stochastic gradients, using smoothed medians of means. We prove that the resulting estimates have negligible bias and controllable variance. This allows us to carefully incorporate them into clipped-SGD and clipped-SSTM and derive new high-probability complexity bounds in t…

  2. Related Used in depth by this paper
    Data-driven distributionally robust optimization using the Wasserstein metric: performance guarantees and tractable reformulations
    Peyman Mohajerin Esfahani, D. Kuhn · 2015 · Mathematical programming · cited 2,327 times · Not summarized yet
    Abstract

    We consider stochastic programs where the distribution of the uncertain parameters is only observable through a finite training dataset. Using the Wasserstein metric, we construct a ball in the space of (multivariate and non-discrete) probability distributions centered at the uniform distribution on the training samples, and we seek decisions that perform best in view of the worst-case distribution within this Wasserstein ball. The state-of-the-art methods for solving the resulting distributionally robust optimization problems rely on global optimization techniques, which quickly become computationally excruciating. In this paper we demonstrate that, under mild assumptions, the distributiona…

  3. Related
    Online Bootstrap Inference with Nonconvex Stochastic Gradient Descent Estimator
    Yanjie Zhong, Todd A. Kuffner, S. Lahiri · 2023 · cited 12 times · Not summarized yet
    Abstract

    In this paper, we investigate the theoretical properties of stochastic gradient descent (SGD) for statistical inference in the context of nonconvex optimization problems, which have been relatively unexplored compared to convex settings. Our study is the first to establish provable inferential procedures using the SGD estimator for general nonconvex objective functions, which may contain multiple local minima. We propose two novel online inferential procedures that combine SGD and the multiplier bootstrap technique. The first procedure employs a consistent covariance matrix estimator, and we establish its error convergence rate. The second procedure approximates the limit distribution using …

  4. Related
    Loss Minimization and Parameter Estimation with Heavy Tails
    Daniel J. Hsu, Sivan Sabato · 2013 · Journal of machine learning research · cited 205 times · Not summarized yet
    Abstract

    This work studies applications and generalizations of a simple estimation technique that provides exponential concentration under heavy-tailed distributions, assuming only bounded low-order moments. We show that the technique can be used for approximate minimization of smooth and strongly convex losses, and specifically for least squares linear regression. For instance, our $d$-dimensional estimator requires just $\tilde{O}(d\log(1/\delta))$ random samples to obtain a constant factor approximation to the optimal least squares loss with probability $1-\delta$, without requiring the covariates or noise to be bounded or subgaussian. We provide further applications to sparse linear regression an…

  5. Related
    Learning without concentration for general loss functions
    S. Mendelson · 2014 · Probability theory and related fields · cited 69 times · Not summarized yet
    Abstract

    We study the performance of empirical risk minimization in prediction and estimation problems that are carried out in a convex class and relative to a sufficiently smooth convex loss function. The framework is based on the small-ball method and thus is suited for heavy-tailed problems. Moreover, among its outcomes is that a well-chosen loss, calibrated to fit the noise level of the problem, negates some of the ill-effects of outliers and boosts the confidence level—leading to a gaussian like behaviour even when the target random variable is heavy-tailed.

Papers that cite it

  1. Related
    Statistical Invariants for Classification on Tiny Datasets
    C. Ruiz-castillo, G. Cruz-Pacheco · 2026 · Axioms · Not summarized yet
    Abstract

    We investigate the influence of statistical invariants for classification problems on tiny datasets. We present a review of current state-of-the-art methods for classification, with a brief discussion of the differences and trade-offs between the proposed method and existing classifiers. Then, we lay out the philosophical and mathematical foundations of the statistical theory of learning, incorporating the discovery of statistical invariants. We derive algorithmic implementations for binary, multiclass, and multilabel classification alongside technical details and recommendations for practitioners. We demonstrate the efficacy of the proposed algorithm through comparative studies against stat…

  2. Related
    MMEASE: enhanced analytical workflow for single-cell metabolomics
    Qing-Xia Yang, Yangbo Dai, Shijie Huang et al. · 2025 · Nucleic Acids Research · cited 4 times · Not summarized yet
    Abstract

    Abstract Metabolomics is essential for providing an overview of what chemical processes are taking place. A clear shift from bulk metabolomics to single-cell metabolomics (SCM) is observed in current research, and an integral workflow enabling the analysis of SCM data is therefore in great demand. However, no such workflow has been available to date. Herein, MMEASE, previously designed for analyzing bulk metabolomic data, was therefore updated to its 2.0 version by developing the first comprehensive and in-depth workflow analyzing SCM data. First, it provided all sequential steps of modern SCM research (from SCM data processing, to cellular heterogeneity analysis, then to high-resolution met…

  3. Related*
    Insights into cutterhead opening type selection: A data-driven study of TBM industry best practices
    E. Farrokh, Davood Lotfi · Tunnelling and Underground Space Technology · Not summarized yet
How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 3 November 2026.

The illustrated guide to the papers around a paper