Abstract
User interests on content platforms are inherently diverse, manifesting through complex behavioral patterns across heterogeneous scenarios such as search, feed browsing, and content discovery. Traditional recommendation systems typically prioritize business metric optimization within isolated specific scenarios, neglecting cross-scenario behavioral signals and struggling to integrate advanced techniques like LLMs at billion-scale deployments, which finally limits their ability to capture holistic user interests across platform touchpoints. We propose RED-Rec, an LLM-enhanced hierarchical Recommender Engine for Diversified scenarios, tailored for industry-level content recommendation systems. RED-Rec unifies user interest representations across multiple behavioral contexts by aggregating and synthesizing actions from varied scenarios, resulting in comprehensive item and user modeling. At its core, a two-tower LLM-powered framework enables nuanced, multifaceted representations with deployment efficiency, and a scenario-aware dense mixing and querying policy effectively fuses diverse behavioral signals to capture cross-scenario user intent patterns and express fine-grained, context-specific intents during serving. We validate RED-Rec through online A/B testing on hundreds of millions of users in RedNote through online A/B testing, showing substantial performance gains in both content recommendation and advertisement targeting tasks. We further introduce a million-scale sequential recommendation dataset, RED-MMU, for comprehensive offline training and evaluation. Our work advances unified user modeling, unlocking deeper personalization and fostering more meaningful user engagement in large-scale UGC platforms.
Introduction: The Challenge of Fragmented Interests
Most modern digital platforms operate multiple distinct "scenarios"—users might search for a specific product, browse a personalized social feed, and interact with advertisements all within a single session. Traditionally, recommendation systems have treated these as independent silos. A model optimized for "Search" rarely communicates with the model for "Feed," leading to a fragmented understanding of the user.
This siloed approach creates three major hurdles for large-scale platforms:
- Fragmented Interests: Models fail to capture the "big picture" of a user's intent across different touchpoints.
- Data Imbalance: Users may browse thousands of feed posts but perform only a few searches. This makes it difficult for search-specific models to learn effectively due to sparse signal.
- Cold-Start Issues: New scenarios or infrequent users lack the deep behavioral history required for accurate ID-based recommendations.
Methodology: The RED-Rec Architecture
To address these challenges, we introduce RED-Rec (LLM-enhanced hierarchical Recommender Engine for Diversified scenarios). The framework utilizes a hierarchical two-tower architecture designed to bridge the gap between disparate user behaviors.
Multimodal Item Encoding
Instead of relying solely on traditional Item IDs, RED-Rec employs Large Language Models (LLMs) and Vision Transformers (ViT) to encode the semantic content—text, tags, and images—of posts and advertisements. This provides a "universal language" for items, allowing the system to understand content relevance across all scenarios regardless of the specific interface.
2D Dense Mixing and Scenario-Aware Querying
To resolve data imbalance (e.g., the high volume of feed clicks versus low volume of searches), we developed a 2D Dense Mixing Policy. This sampling strategy balances "quota" (ensuring infrequent but high-intent signals like search are represented) and "recency" (prioritizing current user activity).
Furthermore, the system utilizes Scenario-Aware Interest Querying. Learnable query embeddings allow the model to "ask" the user representation different questions depending on the context. This enables the extraction of specific facets of a user's multi-dimensional interests that are most relevant to the current scenario, such as prioritizing commercial intent when the user is in an ad-heavy context.
Dataset: RED-MMU
The study utilizes a massive industrial dataset from RedNote (Xiaohongshu), a major UGC platform. We introduce RED-MMU, a million-scale sequential recommendation dataset. Unlike traditional datasets (such as Amazon or MovieLens) that focus on single interaction types, RED-MMU includes diverse behaviors across feeds, search, and ads, featuring billions of interactions and multimodal content.
As shown in the interaction analysis, the distribution of behaviors like "Like," "Collect," and "Follow" varies significantly across channels. RED-Rec is specifically designed to synthesize these varied signals into a cohesive user profile.
Key Insights and Results
Our evaluation of RED-Rec yielded several critical insights for the future of recommendation systems:
- Cross-Scenario Synergy: Search queries are incredibly powerful predictors for feed engagement. Integrating search data into the feed model significantly boosts accuracy, proving that user intent remains consistent even when the interface changes.
- Semantic Glue: LLMs act as the connective tissue between scenarios. Because the model understands the meaning of a search query and the content of a video, it can match them without needing millions of overlapping ID-based interactions.
- Scaling Laws for RecSys: While 7B parameter models offer higher reasoning capabilities, we found that 1.5B parameter models represent the "sweet spot" for production. They provide sufficient intelligence to understand complex interests while maintaining the sub-millisecond latency required to serve millions of requests per second.
Performance Metrics
In real-world A/B testing on RedNote, RED-Rec delivered a 0.8864% increase in total Advertiser Value (ADVV) and a 0.3401% boost in Feed Ad Spend. Offline, RED-Rec consistently outperformed state-of-the-art baselines (like SASRec and HSTU) across metrics such as Hit Rate (HR) and NDCG, particularly for "cold" items where traditional ID-based systems typically fail.
Conclusion and Future Work
RED-Rec demonstrates that breaking down scenario silos through LLM-enhanced unified modeling significantly improves recommendation quality at a billion-user scale. While the 1.5B model is effective, future work will focus on optimizing larger models (7B+) for real-time requirements and exploring "Chain-of-Thought" (CoT) reasoning to provide natural language explanations for recommendations. We believe that tighter integration of generative tasks, such as predicting a user's next search query, will further refine our ability to model the nuances of human interest.
Summary updated