Key Points
- Meta says its Long Memory Search Modeling delivered a 1% click-through rate lift on Facebook Feed and Reels.
- The system borrows retrieval-augmented generation from large language models, treating a user's engagement history as a searchable document corpus.
- Meta says the approach is 5-10x more efficient on compute than simply scaling history linearly.
The latest:
A 1% lift in click-through rate on Facebook Feed and Reels and a 1.2% lift in conversion rate are what Meta says its Long Memory Search Modeling has produced in production. The company said in an engineering post dated December 4, 2026 that the system has been deployed across major ads ranking models since 2025, and that it delivers 5-10x better modeling ROI than linear history scaling.
Details:
- The technique: According to the post by Xiaoyu Chen, Ruichen Wang, Xiao Yang, Pan Chen, Matt Iannone and Min Yun, the system adapts retrieval-augmented generation from large language models. Each ad request becomes a query, a user’s engagement history becomes an indexed corpus, and a retrieval model pulls a compact subset of relevant past signals into the ranking model’s context.
- The problem named: Meta says the default approach, LastN, keeps only the last N events or days. The company calls it simple and good at filtering noise, but says it discards relevant history and applies the same cutoff to everyone, missing long-term patterns such as seasonal shopping habits and evolving interests.
- Three obstacles: The post lists three interrelated challenges to scaling history: identifying which interactions actually matter, resource constraints — Meta says the cost of storing and processing full histories grows linearly to quadratically with length — and catastrophic forgetting, where models trained on rolling windows of recent data gradually overwrite older patterns.
- Relevance versus repetition: Meta says the closest matches to a request are often near-copies of the same recent interest, adding little information while crowding out older signals. It uses Maximal Marginal Relevance, scoring each candidate on fit with the current decision and on how different it is from what has already been selected.
- The infrastructure levers: Four design choices keep the system inside the latency budget, according to the post: grouping consecutive days into weekly chunks, quantizing learned representations into compact numeric formats, nearest-neighbor search over a vector index instead of scanning full histories, and asynchronous indexing done before a request arrives.
- Two applications: At inference time, Meta says it retrieves historical embeddings that ranking models use as added features. At training time, it retrieves older training examples and replays them in a second pass to counter forgetting. The company says the two reinforce each other because they share infrastructure.
- The metrics: Meta says the approach achieves better NE in both CTR and CVR models compared with linear history scaling. The post defines NE as Normalized Entropy, an offline measure of model performance where lower is better, and says serving overhead added end-to-end is minimal.
- What is not specified: The post does not state how long the extended histories run, what baseline the 1% and 1.2% lifts are measured against, or which ranking models received the deployment. Meta says only that it has been in production for major ads ranking models since 2025.
- The roadmap: Meta says it plans to bring long history directly into user sequence models by condensing histories into fixed-length sequences at raw-event and latent-representation levels, improve model-infrastructure co-design, scale to longer histories, and capture seasonal patterns that recur year over year.
Background:
Meta frames the work as part of a broader scaling effort in ads AI that runs from sequence learning to foundation models such as GEM, which the company says is trained at LLM scale. Retrieved entries can be fed to GEM and user sequence models as embeddings, training examples or events.
Between the lines:
The pitch is aimed at the recommender-systems field as much as at advertisers. Meta argues its own stated obstacle — cost growing linearly to quadratically with history length — makes brute-force scaling unaffordable for real-time ranking, and presents selective retrieval as a third axis alongside bigger models and longer raw sequences. The claimed 5-10x efficiency gain is the argument’s load-bearing number.
What’s next
Watch whether Meta publishes results once long history is pushed into user sequence models directly, and whether the company discloses how far it can extend histories while holding serving overhead minimal.