How can machine learning models be used to construct a stronger predicted covariate for variance reduction, as in CUPAC?

Quick Overview

Explain how CUPAC uses a machine learning prediction as the control covariate to reduce variance in A/B tests. Tests understanding of the CUPED adjustment, what sets the size of the variance reduction, how to train the model without leakage, and why the treatment effect estimate stays unbiased.

How can machine learning models be used to construct a stronger predicted covariate for variance reduction, as in CUPAC?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

How can machine learning models be used to construct a stronger predicted covariate for variance reduction, as in CUPAC (Control Using Predictions As Covariates)? Explain how the covariate is built, how it enters the treatment effect estimate, and what keeps that estimate unbiased. ```hint What sets the size of the reduction Write down how much variance a CUPED adjustment removes as a function of the covariate's correlation with the outcome. ``` ```hint Watch the training data Think about which features and which outcome data the model may see so that the covariate stays independent of treatment assignment. ``` ### What a Strong Answer Covers - How the CUPED adjustment works and which quantity sets the size of the variance reduction - How the prediction model is trained and which features it may use - Why the treatment effect estimate stays unbiased, and what would break that - Practical concerns such as feature leakage, units with no history, and the cost of running the model ### Follow-up Questions - A feature is computed at analysis time and covers the 7 days before the snapshot. Why is that a problem? - How would you handle users who have no pre-period history? - If you have to train the model on the experiment's own data, how does cross-fitting keep the estimate valid? - How do you apply the same idea to a ratio metric such as revenue per session?

Overview: Explain how CUPAC uses a machine learning prediction as the control covariate to reduce variance in A/B tests. Tests understanding of the CUPED adjustment, what sets the size of the variance reduction, how to train the model without leakage, and why the treatment effect estimate stays unbiased.

PracHub logo
General
Nov 25, 2026
mediumData ScientistOtherAnalytics & Experimentation
0
0

How can machine learning models be used to construct a stronger predicted covariate for variance reduction, as in CUPAC (Control Using Predictions As Covariates)? Explain how the covariate is built, how it enters the treatment effect estimate, and what keeps that estimate unbiased.

What a Strong Answer Covers Guidance

  • How the CUPED adjustment works and which quantity sets the size of the variance reduction
  • How the prediction model is trained and which features it may use
  • Why the treatment effect estimate stays unbiased, and what would break that
  • Practical concerns such as feature leakage, units with no history, and the cost of running the model

Follow-up Questions Guidance

  • A feature is computed at analysis time and covers the 7 days before the snapshot. Why is that a problem?
  • How would you handle users who have no pre-period history?
  • If you have to train the model on the experiment's own data, how does cross-fitting keep the estimate valid?
  • How do you apply the same idea to a ratio metric such as revenue per session?