AI & Future
How AI Recommendations Work, From Feeds to Shopping
Recommendation systems shape what you watch, buy, and read every day. Here is a clear, jargon-free look at how they work and how to stay in control.
AI & Future
Recommendation systems shape what you watch, buy, and read every day. Here is a clear, jargon-free look at how they work and how to stay in control.
An AI recommendation system is a two-stage prediction pipeline: it first narrows a catalog of millions down to a few hundred plausible candidates, then ranks those candidates by how likely you are to engage with each one. Almost everything people find eerie or annoying about feeds — the uncanny accuracy, the rabbit holes, the occasional wild miss — falls straight out of how those two stages are built and what they are told to optimize.
Netflix, YouTube, TikTok, Amazon, and Spotify all run variations of the same architecture, because scoring every item in the catalog for every user in real time is computationally impossible. So the work is split into retrieval and ranking.
The first stage, often called candidate generation or retrieval, throws out almost everything. From a library of hundreds of millions of YouTube videos or tens of millions of Spotify tracks, it pulls a shortlist of a few hundred to a few thousand items even worth considering for you. Modern systems do this with embeddings: every user and every item is converted into a vector — a list of numbers, often 64 to several hundred dimensions long — that captures its position in an abstract "taste space." Items whose vectors sit close to your vector, measured by cosine similarity, become candidates. YouTube's published "two-tower" design builds one neural network tower for the user and one for the video, trained so matching pairs land near each other.
The shortlist then goes to a heavier ranking model that scores each candidate on the specific thing the company cares about — usually predicted watch time, click probability, or purchase likelihood — and sorts them. This is why the first three items in a feed are chosen far more carefully than the three-hundredth: ranking is expensive, so it only runs on the pre-filtered shortlist. The two-stage split is the single most useful thing to grasp, because it explains both the speed and the tunnel vision of a feed.
Underneath the pipeline sit two classic techniques, and nearly every real system blends them.
Collaborative filtering ignores what an item is and looks only at behavior patterns across users. Amazon's long-running "customers who bought this item also bought" is the textbook case — its item-to-item collaborative filtering, published back in 2003, precomputes which products co-occur in purchases and carts. Netflix leaned so hard on this approach that in 2006 it launched the $1 million Netflix Prize to improve its rating predictions; the winning teams popularized matrix factorization, which decomposes the giant user-by-item table into compact vectors — the direct ancestor of today's embeddings. Collaborative filtering is what lets a service suggest something genuinely new: it finds users whose history overlaps with yours and surfaces what they liked that you have not seen.
Content-based filtering does the opposite: it analyzes an item's own attributes and matches them to things you already engaged with. Spotify's Discover Weekly famously combines both — collaborative signals from billions of user playlists, natural-language analysis of how tracks are described online, and raw audio analysis of tempo and timbre — so a brand-new song with almost no streams can still be recommended on its sonic fingerprint alone. Content-based methods are the standard fix for the "cold start" problem, where a new item or new user has no behavioral history yet.
The ranking model does not maximize your satisfaction; it maximizes a measurable proxy. TikTok's For You feed weights watch completion and rewatches heavily, which is why short, loopable, emotionally punchy clips thrive there. The catch is that a click driven by anger looks identical to one driven by delight, and a video left autoplaying while you cook counts the same as one you watched intently. The machine reads the action, never the intention, so an outrage-bait headline and a genuinely useful tutorial can post the same predicted engagement.
A system that only ever showed you more of what you already clicked would quickly trap you. To counter that, good systems borrow the "explore/exploit" idea from multi-armed bandit problems: they deliberately inject a fraction of uncertain or novel items to test your reaction. When a feed suddenly shows something off-pattern, that is often exploration, not a glitch. Too little of it and you get a filter bubble; too much and the feed feels random.
The biggest mistake is treating every action as a neutral, private glance. It is not — every play, pause, and lingering scroll is a training label. A single curious click on a topic you find distasteful teaches the model you want more of it, because it cannot distinguish morbid curiosity from genuine interest.
The second mistake is assuming the "Not interested" button does nothing. On YouTube and TikTok these are real negative training signals, and used consistently they measurably shift a feed within days. The third is confusing clearing history with pausing it: clearing removes past data but, if collection is still on, the feed simply relearns you. To change behavior going forward you usually have to pause collection, not just wipe the record.
Concrete controls, platform by platform:
The principle behind all of these: the algorithm is a mirror with a lag. Feed it deliberate signals — explicit negatives, an occasional off-pattern search, a paused history — and within a week or two it reshapes itself around the version of you that you actually want it to reflect.
Only partly. Private mode stops your browser from storing local history and cookies, so logged-out sites lose that thread. But the moment you sign in, the platform ties activity to your account server-side regardless of browser mode, so YouTube or Amazon still personalize normally.
Almost always coincidence plus correlated behavior, not microphone eavesdropping. You, your household, and people with overlapping profiles tend to search and click in sync, and retargeting ads follow product pages you visited — which feels like listening but is really cross-signal pattern-matching.
Yes, when used consistently. They act as explicit negative labels that outweigh a lot of passive signals. One tap rarely moves the feed, but repeated, deliberate use over several sessions produces a visible shift.
It is the difficulty of recommending anything when there is little data — a brand-new user, or a freshly uploaded item. Systems bridge it with content-based signals (an item's attributes) and popular defaults until enough behavior accumulates to personalize properly.
Keep reading
AI news moves fast and most of it is noise. Here is a calm, jargon-free system for staying informed about what matters without burning out on every headline.
AI can now write, draw, and speak convincingly, which makes telling real from synthetic harder. Here are honest, practical clues to help you tell them apart.