Extra #11 - Advanced Bagging: seven experiments
Summary
Extra #11 - Advanced Bagging: seven experiments explores the complexities and limitations of Bootstrap Aggregating (Bagging) beyond its basic "Bootstrap → Train → Average" principle. The article investigates the variance floor, demonstrating that the ensemble's variance is bounded below by ρσ², where ρ is the correlation between individual model predictions and σ² is their variance. This is illustrated through a simulation using artificial predictions with chosen correlation values (e.g., ρ = 0.0, 0.1, 0.3, 0.6, 0.9) and varying numbers of averaged predictions (B = 1, 10, 100, 200). It also touches upon cardinality bias, the superior performance of Random Forests over plain Bagging, the trustworthiness of Out-of-Bag (OOB) error, and challenges in naive from-scratch implementations.
Key takeaway
For Machine Learning Engineers optimizing ensemble models, understanding the variance floor is crucial. You should analyze the correlation (ρ) between your base models, as this directly limits the achievable variance reduction, even with many estimators. If your models exhibit high correlation, consider techniques like feature subsampling, as seen in Random Forests, to decorrelate them and improve ensemble performance beyond plain Bagging's limits.
Key insights
Bagging's variance reduction is limited by model correlation, setting a floor for ensemble performance.
Principles
- Ensemble variance is bounded by ρσ².
- Higher model correlation limits Bagging gains.
- Random Forests reduce correlation better.
Method
Simulate ensemble variance by mixing shared and individual noise components in predictions, then calculate empirical and theoretical variance for varying B and ρ.
In practice
- Evaluate ensemble variance with varying B and ρ.
- Consider Random Forests for lower correlation.
- Use OOB error for validation if trustworthy.
Topics
- Bagging
- Ensemble Learning
- Variance Reduction
- Random Forests
- Model Correlation
- Out-of-Bag Error
Best for: Machine Learning Engineer, AI Scientist, Data Scientist
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Machine Learning Pills.