Building a restaurant‑recommendation feature with Nearby Friends signals
Company: Meta
Role: Data Scientist
Category: Analytics & Experimentation
Difficulty: hard
Interview Round: Onsite
Scenario: Leveraging real‑time location, Meta wants to suggest nearby eateries. Outline data requirements, forecast behavioural change, validate model effectiveness, measure success, and mitigate privacy concerns.
Question 1: How would you use Nearby Friends location to build a new feature? (Hint: live coordinates, activity patterns, social graph)
Question 2: Why create restaurant recommendations and how might behaviour change? (Hint: offline conversion, social sharing)
Question 3: What data sets are required? (Hint: merchant POI, user preference profile, time‑of‑day context)
Question 4: How would you validate model effectiveness? (Hint: A/B test, click‑to‑visit rate)
Question 5: Which key metrics post‑launch? (Hint: recommendation uptake, purchase conversion)
Question 6: What negative impacts could arise? (Hint: privacy concerns, merchant bias, battery drain)
Question 7: How does restaurant recommendation differ from ‘People You May Know’? (Hint: real‑time context, content diversity)
Quick Answer: Evaluates real-time nearby restaurant recommendations using opt-in location and social signals. Strong answers cover data sources, ranking, privacy, battery, validation, success metrics, merchant fairness, and risks.
Meta wants to leverage real-time, opt-in location from Nearby Friends to recommend nearby eateries users might like, while balancing utility with privacy, battery, fairness, and merchant quality.
Outline the product and data approach, forecast behavioral impact, define validation and success metrics, and anticipate risks.
Constraints & Assumptions
Location use must be opt-in, transparent, and revocable.
Recommendations should be useful in real time and respect privacy.
Include offline and online validation.
Consider fairness across merchants and neighborhoods.
Clarifying Questions to Ask Guidance
What exact location signals are allowed and at what precision?
What action should recommendations drive: click, save, visit, order, share, or meetup?
Which merchants are eligible, and how is quality verified?
Are purchase, visit, or check-in outcomes available?
Part 1 - Feature and Data Design
How would you use Nearby Friends location to build the feature, and what data sets are required?
What This Part Should Cover Guidance
Use live location, accuracy, motion state, time, historical visits, preferences, social graph, merchant POI data, hours, ratings, popularity, and context.
Include candidate generation, ranking, privacy filtering, and battery-aware updates.
Use merchant and user features without exposing sensitive location.
Part 2 - Impact and Validation
Why create restaurant recommendations, how might behavior change, and how would you validate model effectiveness?
What This Part Should Cover Guidance
State hypotheses around offline visits, saves, clicks, shares, and social coordination.
Validate offline with relevance labels and historical visit prediction.
Run A/B tests with recommendation uptake, click-to-visit, conversion, retention, and satisfaction metrics.
Part 3 - Post-launch Metrics and Risks
Which metrics and negative impacts would you monitor?
What This Part Should Cover Guidance
Track recommendation impressions, CTR, saves, visits, orders, social shares, repeat use, merchant distribution, and user satisfaction.