← Meta Interview Insights

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

SeniorPrefer not to say
May 2026

Summary

ML system design round at Meta for an MLE role. The whole session was one big open-ended design question about local place recommendations, and they expected you to drive the conversation across a lot of different dimensions. Felt like it went okay but there were definitely parts I glossed over that probably mattered.

Questions Asked (1)

Q1

Design an ML system that recommends nearby places (restaurants, attractions, shops) to users in a maps or local discovery product.

System DesignTechnical Trade-offsA/B Testing & Experimentation
Author's notes

This is basically a full-stack ML design question and the scope is massive.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying the product context (e.g., Maps vs. Facebook Local), user intent, and scale. Then outline a two-stage recommendation system: candidate generation from geospatial and user signals, followed by ranking with a multi-objective model. Finally, discuss evaluation, A/B testing, and trade-offs like latency vs. personalization.

Pro tip: Emphasize how you would handle cold-start users and places by leveraging contextual signals (time, location, device) and cross-product data, and discuss how you'd measure success beyond CTR (e.g., direction requests, visits).

1. Clarify Requirements and Constraints

Ask about the product surface (Maps, Facebook, Instagram), user intent (search vs. browse), scale (DAU, QPS), latency requirements, and available data (user history, place attributes, social graph).

2. Design Candidate Generation

Propose methods to retrieve a few hundred candidates: geospatial indexing (e.g., geohash, S2), collaborative filtering, content-based similarity, and trending/popular places. Consider using embeddings for users and places.

3. Design Ranking Model

Outline a multi-stage ranking system: a lightweight model for initial ranking, then a heavier model (e.g., DNN with embeddings) for final ranking. Incorporate features like user-place affinity, distance, category, time, and social signals.

4. Define Objectives and Evaluation

Specify business and engagement metrics (CTR, direction requests, check-ins, dwell time). Discuss offline evaluation (NDCG, recall@k) and online A/B testing with guardrail metrics (latency, user satisfaction).

5. Address Trade-offs and Iteration

Discuss trade-offs: personalization vs. diversity, freshness vs. relevance, latency vs. model complexity. Propose an iteration plan: start with heuristics, then ML, then deep learning, with continuous experimentation.

Key Points to Mention

  • Two-stage architecture: candidate generation + ranking
  • Geospatial indexing and efficient nearest-neighbor search
  • Feature engineering: user history, place attributes, context (time, location, device)
  • Multi-objective optimization (relevance, diversity, business goals)
  • Cold-start handling via contextual and cross-product signals
  • A/B testing framework with guardrail metrics and long-term holdouts

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