Problem
Delivery Hero, a food-delivery platform with millions of customers and thousands of available vendors, wants to keep customers after the first order. Explicit ratings cannot drive this, because very few customers leave them. Food taste is personal and tied to culture and diet, so a standard "people like you also liked" recommender can do harm. One wrong vendor shown to a customer with a strict diet ruins the experience.
Example from the article: a non-vegetarian customer eats at both vegetarian and non-vegetarian restaurants. If that customer is judged similar to a vegetarian one, the vegetarian customer may be shown non-vegetarian vendors.
Solution in brief
Use implicit feedback, mainly orders, and recommend vendors that similar customers ordered from. Similarity is the cosine of the angle between customer vectors that include a diet feature. When scoring every vendor against every similar customer gets too slow, factorize the customer-vendor order matrix into customer and vendor embeddings.
Questions this case answers
- How to recommend items to a returning user from the behavior of similar users when taste is personal and some mismatches are unacceptable
- How to replace a pairwise user-similarity scoring model that does not scale with a factorization of the user-item interaction matrix
- How to recommend restaurants to a returning customer from the orders of similar customers?
- How to avoid recommending vendors a customer would reject on dietary or cultural grounds?
Tools and methods
- Implicit feedback — orders and other app interactions instead of ratings
- Cosine similarity — closeness of two customer vectors
- Similar-customer vendor score — sums scores from similar customers who ordered the vendor
- Collaborative filtering with matrix factorization — scalable scores and reusable embeddings
- Business rules — applied on top of the ranked list
Google or a one-time email code. No password.