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.

Streams of glowing blue digital data flowing across a dark screen
Photograph via Unsplash

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.

The two-stage pipeline behind every feed#

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.

Stage one: candidate generation#

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.

Stage two: ranking#

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.

Two ways it learns your taste#

Underneath the pipeline sit two classic techniques, and nearly every real system blends them.

Collaborative filtering#

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#

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.

Why it feels uncanny, and where it breaks#

It optimizes a proxy, not your happiness#

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.

Exploration versus exploitation#

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.

What most people get wrong#

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.

How to actually steer it#

Concrete controls, platform by platform:

  • YouTube: Tap the three dots on any video and choose "Not interested" or "Don't recommend channel." To reset deeper, go to myactivity.google.com or your History settings and pause "YouTube Watch History." The "Your data in YouTube" panel lets you clear watch and search history.
  • TikTok: Long-press a video and tap "Not interested." Under Settings and privacy > Content preferences you can "Refresh your For You feed" (a near-reset) and add "Filter video keywords."
  • Netflix: Use thumbs down, thumbs up, or the "two thumbs up" that replaced star ratings; then open Account > Profile > Viewing activity to remove specific titles that are skewing your suggestions.
  • Instagram: Tap the three dots on an Explore post and choose "Not interested," and use Settings > Suggested content and Sensitive Content Control to dial back whole topics.
  • Spotify: Hide songs you dislike, and open a playlist's menu to "Exclude from your taste profile" so a party mix or a kid's playlist stops polluting Discover Weekly.
  • Amazon: Under "Browsing History" and "Improve your recommendations" you can delete items that are dragging your suggestions off course.
  • Google ads: Visit My Ad Center (myadcenter.google.com) to turn off or correct the interest categories advertisers target.

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.

FAQ#

Does incognito or private browsing stop recommendations?#

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.

Do "Not interested" buttons really work?#

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.

What is the cold start problem?#

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.

Priya Nadar
Written by
Priya Nadar

Priya translates the fast-moving world of AI and the internet into things you can actually use and understand. She's curious but skeptical, quick to separate genuine progress from hype, and keen to help readers use new tools wisely rather than fearfully.

More from Priya