How do you choose covariates for a CUPAC model that give the most predictive power without overfitting?

Quick Overview

Asks how to choose and validate the covariates behind a CUPAC prediction so an A/B test gets the most variance reduction without overfitting. It tests out-of-sample validation, the link between prediction correlation and variance, regularization, and keeping the adjustment free of treatment leakage.

How do you choose covariates for a CUPAC model that give the most predictive power without overfitting?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: hard

Interview Round: Other

How would you decide which covariate or combination of covariates gives the best predictive power for CUPAC without overfitting? CUPAC (Control Using Predictions As Covariates) replaces the single pre-period covariate of CUPED with a model's prediction of the experiment metric, so the question is how to pick and validate the inputs to that model. ```hint What sets the payoff The variance of the adjusted metric depends on one statistic relating the prediction to the outcome. Work out which one, and on what data you should measure it. ``` ```hint Where the inputs come from Ask what happens to the treatment effect estimate if a feature, or the data the model was trained on, could be influenced by the treatment. ``` ### What a Strong Answer Covers - How the prediction's correlation with the outcome determines the variance reduction, and why it must be measured out of sample - A validation scheme that mirrors how the model will be used, and a rule for when an extra covariate earns its place - Controls against overfitting, including regularization, early stopping, parsimony and stability across periods - The validity conditions: pre-treatment features only, and training data independent of the experiment - Checking the realized payoff on past A/A and A/B tests ### Follow-up Questions - How would you handle new users who have no pre-period history? - Would you train one CUPAC model per metric or one shared model? What are the trade-offs? - How would you detect that a CUPAC model has gone stale, and how often would you retrain it?

Overview: Asks how to choose and validate the covariates behind a CUPAC prediction so an A/B test gets the most variance reduction without overfitting. It tests out-of-sample validation, the link between prediction correlation and variance, regularization, and keeping the adjustment free of treatment leakage.

General logo
General
Nov 25, 2026
hardData ScientistOtherAnalytics & Experimentation
0
0

How would you decide which covariate or combination of covariates gives the best predictive power for CUPAC without overfitting?

CUPAC (Control Using Predictions As Covariates) replaces the single pre-period covariate of CUPED with a model's prediction of the experiment metric, so the question is how to pick and validate the inputs to that model.

What a Strong Answer Covers Guidance

  • How the prediction's correlation with the outcome determines the variance reduction, and why it must be measured out of sample
  • A validation scheme that mirrors how the model will be used, and a rule for when an extra covariate earns its place
  • Controls against overfitting, including regularization, early stopping, parsimony and stability across periods
  • The validity conditions: pre-treatment features only, and training data independent of the experiment
  • Checking the realized payoff on past A/A and A/B tests

Follow-up Questions Guidance

  • How would you handle new users who have no pre-period history?
  • Would you train one CUPAC model per metric or one shared model? What are the trade-offs?
  • How would you detect that a CUPAC model has gone stale, and how often would you retrain it?