Ensemble diversity: add more highly correlated GBMs or a weaker, less correlated neural network?

Quick Overview

A model ensembling question about choosing between more highly correlated gradient-boosted models and a weaker neural network with less correlated predictions. It tests reasoning about error correlation, diversity versus accuracy, validating a blend or stack, and serving cost.

Ensemble diversity: add more highly correlated GBMs or a weaker, less correlated neural network?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

You have three strong gradient-boosted models whose predictions correlate at 0.98 and a weaker neural network with much lower correlation. Which would you add to the ensemble, and why? ```hint Quantify the redundancy Write the error variance of an average of n models whose errors share a correlation ρ, and see how much is left to gain as n grows when ρ is close to 1. ``` ```hint Check what is being correlated Ask whether the correlation between two models' predictions tells you the same thing as the correlation between their errors, and how you would measure the network's contribution before committing to it. ``` ### What a Strong Answer Covers - A clear choice, backed by how correlation between members limits the gain from averaging - Why models from the same family tend to make the same mistakes, and what a different inductive bias changes - Whether prediction correlation or error correlation is the right quantity, and how weak a diverse model can be before it hurts the ensemble - How to validate the decision with out-of-fold predictions and a blend or stacking model - Production cost, and whether the GBM side of the ensemble can be simplified ### Follow-up Questions - How would you set up stacking so the meta-learner is not trained on leaked predictions? - In an unconstrained linear blend the neural network gets a negative weight. What does that tell you, and what would you do? - If a neural network were not an option, how would you make the gradient-boosted models more diverse? - What would change if the ensemble had to serve predictions under a tight latency budget?

Overview: A model ensembling question about choosing between more highly correlated gradient-boosted models and a weaker neural network with less correlated predictions. It tests reasoning about error correlation, diversity versus accuracy, validating a blend or stack, and serving cost.

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

You have three strong gradient-boosted models whose predictions correlate at 0.98 and a weaker neural network with much lower correlation. Which would you add to the ensemble, and why?

What a Strong Answer Covers Guidance

  • A clear choice, backed by how correlation between members limits the gain from averaging
  • Why models from the same family tend to make the same mistakes, and what a different inductive bias changes
  • Whether prediction correlation or error correlation is the right quantity, and how weak a diverse model can be before it hurts the ensemble
  • How to validate the decision with out-of-fold predictions and a blend or stacking model
  • Production cost, and whether the GBM side of the ensemble can be simplified

Follow-up Questions Guidance

  • How would you set up stacking so the meta-learner is not trained on leaked predictions?
  • In an unconstrained linear blend the neural network gets a negative weight. What does that tell you, and what would you do?
  • If a neural network were not an option, how would you make the gradient-boosted models more diverse?
  • What would change if the ensemble had to serve predictions under a tight latency budget?