Sub topic 2
From Your Draft to Someone's Feed: The Pipeline at a Glance
This chapter gives you the working model of how a post travels from the moment you publish it to the moment someone sees it in their feed. It assumes you have used LinkedIn to post, follow, react, and comment. It also assumes you know in general terms what a recommendation system is: software that chooses, from a very large pool of items, a small set to show a particular person.
LinkedIn has published engineering write-ups about its feed over the years, and the details change. Treat what follows as a conceptual model built from those public descriptions. It is not a specification, and the exact stages, names, and weights are not public.
Why the feed needs a pipeline
A member who opens LinkedIn might have thousands of posts that could, in principle, be shown. These come from connections, followed people and pages, groups, and content the system thinks they might enjoy. Scoring every one of those with a heavy prediction model, for every member, every time they open the app, would be too slow and too costly.
So the work is split into stages. Early stages are cheap and cut a huge pool down to a manageable list. Later stages are expensive and more careful, and they run on that smaller list. This shape is common in recommendation systems, and it is often described as a funnel.
The key consequence for you is that a post is never ranked "in general." It is selected and ranked for one viewer at one moment. Your post may be strong for one person and invisible to another, and that is how the system is designed to work.
The four stages
The model in this tutorial uses four stages. Later chapters take each one apart.
- Candidate generation. Gather posts that might be relevant to this viewer.
- Ranking. Predict how this viewer will respond to each candidate, then order them.
- Filtering and policy checks. Remove or demote content that is low quality, spammy, or against the rules.
- Blending. Assemble the final feed, mixing posts with other items such as ads, suggestions, and notifications-style modules.
The dotted arrow at the bottom matters. What viewers do with your post becomes information that influences how it is treated for the next viewers. Chapter 8 covers that loop.
Stage 1: Candidate generation
Candidate generation answers a narrow question: which posts are even worth considering for this person? It uses fast, simple rules and lightweight models. Typical sources include:
- Recent posts from people the viewer is connected to or follows.
- Posts that the viewer's network reacted to or commented on.
- Posts matched to the viewer's interests, based on things like topics they engage with.
Your post can only be shown to someone if it makes it into their candidate set. If it does not, nothing later in the pipeline can help it. This is why audience definition (who follows you, who you connect with, who engages with you) matters before you ever worry about wording.
Stage 2: Ranking
Ranking takes the candidates and scores each one for this viewer. The score is built from predictions, such as how likely this person is to click, react, comment, share, or spend time reading. Those predictions rely on signals about four things:
- The viewer: their past behavior, interests, and profile.
- The content: its format, text, topic, and early performance.
- The relationship: how often the viewer interacts with you.
- The context: time, device, and similar details.
A model combines these into predictions, and a scoring step turns several predictions into one number. Chapters 4 to 6 cover this in detail. Here is a toy illustration of the final step, which is only a sketch of the idea and is not LinkedIn's real formula:
# Illustrative toy model only. This is NOT LinkedIn's actual formula.
# It shows the general idea: predict several outcomes per post, then combine them.
weights = {"click": 1.0, "reaction": 0.5, "comment": 2.0, "share": 3.0}
posts = {
"post_a": {"click": 0.10, "reaction": 0.08, "comment": 0.01, "share": 0.005},
"post_b": {"click": 0.04, "reaction": 0.12, "comment": 0.03, "share": 0.002},
}
def score(predictions):
return sum(weights[action] * p for action, p in predictions.items())
ranked = sorted(posts, key=lambda name: score(posts[name]), reverse=True)
for name in ranked:
print(name, round(score(posts[name]), 4))Running this prints post_a 0.175 first and post_b 0.166 second. Notice that post_b has a higher comment and reaction probability, yet it loses because post_a is predicted to get more clicks and shares under these made-up weights. The point is that ranking depends on a combination, and changing the weights changes the order.
Stage 3: Filtering and policy checks
Not every post that scores well is allowed to be shown widely. Platforms run quality and safety checks to catch spam, misleading content, and policy violations. These can act before ranking, after it, or both. A post can be removed, shown to fewer people, or sent for review. Chapter 7 covers this stage.
Stage 4: Blending
The feed is not a pure list of posts sorted by score. It also contains other items, and the final layout is assembled from several sources. Blending decides things such as how to space out items and how to avoid showing the same author several times in a row. This means a high-scoring post does not always appear at the very top, because the feed is built as a whole and not one post at a time.
What stays the same and what varies
Some parts of this model are stable ideas. Others change often. Knowing the difference helps you avoid building habits on details that will not last.
| Part of the model | How stable it is | What it means for you |
|---|---|---|
| The funnel shape (cheap filter, then careful ranking) | Very stable across recommender systems | Reaching the right candidate pool comes first |
| Per-viewer personalization | Stable and documented | Reach is not a single number for a post |
| Types of signals (viewer, content, relationship, context) | Stable at the category level | Think in categories, not in single tricks |
| Exact weights and thresholds | Not public, changes often | Do not trust claims of precise numbers |
| Specific features of a format | Changes with product updates | Check current LinkedIn help pages before acting |
A worked walkthrough
Suppose you publish a short text post about a lesson from a recent project. You have 800 connections and 300 followers. Follow it through the pipeline for two different viewers.
Viewer 1, a former colleague. You have commented on each other's posts several times this year. The post enters their candidate set because you are connected and recent. In ranking, the relationship signal is strong and the topic matches things they read. The predicted comment probability is relatively high. It passes filtering and appears fairly high in their feed.
Viewer 2, a loose connection from a conference. You are connected, but there has been no interaction in two years. The post may still enter the candidate set, but the model predicts low engagement. Other candidates score higher. The post might sit far down the feed, or the viewer might never scroll that far.
Both viewers got "the same post," but they had very different outcomes. Neither outcome tells you the post was good or bad. Only a comparison across many viewers, and many posts, can do that.
Common errors in this mental model
- Thinking in terms of one global rank. There is no single position for your post. Reach is a sum of many per-viewer decisions.
- Treating the pipeline as a black box that rewards tricks. Each stage has a plain purpose. Candidate generation wants relevance, ranking wants predicted value to the viewer, filtering wants safety and quality. Claims that a particular trick beats the system should be tested against these purposes.
- Assuming the stages are fixed. Real systems add, merge, and reorder stages. The four-stage model is a learning aid.
- Confusing visible metrics with model inputs. Impressions and reactions in your analytics are outputs. The model works with predictions and many signals you cannot see.
- Ignoring the dependency between stages. A great post wording cannot rescue a post that never becomes a candidate. A weak candidate pool is a different problem than a weak post.
Diagnosing by stage
You can use the pipeline as a checklist when reading your results. The table pairs a symptom with a likely stage. These are hypotheses to test, not conclusions.
| Symptom | Possible stage | A first thing to try |
|---|---|---|
| Very few impressions from your own network | Candidate generation or ranking | Check whether your network has interacted with you recently |
| Many impressions but few reactions | Ranking is showing it, but the content did not fit the viewers | Revisit the opening lines and topic fit |
| Sudden drop across all posts | Possibly filtering, or a product change | Review LinkedIn's content policies and recent changes to your posting pattern |
| Good reach in one community, none in another | Per-viewer personalization | Check who the post was relevant to |
Because you cannot see inside the pipeline, these diagnoses stay uncertain. Their value is that they point you to a testable next step instead of a vague worry.
What the next chapters build on
You now have the skeleton: a funnel with four stages, applied separately for each viewer, with a feedback loop from viewer reactions. The next chapters fill in each stage, starting with how candidates are chosen, then the signals and predictions used in ranking, then filtering and early distribution. Later chapters turn that model into posting decisions and a measurement routine.
Exercise
A colleague says, "My post is stuck at rank 40 in the LinkedIn feed, so I need a trick to push it to rank 1." Using the pipeline model, give two reasons this statement is flawed.
Show answer
First, a post has no single global rank. The feed is built per viewer, so the same post can appear high for one person and low or not at all for another. Second, the statement assumes ranking is the only stage that matters. The post may not have entered many viewers' candidate sets, or may have been demoted by quality filtering, and blending also affects final position. A better question is which stage limits the post's reach for the audience you care about.
Exercise
Run the toy scorer from this chapter, then change the weight for "comment" from 2.0 to 0.2. Which post ranks first now, and what does this show about the final scoring step?
Show answer
With the comment weight at 0.2, posta scores 0.1 + 0.04 + 0.002 + 0.015 = 0.157 and postb scores 0.04 + 0.06 + 0.006 + 0.006 = 0.112, so posta ranks first. Under the original weights posta also ranked first (0.175 against 0.166), but the gap widens a lot. The change shows that the order depends on how predictions are combined, so a post that attracts more comments is not guaranteed to rank higher unless the system values comments highly.
Exercise
Name the four stages in this chapter's model and say which one decides whether a post can be shown to a given viewer at all.
Show answer
The stages are candidate generation, ranking, filtering and policy checks, and blending. Candidate generation decides first whether a post is considered for a viewer. If a post is not in the candidate set, the later stages never see it for that viewer. Filtering can also remove a post entirely, so it is a second gate.