Algorithms Made Simple

How Recommendation Systems Work, in Plain Language

Collaborative filtering, content-based methods, cold start and feedback loops.

Algorithms Made Simple · 5 min read

Streaming and shopping sites suggest things you might like. Behind the suggestions are a few ideas that are easier to grasp than they seem.

Collaborative filtering

The central idea is that people who agreed in the past tend to agree again. If you and another viewer both rated several films highly, films that person loved but you have not seen become candidates for you. The same works from the item side: items liked by the same people are similar.

Content-based methods

Content-based recommenders look at the properties of items, such as genre, author or description, and suggest items similar to what you liked. They need no data about other users, which helps for new items.

Hard problems

  • Cold start: a new user or item has no history to learn from. Popular items or a few onboarding questions can fill the gap.
  • Sparse data: most people have rated only a tiny fraction of the catalog.
  • Feedback loops: recommending popular items makes them more popular, which can narrow what people see.
  • Clicks are not always satisfaction.

How to judge one

Compare against a plain “most popular” baseline on held-out interactions. Measure not just accuracy but variety and whether people actually return. Tell users why something is suggested, and let them correct it.

More guides from this book