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.
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
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- 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 PrepSample 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_viewsorrefund_requestedthat mostly happens duri...