Sub topic 11
Feedback Loops and Amplification
Assume you understand probabilities from 0 to 1 and can read short Python code. This chapter focuses on how feed decisions change the data used by later decisions.
How a feedback loop forms
A ranking system predicts which posts you may like, comment on, share, or hide. It then shows posts with high predicted value. Your actions become new signals. The system uses those signals to update future predictions.
This creates a feedback loop:
Suppose a post receives unusually fast engagement from its first viewers. The ranker may interpret that activity as evidence that the post is valuable. It shows the post to more people. More exposure creates more opportunities for engagement, which can raise the score again.
This process is called amplification. A small early difference can become a large difference in reach.
Why early engagement matters
A feed does not observe the reactions a post would have received from people who never saw it. This is a selection problem. The system mostly observes reactions from posts it already chose to show.
For example, imagine two posts:
| Post | Early exposure | Likes | Observed like rate |
|---|---|---|---|
| A | 100 people | 20 | 20% |
| B | 10 people | 3 | 30% |
Post B has the higher observed rate, but the sample is smaller. Its performance is less certain. If the system promotes only Post A because it has more total likes, Post B may never receive enough exposure to prove its value.
Engagement also reflects more than content quality. Timing, audience, author popularity, existing relationships, and the position of a post in the feed all affect reactions. Treating engagement as a direct measure of quality can therefore reinforce existing advantages.
> callout note > A high engagement rate means “many observed viewers reacted.” It does not automatically mean “the content is valuable to every audience.”
Exploration and exploitation
A feed must balance two choices:
- Exploitation shows posts that already have strong evidence of performance.
- Exploration shows less-tested posts to gather new evidence.
An epsilon-greedy policy is a simple exploration strategy. With probability epsilon, it selects an alternative post. Otherwise, it selects the current top-ranked post.
import random
def pick_slot(ranked_post, explore_pool, epsilon=0.1, rng=random):
"""Explore occasionally instead of always choosing the top post."""
if explore_pool and rng.random() < epsilon:
return rng.choice(explore_pool)
return ranked_post
if __name__ == "__main__":
rng = random.Random(7)
for _ in range(10):
choice = pick_slot("popular-post", ["new-post-1", "new-post-2"], 0.2, rng)
print(choice)A larger epsilon gathers more information but may reduce short-term engagement. A smaller value improves immediate performance but can trap the system in a narrow set of content.
Reducing harmful amplification
A production system can limit feedback effects by:
- reserving some impressions for new or under-seen posts;
- comparing posts within similar exposure conditions;
- giving negative signals, such as hides or reports, enough weight;
- applying author and topic diversity rules;
- checking whether gains persist after the first audience changes;
- measuring satisfaction, retention, and survey responses alongside clicks.
A common error is to remove all exploration because it lowers a short-term metric. That can make the system less accurate over time and reduce content variety.
Exercise
A post receives a high like rate after being shown mainly to the author's closest followers. Why might promoting it to everyone create a feedback problem?
Show answer
The first audience is not representative. Its strong reaction may reflect the relationship with the author, so promotion can overestimate the post's value and amplify it before broader evidence exists.