Your Algorithm: Giving People More Ways to Personalize Facebook Recommendations
Facebook's Your algorithm feature lets people edit, in natural language, the "Interested In" and "Not Interested In" lists that steer Feed and Reels ranking, backed by a single shared preference store. Each positive interest drives four dedicated retrieval sources plus a late-stage promotion, with a reranking control layer that spaces results, caps daily contribution and fetches one interest per request so new interests show up without flooding. Negative interests are enforced in layers: embedding-similarity filtering and demotion in ranking, a small fine-tuned LLM reranker that returns only items to remove, and client-side cache invalidation. Supplementary tail loads make changes take effect quickly, smaller LLMs validate and normalize edits, and an LLM-as-judge setup evaluates prompts and models offline.
Related posts
- Adapting the Facebook Reels RecSys AI Model Based on User Feedback
Meta Engineering mediumAdeptFacebook Reels added a User True Interest Survey (UTIS) model that learns from in-feed survey responses asking how well a video matches the viewer's interests, instead of relying only on engagement signals like likes and watch time. A lightweight "perception layer" is trained on binarized, bias-weighted survey responses, using the main multi-task ranker's predictions as features. Its output feeds late-stage ranking as a value-formula input and drives retrieval through re-ranked interest profiles and knowledge distillation. Offline, precision rose from 48.3% to 63.2% and recall from 45.4% to 66.1% over heuristics, and A/B tests with over 10M users showed +5.2% engagement and +5.4% high survey ratings.
- Modernizing the Facebook Groups Search to Unlock the Power of Community Knowledge
Meta Engineering mediumAdeptFacebook Groups scoped search moved from keyword-only retrieval to a hybrid design that runs lexical and semantic retrieval in parallel. Queries are rewritten, then sent both to the Unicorn inverted index and to a 12-layer, 200M-parameter semantic retriever whose embeddings drive ANN search over a Faiss index. An L2 multi-task multi-label ranker merges the candidates using BM25/TF-IDF and cosine-similarity features and jointly optimizes for clicks, shares and comments. Llama 3 acts as an automated judge in build verification tests, with a graded "somewhat relevant" label. Meta reports higher search engagement with no increase in error rates, and plans to put LLMs directly into ranking and adaptive retrieval.
- Friend Bubbles: Enhancing Social Discovery on Facebook Reels
Meta Engineering mediumAdeptFriend bubbles on Facebook Reels surface videos that close friends have reacted to, using two closeness models: a survey-trained model run weekly over trillions of friend pairs, and a context-specific model trained on bubble interactions. Retrieval explicitly sources friend-interacted candidates, and early- and late-stage multi-task ranking models gain closeness features and a P(engagement | bubble impression) objective with tunable weights balancing social and video engagement. On the client, bubble metadata rides the existing prefetch window so bubbles render with the video, and animation is disabled while scrolling and on low-end devices. Expressive reactions and multiple friend interactions drive stronger engagement, and bubble exposure increases longer sessions and topic diversity.
- Our Early Journey to Transform Instacart’s Discovery Recommendations with LLMs
Instacart Tech mediumAdeptInstacart rebuilt its Shopping Hub discovery recommendations around a top-down, cascaded LLM pipeline. It first generates personalized page themes, then taxonomy-grounded retrieval keywords, then applies quality and diversity filtering, and finally hands off to existing product and pagewise ranking services. Keyword generation uses a teacher-student fine-tuned open-weight model (Llama/Qwen with LoRA ablations). It also uses RAG that prunes a 300,000-term keyword corpus to about 100 nearest neighbors per theme, which cut generation costs 15–20%. Quality is enforced through embedding-based deduplication, LLM-as-a-judge evaluators calibrated with human-in-the-loop data, and a fine-tuned cross encoder for theme-product relevance at scale.
- GenRecs Tokenization: Transforming Ads Recommendation at Meta with Stable Model Vocabulary
Meta Engineering hardMasterMeta's ads recommender replaces per-item IDs with GenRecs Tokenization, a stable semantic vocabulary. Each ad, product or page is encoded with pre-trained multimodal models, decomposed into subspaces (e.g. residual decomposition) and quantized against learned codebooks into short token sequences, so similar items share tokens. This lets new and tail items inherit what the model learned about related items, enabling cold-start generalization and cross-campaign transfer. Paired with GEM and the Adaptive Ranking Model it delivered a +0.35% conversion lift. Across eight tokenizer versions, intrinsic metrics (cluster purity, distribution balance, codebook utilization) correlated with downstream CTR accuracy, so the tokenizer can be iterated without full model retraining.