Meta Uses Searchable User Histories to Improve Ad Recommendations

Meta EngineeringMeta Engineering·Original
Operator Bae ChangHyun

Key point

Meta uses retrieval to add relevant long-term engagement to ad ranking, reporting a 1% click-through-rate lift on Facebook Feed and Reels.

1 / 6

Details

  • Meta’s Long Memory Search Modeling treats engagement history as searchable records and retrieves relevant past signals to extend ad-ranking context beyond the usual recent-history window.
  • The system adapts retrieval-augmented generation: each ad request acts as a query, and retrieval selects a compact, varied set of relevant history signals rather than simply using the latest events.
  • Meta says the system has been in production for major ads ranking models since 2025 and reports a 1% click-through-rate lift on Facebook Feed and Reels, a 1.2% conversion-rate lift, and 5-10x greater compute efficiency than linear history scaling.

Design approach

  • Queries can reflect recency, user cohort, ad category, and interest topics, while indexed entries summarize eligible engagement by source and time period.
  • Maximal Marginal Relevance balances relevance with diversity, reducing near-duplicate recent signals so older or recurring interests can also be included.

Infrastructure and applications

  • Weekly time-based chunks, compact quantized representations, vector search, and asynchronous preparation help limit storage and request-time overhead.
  • At ranking time, retrieved historical embeddings can be added as features; during training, older examples can be replayed to help counter forgetting.

Future work

  • Meta plans to bring longer histories directly into user sequence models by condensing raw events or learned representations into fixed-length sequences.
  • The team also plans to scale to longer histories, improve model-infrastructure co-design, and capture seasonal patterns that recur year over year.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.