Principles of AI · Unit 3: AI in the World · Activity 3.1.1

Deep Dive: Your Feed, Your Profile

🔬 Deep Dive
This is your textbook for this topic. Take your time. Read it more than once.
Principles of AI · 3.1.1Concept⚠ Watch Out

From Actions to Profile

profiling = turning what you do into a description of you

A social media app can't see what you think. It sees what you do: what you open, how long you stay on a post, what you like, comment on, share, follow, search for, and hide, and when you do it. Together these actions make up your data footprint. (You'll audit your own in 3.1.2.)

A platform then turns that footprint into a profile: a set of labels and scores that describe what you seem to like. Giving labels to a person from data is called profiling. It is the same idea as the classifier in 1.1.2, which put a label on an image, except the thing being labeled is you.

Turning actions into points

Every post carries tags, like #space or #baking. Here, each action gives points to every tag on the post, and your profile is just the running total for each tag. The numbers below are made up so you can do the math by hand.

Our class point system (made up for this activity)
What you doPoints for every tag on that post
Tap like+2
Write a comment+3
Send it to someone+4
Tap "not interested" / hide−4

Real platforms use many more signals, such as how long you watch, whether you replay something, and when you scroll past. They also learn the weights from data instead of using fixed numbers like these.

ExampleRio's first round

Rio is an invented user. In the first round of the feed lab, Rio shares the telescope post (#space), likes the farming speedrun (#gaming), hides the sourdough post (#baking), comments on the dog-trick post (#pets), and likes the sunrise ridge post (#hiking).

Step 1 — Look up the points
Share = +4, like = +2, comment = +3, hide = −4. Each post here has one tag, so each action goes to one tag.

A profile is a set of guesses

Your actions are facts about what you did. A profile goes further: it says what you are "interested in" or "like." Those are conclusions, and conclusions can be wrong. Try sorting claims about an invented user.

Fact, guess or stretch? · Rio
Rio's data footprint (invented):
  • Liked 9 dog videos this week and commented on 2
  • Hid 5 baking videos
  • Posted 4 photos tagged "Maple Ridge Trail" (an invented place)
  • Follows 3 pottery creators
  • Is online most between 11 PM and 1 AM

Label each statement: In the data (the platform recorded it), Reasonable guess (strong evidence, still a guess), or Stretch (the data can't support it).

Rio liked 9 dog videos this week.
Rio is interested in dogs.
Rio has a dog.
Rio hid 5 baking videos.
Rio doesn't want more baking videos right now.
Rio is interested in pottery.
Rio spends time on or near Maple Ridge Trail.
Rio is online most between 11 PM and 1 AM.
Rio is not sleeping well.
Rio would buy a $90 hiking jacket if shown an ad.

Correct so far: 0 / 10 · answers tried: 0

⚠️Watch out for the jump from "watched" to "is." Watching dog videos is not owning a dog. Late-night use is not poor sleep. A profile is built to predict clicks, not to describe a person accurately.
💡Your side of it: practice on the invented users here. Don't try to work out facts about real classmates or real people from their accounts. Guessing at where someone lives, goes to school, or how they feel from what they post is how people get hurt.
Principles of AI · 3.1.1ConceptSkill

From Profile to Feed

recommender = a system that ranks posts by how well they match your profile

A recommender decides what to show you next. A simple one gives every post a score and puts the highest scores first. Here the score is the sum of your profile points for the tags on the post. A post tagged #space and #gaming adds both. A tag at −4 pulls a post down.

ExampleRanking three posts for Rio

Rio's profile from the last example: space 4, pets 3, gaming 2, hiking 2, baking −4. Three unseen posts could go in the next feed.

Step 1 — Score post 10
"Space strategy game, turn one" has #gaming and #space: 2 + 4 = 6.

Try it: the feed lab

Build a profile and watch the feed respond. Use your own taste, without any names. After each round, check one post's score by hand. Then change the settings and see what happens to the variety of topics.

Feed lab · round 1 of 3 · invented posts, no real accounts

Round 1 shows one post from each of 8 topics. React to the ones you'd really react to. Leave the rest alone.

Jupiter and its four moons, through a cheap telescope
#space
Speedrun of a cozy farming game in 11 minutes
#gaming
The first song I ever learned on guitar
#music
Sourdough that finally rose
#baking
Backyard penalty shootout
#soccer
Watercolor sunset in five minutes
#art
My dog learns a new trick
#pets
Sunrise from the ridge trail
#hiking
Topics in this feed: 8 of 8
The profile it builds
space
0
gaming
0
music
0
baking
0
soccer
0
art
0
pets
0
hiking
0

Top interests it would guess: none yet

These are guesses about what you would click on, not facts about you.

People like you
Comet · space, gaming, music0 shared
Biscuit · pets, hiking, baking0 shared
Pixel · gaming, art, space0 shared
Cleat · soccer, music, hiking0 shared
Settings for the next feed
Explore slots (of 6):

React to at least one post to build the next feed.

Compare with a partner: don't use names. Compare your "top interests" lists and the topics in your feeds. Which of your reactions made the biggest difference?

🔑A recommender does not know what is good for you or even what you like. It ranks by a score, and a company chooses what that score is made of.

Real feeds work the same way in outline, with much more going on: millions of posts, hundreds of signals, and models that learn the weights. New posts get labels too, sometimes from the people who post them and sometimes from systems that learned to label content from examples. That is why a single like can change what you see so quickly.

Principles of AI · 3.1.1Concept⚠ Watch Out

When the Feed Shapes You

feedback loop = the output changes what you do next, which changes the output
You reactlike · share · hideProfile updatespoints per tagFeed changesbest scores firstyou react to the new feed, and around it goes

Your reactions build the profile. The profile ranks the feed. The feed is what you react to next. That is a loop, and it can feed on itself: the more you engage with one kind of post, the more of it you see, and the less you see of everything else.

Narrowing

Here is an invented user who reacts the same way every time: they like any post about space or gaming and ignore everything else. After round 1, the profile has points on only those two tags. Here is what the next feed of 6 posts looks like with different numbers of explore slots, which are slots kept for topics the profile hasn't scored.

Round 1 → round 2 · same user, different settings
Explore slotsPosts matching their interestsTopics in the feed
06 of 63 of 8
24 of 66 of 8
33 of 66 of 8

With no explore slots, all 6 posts match and the feed covers 3 of 8 topics. Explore slots widen the feed, and they cost a little matching. This pool has only 40 posts, so it runs out of matches quickly. A real feed doesn't run out, so the narrowing can continue.

Whose goal is it?

The score is a design choice. A company can build a recommender to maximize time on the app, clicks, shares, purchases, or something else, such as variety or a user's own stated goals. Feeds are very often tuned to engagement, because engagement is easy to measure and can be tied to money. Reasonable people disagree about how much of a feed should be tuned that way, and about who should decide.

  • What the feed measures: reactions and attention. It can't measure whether you were glad you spent the time.
  • What explore slots trade: a bit of "match" for more variety, a choice someone has to make on purpose.
  • What you can do: many apps have controls such as "not interested," clearing history, or limiting recommendations. What exists changes from app to app, so look in the settings of the ones you use. You'll audit one in 3.1.3.
💡Think about it: a company wants to show ads mixed in with posts, so they look like the rest of the feed. Using what you now know about profiles, how should the platform offer this feature to its users? Be ready to give at least one reason for, and one reason against, labeling ads clearly.
← Back to Activity 3.1.1📝 Formative Activity →