Turning Missing Profile Fields Into Useful Model Features
Last updated: November 29, 2026
Quick Overview
In a People You May Know model, many users leave fields such as school, workplace and hometown blank. Explain how you would handle these missing values as features and why simple mean imputation may hurt.
Meta
November 29, 20260
0
0 solved
In a People You May Know model, many users leave fields such as school, workplace and hometown blank. Explain how you would handle these missing values as features and why simple mean imputation may hurt.
Missing data is the norm on social profiles, and the pattern of missingness carries signal. Meta interviewers want to hear that you think about why data is missing before choosing a technique.
What the Interviewer Expects
- Distinguish missing at random from informative missingness
- Add missingness indicator features
- Choose imputation suited to the model family
- Explain why mean imputation distorts distributions
- Check that missingness patterns are stable between training and serving
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 do gradient boosted trees handle missing values natively?
- What if a field becomes optional in a redesign, changing missing rates?
- Could missingness indicators raise fairness concerns?
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
I would ask what fraction of users leave each field blank, whether blank means "not provided" or "not applicable", and which model we use, since trees and neural nets handle missing values differently...
Approach
Treat missingness as information first. A user who fills no fields may be newer, more privacy-conscious, or a fake account, all of which affect who they know. So I would keep a flag for missingness an...