← All articles
technologyrecommendation systemsalgorithmsmachine learningSeptember 17, 20265 min read

How Do Recommendation Algorithms Work? People Like You Liked This

By the BrainSnail editorial team. How these articles are written and checked, and how to tell us when one is wrong.

A substantial majority of what people watch on the large streaming services is chosen by a recommendation system rather than by search, and the same is true of most of what appears in a social feed or a shop's front page. These systems do not understand films, music or clothes in any meaningful sense. They work almost entirely by noticing patterns in what large numbers of people have done, and the specific way they do it explains both why they are so effective and why they fail in the particular ways they do.

Collaborative filtering

The oldest and still most important technique makes no use of what an item actually is. It builds a very large and very sparse matrix of users against items, filled in where someone has watched, bought or rated something, and then predicts the empty cells. The intuition has two forms: find users whose history resembles yours and recommend what they liked, or find items that tend to be liked by the same people and recommend items similar to those you liked. The practical method for doing this at scale is matrix factorisation, which decomposes the huge matrix into two much smaller ones representing each user and each item as a list of perhaps a hundred numbers in a shared space of latent factors. Those factors are discovered rather than specified, and they often turn out to correspond loosely to recognisable qualities, so a dimension might separate gentle from intense or mainstream from obscure, although nothing guarantees they will be interpretable. The approach was popularised by the Netflix Prize, a competition running from 2006 to 2009 offering a million dollars for a ten percent improvement in rating prediction, which drew enormous academic attention and whose winning ensemble was reportedly too complex to deploy.

The other ingredients

Modern systems combine several approaches, because each has a failure mode the others cover:

  • Content-based filtering uses attributes of the item itself, its genre, cast, tags, text or audio features, which lets a brand new item be recommended before anyone has interacted with it
  • Hybrid systems blend collaborative and content signals, which is what almost every large deployment now does
  • Deep learning models learn representations of users and items from raw interaction sequences, and treat recommendation as predicting the next item in a sequence, which is closely related to how language models work
  • Two-stage architecture is standard at scale: a fast candidate generator narrows millions of items to a few hundred, then a heavier model ranks those precisely, because scoring everything for everyone is computationally impossible
  • Contextual signals including time of day, device, location and what the user did in the last few minutes, which often matter more than long-term preference
  • Explicit ratings are largely obsolete, since implicit signals such as watch time, pauses, rewatches and how fast someone scrolls past are more abundant and more honest than stars

The problems built into the design

Several difficulties are structural rather than bugs. The cold start problem affects any new user or new item with no interaction history, and is why services ask you to pick a few interests when you sign up. Popularity bias is pervasive, since popular items accumulate more interactions, which makes them more recommended, which makes them more popular, and correcting for it requires deliberate intervention. The filter bubble concern, that a system optimising for engagement narrows what a person sees, is real in mechanism and more contested in measurement, with studies finding effects that are smaller and more variable than the popular account suggests. Feedback loops are the deepest issue: the system's recommendations determine what data it collects next, so it trains on the consequences of its own decisions and can never observe what would have happened if it had recommended something else, which makes evaluation genuinely difficult and is why serious operators run continuous randomised experiments.

What they are optimising

The most consequential question about any of these systems is what objective it has been given, because it will pursue that objective faithfully and nothing else. A system optimised for click-through will learn that provocative and misleading material gets clicked. One optimised for time spent will learn that outrage and autoplay hold attention. One optimised for immediate engagement will under-recommend things a person would have valued more and clicked less, which is why several large platforms have shifted towards predicting longer-term satisfaction, explicit user surveys and measures such as whether someone returns the following week. The gap between the metric and the actual goal is the recurring failure, and it is a specification problem rather than a technical one: the system is not misbehaving when it maximises watch time with material nobody would endorse on reflection, it is doing exactly what was asked.

Living with them

Regulation has begun to reach these systems, with European rules requiring very large platforms to explain the main parameters of their recommenders, to offer at least one option not based on profiling, and to assess systemic risks. The practical levers available to a user are narrower and real: watch history can usually be edited, and since the system infers preference from behaviour, a single curious click can shift recommendations for weeks; most services allow a non-personalised or chronological view somewhere in the settings; and separate profiles prevent one household's viewing from contaminating another's. The wider point is that these systems are extremely good at finding more of what you already engage with and structurally poor at finding what you would value but have never encountered, because nothing in the training data tells them about that. Deliberate exploration, through a curated source, a recommendation from a person, or simply a list of things nobody is being paid to show you, remains the only reliable way to get outside the loop.

The takeaway

Recommendation systems work mainly by collaborative filtering, predicting what you will like from patterns across many users without understanding the items at all, usually by factorising a huge sparse matrix into compact representations of users and items. Modern deployments blend this with item attributes, sequence models and context, and use a fast candidate stage followed by precise ranking. Cold start, popularity bias and self-reinforcing feedback loops are structural, and the system's behaviour follows entirely from the objective it was given.

Practise this

Questions from Law and the Future

Reading about something is not the same as being able to recall it. These are real questions from the Law and the Future unit in our Law & Citizenship track, answers and explanations included. The unit has 108 in total across 18 steps.

  • Choose all that applyLevel 4

    1. Which improve the quality of the statute book? Pick all that apply.

    • Consolidating scattered provisionscorrect
    • Plain language draftingcorrect
    • Repealing obsolete provisionscorrect
    • Adding contradictory clauses

    Consolidation, plain drafting, repeal of dead law and post-legislative review all improve it.

  • Fact or fibLevel 5

    2. Writing a law is the hard part, and enforcing it is straightforward.

    Answer: False

    False. Implementation, capacity and enforcement usually determine whether a law works.

  • Sort into groupsLevel 4

    3. Sort each safeguard by what it protects.

    Answer: Explanation of the decision = Protects understanding; Reasons in plain language = Protects understanding; Right to appeal = Protects contestability; Independent audit = Protects contestability

    Safeguards target different risks.