The Instagram Algorithm Encyclopedia

Topics · How it works

Embedding-based retrieval

Contents
  1. Retrieval in Instagram Explore
  2. Building numerical representations from interactions
  3. Matching numerical representations at scale
  4. How it has changed
  5. See also
  6. References

Embedding-based retrieval is an initial search that uses similarities between numerical representations to narrow a large collection of items to relevant candidates before further ranking.12 Explore’s retrieval stage selects candidates relevant to a user’s interests, and early-stage ranking narrows them to a smaller set of promising candidates.1 Meta’s Transparency Center’s June 2026 account describes Explore’s retrieval and early-stage ranking.1

Retrieval in Instagram Explore

Instagram Explore gathers up to 1,500 photos and videos for consideration.1 Meta’s Transparency Center lists sourcing as one of several methods used to assemble this collection.1 The collection includes media from authors a person has engaged with and media similar to content that person has engaged with.1 Explore’s early scoring model calculates similarity using information about both the person and the media, producing a shortlist of 100 items.1

Building numerical representations from interactions

Meta research and patents. These may not describe how Instagram works today.

Meta’s patent describes one approach to building a person’s numerical representation from things they have previously interacted with.3 In Meta’s patented approach, those previously encountered things have numerical representations of their own, which are combined to construct the person’s representation.3 Meta’s patent specifies a weighted combination, meaning that some interactions count more than others when constructing that representation.3

Matching numerical representations at scale

Meta research and patents. These may not describe how Instagram works today.

Meta’s patent uses similarity measurements between a person’s representation and the representations of available items to put those items in order and select recommendations, which can include content or pages.3 Meta’s SilverTorch research explains the scale problem behind this kind of selection: scoring every available item at the time of a request is impractical, so an initial search narrows the collection to thousands of candidates.2 Meta’s research describes approximate nearest-neighbor search, a way to find likely close matches among numerical representations without scoring the entire collection individually.2 Meta’s research also describes filtering that removes candidates that do not meet requirements such as language or eligibility, meaning whether an item is allowed to be shown to that person.2

How it has changed

  1. 2025

    November

    Meta’s SilverTorch research introduced a unified model that combined item search, filtering and scoring instead of relying on separate services.2

  2. 2026

    May

    Meta’s engineering team reported that SilverTorch allowed more content to be considered within the same time limit.4

  3. July

    Meta’s research introduced a framework that jointly learns how to organize items for fast searching and how to score their relevance, reporting deployment for Instagram short-video recommendations and improvements in finding relevant candidates and .5

See also

References

  1. 1Instagram Explore AI systemMeta Transparency Center · Jun 22, 2026
  2. 2SilverTorch: A Unified Model-based System to Democratize Large-Scale Recommendation on GPUsMeta research paper · Nov 18, 2025
  3. 3Embeddings for feed and pagesMeta patent · Nov 24, 2020
  4. 4SilverTorch: Index as Model — A New Retrieval Paradigm for Recommendation SystemsEngineering at Meta · May 26, 2026
  5. 5OneShot: Index-in-Ranking with Neural Scoring for Large-Scale RetrievalMeta research paper · Jul 29, 2026

Follow changes to Embedding-based retrieval

Unofficial. Not affiliated with Instagram or Meta. AI answers from the sources shown.