WHAT IS THIS?
You have extremely useful material in your hands – a technical analysis of Instagram* algorithms based on publications from the Engineering at Meta* blog, Meta* AI Research notes, scientific papers, and patents by the Meta* and Instagram* engineering team. This document is based strictly on facts about the machine learning systems underlying content processing on Instagram*.
HOW INSTAGRAM* WORKS
Today, Instagram* is not just an app for photos and videos. It is a massive technological ecosystem where every screen, button, and feed is driven by dozens of machine learning algorithms — over a thousand in total. The Main Feed, Reels, Explore — everything is controlled by ML systems that decide in real-time exactly what to show each user.
What happens to a video after upload
When you upload a video, the content is converted into a vector representation, and it partially happens right on the device (if processing power allows). The video is broken down into hundreds of features: duration, dynamics, colors, objects, faces, music, individual sounds, text, and even text fonts. All this is handled by CV (Computer Vision), OCR (Optical Character Recognition), and audio models.
- CV models, such as Detectron2, recognize who and what is in the frame: people, objects, scenes, even emotions.
- Audio models listen to music, speech, and even isolate trending sounds.
- OCR system, based on Rosetta technology, reads text directly from the video and matches text with context.
As a result, each video gets a giant Parameter Map – a digital description of exactly what is in it.
The content creator has a rating, an author score. A set of specific ML systems scores the author: posting frequency, how well their content retains the audience, whether there were strikes for rule violations. If there's a successful streak — new content gets a boost; if the content fails to retain viewers — the algorithm cuts reach. This works as "points" calculated using specific formulas.
The next stage in video processing is predicting success. Here, hundreds of machine learning models step in, watch the video, and place a bet on whether it will be interesting. And they don’t just predict an abstract thought of "people will like it"; they create a specific prediction map — 67% of viewers will watch it to the end, here they will skip, at this moment they will like it, and this video won't be saved at all.
How does prediction work and why does ML know this? That's how machine learning works! It’s Deep Learning – inside is a dataset of billions of content pieces with detailed parameter maps and analysis of individual user behavior, which allows predicting future behavior based on all this information. It’s mathematics, statistics, and machine learning.
How videos end up in your feed
When you open Instagram*, a selection of videos is already prepared for you — not random ones, but specifically chosen for you. Every user is unique. You have a digital profile — an "interest vector" formed from all your actions: what you watch to the end, what you rewatch, what you scroll past.
Every video is described by data. To the algorithm, it’s not just "a sports video", but a set of numerical features: what’s in the frame, what music is playing, is there text, what's the editing style. Algorithms look for matches. The system compares your profile against millions of videos and finds the closest matches. This is exactly how video finds you in real time. All this magic happens in milliseconds — as soon as you swipe, the model is already predicting which next video gives the highest probability that you will watch it to the end.
The first stage of the funnel is Retrieval — selecting candidates. When you open Reels, the system shows non-random videos. You have an interest vector — a digital description of your behavior. Example: "I watch videos about Moscow to the end, rewatch memes, quickly skip memes about exes." Every video also has a set of vectors, for example, "sports + fast editing + text at the beginning + male voice."
To the algorithm, every user and every video is not a "person" or a "reel," but a point in a multidimensional space. This point is described by a numerical vector. For example:
- User:[0.72 (sports), 0.03 (dance), 0.65 (tech), 0.12 (cats), 0.88 (humor)...]
- Video:[0.70 (sports), 0.02 (dance), 0.69 (tech), 0.10 (cats), 0.85 (humor)...]
And the user’s vector is built from their behavior: which videos they finish, where they like, what topics they comment on, where they linger even without taking action. And most importantly — the vector is dynamic: every skip, like, or full watch instantly slightly changes the profile. The algorithm looks for matches. If the vectors are similar (high cosine similarity), then the probability that the person will get hooked on the reel is higher. That's a match. Out of millions of videos, a few thousand candidates remain.
The next stage is Ranking – the first ranking layer. Now, these thousands of candidates for display are evaluated by hundreds of ML models. Their task is to predict behavior on each video: will watch to the end, rewatch, like, write a comment, share, subscribe to the author.
Then, from these probabilities, an overall score is compiled — essentially, the expected value of the impression:Score = w₁*P_watchthrough + w₂*P_rewatch + w₃*P_follow + w₄*P_share + w₅*P_comment + w₆*P_like
Every action has its weight. Subscribing and rewatching are the strongest signals, a like is the minimal one. The result is a forecast of your behavior for a specific video.
The final stage before showing the video is Re-ranking – the second layer. Additional rules apply here:
- Diversity (so you aren't shown 10 identical memes in a row).
- Freshness (a new reel might get a reach boost).
- Author rating (stable authors with high engagement get a boost).
- Safety and policy restrictions (e.g., reach is reduced for a TikTok logo).
Prediction does not equal truth. Important: all these calculations are a forecast, not a guarantee. Therefore, every new video is first shown to a small test audience. They look at retention: did they watch to the end, are there rewatches. They check reactions: comments, shares, follows. If metrics are above average, the video is scaled.
BUZZWORDS GLOSSARY
- ML (Machine Learning) – a branch of AI where computers learn to perform tasks, recognize patterns, and make predictions based on data without direct programming.
- Deep Learning — a type of machine learning using multi-layer neural networks that self-learn on large datasets.
- CV (Computer Vision) – a field of AI that allows computers to see, analyze, and understand visual information.
- OCR (Optical Character Recognition) — technology that converts images containing text into machine-readable text.
- ASR (Automatic Speech Recognition) – technology that translates spoken language into text.
What are the strongest signs for algorithms?
ML Ranking predicts the probabilities of actions based on historical data and compiles the overall score of the reel. Strong actions pull it up; light ones, conversely, have almost no effect.
The weight of actions looks roughly like this: A follow is approximately equal to a rewatch and is stronger than a share (to story or DM), which is stronger than a comment, which is stronger than a like. Why are follow and rewatch so strong? Because the algorithm considers that if a person watched a reel 2+ times, the content is valuable right now. A save means it will be useful in the future. These are strong actions.
Virality begins with the following action coefficients on the first 500–1500 impressions:
- watch-through rate (15–25s videos have higher completion rates): 60–70%+
- rewatch rate: 10–20%+
- follow rate: 0.3–0.8%+
- comments: 1–2%+
- shares: 2–4%+
Early drop (when the video is skipped) is the most toxic signal for the video's completion rate metric. If 20–30% of viewers skip the reel in the first 0-3 seconds, the model starts lowering the score (rating) of the video. You should aim for a drop rate of less than 20% in the first 0-3 seconds. If it's higher — the hook needs to be changed.
There is a myth that you need to upload a video 100 or more times. In reality, it is exactly the opposite. The final re-ranking layer of the algorithm monitors diversity. Duplicates and similar reels compete with each other — 1-2 will be shown, the rest will get a zero score and will not make it to the feed. Re-uploads lower the author score.
The Integrity algorithm triggers on the following topics:
- Explicit adult / 18+ undertones
- Promises of guaranteed earnings
- Open aggression / hate speech / insults
- Using someone else's reels with watermarks (avoid competitor logos)
- Clickbait, misleading content
When you upload a reel, it doesn’t immediately fall into everyone's feed; it goes into a sandbox. The algorithm takes a small audience, usually from 100 to 500 people. The goal is to verify if real metrics match the ML forecast. There is a Trial Mode, where the video is published not to the feed, but to an external audience (non-followers). Signals come only from the external group and do not affect the author's final score.
What makes up the author's rating and what does it affect?
Fact: An author's account has its own score, rating, or health index. Meta* directly confirms this in several documents. And how healthy the account is directly affects the promotion of the content.
What can the account rating (author score) be "penalized" for? Violations of Community Standards: hate, violence, adult content, fakes, manipulation. Such accounts get fewer impressions in recommendations.
Meta* in "Journey to 1000 Models" directly describes: stable authors get a boost, problematic ones — a minus. Posting frequency, average engagement, number of negative signals, and strikes matter. If an author gets reported often ("Hide", "Not interested", "Report"), this lowers their "health".
What happens if engagement is lower than the prediction in reality? If the ML forecast was "the video will collect reactions," but in reality, they did not come, the algorithm lowers the content's rating.
How to pass the Retrieval filter
The mission of retrieval: to quickly select a few thousand from millions of videos similar to your tastes based on embeddings (vector representations). If the algorithm doesn't recognize the topic/genre — the video won't even become a candidate.
CV models read faces/objects/scenes/motion. Audio models listen to voice/music/rhythm. OCR reads the text in the frame. Let the algorithms understand what the video is about. In the first 3–5 seconds, show a face/key object/genre context. Provide a short voice phrase and a short phrase on the screen about the topic.
Visual diversity is important. Models see frame dynamics and clear objects. A static picture = risk of early drop. Different shots increase the genre signal, improve retrieval-match, and hold attention.
When designing a video, consider changing shots every 2–4 seconds. Visualization on the beats/semantic points. Do not hide your face and key object.
Subtitles are needed not for beauty, but for the text recognition algorithm. Mistakes include microscopic or unreadable fonts, abstract phrases. Readable, synchronous text enhances topic understanding.
Audio is no less important than the picture. The audio model creates a genre embedding. Text + speech recognition = semantic match: what you say and what you show.
ALGORITHM-FIRST REEL CHECKLIST
Traditional content, especially for beginner creators, must be designed with the algorithm's characteristics in mind. The author's task is to create a piece of content that, when analyzed by the algorithm, makes it believe – this video will go viral.


If the checklist is 90% complete, the probability that the video will enter "wide distribution" and become viral is extremely high. And this is exactly what we want to achieve.
Sources (Meta* Documentation)
- Scaling the Instagram* Explore recommendations system
- Journey to 1000 models: Scaling Instagram’s* recommendation system
- How Instagram* suggests new content
- Faiss: A library for efficient similarity search
- Inside Facebook’s* video delivery system
- What is the Instagram* Feed?
- Reels Chaining
- Explore
- Rosetta: Large-scale text recognition in images
- DLRM: Deep Learning Recommendation Model
- How machine learning powers Facebook’s* News Feed ranking algorithm
- Matching and ranking content items
- The AI behind unconnected content recommendations on Facebook* and Instagram*
- Reels Ranking Signals
- On the Value of Diversified Recommendations
- A New Ranking Framework for Better Notification Quality on Instagram*
- Privacy within Meta’s* Integrity Systems
- Community Standards
- Brand Safety