Module 22 · How Your Feed Works

Why did your feed pick that video next?

Lesson 22.1 · People Like You

Owen

Ten likes in. The feed already knows. He never typed a word.

Owen opens a video app fresh, on a new account, and the feed is random.

Ten likes later it’s all basketball. He never typed “basketball.”

The app noticed which videos he watched and which he skipped, found other people with the same pattern, and started showing him what they watched.

The short answer

Recommendation system: A recommender predicts how likely you are to watch, like or buy each item, and shows you the ones with the highest odds. It learns from what you did and from what people with similar histories did. It’s a classifier (Module 16) whose label is “will this person engage?”, run millions of times a second.

Try it yourself

Like or skip each video. Watch the feed learn what to show you next, and the little line under each one that says why.

Speedrunning the tutorial level

Because you liked Speedruns

Like or skip each video. Watch the feed learn what to show you next, and the little line under each one that says why.MinecraftRocketLeagueSpeedrunsTutorialsReactions
See it in 3DHow your feed learns what to show you

What you just did has a name

Recommendation system

A recommender predicts how likely you are to watch, like or buy each item, and shows you the ones with the highest odds.

It learns from what you did and from what people with similar histories did.

It’s a classifier (Module 16) whose label is “will this person engage?”, run millions of times a second.

A few more things

It’s clustering plus prediction

Find people whose history looks like yours (Module 17). Look at what they engaged with that you haven’t seen. Predict you will too (Module 16). Show it. That loop is most of a feed.

It never asked

No survey, no “what do you like?” It watched. Every tap is an answer to a question nobody asked out loud, and Module 1 was about how many answers a normal morning gives.

The goal is a number

The system is optimizing something: watch time, sessions, clicks. Not “what’s good for you.” Whatever gets the number up gets shown more, and that’s the whole reason feeds feel the way they do.

Go deeper

The longer version, if you want it.

Collaborative filtering

The classic method is called collaborative filtering: build a giant table with a row per person and a column per video, fill in the cells you know (watched, skipped, liked), and predict the empty cells from the pattern of filled ones. People who agree on the filled cells probably agree on the empty ones. Modern feeds add embeddings (Module 21) of both people and videos, so “similar” has a geometry.

The cold-start problem is the feed’s version of Module 18’s small data: a brand-new user or a brand-new video has no history, so the system guesses from whatever it can (device, time of day, the first few taps) until it learns more. Lesson 22.3 is about what it does with a brand-new video.

Quick check

A grocery app suggests oat milk to Rosa. She has never bought it or searched for it. What most likely happened?

Let’s take it slower

Here’s a quick test. Could the app have guessed that without knowing anything about anyone else? Usually not. A recommender is borrowing. It finds a crowd of people whose past looks like yours, checks what that crowd went for that you haven’t touched yet, and hands you the top of that list as a guess. Your own history picks the crowd. The crowd picks the suggestion. Every time you tap or don’t, the app re-sorts you into a slightly different crowd and guesses again.

More examples

1

The “customers also bought” shelf

Buy a tent online and the page offers a headlamp and a camp stove. Nobody knows you’re going camping. Thousands of tent buyers went on to buy those two things, so the odds you will are high, and high odds get the shelf.

2

The friend you have never met

A social app suggests someone from your school you’ve never spoken to. You share twelve friends and follow the same three teams, and people with that much overlap usually connect, so the app predicts you will. Same machine, with people as the items.

Back to the question

So why did that video show up?

Show the answer

Because Owen liked things that people-who-like-basketball like, and they liked that video. Ten taps was enough to find his neighbors on the map and borrow their feed. He never typed “basketball.” He didn’t need to.

One last question

How does a feed decide what to show next?

Talk Card

Talk Card · 22.1

Your feed predicts what you’ll watch next from what you and people like you already watched. Every tap is an answer to a question nobody asked out loud.

Data to AI · pettigrewlab.com/learn

Next lesson