This article details Meta's "Your algorithm" system, an end-to-end AI-powered recommendation platform for Facebook Feed and Reels. It outlines the architecture for integrating natural language preferences with implicit signals, leveraging LLMs for preference management, and optimizing content delivery for responsiveness and balance. The system design addresses challenges in adapting to user intent quickly and filtering unwanted content effectively across a vast content ecosystem.
Read original on Meta EngineeringMeta's "Your algorithm" is an advanced recommendation system designed to give users more control over their Facebook Feed and Reels. It shifts from purely implicit engagement signals to incorporate explicit natural language preferences. The system integrates various AI-powered tools, primarily Large Language Models (LLMs), to understand, store, and apply user-stated interests and dislikes, aiming for greater transparency, steerability, and responsiveness in recommendations.
The system features several critical components that manage the full lifecycle of a user preference:
The article highlights three distinct problems in turning stated preferences into responsive recommendations, and how "Your algorithm" addresses them:
LLM Tailoring for System Efficiency
A crucial system design insight is the strategic use of different LLM models tailored for specific tasks. For instance, a smaller, efficient model handles preference validation at scale, while a fine-tuned LLM focusing only on identifying items to remove performs the final "Not Interested In" check faster and more reliably than a general-purpose model.