Personalized Marketing at Scale: Uber's Out-of-App Recommendation System

Vincent Pham, Hao Fu, Benjamin Draves13 Jun 2024

Problem

Uber sends over 4 billion personalized messages (email, push, SMS) with restaurant and offer recommendations. Unlike in-app feeds, the system does not know where the user will be or what they want when they open the message. Orders are local, so a wrong location ruins the list. Each list must also fit the theme of its campaign, at up to 10 times the throughput of in-app recommendations.

Example from the article: a membership email should show restaurants with exclusive promotions, while an email about city neighborhoods should show locals' favorites.

Solution in brief

A three-stage pipeline: location-based candidate retrieval, a cheap linear first pass and an ML second pass, then a rule-based re-ranking layer that marketers configure. Missing context is replaced by a predicted next-order neighborhood and a compact cuisine-preference feature built from the whole order history.

Questions this case answers
  • How to generate relevant, location-bound recommendations for a message sent in advance, when the user's place and intent at viewing time are unknown
  • How to build a compact long-horizon preference feature for users with sparse recent history while keeping online storage cost low
  • How to let business stakeholders apply per-region ranking rules on top of an ML ranker without retraining
  • How to recommend restaurants in an email or push message when the user's location and intent at send time are unknown?

Tools and methods

  • Next-order location model — predicts the neighborhood of the user's next order from about 10 features
  • Event-based override — swaps the location for the latest one in travel campaigns
  • Linear first-pass scorer — cheap filter over eligible merchants, weights tuned for recall
  • Cuisine preference feature — daily Bayesian update, smoothed and compressed via cuisine clusters
  • Learning-to-rank second pass — custom relevancy weights, features shared with the home feed
  • Hierarchical rule engine — per-region re-ranking and blending configs
Continue reading — it's free

Google or a one-time email code. No password.