Skip to main content
QUICK REVIEW

[Paper Review] A Characterization of Mean Squared Error for Estimator with Bagging

Martin Mihelich, Charles Dognin|arXiv (Cornell University)|Aug 7, 2019
Statistical Methods and InferenceMathematics17 references6 citations
TL;DR

This paper provides a rigorous theoretical analysis of bagging's impact on Mean Squared Error (MSE) for statistical estimators, proving that MSE decreases linearly with the number of bagged estimators $N$. It derives an exact analytical expression for the MSE of the unbiased sample variance estimator under bagging, showing that bagging reduces MSE only if the distribution's kurtosis exceeds $\frac{3}{2}$, offering a novel, kurtosis-aware variance estimation algorithm.

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 proved. Second, we focus on the standard estimator of variance called unbiased sample variance and we develop an exact analytical expression of the MSE for this estimator with bagging. This allows us to rigorously discuss the number of iterations $N$ and the batch size $m$ of the bagging method. From this expression, we state that only if the kurtosis of the distribution is greater than $\frac{3}{2}$, the MSE of the variance estimator can be reduced with bagging. This result is important because it demonstrates that for distribution with low kurtosis, bagging can only deteriorate the performance of a statistical prediction. Finally, we propose a novel general-purpose algorithm to estimate with high precision the variance of a sample.

Motivation & Objective

  • To rigorously prove that increasing the number of bagged estimators $N$ always reduces MSE, with variance decreasing as $\frac{1}{N}$.
  • To derive an exact analytical expression for the MSE of the unbiased sample variance estimator under bagging.
  • To establish a precise theoretical condition—based on kurtosis—under which bagging improves the MSE of the variance estimator.
  • To propose a novel, general-purpose algorithm for high-precision variance estimation based on the derived kurtosis condition.
  • To provide theoretical guidelines for choosing $N$ and batch size $m$ in bagging applications.

Proposed method

  • Develops a symmetric mathematical framework to analytically compute bias and variance of any bagged estimator.
  • Applies this framework to the unbiased sample variance estimator to derive an exact MSE expression involving the fourth and second moments of the distribution.
  • Uses the derived MSE expression to identify the condition $\kappa > \frac{3}{2}$ for MSE reduction under bagging, where $\kappa$ is kurtosis.
  • Proposes a new variance estimation algorithm that leverages the kurtosis threshold to improve accuracy.
  • Employs Monte Carlo simulations across multiple distributions to validate theoretical predictions on MSE reduction and kurtosis dependence.
  • Uses non-linear fitting to confirm the $O(\frac{1}{N})$ convergence rate of MSE in empirical experiments.

Experimental results

Research questions

  • RQ1Does increasing the number of bagged estimators $N$ always reduce the MSE of a statistical estimator?
  • RQ2Can an exact analytical expression be derived for the MSE of the unbiased sample variance estimator under bagging?
  • RQ3Under what distributional conditions does bagging reduce the MSE of the variance estimator?
  • RQ4How does the kurtosis of the underlying distribution influence the effectiveness of bagging for variance estimation?
  • RQ5Can a new, more accurate variance estimation algorithm be designed based on the derived theoretical condition?

Key findings

  • The bias of any bagged estimator is independent of $N$, while its variance decreases linearly as $\frac{1}{N}$, leading to a corresponding linear reduction in MSE.
  • For the unbiased sample variance estimator, bagging reduces MSE if and only if the kurtosis $\kappa$ of the distribution exceeds $\frac{3}{2}$.
  • When $\kappa \leq \frac{3}{2}$, bagging increases the MSE, meaning it degrades performance for distributions with low kurtosis.
  • Empirical experiments confirm the $O(\frac{1}{N})$ convergence rate of MSE for unstable predictors like decision trees, while stable predictors like linear regression show no improvement.
  • Experiments on Gaussian, uniform, and Rademacher distributions validate the theoretical MSE difference between bagged and non-bagged estimators, matching the predicted sign and magnitude based on $-2\mu_4 + 3\mu_2^2$.
  • A custom distribution with tunable kurtosis confirms that MSE improvement via bagging only occurs when $\kappa > \frac{3}{2}$, with results stable over 100,000 trials.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.