Actuarial Notes

Tree Ensemble

Study guide: Exam MAS-II

A Tree Ensemble is a model that combines the predictions of many decision trees into one. A single tree has high variance, and averaging many trees reduces it while keeping their ability to capture complex, nonlinear patterns. The three ensemble methods differ in how the trees are grown:

Method How the trees are grown Effect
Bagging Independently, each on a bootstrap sample, and averaged Reduces variance
Random Forest As in bagging, with a random subset of predictors at each split Decorrelates the trees, so it reduces variance more
Boosting Sequentially, each small tree fitted to the residuals of the trees before it Reduces bias

An ensemble of bagged trees is more flexible than a single model. Its trees, fitted to bootstrap samples, leave about 37% of the observations out each time, which gives a free test-error estimate, the out-of-bag error. An ensemble of hundreds of trees can't be read like one tree, and variable importance recovers some of the interpretability.

An actuary's single severity tree changes shape every time it is refit on new data. Which ensemble method addresses this, and which addresses a model that is too simple?

  • A tree that changes with the data has high variance, which bagging and random forests reduce by averaging.
  • A model that is too simple has high bias, which boosting reduces by fitting each new tree to what the model so far gets wrong.

More trees only overfit with boosting Adding trees to a bagged model or a random forest never overfits, because the trees are averaged. Adding trees to a boosted model can, because each one keeps fitting the residuals.

Practice questions

Actuarial Notes