{"slug": "meta-long-memory-search-modeling-how-meta-is-scaling-extended-history-context", "title": "Meta Long Memory Search Modeling: How Meta Is Scaling Extended History Context for Ads Recommendation Modeling", "summary": "Meta detailed Long Memory Search Modeling, an ML technique that adapts retrieval-augmented generation (RAG) methods from large language models to ads recommendation, using longer user engagement history as an indexed set to improve ad recommendations for users and advertisers. Meta published the engineering description on its Engineering at Meta blog on December 4, 2026. The approach extends how much historical context Meta's recommendation models can draw on by borrowing retrieval techniques developed for LLMs.", "body_md": "Meta Long Memory Search Modeling is Meta’s machine learning (ML) technology that leverages longer user engagement history to improve ads recommendations and deliver value to people and our advertisers. This modeling approach adapts retrieval-augmented generation (RAG) techniques from large language models (LLMs) for use in ads recommendations. By treating engagement history as an indexed set [...]\n\nThe post [Meta Long Memory Search Modeling: How Meta Is Scaling Extended History Context for Ads Recommendation Modeling](https://engineering.fb.com/2026/12/04/ml-applications/meta-long-memory-search/) appeared first on [Engineering at Meta](https://engineering.fb.com).", "url": "https://wpnews.pro/news/meta-long-memory-search-modeling-how-meta-is-scaling-extended-history-context", "canonical_source": "https://engineering.fb.com/2026/12/04/ml-applications/meta-long-memory-search/", "published_at": "2026-12-04 18:56:54+00:00", "updated_at": "2026-12-04 19:17:03.755587+00:00", "lang": "en", "topics": ["machine-learning", "large-language-models", "ai-research", "ai-products"], "entities": ["Meta", "Long Memory Search Modeling", "Engineering at Meta"], "also_reported_by": [], "takeaway": "Meta adapted RAG-style retrieval from LLMs to ads recommendation, treating a user's longer engagement history as an indexed set the model retrieves from rather than a fixed input window.", "recommendation": {"advice": "When a model's fixed context window limits personalization, index long user histories and retrieve relevant entries RAG-style, as Meta did for ads recommendation.", "playbook": "rag-retrieval", "playbook_url": "https://wpnews.pro/playbooks/rag-retrieval"}, "alternates": {"html": "https://wpnews.pro/news/meta-long-memory-search-modeling-how-meta-is-scaling-extended-history-context", "markdown": "https://wpnews.pro/news/meta-long-memory-search-modeling-how-meta-is-scaling-extended-history-context.md", "text": "https://wpnews.pro/news/meta-long-memory-search-modeling-how-meta-is-scaling-extended-history-context.txt", "jsonld": "https://wpnews.pro/news/meta-long-memory-search-modeling-how-meta-is-scaling-extended-history-context.jsonld"}}