← Meta Interview Insights

Meta·Machine Learning Engineer·Onsite - System Design / Architecture·Senior

Senior
May 2026

Summary

Meta ML engineer interview, system design round focused on recommendation engines. Pretty open-ended prompt with not much scaffolding given.

Questions Asked (1)

Q1

Design a recommendation engine from scratch.

System DesignTechnical Trade-offsData Modeling
Author's notes

Spent the first few minutes just trying to scope it down because 'recommendation engine' could mean a hundred different things.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying the requirements and constraints, such as the scale, data sources, and business objectives. Then, outline a high-level architecture covering data collection, feature engineering, model training, and serving, and dive into trade-offs for each component. Finally, discuss evaluation metrics, online experimentation, and iteration strategies.

Pro tip: Emphasize the importance of a feedback loop and how you would handle cold start and scalability, as these are critical for a production recommendation system at Meta's scale.

1. Clarify Requirements

Ask questions to understand the scope: what is being recommended (e.g., posts, videos, products), the scale (users, items), real-time vs. batch, and business goals (e.g., engagement, revenue).

2. High-Level Architecture

Outline the end-to-end system: data ingestion, feature store, model training pipeline, model serving, and feedback collection. Mention offline vs. online components.

3. Data and Feature Engineering

Discuss data sources (user interactions, item metadata, context), feature types (user, item, interaction), and techniques for feature engineering and embedding generation.

4. Modeling Approaches

Compare candidate generation (e.g., matrix factorization, two-tower) and ranking models (e.g., deep learning, gradient boosted trees). Discuss trade-offs between accuracy, latency, and complexity.

5. Evaluation and Iteration

Explain offline metrics (e.g., recall@k, NDCG) and online metrics (CTR, watch time). Describe A/B testing, feedback loops, and how to handle cold start and scalability.

Key Points to Mention

  • Two-stage architecture: candidate generation and ranking
  • Feature store for consistent features between training and serving
  • Handling cold start with content-based or hybrid approaches
  • Scalability considerations: distributed training, low-latency serving
  • Evaluation metrics: offline (recall, NDCG) and online (CTR, engagement)
  • Feedback loop: using user interactions to continuously improve the model

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