Extra #11 - Advanced Bagging: seven experiments

· Source: Machine Learning Pills · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics · Depth: Advanced, quick

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

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

Topics

Best for: Machine Learning Engineer, AI Scientist, Data Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Machine Learning Pills.