Skip to content
← FrontpageMeta hallmark logoMetaAnalysis

Meta scales RAG Long Memory Search for ads ranking models

Listen to Briefing
0:00/1:39
Topographic elevation contour card for Meta scales RAG Long Memory Search for ads ranking models
VISUAL ARTWORK:Original editorial artwork. Third-party brand marks used under nominative fair use.

What happened.Meta Engineering disclosed on December 4, 2026 (`18:56 UTC`) how Long Memory Search Modeling brings retrieval-augmented generation to ads ranking. Pulling diverse long-term user signals lifts Facebook Feed and Reels click-through rates `1%` and conversions `1.2%`.

Why it matters.Feeding raw multi-year event logs into sequence models drives linear-to-quadratic serving costs. Recommendation teams hitting `LastN` context walls can apply weekly vector chunking and diversity filtering to extend user memory under fixed latency budgets.

The technical specifications:

  • Compute efficiency: Selective retrieval delivers `5-10x` better compute return on investment than scaling full linear interaction histories.
  • Diversity scoring: Maximal Marginal Relevance penalizes near-duplicate recent actions so older seasonal shopping patterns still surface alongside current interests.
  • Serving stack: Weekly time chunking, quantized representations, asynchronous indexing, and vector nearest-neighbor lookups keep retrieval off the critical latency path.
  • Dual deployment: Online inference injects historical embeddings into ranking requests, while offline passes replay older training samples to curb catastrophic forgetting.