How does Caruana's greedy forward ensemble selection algorithm work?

Quick Overview

Asks how greedy forward ensemble selection builds an ensemble from a library of already trained models using a held-out set. Tests understanding of the hill-climbing step, how the selection becomes ensemble weights, and how to keep the method from overfitting its held-out data.

How does Caruana's greedy forward ensemble selection algorithm work?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

You have trained a large library of models with different algorithms and hyperparameters, and you want to combine them into one predictor. How does Caruana's greedy forward ensemble selection algorithm work? ```hint Think about what is cached The candidate models are already trained. Think about what you can compute from their stored predictions alone. ``` ```hint Watch the stopping rule Consider what happens to the held-out score as you keep adding models, and how you would pick the final ensemble. ``` ### What a Strong Answer Covers - The inputs: a library of trained models and a held-out set with their cached predictions - The greedy step and how the final ensemble is chosen - How the selection turns into ensemble weights - Why the method can target any metric and why it is cheap to run - The refinements that limit overfitting to the held-out set ### Follow-up Questions - Why does selecting with replacement work better than adding each model at most once? - How would you get held-out predictions for every library model without giving up a large share of the training data? - How does ensemble selection compare to stacking with a learned meta-model? - The library has thousands of models and the held-out set is small. How do you keep the selection from overfitting?

Overview: Asks how greedy forward ensemble selection builds an ensemble from a library of already trained models using a held-out set. Tests understanding of the hill-climbing step, how the selection becomes ensemble weights, and how to keep the method from overfitting its held-out data.

General logo
General
Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

You have trained a large library of models with different algorithms and hyperparameters, and you want to combine them into one predictor. How does Caruana's greedy forward ensemble selection algorithm work?

What a Strong Answer Covers Guidance

  • The inputs: a library of trained models and a held-out set with their cached predictions
  • The greedy step and how the final ensemble is chosen
  • How the selection turns into ensemble weights
  • Why the method can target any metric and why it is cheap to run
  • The refinements that limit overfitting to the held-out set

Follow-up Questions Guidance

  • Why does selecting with replacement work better than adding each model at most once?
  • How would you get held-out predictions for every library model without giving up a large share of the training data?
  • How does ensemble selection compare to stacking with a learned meta-model?
  • The library has thousands of models and the held-out set is small. How do you keep the selection from overfitting?