Balancing Between Bagging and Bumping

Tom HeskesNeurIPS 1996

Introduction

Neural networks are notoriously unstable—small changes in training data can lead to wildly different models. When training neural networks, researchers often use "early stopping" to prevent overfitting, halting training as soon as the error on a separate validation set starts to rise. While effective, this makes the resulting model highly sensitive to how the data was split. A few outliers in your validation set can lead to a sub-optimal model.

To mitigate this, researchers use ensembles: training multiple versions of a model on different "bootstrap" samples (resampled versions of the data). However, once you have dozens or hundreds of different networks, combining their predictions becomes a new challenge. This paper introduces Balancing, a weighted-averaging technique that outperforms standard ensemble methods by using a bias-corrected estimate of generalization error to optimize ensemble weights.

The Extremes: Bagging vs. Bumping

Historically, there have been two primary ways to handle an ensemble of networks:

  1. Bagging (Bootstrap Aggregating): This method takes a simple, equal-weight average of all the networks. It is a safe approach but ignores the reality that some networks in the ensemble are objectively better than others.
  2. Bumping (Bootstrap Umbrella of Model Parameters): This method picks the single "best" network based on the available validation data. This is inherently risky because the "best" network might simply be the one that overfit your specific validation set the most.

The author seeks a middle ground: a way to weight the networks so we favor the high-performing ones without losing the stability of the group.

The Proposed Solution: Balancing

Balancing treats the ensemble combination as an optimization problem rather than a simple heuristic.

  • Weighted Averaging: Instead of a simple average, each network $i$ is assigned a weight $\alpha_i$. The goal is to find weights that minimize the total generalization error.
  • Estimating the Unestimatable: Because true generalization error cannot be calculated without the "true" targets for new data, the author decomposes the error into two parts: individual network performance and an "ambiguity" term (how much the networks disagree with one another).
  • Bias Correction: To get a better estimate of a network's quality, the author introduces an "expected" validation error. By looking at how all networks performed on a specific data point, the system can determine if a network's high error is because the network is poor, or simply because that specific data point is a difficult outlier.
  • Quadratic Programming: Once the errors are estimated, the optimal weights are found by solving a quadratic programming problem. Interestingly, this often results in "sparse" weights—meaning the system naturally ignores the worst networks and focuses on a handful (usually around 8 out of 100) of high-quality, diverse models.

Experimental Results

The study evaluates these methods on two distinct problems: predicting real-world sales figures for department stores in the Netherlands (using variables like weather and seasonality) and the classic Boston Housing benchmark dataset.

Key Insights

  • Bumping is Unreliable: The paper demonstrates that "bumping" barely improves over a single random run. The error on the training/validation data is a poor predictor of true performance on unseen data.
  • Diversity Matters: The "ambiguity" term in the balancing equation is vital. It rewards the ensemble for including networks that have conflicting outputs. If two networks are both good but make different mistakes, combining them cancels out those errors.
  • The Sparse Compromise: While bagging uses 100% of the networks and bumping uses just 1%, balancing acts as a filter, typically selecting a small subset (roughly 8%) to do the heavy lifting.
Sales Prediction Improvements

As shown in the sales prediction results above, Balancing achieved a 22% mean reduction in generalization error compared to a single network. In contrast, bagging only managed an 11% reduction, and bumping yielded a measly 3%.

Performance and Stability vs. Replicates

On the Boston Housing dataset, Balancing consistently outperformed both bagging and bumping. The results highlighted that while bagging and bumping stop improving after about 20 replicates, balancing continues to improve as more networks are added to the pool. Furthermore, balancing offers a superior trade-off between accuracy and stability: bagging provides the most stable predictions (lowest variation), bumping is the most volatile, and balancing sits comfortably in the middle.

Limitations and Future Work

While powerful, Balancing comes with trade-offs:

  • Computational Cost: Training an ensemble of neural networks is computationally expensive, essentially requiring 100x the work of a single model.
  • Interpretability: Combining many models makes it harder to understand why a specific prediction was made, though individual neural networks are already notoriously difficult to interpret.

Future directions suggested by the author include moving beyond just "better predictions" to explore whether these ensembles can provide reliable confidence intervals or help identify which input features are most relevant.

Summary updated

BibTeX
@inproceedings{heskes1996balancing,
  author = {Tom Heskes},
  title = {{Balancing Between Bagging and Bumping}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1996},
}
Figure