Skip to content
AI.info

The Pulse

Meta says longer-history ads models lifted click-through rate by 1%

Meta says a retrieval system using older engagement history lifted ad click-through rates on Facebook Feed and Reels by 1%. The company has deployed the approach in major ads ranking models since 2025.

Meta says longer-history ads models lifted click-through rate by 1%

Using selected pieces of older engagement history lifted ad click-through rates on Facebook Feed and Reels by 1%, Meta says. The company also reported a 1.2% lift in conversion rate and said the approach was 5–10 times more compute-efficient than linear history scaling.

Source engineering.fb.com

The company described the approach, called Meta Long Memory Search Modeling, in an engineering post on December 4. The system has been deployed in production for major ads ranking models since 2025.

Searching beyond recent activity

The technique adapts retrieval-augmented generation, or RAG, from large language models to ad recommendations. Rather than processing an entire history for each decision, it indexes eligible engagement history and retrieves a smaller selection relevant to an ad request.

The default approach, called LastN, keeps only the last N events or days for ad recommendations. Meta says longer histories can contain patterns, including seasonal shopping habits and evolving interests, that a short window misses. Storing, serving and processing full histories, however, carries costs that grow linearly to quadratically with their length, which real-time ranking cannot afford.

The search approach treats engagement history as a collection of documents and each ad request as a query. The query can encode signals including recency, user cohort, ad category and interest topics.

Eligible history is organized into retrievable units across time and topic, with each unit summarizing engagement from one data source over a defined period. A retrieval model scores those entries against the query. Retrieved entries then provide additional context to a ranking model as embeddings, training examples or events for user sequence models and GEM.

Picking varied signals

To balance relevance and variety, the system uses a method called Maximal Marginal Relevance. It scores a candidate against current interests and the ad being ranked, while also considering how different the candidate is from entries already selected.

A candidate that duplicates an existing selection is penalized even if it is relevant on its own. Meta says the method can represent a recent interest, a recurring interest and a longer consideration cycle instead of repeating the same interest.

Keeping retrieval within the time available for ad ranking requires several infrastructure choices. Meta groups consecutive days into weekly units and quantizes learned representations into compact numeric formats. History is stored in a vector database for nearest-neighbor search, while indexing and other preparation take place before a request arrives.

Training and future work

The shared pipeline supports applications at different stages of ad ranking. During an online ranking request, it can retrieve historical embeddings as additional features. During training, it can retrieve older examples and replay them in a second training pass to counter the loss of older patterns as models train on rolling windows of recent data.

The company says its production work also achieved better normalized entropy in click-through rate and conversion rate models than linear history scaling. Normalized entropy is an offline measure of model performance for which lower is better.

Meta plans to bring long history directly into user sequence models, beyond the embedding and training-data applications. It describes condensing histories into fixed-length sequences at both raw-event and learned-representation levels as a way to do that. The company also plans to improve model and infrastructure design, scale to longer histories and capture seasonal patterns that recur year over year.

Meta on AI.info

  • Company: Meta — Meta develops AI research and foundation models, including Llama, and offers Meta AI across its apps and devices.

Sources

  1. Original source · Blog post Engineering at Meta “Meta Long Memory Search Modeling: How Meta Is Scaling Extended History Context for Ads Recommendation Modeling” engineering.fb.com

Companies in this story

Related stories

Explore

More articles