Spot the Leaky Feature in a Google One Subscription Churn Model

Last updated: November 29, 2026

Quick Overview

A model predicting whether Google One subscribers will cancel in the next 30 days reaches 0.97 AUC offline but performs poorly after launch. Walk through how you would find the leaking features and rebuild them so they are point-in-time correct.

Google
Machine Learning
Data Scientist
Google
November 29, 2026
Data Scientist
Technical Screen
Machine Learning
Medium

0

0

0 solved


A model predicting whether Google One subscribers will cancel in the next 30 days reaches 0.97 AUC offline but performs poorly after launch. Walk through how you would find the leaking features and rebuild them so they are point-in-time correct.

Subscription teams at Google build churn models to target retention offers, and offline scores that look too good are a classic warning sign. The interviewer checks that you can debug leakage systematically and construct features that only use information available at prediction time.

What the Interviewer Expects
  • Treats a suspiciously high offline score as a leakage signal
  • Lists concrete leakage sources such as post-outcome events and full-history aggregates
  • Uses feature importance and single-feature models to find leaks
  • Defines a prediction timestamp and computes features strictly before it
  • Implements a point-in-time windowed feature correctly
Key Topics to Cover
label leakage
point-in-time correctness
feature timestamps
churn prediction
debugging models
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How would you prevent leakage structurally in a feature store?
  • A feature is legitimately very predictive. How do you tell it apart from a leak?
  • How does leakage interact with the delay before a cancellation is recorded?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

Ask how training rows are built: is there a prediction date per row, and are features computed as of that date or from a table snapshot taken later? Ask what features exist and how they are joined. Al...

Approach

A 0.97 AUC on churn, which is noisy human behavior, is implausible. Typical leaks here:

  • Post-outcome events: a feature like downgrade_page_views or refund_requested that mostly happens duri...

Submit Your Answer
Markdown supported