How do you tell if a deployed ensemble's degradation comes from base model drift or the meta-learner?

Quick Overview

Asks how to tell whether a production stacked ensemble got worse because its base models drifted or because its meta-learner no longer fits their outputs. It tests layer-by-layer monitoring, meta-feature drift, counterfactual comparisons on fresh labels, and retraining discipline for stacking.

How do you tell if a deployed ensemble's degradation comes from base model drift or the meta-learner?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

You run a stacked ensemble in production: several base models score each request, and a meta-learner combines their predictions into the final output. Performance has dropped. How do you determine whether the degradation stems from base model drift or from the meta-learner? ```hint What you need to attribute blame To say which layer failed, you need to see what each layer produced at prediction time. What has to be logged for that to be possible? ``` ```hint The meta-learner's inputs The meta-learner was trained on a particular distribution of base model predictions. Think about what happens to it when those predictions change scale or correlation, even if each base model is still accurate. ``` ```hint A cheap comparison On the same recent labeled data, compare the stacker with a combination that has no learned weights. ``` ### What a Strong Answer Covers - Logging each base model's prediction next to the final output so errors can be attributed to a layer - Checks on the base models: input drift, output and calibration drift, and per-model performance on fresh labels - Checks on the meta-learner: drift in its input features, comparison with simple combinations, and refitting only the meta layer - Loss of diversity between base models as a signal that sits between the two layers - Why the meta-learner must be refit whenever a base model is retrained ### Follow-up Questions - Labels arrive 30 days after each prediction. What can you diagnose before they arrive? - How would you design the retraining pipeline so the meta-learner never sees base predictions it was not trained on? - After this incident, would you replace the learned meta-learner with a simple weighted average? What would you weigh? - How do you tell real concept drift, where both layers degrade, from a broken feature pipeline feeding one base model?

Overview: Asks how to tell whether a production stacked ensemble got worse because its base models drifted or because its meta-learner no longer fits their outputs. It tests layer-by-layer monitoring, meta-feature drift, counterfactual comparisons on fresh labels, and retraining discipline for stacking.

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

You run a stacked ensemble in production: several base models score each request, and a meta-learner combines their predictions into the final output. Performance has dropped. How do you determine whether the degradation stems from base model drift or from the meta-learner?

What a Strong Answer Covers Guidance

  • Logging each base model's prediction next to the final output so errors can be attributed to a layer
  • Checks on the base models: input drift, output and calibration drift, and per-model performance on fresh labels
  • Checks on the meta-learner: drift in its input features, comparison with simple combinations, and refitting only the meta layer
  • Loss of diversity between base models as a signal that sits between the two layers
  • Why the meta-learner must be refit whenever a base model is retrained

Follow-up Questions Guidance

  • Labels arrive 30 days after each prediction. What can you diagnose before they arrive?
  • How would you design the retraining pipeline so the meta-learner never sees base predictions it was not trained on?
  • After this incident, would you replace the learned meta-learner with a simple weighted average? What would you weigh?
  • How do you tell real concept drift, where both layers degrade, from a broken feature pipeline feeding one base model?