Research

Meta explains new method that searches users' long history to improve ad recommendations

Meta has introduced Long Memory Search, a method that lets its ad ranking models select and use the relevant parts of users' past interactions. The company reported a 1% increase in click-through rate on Facebook Feed and Reels.

Meta logo. Logos are registered trademarks of their owners.

Meta explained on its engineering blog on December 4, 2026, the Long Memory Search Modeling method it developed to take advantage of users’ long interaction histories in ad recommendation systems.

The current approach only lets the model see the last N events or the last few days. Extending the history, however, makes it harder to identify which records matter, raises storage and processing costs, and causes older information to be forgotten in sliding training windows.

Meta addresses this problem by adapting the idea of retrieval-augmented generation (RAG), used in large language models. Interaction history is organized as a searchable document archive, each ad request is treated as a query, and a retriever feeds the ranking model only the relevant and non-redundant historical signals. The selection uses Maximal Marginal Relevance (MMR), a method that balances relevance against diversity.

History is split into weekly units, stored as compressed representations and retrieved via approximate nearest-neighbor search. Preparation runs asynchronously, outside the latency-sensitive path. The method is used both at inference, by providing past embeddings as additional features, and in training, by replaying older training examples in a second pass.

Meta says the method increased click-through rate by 1% on Facebook Feed and Reels ads. Its summary bullets also mention a 1.2% increase in conversion rate. The company states the method is 5-10 times more computationally efficient than linearly extending the history.

Source

This article was compiled with AI assistance from the source above and translated from our Turkish edition.
How we make our stories Spotted an error? Let us know.