ai-today.org
Menu

Meta Engineering · Dec 4, 2026

Meta Long Memory Search Modeling: How Meta Is Scaling Extended History Context for Ads Recommendation Modeling

Meta’s previous approach kept a fixed window of recent events, which could miss seasonal shopping and changing interests. Processing full histories strains real-time ranking, and training on rolling windows can erase older patterns. Long

Read moreShow less about Meta Long Memory Search Modeling: How Meta Is Scaling Extended History Context for Ads Recommendation Modeling

Meta’s previous approach kept a fixed window of recent events, which could miss seasonal shopping and changing interests. Processing full histories strains real-time ranking, and training on rolling windows can erase older patterns.

Long Memory Search borrows from retrieval-augmented generation. Each ad request queries an index of eligible past engagement, and the system favors relevant, varied signals so repeated recent activity leaves room for older interests.

Weekly grouping, compact representations, fast vector search and advance indexing keep retrieval within the time available for ranking ads.

Ranking models use retrieved history when serving ads. During training, they replay older examples to retain patterns without reprocessing someone’s entire history.

Deployed in major ranking models since 2025, the system reportedly lifted ad click-through rates by 1% on Facebook Feed and Reels and conversion rates by 1.2%, with 5–10 times the compute efficiency of linear history scaling.

Meta plans to feed condensed histories directly into sequence models and extend coverage to seasonal patterns that recur year over year.

Read at Meta Engineering (opens in a new tab)

Share