Sub topic 2
What a Feed Is Trying to Optimize
This chapter assumes you know how to use social media, understand probability as a number from 0 to 1, and can read short Python code. You will use those ideas to examine the goals behind a ranked feed.
A feed has an objective
A feed is an ordered list of posts selected for a particular person. A ranking system chooses the order because the platform wants to produce an outcome. That outcome is called an objective.
The objective is rarely just “show the most interesting posts.” Platforms cannot directly measure interest. Instead, they use measurable signals, such as likes, comments, shares, time spent reading, follows, hides, reports, and whether a person returns later.
These signals are proxies. A proxy is a measurement used to represent something that is harder to measure directly. For example, a comment may suggest that a post was valuable, but it may also mean that the post caused anger.
A platform may combine several goals:
- Help people find relevant and useful content.
- Encourage meaningful interactions.
- Keep the service safe and reliable.
- Give authors a reasonable chance to reach their audience.
- Support business goals, such as showing advertisements.
- Keep people using the service over time.
These goals can conflict. A shocking post might receive many comments while reducing trust in the service. A feed filled with posts from one favorite author might maximize immediate interest while reducing variety.
Objective, metric, and constraint
An objective describes the result the system wants. A metric is a measurable value used to estimate that result. A constraint is a rule that limits what the system may do.
| Type | Example | Why it matters |
|---|---|---|
| Objective | Help people find valuable content | States the desired outcome |
| Metric | Expected comments per impression | Provides a measurable proxy |
| Constraint | Do not show removed or unsafe content | Prevents unacceptable results |
An impression is one opportunity for a post to be shown. “Expected comments per impression” means the average number of comments the system predicts for each time a post appears.
A ranking system might maximize a weighted utility score:
utility = 1.0 × predicted_likes + 4.0 × predicted_comments - 10.0 × predicted_hides
The weights express priorities. In this example, a predicted comment counts more than a predicted like, while a predicted hide strongly lowers the score. The numbers are illustrative. A real platform may use many more terms and may change the weights by product, region, or user setting.
Why engagement is an imperfect goal
Engagement measures an action, not its meaning. A person may watch a video because it is useful, entertaining, confusing, or upsetting. If a system rewards every click equally, it can learn to promote content that attracts attention without creating value.
Common problems include:
- Short-term clicks can reduce long-term satisfaction.
- Controversial posts can produce comments but also harassment.
- High time spent can mean interest or difficulty leaving.
- Popular content can crowd out specialized content.
- Optimizing for one action can make the feed repetitive.
For this reason, platforms often track negative signals alongside positive ones. Hides, unfollows, reports, quick exits, and survey responses can reveal dissatisfaction. The system may also measure whether people return later, whether they see a range of authors, and whether they find content from smaller communities.
How goals shape ranking
The goal affects every stage of a feed pipeline. Candidate generation determines which posts are considered. Prediction models estimate likely reactions. A scoring function combines those predictions. Later rules can protect variety, safety, and fairness.
The system must also account for context. A person who opens the app for news may have different short-term needs from someone looking for friends’ updates. Device type, time available, connection quality, and user controls can affect which objective matters most.
Choosing metrics carefully
Teams usually compare a feed change with a baseline, which is the existing version used for comparison. They may measure several outcomes at once:
- Positive actions, such as likes or saves.
- Negative actions, such as hides or reports.
- Content quality and safety violations.
- Variety of authors and topics.
- Retention, meaning whether people return over time.
- Self-reported satisfaction.
A useful evaluation asks whether an improvement in one metric causes a decline in another. A feed that increases comments by 5 percent but also increases reports by 20 percent may not be an improvement.
Exercise
A team wants to optimize only daily time spent in the app. Name one benefit and two risks of this objective.
Show answer
The benefit is that it is easy to measure and may indicate that the feed is useful or entertaining. Risks include promoting shocking content and encouraging passive scrolling even when people are dissatisfied.