AI 101 — What is a recommendation algorithm?

A recommendation algorithm is a model that decides what you see next: it assembles a short list of candidates out of millions of possible items, scores each one on how likely you are to interact with it, and shows you the top of that list — then learns from what you did.
Almost everything you scroll was sorted by one. The For You feed, the YouTube home screen, Netflix's row of suggestions, the products under "you might also like", the posts in your X timeline. None of them generate anything. They choose, and choosing at that scale is the whole job.
It's two jobs, not one
The clearest description of how a big feed works is still the paper YouTube's team published in 2016 about its own system, which splits the work into candidate generation and ranking. The split is the part worth understanding, because it is universal.
First, a fast, cheap model narrows millions of videos down to a few hundred plausible ones. It does that with embeddings — each video and each user becomes a list of numbers, and "similar" means close together in that space. We explained the machinery in what an embedding is; here it is enough to know that the first stage is a rough net, not a decision.
Second, an expensive model scores those few hundred properly, one at a time, and the feed is sorted by that score. This is where taste is actually decided, and where the money and the arguments are.
Why this is a live question right now
On 5 November, the European Commission published preliminary findings that TikTok's For You feed breaches the Digital Services Act, and the sentence at the centre of it is a description of a ranking function rather than a piece of content: using the "not interested" button "may not be enough to change the content feed," because "the algorithm prioritises showing users content based on viewing time, over their choice to see less of certain content," according to the Commission's findings.
That is a regulator auditing an objective function in public. The findings are preliminary — TikTok can reply, and a fine of up to 6 percent of worldwide annual turnover is only possible if they are confirmed — but the theory of the case is new in a useful way. Brussels is not arguing that personalised feeds are illegal. It is arguing that a feed which overrides your stated preference with your inferred one has broken a promise it made. We argued the same point the next morning in The Take — TikTok's real offence is a button that lies.
The mental model: one number per item
Strip away the architecture and every recommender does the same thing. For each item and each person it produces a probability — how likely is this person to watch, tap, like, reply or buy — and then it sorts.
The interesting decision is what gets multiplied into that probability. Watch time is the classic. A completed view on a long video counts for more than a like, which is why feeds optimise for retention and why a video that makes you stop scrolling beats a video you would have said you enjoyed. Add weights for freshness, for diversity, for ads, for the platform's own policy filters, and you have the feed.
Two properties follow, and they explain most of what feels strange about the result.
The score is a prediction of your behaviour, not a judgment about the item. A true, useful, badly-packaged video loses to a false, useless, beautifully-packaged one, because the model is not measuring either of those things. It is measuring you.
And the score is about the next few seconds, not the next month. A recommender is trained to win each individual decision. Nobody hands it your Tuesday.
The analogy: a newsstand that rebuilds itself
Imagine a newsstand that rearranges itself every time you walk past. The owner does not know you and has never spoken to you. He knows only what he observed: which covers you picked up, which you put back, where you paused.
Next time you pass, the front row is full of the thing you lingered on. That is not surveillance and it is not mind-reading; it is bookkeeping. But notice the second-order effect, the one that makes recommenders different from a shop. By rearranging the stand, the owner changes what you are able to pick up — so tomorrow's observations are partly his doing. The system is not just measuring your taste. It is one of the things shaping it.
Common misconceptions
"It knows what I like." It knows what you did. Those diverge exactly when it matters: the video you finished because it made you angry, the short you rewatched at 1am and regretted. Every recommender runs on proxies, and the gap between a proxy and a preference is where the entire policy argument lives.
"There is one algorithm." There are many models, one per surface, retrained continuously, wrapped in rules. TikTok's own description lists the signals as user interactions, video information such as captions, sounds and hashtags, and device and account settings like language and country — and says the last group carries lower weight, per TikTok's explanation of the For You feed. It also says follower count is not a direct factor in recommendation, and that the feed generally will not show two videos in a row from the same creator or the same sound. Diversity is a deliberate parameter, not an accident.
"My microphone is listening." The documented inputs are your behaviour in the app and the metadata attached to items. Coincidence plus a hundred weak signals feels like mind-reading; it rarely is.
"I've been shadowbanned." Distribution decisions come from predicted engagement plus policy filters. Low reach is usually a low predicted score, which is boring and unpersonal — a bad post, not a vendetta.
"The filter bubble is a myth." The loop is real; what is disputed is size and harm. A feed that only shows what you already engage with cannot show you what you would have liked. That is a loss even when nothing dark happens.
Where to learn more
Read TikTok's own explainer for the company's account of its signals, and the Commission's findings for the regulator's counter-argument. The YouTube paper remains the best plain description of the two-stage design, and it is free.
Is a feed that gives you what you keep watching giving you what you want? Write to us via our contact page.
Related reading: AI 101 — What is an embedding? · AI 101 — What is an AI agent? · AI 101 — What is generative engine optimization (GEO)?







