
What happened
Meta detailed Long Memory Search Modeling, which adapts retrieval-augmented generation (RAG) techniques to ads recommendations. It has been in production since 2025, delivering a 1% lift in click-through rate on Facebook Feed and Reels and a 1.2% lift in conversion rate, while being 5-10x more efficient on compute than linear history scaling.
Why it matters
The approach lets Meta's ads models draw on longer-term signals like seasonal shopping habits and evolving interests that short history windows miss. For advertisers, that could mean ad opportunities aligned with consideration cycles that don't fit a recent window, though the measured lift is modest.
WHO IT HITSAdvertisers running campaigns on Facebook Feed and Reels may see better alignment with longer consideration cycles, while Meta's ads engineering teams gain a retrieval-based path to scale history without linear compute costs.
Ask the AI about this article. Questions and answers are published on this page
Meta's ads ranking has been scaling models and sequence learning toward foundation models like GEM trained at LLM scale, but larger models are limited by how much data history they can use. The default LastN approach keeps only the last N events or days, which is simple and filters noise but discards relevant history and applies the same cutoff to every person. Scaling history naively runs into three interrelated problems: identifying which interactions matter, resource costs that grow linearly to quadratically with history length, and catastrophic forgetting as models trained on rolling windows overwrite older patterns.
Meta's answer is to treat history scaling as a retrieval problem. Each ad request becomes a query encoding signals such as recency, user cohort, ad category, and interest topics; a person's eligible engagement history is organized into retrievable units across time and topic; a retrieval model scores entries against the query; and the retrieved entries become additional context for the ranking model. To avoid returning near-copies of the same recent interest, Meta uses Maximal Marginal Relevance to balance relevance with diversity. Infrastructure choices—time-based chunking into weekly units, quantized compact representations, nearest-neighbor search over a vector index, and asynchronous preparation—keep retrieval within the latency budget.
The system has been deployed into production for major ads ranking models since 2025. Meta says it achieves better Normalized Entropy in CTR and CVR models compared with linear history scaling, and combined with system improvements delivers 5-10x better modeling ROI while adding minimal end-to-end serving overhead. Looking ahead, Meta plans to bring long history directly into user sequence models by condensing histories into fixed-length sequences, improve model-infrastructure co-design, scale to even longer histories, and capture seasonal patterns that recur year over year.
Pick your industry and the AI tools you use, and get news related to your work every day.
By signing up you agree to the Terms of Service and Privacy Policy.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
UBS issued a buy call on Goldman Sachs stock following an AI-driven selloff, per Bloomberg.com

AMD announced that Qwen4 35B A3B, an AI model, can run on its Ryzen AI Max Agentic PCs and Radeon GPUs

JPMorgan warned that Fortune 500 companies are not the ones driving the AI boom, and flagged who is actually b…

Lam Research stock dropped following a downgrade and an AI revenue miss reported by StreetInsider

Goldman Sachs published a report arguing that AI capital spending will impact markets beyond tech in 2027

Procter & Gamble (NYSE:PG) is rolling out a Consumer-First Intelligence Engine, an AI and data platform applie…
