← Google Interview Insights

Google·Data Scientist·Technical Phone Screen·Intermediate

Intermediate
Apr 2026

Summary

Google data scientist interview with a machine learning fundamentals question. Pretty standard stuff on the surface but they pushed for specifics pretty fast.

Questions Asked (1)

Q1

Your model performs much better on training data than on test data. Walk through what's causing this and what you'd actually do about it.

Technical Trade-offsRoot Cause Analysis
Author's notes

I started with the bias-variance framing which felt right, but I rambled a bit connecting variance to model complexity before getting to the practical fixes.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by defining the problem as overfitting and then systematically walk through the causes, from data issues to model complexity. Emphasize a diagnostic approach: quantify the gap, inspect learning curves, and then apply targeted remedies like regularization, more data, or simpler models. Conclude with how you'd validate the fix and monitor for future overfitting.

Pro tip: Always tie your answer back to the business impact—overfitting isn't just a technical metric, it means the model won't generalize to real-world data, which can lead to poor decisions and lost revenue. Show you prioritize fixing the most impactful cause first.

1. Confirm and Quantify the Gap

Verify that the performance difference is significant and not due to noise. Calculate metrics on both sets and check if the gap is consistent across different data slices.

2. Diagnose Root Causes

Investigate potential causes: insufficient training data, noisy features, overly complex model, or data leakage. Use learning curves and validation curves to pinpoint the issue.

3. Apply Targeted Remedies

Based on diagnosis, take action: gather more data, simplify the model, add regularization (L1/L2, dropout), perform feature selection, or use early stopping.

4. Validate and Iterate

Re-evaluate on a held-out test set and use cross-validation to ensure the fix generalizes. Iterate until the gap is acceptable.

5. Monitor and Prevent

Implement monitoring for future overfitting, such as tracking train vs. validation performance over time and setting up alerts for significant divergence.

Key Points to Mention

  • Bias-variance tradeoff and how overfitting relates to high variance
  • Learning curves to visualize training vs. validation performance as a function of training set size
  • Regularization techniques (L1/L2, dropout, early stopping) and their role in reducing overfitting
  • Cross-validation strategies (k-fold, stratified) for reliable performance estimation
  • Data augmentation or synthetic data generation when collecting more real data is expensive
  • The importance of a clean, representative test set and avoiding data leakage

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.