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
Machine Learning
Data Scientist
Meta
November 29, 2026
Data Scientist
Technical Screen
Machine Learning
Easy

0

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
Missing data
Imputation
Missingness indicators
Feature engineering
Data drift
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 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 Prep
Sample 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...


Submit Your Answer
Markdown supported