Problem
Delivery Hero's apps rank restaurants by a score and show the highest scores first. Returning users get collaborative filtering, which learns from clicks and orders. A new user has no such history, so it has nothing to learn from. The first list a new user sees matters for retention, so the default ranking for newcomers has to be good from the first session.
Illustrative example: a person installs the app, opens it in the evening and sees dozens of restaurants nearby. The app knows nothing about this person, yet must decide which restaurant goes first.
Solution in brief
Build a content-based cold-start ranker. Start with a two-parameter baseline that approximates relevance by restaurant popularity and delivery time and fees by distance, and tune its weights by backtesting on past sessions with NDCG. Then replace it with LambdaMART, a gradient-boosted learning-to-rank model that takes more features and was confirmed in an A/B test.
Questions this case answers
- How to rank items for a user with no interaction history when collaborative filtering has nothing to learn from
- How to tune a hand-weighted scoring function offline against logged sessions where only one item per session is a positive
- How to rank restaurants for a new user who has no orders or clicks yet?
- How to build a simple baseline ranker for cold-start users and tune its weights offline?
Tools and methods
- Popularity and distance baseline — scores restaurants for new users from two parameters
- Hyperopt (Bayesian search) — finds the baseline weights and
- Backtesting on past sessions — compares weight combinations offline
- NDCG — ranking metric for the backtest
- LambdaMART — learning-to-rank model (LambdaRank with gradient-boosted trees)
- A/B test — confirms the new ranker online
Google or a one-time email code. No password.