Random Forests and Correlated Prediction Errors

Derive how averaging correlated predictors reduces variance and explain why random feature choices can strengthen an ensemble.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Correlation limits how much averaging can remove
  2. Randomness changes both tree strength and agreement

Correlation limits how much averaging can remove

For \(m\) equally variable predictions each with variance \(\sigma^2\) and common pairwise correlation \(\rho\), the variance of their mean is \(\sigma^2[\rho+(1-\rho)/m]\). The formula comes from adding \(m\) variance terms and \(m(m-1)\) covariance terms. If \(\rho=1\), extra predictors do not reduce this variance. Lower correlation makes averaging more useful.

Randomness changes both tree strength and agreement

Random forests train trees using resampled data and typically restrict candidate features at each split. A strong feature available everywhere can make many trees choose similar first partitions. Sampling features offers other splits, possibly reducing dependence at the price of weaker individual choices. Tree impurity determines each local split. Bias and variance explain why aggregate performance depends on more than prediction variance alone.[1][2]

References

  1. Leo Breiman, Random Forests ↩
  2. Trevor Hastie, Robert Tibshirani and Jerome Friedman, The Elements of Statistical Learning ↩