GenRec: Towards LLM-Native Recommendation at Netflix (opens in new tab)
GenRec is Netflix’s LLM-backed recommendation ranker, designed to reduce dependence on thousands of hand-engineered features. It verbalizes user history, item metadata, and context, then post-trains a Netflix-adapted foundation model for catalog-aware ranking and long-term member value. In large-scale A/B testing, it reportedly improved both short- and long-term metrics while using far fewer labeled examples and input signals than an established production ranker.
Motivation for an LLM-Native Recommender
- Netflix’s existing recommendation stack supports many content types and product surfaces but is costly to extend.
- New use cases can require substantial feature engineering, architectural changes, infrastructure work, and experimentation.
- LLMs offer:
- Shared semantic representations for users, items, and interactions
- Natural-language steering through prompts
- Rich understanding of content and user histories
- General-purpose LLMs are not production-ready on their own because they may:
- Over-recommend globally popular titles
- Hallucinate items outside the catalog
- Ignore business constraints
- Provide limited personalization
Ranking Problem and Long-Term Utility
- GenRec ranks the full Netflix catalog, or a provided candidate set.
- It uses the user, interaction history, current context, and time to produce a personalized ranking.
- The optimization target is expected long-term member utility—a proxy for satisfaction and retention—rather than only immediate clicks or plays.
Two-Phase Training
Netflix-Adapted Foundation Model
- Netflix first adapts an open-source LLM using proprietary Netflix data.
- The model learns:
- Netflix content and metadata
- Member behavior and preference patterns
- General language understanding and generation
- This relatively stable foundation can support multiple Netflix applications.
GenRec Post-Training
- A second training phase specializes the foundation model for recommendation.
- It focuses on ranking quality, steering, reward alignment, and serving-cost constraints.
- This phase is refreshed more frequently to reflect new content and changing member preferences.
Interaction Data as Conversations
- Hundreds of billions of events—including views, play duration, feedback, add-to-list actions, and abandons—are converted into single- or multi-turn recommender conversations.
- Each user message includes verbalized:
- Context and profile
- Interaction history
- Item metadata
- The recommendation task
- Assistant messages represent actual member behavior, such as titles played, viewing duration, or feedback.
- During inference, GenRec uses the verbalized request and a catalog-aware scoring head; it does not generate conversational responses.
- The conversational format mainly supports language-model training and comprehension of rich textual inputs.
Context Engineering Instead of Feature Engineering
- GenRec represents histories and context as natural language rather than relying primarily on dense, manually designed features.
- The token budget becomes the new feature budget, so histories are selectively compressed:
- Retain detailed, high-signal events such as long plays and thumbs-up
- Remove low-signal events such as brief plays and hovers
- Summarize repetitive behavior such as binge-watching
- Add detail for important or cold-start items, including new releases
- Recent and high-value interactions receive priority, while older information is compressed or dropped.
- Prompt structure is also optimized for shared prefixes and prefix caching, reducing serving costs.
Ranking, Language, and Reward Objectives
- GenRec combines several training objectives:
- Catalog-aware ranking: Uses high-value engagements as positive labels, applies denoising and thresholds, and trains the model with cross-entropy over the catalog or candidate set.
- Language modeling: Preserves understanding of natural-language histories and metadata and supports potential future features such as recommendation explanations.
- Reward-weighted alignment: Incorporates business requirements and longer-term satisfaction into training.
- Reward signals can help balance content categories such as movies, series, games, live content, and podcasts instead of optimizing only immediate engagement.
Serving and Results
- GenRec runs in prefill-only mode on Netflix’s LLM serving infrastructure, avoiding the cost of decoding generated text.
- A catalog-aware scoring head converts the model’s representations into item rankings.
- Compared with a mature production ranker, GenRec achieved statistically significant improvements in short- and long-term online metrics.
- It did so with a small fraction of the labeled data and input signals used by the existing system.
GenRec suggests that recommendation systems can shift from extensive manual feature construction toward careful context engineering, LLM post-training, and reward alignment. The approach is most promising when paired with catalog constraints, efficient serving, and objectives that reflect long-term member value rather than raw engagement alone.