Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Stabilize Deep Ranking Training

Medium
MediumMachine LearningNeural NetworksRegularizationDeep LearningAsked 1 times

Problem

Business Context

Meta is training a deeper neural network for Facebook Feed ranking to capture higher-order interactions across user, content, and context features. The current prototype underperforms a shallower baseline because gradients in early layers collapse during training, slowing convergence and reducing ranking quality.

Dataset

You are given an offline supervised learning dataset built from Feed impression logs.

Feature GroupCountExamples
Dense numerical28prior CTR, dwell time stats, friend interaction counts, session depth
Categorical IDs14user_id bucket, author_id bucket, content_type, device_type, country
Temporal/context9hour_of_day, day_of_week, recency_since_last_open, network_type
Aggregated embedding inputs6historical author affinity, topic affinity, content embedding clusters
  • Size: 12.4M impressions, 57 input features
  • Target: Binary label indicating whether the impression received a meaningful engagement within 24 hours
  • Class balance: 11.6% positive, 88.4% negative
  • Missing data: 6% missing in some engagement aggregates for new users; sparse categorical coverage for tail creators

Success Criteria

A good solution should:

  • Improve validation AUC-ROC by at least 0.015 over a plain deep MLP baseline without stabilization
  • Keep training numerically stable for 20+ epochs without early gradient collapse
  • Achieve p95 online inference < 15 ms per request after export

Constraints

  • The model must remain deployable in a low-latency ranking stack
  • You should explain which interventions specifically address vanishing gradients
  • The solution should be reproducible and monitorable in production

Deliverables

  1. Build a deep neural network baseline and a stabilized version.
  2. Show how you detect vanishing gradients during training.
  3. Apply and justify mitigation techniques such as residual connections, normalization, activation choice, and initialization.
  4. Evaluate both models on held-out data using ranking-relevant metrics.
  5. Recommend a production-ready training and refresh strategy.
Practicing as: Research Scientist interview at Meta

Hi, I'll play your Meta interviewer for the Research Scientist role. Candidates describe these interviews as mixed and moderately difficult, so expect me to be professional and fair. Take your time with the question above and answer like we're in the room.

Take this as a live interview session →

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
Meta Research Scientist Interview QuestionsTop 50 Neural Networks Interview QuestionsTop 50 Regularization Interview Questions
Next questions
MetaAnalyze Self-Attention for Feed RankingHardMetaTune Feed CTR ModelsMediumMetaDesign Facebook Feed RecommenderHard