Back

How do recommendation algorithms decide what you see?

The science behind your social media feed

4 November 2026

Why your “quick scroll” always turns into 20 minutes

You open an app for a “quick look”… and suddenly you’re deep into obscure woodworking, medieval cooking techniques, and raccoons stealing cat food.
So how does a recommendation algorithm figure you out so quickly? The answer lies in machine learning, behavioural data, and large-scale prediction systems.

Collaborative filtering: finding patterns in behaviour

Most recommendation systems start with a technique called collaborative filtering.
Instead of analysing what content is, the algorithm focuses on what people do with it. If users who watch Video A also tend to watch Video B, the system assumes the two are related.
This creates a huge user–item matrix across videos, posts, and songs, where machine learning models predict what you’re most likely to engage with next based on collective behaviour patterns.

Every click is a signal

Modern recommendation engines go far beyond simple viewing history. Every interaction becomes a data signal, including:

  • Watch time
  • Pauses and rewinds
  • Likes, shares, and comments
  • Skips or instant scroll-past behaviour
  • Even scrolling speed

All of this feeds into ranking models, often powered by neural networks, which estimate the probability that you’ll engage with each piece of content. The system then ranks thousands of options and serves the highest-scoring results.

Embeddings: turning you into maths

To scale this process, platforms use embeddings – numerical vectors that represent both users and content.
Each video or post is converted into a vector based on features like topics, visuals, audio, and text. Your behaviour builds a corresponding vector that represents your interests.
When these vectors sit close together in mathematical space, the algorithm concludes: this is something you’ll probably enjoy.

Your feed is more revealing than you think

Your TikTok “For You Page” isn’t just entertainment – it’s a behavioural mirror. It reflects what you actually watch, not what you say you like.
These systems are so effective they can sometimes infer interests you haven’t explicitly expressed yet, purely from engagement patterns.
Which is why your feed can feel a little… uncomfortably accurate.

Prediction over intuition

Recommendation algorithms don’t “understand” content like humans do. Instead, they run an enormous statistical prediction engine to guess what you’ll do next — and they’re getting very good at it.
So next time you open an app for “just five minutes”, remember: you’re not just browsing content… you’re training an algorithm.

Want to know more? Kat, our Craig’n’Dave Lesson Hacker, explains all.


For more Lesson Hacker videos, check out the Craig’n’Dave YouTube playlist HERE.
Visit our website to explore more cutting-edge tech news in the computer science world!

Related posts

Why does AI struggle to draw hands?

AI image generators can create stunningly realistic scenes, but they still struggle with one surprisingly human detail: hands. From extra fingers to warped joints, the issue reveals a lot about how machine learning models actually “see” the world.

18 November 2026

What should GCSE Computing look like in the future?

AQA want to hear from the teachers who know the subject and understand what works in the classroom. Share your […]

16 November 2026

Would thin phones still smash?

Ultra-thin phones may look sleek and futuristic, but physics has other ideas when it comes to durability. Once you strip away thickness, you also strip away protection, making drops a lot more dramatic than design renders suggest.

11 November 2026

The school initiatives worth keeping and the ones worth leaving behind

Are school policies and classroom initiatives genuinely improving learning, or are they creating unnecessary work for teachers? We explore why purpose, consistency and common sense matter more than simply ticking boxes.

6 November 2026

Why can’t Python count properly?

Ever typed 0.1 + 0.2 in Python and got 0.30000000000000004 instead of 0.3? It’s not a bug – it’s a fascinating quirk of how computers store numbers in binary.

28 October 2026

Beyond the IDE: programming lessons in the age of AI

One of the most persistent challenges in a programming classroom is knowing what every student is doing at any given […]

23 October 2026

If a NOT gate turns zero into one, where does that one come from?

How does a NOT gate turn a 0 into a 1 without creating something from nothing? Discover how voltage, transistors and digital logic work together to power the technology inside every modern computer.

15 October 2026

Ofsted after the Big Listen: have the rules changed, or just the packaging?

Ofsted has changed its inspection framework, but many school leaders question whether it has changed the culture surrounding inspection. We explore whether report cards can rebuild trust, reduce pressure and create an accountability system that genuinely helps schools improve.

9 October 2026

Should I make my own resources?

Should teachers really be making all their own resources? We explore the balance between creating, buying and adapting resources — and why thoughtful planning matters more than who made them.

5 October 2026