TLDRocket
Sign in

Tools & Coding

975 summarised stories in Tools & Coding, each linking back to the original source. Browse all topics →

Sunday, 27 June 2021

System Design for Recommendations and Search

Eugene Yan 5 years ago 42

Industrial recommendation and search systems typically split work into offline batch processes (model training, embedding creation, index building) and online serving (candidate retrieval and ranking). Candidate retrieval uses embeddings with approximate nearest neighbor indexes to reduce millions of items to hundreds in under 100 milliseconds, while ranking then scores these candidates using deep learning models with richer features. Implementations from Alibaba, Facebook, JD, and DoorDash demonstrate this pattern across different retrieval methods (embeddings, graphs, decision trees), with practical optimizations like unified query embedding plus ANN lookup in single service instances to reduce latency.

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.