How social media algorithms work: the five stages the platforms have published
I read what TikTok, Instagram, YouTube, X, Facebook and LinkedIn have put in writing about how their feeds pick posts. Here it is, stage by stage, with every claim tagged by how sure I can be.
How to read my tags: confirmedthe source says it · inferredmy deduction from what's confirmed · speculateda guess, and I say so
- TikTok, Instagram, YouTube, X, Facebook and LinkedIn each published a piece of the same funnel: millions of posts cut to a shortlist, then scored by a heavier model. confirmed · 1, 4, 8, 9, 13, 15
- The score adds up weighted predictions of what you’ll do with each post, from watching and sharing to reporting it. confirmed · 4, 8, 9, 14, 16
- Where the weights are shown or described, in X’s code and Instagram’s Explore write-up, they’re settings the company tunes, not something the model learns. confirmed · 8, 14
- Of these six, only X publishes its numbers: in its current defaults, a predicted report is worth −234 and a predicted like +0.5. confirmed · 14
- Last, rules reshuffle the list for variety and safety, and reactions become training data, within minutes in some systems. confirmed · 4, 6, 7, 10, 14
Each platform has published a different piece of the machine
No platform publishes its whole feed. Each has put out pieces: papers, engineering posts, help pages and, for X, code. I read them line by line.
- TikTok: a 2020 newsroom post, a Transparency Center page that walks through five steps, and a help page on signals. confirmed · 3, 4, 5 Monolith (2022), often tied to TikTok, is a paper by ByteDance, TikTok’s parent company, on a production system that learns in near real time. confirmed · 6 It says the system shipped in BytePlus Recommend and never names TikTok. confirmed · 6 (see the TikTok page)
- YouTube: Google’s 2016 paper on the shortlist and ranking models then in production. confirmed · 1 A 2021 official post adds signals, viewer surveys and demotion rules. confirmed · 2 The paper is ten years old, so I read it as history. (see the YouTube page)
- Instagram: Adam Mosseri’s 2023 explainer on Feed, Stories, Explore and Reels. confirmed · 7 A 2023 Meta engineering post details Explore’s stages. confirmed · 8 (see the Instagram page)
- Facebook: Meta posts on News Feed ranking (2021) and on recommending posts from accounts you don’t follow (2023). confirmed · 9, 10 The DLRM paper (Facebook AI, 2019) is an open-source model design that doesn’t say which feed, if any, runs it. confirmed · 11
- X: the 2023 open-source release and its blog post. confirmed · 12, 13 A newer release of the For You code includes its live default settings, as synced in 2026. confirmed · 14 (see the X page)
- LinkedIn: a 2025 paper on finding suggested posts, tested on live traffic, and a 2024 paper on its production ranking models. confirmed · 15, 16 360Brew (2025) describes a ranking model its authors call pre-production. confirmed · 17
First, the system reads your post and turns it into data
Where platforms describe this step, each post becomes data the system can compare: labels such as topic or safety category, and a long list of numbers that places it near similar posts. confirmed · 10, 14, 15
- X: when a post is published, automated checks flag spam, adult content, violent media and other categories, and its text and images become numbers. confirmed · 14
- Meta: its models do visual recognition, text extraction and audio recognition, plus tasks like sorting by topic and matching similar posts. confirmed · 10
- LinkedIn: its 2025 shortlist model reads a post only as text (its words, type, author details and popularity) and indexes new posts within a minute. confirmed · 15
- TikTok names captions, sounds and hashtags among the video information it uses. confirmed · 3 Instagram lists a reel’s audio and visuals among its signals. confirmed · 7
- YouTube’s 2016 paper described videos mainly by which ones the same people watched, and doesn’t describe analysing picture or sound. confirmed · 1
TikTok’s pages don’t say how it analyses a video’s content. No platform says how much this first read counts once viewers react.
Then millions of posts get cut to a shortlist
Scoring every post for every person would be too slow, so a fast first step builds a shortlist. confirmed · 1, 15
- YouTube (2016): millions of videos down to hundreds. confirmed · 1
- TikTok: a large number of videos that passed initial moderation. No figures given. confirmed · 4
- Facebook (2021): a light first pass keeps about 500 posts. confirmed · 9 Meta (2023): billions of pieces of content narrowed to thousands, then a few hundred. confirmed · 10
- Instagram Explore (2023): thousands of candidates go to a light ranker, and the best 100 to a heavy one. confirmed · 8
- X (2023): about 1,500 posts per request from hundreds of millions, on average half from accounts you follow. confirmed · 13
- LinkedIn (2025): about 2,000 suggested posts from outside your network, out of hundreds of millions. confirmed · 15
The main way to shortlist is similarity: you and each post become lists of numbers, and the system fetches the posts closest to you. confirmed · 1, 8, 14, 15 LinkedIn already filters here: no posts its safety checks rejected, from people you blocked, in languages you don’t read, or already seen. confirmed · 15
Ranking predicts what you’ll do, then weighs each action
This is what most people mean by “the algorithm”. A heavier model estimates the chance you’ll take each of several actions on each post, and those estimates are combined into one score. confirmed · 4, 7, 8, 9, 14, 16
- TikTok predicts actions including liking, sharing, commenting, skipping, finishing, following and “Not interested”, then combines them into an overall score. confirmed · 4 It says watch time generally weighs most for many users, and that a factor’s weighting can change over time. confirmed · 5
- Instagram’s Feed predicts five main actions: spending a few seconds on a post, commenting, liking, sharing and tapping the profile photo. confirmed · 7 Reels leans on resharing, watching to the end, liking and opening the audio page. confirmed · 7
- YouTube’s 2016 ranker predicted expected watch time, because ranking by clicks promoted clickbait. confirmed · 1
- X’s 2026 code predicts about two dozen actions, from likes and replies to time spent on a post, mutes, blocks and reports. confirmed · 14
- LinkedIn’s production feed model (2024) predicts likes, comments, shares, votes, clicks and long time spent on a post. confirmed · 16
Why weights matter: you’d probably like one post, then scroll past. You’re less likely to like another, but likely to send it to a friend. If sharing weighs more, the second can win. inferred
Facebook adds its predictions “in a linear way”, counting each by what people say in surveys is meaningful. confirmed · 9 Instagram’s Explore uses a “value model” that subtracts the chance you tap “see less”. confirmed · 8 It says tuning the weights lets it explore trade-offs between engagement metrics. confirmed · 8 LinkedIn combines its predictions linearly. confirmed · 16 X’s code keeps its weights as adjustable settings, “to enable experimentation”. confirmed · 14
So the model learns the chances and the company sets what each action is worth: confirmed for X and Instagram’s Explore. confirmed · 8, 14 For TikTok, YouTube and LinkedIn it’s likely, since each describes combining signals, but unconfirmed. inferred
Only X prints its numbers. In its 2026 defaults, a predicted like is worth 0.5, a reply 5 and a copied link 20. confirmed · 14 The negatives: “not interested” is −43.2, block −31.2, mute −58.8 and report −234. confirmed · 14 These weights multiply predicted chances, not counts, so one report doesn’t literally cancel 468 likes. confirmed · 14 But at equal odds, a negative reaction costs far more than a like earns. confirmed · 14
Instagram, TikTok and YouTube use negative feedback such as “Not interested”, reports or dislikes, but publish no weights for it. confirmed · 2, 3, 7
Last, rules reshuffle the list for variety, freshness and safety
- Variety: TikTok swaps out top videos that are too similar, such as ones using the same sound. confirmed · 4 Instagram avoids runs of posts from one person, or of suggested posts. confirmed · 7 Facebook varies content types so several videos don’t come in a row. confirmed · 9 X shrinks the score of each extra post from the same author. confirmed · 14
- Balance: in its 2026 defaults, X multiplies the score of posts from accounts you don’t follow by 0.75, and lifts authors with few impressions. confirmed · 14
- Safety and quality: Instagram avoids recommending posts that break its Recommendation Guidelines. confirmed · 7 It shows fewer reels that are watermarked, low-resolution, mostly text or already posted on Instagram. confirmed · 7 TikTok skips duplicates, spam and videos you’ve already seen. confirmed · 3 YouTube demotes “borderline” videos. confirmed · 2 X’s visibility filters decide whether a post can be shown at all. confirmed · 14
- Freshness: X drops posts older than 48 hours before scoring. confirmed · 14 YouTube’s 2016 model learned a taste for fresh videos from the age of its training examples, not from a fixed time penalty. confirmed · 1
- Mixing: X blends posts with ads, follow suggestions and prompts. confirmed · 13, 14 Instagram’s Feed mixes accounts you follow, recommendations and ads. confirmed · 7
No platform here publishes a time-decay rate or a fixed share of recommended posts.
What people do next becomes training data, sometimes within minutes
- YouTube (2016) learned from videos people were shown but didn’t click, and demoted a recently shown video you didn’t watch on your next page load. confirmed · 1
- LinkedIn trains its shortlist model partly on posts people saw and ignored. confirmed · 15 It refreshes post and member data within 30 minutes of new activity. confirmed · 15
- ByteDance’s Monolith trains on live actions and updates the live model every few minutes. confirmed · 6 In its tests, shorter intervals predicted better. confirmed · 6
- Meta says its very large models can be updated within minutes and refine their picture of each person after reactions like watching a whole video. confirmed · 10
- X’s 2023 ranker was “continuously trained on Tweet interactions”. confirmed · 13 TikTok says a new user’s first likes, comments and replays start the system learning their tastes. confirmed · 3
- YouTube asks viewers to rate videos and Instagram asks whether a reel was worth their time, and both learn from the answers. confirmed · 2, 7
TikTok’s pages don’t say how fast its models update. Applying Monolith’s few-minute cycle to TikTok is my inference. inferred
What I’d take from this for your posts
These are my deductions, not instructions from the platforms.
- Make the subject obvious to a machine: say it, show it, write it. The first stage reads text, images and sound, and on LinkedIn the words are all the shortlist model sees. inferred · 10, 14, 15
- Build for the action each platform names, not just likes: full watches and reshares on Reels, watch time on TikTok and YouTube, replies and shares on X. inferred · 1, 5, 7, 14
- Avoid the reactions that subtract. On X, they weigh 62 to 468 times as much as a like. confirmed · 14 Other platforms publish no sizes, so I’d treat a hook that wins the tap but loses the viewer as a bad trade everywhere. inferred
- Don’t read a flop as your followers’ verdict. Most of what people see in Reels and Explore comes from accounts they don’t follow. confirmed · 7 So a flop says more about the post than about your account. inferred On X, which discounts accounts a viewer doesn’t follow, followers matter more. inferred · 14
- Post originals: Instagram shows fewer watermarked, bordered or already-posted reels, and TikTok skips duplicates, so these are the cheapest fixes you have. inferred · 3, 7
- Judge a post by who reacted and how, not its first-hour total. Each reaction feeds the next predictions, sometimes within minutes, so who engages early likely shapes who sees it next. inferred
What nobody outside knows, and four beliefs I checked
I watch videos all day and still can’t see TikTok’s weights. Nobody outside can. Every source here is a dated snapshot of systems that keep changing. confirmed · 1, 5, 7 Only X publishes weights, and it can change them. confirmed · 14 TikTok describes steps, not models. confirmed · 4 YouTube’s detailed paper is from 2016. confirmed · 1 Instagram and Facebook give no weights. confirmed · 7, 9 LinkedIn’s boldest ranking model is pre-production. confirmed · 17
- “There is one algorithm.” Contradicted. Instagram says each part of the app uses its own. confirmed · 7 X’s code chains separate services, models and filters. confirmed · 12, 14
- “Follower count decides reach.” Contradicted for TikTok in 2020: it wasn’t a direct factor, though bigger accounts are likely to get more views through their followers. confirmed · 3 It is a signal for Instagram Reels. confirmed · 7 X discounts posts from accounts a viewer doesn’t follow. confirmed · 14
- “A negative reaction costs more than a like earns.” Confirmed for X. confirmed · 14 Everywhere else there’s no evidence either way, because no sizes are published.
- “Posts are tested on a small batch, and the first hour decides.” Half true. Instagram says that, for recommendations, each eligible post first goes to a small audience it thinks will enjoy it, and the best performers go to wider groups. confirmed · 18 TikTok and X rank each viewer’s feed by predicted reactions, as YouTube’s 2016 paper did. confirmed · 1, 4, 14 So on each of them, a post’s first audience is mostly picked by prediction, not at random. inferred No published paper or official page gives a fixed window, and Instagram does treat how quickly people engage with a post as a signal. confirmed · 7 (see the myths page)
Questions people ask
How do social media algorithms work?
Do likes matter to the algorithm?
Does follower count affect reach?
Do platforms test new posts on a small audience first?
Is the algorithm the same on every platform?
Is shadowbanning real?
Sources
- Covington, P., Adams, J., Sargin, E. (2016). Deep Neural Networks for YouTube Recommendations. Proceedings of the 10th ACM Conference on Recommender Systems (RecSys ’16). Google. doi.org · paper · productionThe shortlist (candidate generation) and ranking models behind YouTube recommendations in 2016; ten years old, so the details are historical.
- Goodrow, C. (2021, September 15). On YouTube’s recommendation system. YouTube Official Blog. YouTube. blog.youtube · official page · official statementSignals YouTube uses (clicks, watch time, surveys, shares, likes, dislikes) and demotion of borderline videos; no model details or weights.
- TikTok (2020, June 18). How TikTok recommends videos #ForYou. TikTok Newsroom. newsroom.tiktok.com · official page · official statementSignals, the weighting principle, the follower-count statement and variety and eligibility rules as of 2020; no model details.
- TikTok (undated; read September 2026). Introduction to the TikTok recommendation system. TikTok Transparency Center. tiktok.com · official page · official statementFive steps: selecting videos, predicting actions, ranking by a combined score, a similarity check and rules; no weights or model details.
- TikTok (undated; read September 2026). How TikTok recommends content. TikTok Support. support.tiktok.com · official page · official statementCurrent list of factors per feed; says watch time generally weighs most for many users and that weighting changes over time.
- Liu, Z., Zou, L., Zou, X., Wang, C., Zhang, B., Tang, D., Zhu, B., Zhu, Y., Wu, P., Wang, K., Cheng, Y. (2022). Monolith: Real Time Recommendation System With Collisionless Embedding Table. ORSUM workshop at ACM RecSys 2022; arXiv:2209.07663. ByteDance. arxiv.org · paper · productionByteDance’s real-time training system, which the paper says shipped in BytePlus Recommend; it does not name TikTok or describe the For You model.
- Mosseri, A. (2023, May 31). Instagram Ranking Explained. Instagram Blog. Instagram (Meta). about.instagram.com · official page · official statementSignals, predicted actions and rules for Feed, Stories, Explore and Reels; names actions but gives no weights.
- Vorotilov, V., Shugaepov, I. (2023, August 9). Scaling the Instagram Explore recommendations system. Engineering at Meta. Meta. engineering.fb.com · official page · productionExplore’s four stages and its weighted value model, including a subtracted “see less” prediction; no weight values; Explore only.
- Lada, A., Wang, M., Yan, T. (2021, January 26). How machine learning powers Facebook’s News Feed ranking algorithm. Engineering at Meta. Facebook (Meta). engineering.fb.com · official page · productionNews Feed’s ranking passes and the linear combination of predictions, weighted by what people say in surveys; 2021, no weight values.
- Meta AI (2023, June 29). The AI behind unconnected content recommendations on Facebook and Instagram. Meta AI Blog. Meta. ai.meta.com · official page · productionContent understanding, the shortlist funnel and minute-level model updates for recommended posts; high level, no numbers on weights.
- Naumov, M., Mudigere, D., Shi, H.-J. M., Huang, J., Sundaraman, N., Park, J., et al. (2019). Deep Learning Recommendation Model for Personalization and Recommendation Systems. arXiv:1906.00091. Facebook AI. arxiv.org · paper · researchA published model design with open-source code, tested on public ad-click data; it does not describe any live Facebook or Instagram feed.
- Twitter (2023). the-algorithm: X’s Recommendation Algorithm (repository README). GitHub. github.com · open-source code · productionThe services behind the 2023 For You timeline, including candidate sources, rankers and visibility filters; a 2023 snapshot.
- Twitter Engineering (2023). Twitter’s Recommendation Algorithm. X Engineering Blog. blog.x.com · official page · productionThe 2023 pipeline: about 1,500 candidates, the in-network and out-of-network split, a continuously trained ranker and final mixing.
- X / xAI (2026). x-algorithm: the For You feed algorithm (README and home-mixer/params/param.rs; production default values identical in the 12 August and 18 September 2026 syncs). GitHub. github.com · open-source code · productionCurrent For You pipeline and the default action weights; weights are tunable settings that can change, and some rules are unpublished.
- Ramanujam, S. S., Alonso, A., Kataria, S., Dangi, S., Gupta, A., Tiwana, B. S., et al. (2025). Large Scale Retrieval for the LinkedIn Feed using Causal Language Models. arXiv:2510.14223. LinkedIn. arxiv.org · paper · productionHow LinkedIn’s feed shortlists suggested posts from outside your network, tested in a live A/B test; covers the shortlist, not the ranker.
- Borisyuk, F., Zhou, M., Song, Q., Zhu, S., Tiwana, B., et al. (2024). LiRank: Industrial Large Scale Ranking Models at LinkedIn. arXiv:2402.06859. LinkedIn. arxiv.org · paper · productionLinkedIn’s production ranking models, including a feed model that predicts several actions and combines them linearly; no weight values.
- Firooz, H., Sanjabi, M., et al., 360Brew Team (2025). 360Brew: A Decoder-only Foundation Model for Personalized Ranking and Recommendation. arXiv:2501.16450. LinkedIn. arxiv.org · paper · researchA 150-billion-parameter ranking model that reads profiles and activity as text; its authors call it pre-production.
- Instagram for Creators (2024). Helping Creators Find New Audiences. Instagram, 30 Apr 2024. creators.instagram.com · official page · official statementSmall-audience-first ranking of eligible content, originality and aggregator rules; announced as rolling out over the following months.
This is the plain-language version. The full research — every stage written out formally — is Jean-Paul Azzi's, and it's becoming a book. Every claim here points at the platform's own paper, page or code; nothing comes from marketing blogs.