Save 25%Black Friday: 25% off all plans — use code BLACKFRIDAY2026 at checkout. Ends Friday, Dec 4.Claim the deal
1Framing the ProblemChapter 1

When a guest searches for a place to stay in Barcelona for next weekend, the platform has millions of listings but only one page of results that matters. A budget solo traveler and a luxury family searching the same city need completely different answers. Show the wrong listings and the guest bounces to a competitor. Show the right ones and they book within minutes.

The business objective is straightforward: help guests find and book the right listing quickly by ranking search results according to each guest's likelihood of booking. Higher booking conversion means faster time-to-book, better guest-host matches, and more revenue for the platform without needing more supply. The primary surface is the guest-facing search results page, where a guest enters location, dates, and guest count, and the system returns a ranked list of available listings.

What we are designing

The ML task is to predict personalized booking probability: given a search query plus guest context (history, preferences, session behavior), score each candidate listing by P(book∣query,listing,guest)P(\text{book} \mid \text{query}, \text{listing}, \text{guest}) and rank accordingly. The decision consumer is the search results rendering service, which displays the ordered listing cards to the guest. The decision boundary is clear: every listing either ranks higher or lower for this specific guest, and the model's job is to separate listings this guest would book from those they would not.

On the read path, the retrieval service narrows roughly 7M listings down to about 1k candidates using geo-proximity, date availability, and capacity filters. The ranking service then fetches guest and listing features from the online feature store, scores each candidate with a learned ranking model, and a re-ranking layer enforces diversity and business rules before returning the final ordered list. Behind this, an offline pipeline logs all impressions and outcomes, applies position-bias correction, retrains the model on a daily cadence, and publishes updated model weights and embedding indices to the serving infrastructure.

Your progressLogin to save progress
Spot an issue or have a suggestion?