Meta details how it retrieves older activity to rank ads
Meta described its Long Memory Search Modeling system on December 4, explaining how its ad-ranking models pull in relevant older activity without processing a person’s entire engagement history for every request.

The engineering write-up is new; Meta says the system has been running in major ad-ranking models since 2025.
The approach borrows from retrieval-augmented generation, which searches a set of documents for passages relevant to a question. Here, an ad request is the query and snippets of eligible engagement history stand in for documents. Meta groups days into weekly units, compresses the representations and indexes them in advance. When a request arrives, the system looks for relevant entries and downranks near-duplicates so that a burst of recent activity does not crowd out everything older.
Meta uses the retrieved information in two places: as additional input to live ranking decisions, and as older examples replayed when training ranking models. The company reports a 1% lift in click-through rate on Facebook Feed and Reels ads. That figure comes from Meta’s own production reporting, not an independent evaluation.
The distinction matters for anyone building systems that use long histories. Keeping more data does not require feeding all of it to a model on every request. Meta’s write-up shows how selecting a small, varied set of older signals can make that history usable under a real-time latency constraint.
How this article was made
This article was generated by Guth News AI systems from the sources cited below and published automatically. No human editor reviewed the article before its initial publication. Guth News is responsible for the content.
- Published
- Last updated
- Not updated
- Sources
- 1 cited below
- Editorial status
- AI-generated; no human prepublication review
- Corrections
- None
See an error? Report an error or legal concern.
Sources and citations
Revision history
Published . No corrections recorded.