What Is a Recommendation Algorithm? How AI Picks What You See
Video feeds, shopping suggestions and 'you might also like' lists run on recommendation systems. Here's how they work, in plain English, and what they can't know.
You open a video app and the first thing on screen is a clip about something you’ve never searched for, yet it’s oddly interesting. Or a shop shows “customers also bought” under a kettle. Behind both is a recommendation system: software that predicts what you’re likely to want and puts it in front of you.
Recommendation systems are a kind of machine learning that has been around much longer than chatbots. They aren’t the same thing as a large language model, but they shape a lot of what people see online every day.
The problem they solve
Think of a huge library with millions of items and one shelf near the door that fits twelve. Someone has to decide what goes on that shelf. A human librarian could do it for a few visitors. For millions of people at once, each wanting something different, you need software.
So the real job of a recommendation system is ranking: given everything available, which items should this person see first?
The basic ingredients
Most systems learn from a few kinds of signals:
- What you did. Things you clicked, watched, bought, skipped or saved.
- What other people did. If many people who liked the items you liked also liked something else, that something else might suit you.
- What the items are like. A recipe video has a topic, a length, a language. The system can compare items by their features.
- The context. Time of day, the device you’re using, what you just looked at.
Two classic ideas
“People like you liked this.” This idea is often called collaborative filtering. Imagine two friends who both love the same five books. If one of them loves a sixth, you’d guess the other will too. The system does this with millions of people, without needing to know anything about what the books are actually about.
“This is similar to what you liked.” Here the system looks at the items themselves. If you’ve watched several videos about baking sourdough, it looks for other videos with similar features.
Many real systems blend these ideas and add more. A common pattern is two stages: first quickly pick a few hundred plausible candidates from millions, then rank those candidates more carefully.
How does it learn?
The system is trained on records of past behavior. During training, it tries to predict what people did next, such as whether someone would click or keep watching. When it’s wrong, it adjusts. Over many examples it gets better at guessing.
This is the same broad idea as other machine learning: patterns learned from examples, not rules written by hand. Nobody sits down and writes “show cooking videos to people who like gardening”. The pattern emerges from the data.
What “success” means matters a lot
A system optimizes for whatever it is told to measure. If the goal is “make people click”, it will learn what gets clicks. If the goal is “keep people watching”, it will learn what holds attention. Those goals aren’t always the same as “show people what is good for them” or “what they’d say they want on reflection”.
This is one reason recommendations can feel off. The system isn’t judging quality or your wellbeing. It is chasing a number chosen by the people who built it. Which numbers are best to chase is a real, ongoing debate among researchers, companies and regulators.
What they can and can’t know
Some things are well understood:
- They only see patterns in behavior. A system doesn’t know why you watched something. You might have watched a video because it annoyed you, or because a friend sent it. The click looks the same.
- They struggle with new things. A brand-new user or a brand-new item has no history. This is often called the “cold start” problem, and designers use workarounds like asking you to pick interests.
- They can feed on themselves. If a system shows you more of X, you click more X, and it learns you like X. The loop can narrow what you see.
Other things are less settled. How much recommendation feeds shape people’s opinions, habits or moods is studied and argued over, and the answer likely differs by platform and person. Be wary of anyone who claims a simple, certain answer in either direction.
Is that a person or a machine?
Often, both. Many platforms combine automated ranking with human-written rules, such as removing banned content or promoting certain categories. Which parts are automated and which are rules differs from service to service, and companies don’t always explain it in detail.
What you can do
You have more influence than it might seem:
- Your actions are the training data. Skipping, saving, “not interested” buttons and similar feedback tools usually count as signals. Many services let you use them, though where they are varies.
- Check your settings. Many services let you view or clear your history, or turn off personalized suggestions. What’s on offer varies.
- Notice the loop. If your feed feels samey, search deliberately for something different. That gives the system new information.
- Remember the goal. A suggestion is a guess about what keeps you engaged, not a verdict on what you should watch, read or buy.
The short version
A recommendation system is a prediction machine. It learns from the trail of clicks, views and purchases left by many people, then ranks items by how likely you are to engage with them. It is useful because nobody can browse millions of choices. And it is imperfect because it sees behavior, not intentions, and optimizes for whatever its builders decided to measure.
Related
What Is a Neural Network? How AI Learns Patterns, Explained Simply
Neural networks power most modern AI. Here's what they are, how they learn from examples, and what the brain comparison gets right and wrong.
What Does It Mean to Train an AI Model? Training vs. Using It
A plain-English look at what happens when an AI is trained, how that differs from using it, and why the difference explains a lot of AI news.
AI, Machine Learning and Deep Learning: What's the Difference?
These three terms are often used as if they mean the same thing. Here is how they fit together, using a simple set of nested boxes.