Topics · How it works
Recommendation model training
Contents
In Meta’s research, recommendation model training means learning patterns from content and people’s activity so a computer model can predict which items to recommend next.123 Meta’s research describes the scale of this work: recommendation models can learn from petabytes of data—extremely large datasets—and serve billions of people each day.2 In August 2026, Meta’s engineering team described making training more efficient for its GEM ads recommendation model, which supports recommendations across Instagram and Facebook, by tailoring training methods to recommendation workloads and spreading the work across thousands of specialized computer processors.1
Learning from whole recommendation requests
Meta research and patents. These may not describe how Instagram works today.
To make training more efficient, Meta’s request-only research examines recommendation model training that groups together all the items shown in response to one person’s request, rather than treating each item as a separate example.2 Meta’s research reports that this grouping reduces repeated storage and computation, making it practical to learn from more data and use more complex models to capture people’s interests.2 Meta’s research treats the organization of examples, the system that processes them and the model’s design as parts of one approach, reporting improvements in recommendation quality.2
Getting training data to the models
Meta research and patents. These may not describe how Instagram works today.
For the delivery of training examples, Meta’s data-ingestion research examines how storing, preparing and delivering examples can limit the amount and speed of recommendation model training.3 Meta’s research describes separating data storage from a service that reads and transforms the examples, and planning computing, network and storage capacity around measurements of datasets and their preparation requirements.3 Meta’s research also describes copying datasets to the locations where training runs and identifies an opportunity for a system that assigns training jobs across regions to use capacity more efficiently.3
Reducing computation without losing model quality
Meta research and patents. These may not describe how Instagram works today.
For the computation itself, Meta’s engineering team describes reducing the computing cost of training GEM, its ads recommendation model, by using calculations that represent numbers with less precision.1 Meta’s engineering team reports that unusually large values and errors introduced by rounding can make these calculations unreliable, so its methods spread out extreme values and use randomized rounding to avoid a consistent rounding bias.1 Meta’s engineering team also describes keeping higher precision for selected training calculations and sensitive later parts of the model when lower precision would not meet its quality targets.1
Sharing learning across recommendation surfaces
Meta research and patents. These may not describe how Instagram works today.
To reuse learning across recommendation surfaces, Meta’s foundation-expert research examines how improvements in one large recommendation model transfer to smaller models serving different places where recommendations appear.4 Meta’s research describes the large model producing a numerical representation of a person’s interest in a candidate item from their interaction history, which smaller models use alongside their own information.4 Meta’s research also tests whether its representations help with tasks the large model was not explicitly trained to perform.4
Keeping training and live predictions consistent
Meta research and patents. These may not describe how Instagram works today.
When trained models make live predictions, Meta’s memory-layer research examines a mismatch in recommendation systems between the numerical descriptions of items used during training and those saved for making fast, live predictions.5 Meta’s research describes training a model together with its internal store of item descriptions, so training writes the information that live predictions later read.5 Meta’s research reports deployment on Instagram Reels, with fresher item descriptions and prediction coverage rising from 96% to 100% because the design also supplies predictions for items not yet stored, including newly created Reels.5 Meta’s research also reports replacing three separate paths for passing updates from training to live prediction with one self-contained process.5
See also
References
- 1GEM Training: How Meta Doubled the Efficiency of Its LLM-Scale Ads Foundation Model
- 2Request-Only Optimization for Recommendation Systems
- 3Understanding Data Storage and Ingestion for Large-Scale Deep Recommendation Model Training
- 4Realizing Scaling Laws in Recommender Systems: A Foundation-Expert Paradigm for Hyperscale Model Deployment
- 5Memory Layer: Train the In-Model Cache for Recommendation Models