Design a Recommendation System
hard 55 minChoose twenty titles out of fifty thousand for each viewer in a fraction of a second.
Where it shows up
The same pattern appears across everyday software.
Two stages at YouTube
The 2016 paper by Covington, Adams and Sargin splits the problem into a deep candidate generation model and a separate deep ranking model.
Item-to-item at Amazon
The 2003 paper compares items by who bought both. Similar items change slowly, so the table can be built ahead.
The Netflix Prize
A public contest from 2006 to 2009 to improve rating prediction by 10%. It showed the strength of matrix factorization and of combining models.
Near and far search in databases
The pgvector extension gives PostgreSQL exact and approximate vector search; its documentation notes that approximate search trades some recall for speed.
News and short video
Items are born and die in hours, so content features and exploration matter more than long histories.
Online shops
"Often bought together" is item-to-item; the home page is the funnel; stock and delivery are rules in the last step.