Design and Practice of Video Community Homepage Feed Recommendation Systems
This article explores the design and optimization of a homepage feed recommendation system for video content communities. It covers the system architecture, content understanding, feature engineering, multi-channel recall, multi-objective ranking, re-ranking, and experimentation. The goal is to balance user engagement, content diversity, and ecosystem health while addressing challenges such as multi-objective conflicts, heterogeneous content, and cold starts.
Design and Practice of Video Community Homepage Feed Recommendation Systems
The homepage feed of a video content community typically serves multiple demands simultaneously, including short videos, long videos, live streaming entries, topic-based content, and creator ecosystem distribution. When users open the homepage, they expect to quickly discover content of interest within a limited screen space; creators expect reasonable exposure for their high-quality content; and operators need to balance click-through rate (CTR), consumption duration, content diversity, freshness, and ecosystem health. Therefore, the homepage feed is not a simple “content list,” but a recommendation system engineering project supported by data collection, content understanding, feature computation, multi-channel recall, ranking models, re-ranking strategies, experimentation platforms, and observability systems.
From a general technical perspective, this article discusses a practical approach to designing and optimizing a homepage feed recommendation system. It is independent of specific platforms or products, focusing on architectural layering, key strategies, and engineering practices.
I. Requirements Decomposition and Core Challenges
A homepage feed recommendation system usually faces the following challenges:
- Multi-objective Conflicts: A high CTR does not equate to a good consumption experience. Content that provides short-term stimulation may increase clicks but harm long-term retention; over-concentrating on head-tier content weakens ecosystem diversity.
- Heterogeneous Content Types: Short videos, long videos, live streams, animated content, and topic cards have different formats. Unified ranking requires designing comparable features and objectives.
- High Real-Time Requirements: User interests change rapidly with sessions, time slots, and trends. The system must fuse long-term interests, short-term behaviors, and real-time context.
- Pervasive Cold Start: New users lack historical behavior, and new content lacks exposure feedback. Exploration mechanisms and content understanding are needed to supplement these signals.
- Complex Ecosystem Governance: It is necessary to control low-quality, repetitive, clickbait, and negative-feedback content while ensuring distribution opportunities for creators.
- Experimentation and Attribution Difficulties: The homepage has high traffic and numerous strategies. Layered experiments, metric systems, and causal analysis must be used to determine strategy gains.
Therefore, the system design should follow the principles of “layered decoupling, offline-online integration, multi-channel recall, re-ranking governance, and experimentation-driven decision making.”
II. Overall System Architecture
A typical homepage feed recommendation system can be divided into the following layers:
- Data Ingestion Layer: Collects behaviors such as exposure, clicks, plays, completion, likes, saves, comments, shares, and negative feedback, as well as content metadata, creator information, and context information.
- Content Understanding Layer: Structurally processes video titles, covers, tags, duration, resolution, and content types to form content profiles and quality scores.
- Feature Platform Layer: Unified management of user features, content features, contextual features, and cross-features, supporting offline batch processing and online real-time updates.
- Recall Layer: Retrieves candidate sets through multi-channel strategies such as interest recall, popular recall, follow/subscription recall, regional or time-based recall, and exploration recall.
- Ranking Layer: Fast filtering in the coarse ranking stage, and multi-objective models in the fine ranking stage to estimate the probability of clicks, consumption duration, interactions, and negative feedback.
- Re-ranking Layer: Introduces diversity, freshness, creator dispersion, content type ratio, and business rules on top of ranking results.
- Service and Experimentation Layer: Provides low-latency online services, traffic splitting, A/B testing, gray release, and rollback capabilities.
- Observability and Governance Layer: Monitors latency, success rate, feature coverage, distribution drift, content security, and ecosystem metrics.
In terms of engineering implementation, general-purpose capabilities can be utilized. For example, object storage can be used to save offline samples and content materials, message queues to capture real-time behavior streams, caching services to reduce online feature read latency, and logging services and monitoring alerts to ensure system stability. The key is not to stack components but to clarify the responsibilities and data contracts of each layer.
III. Content Understanding and Feature Engineering
The first screen of the homepage feed has limited space, and the quality of content understanding directly affects the upper limit of recall and ranking. The content side should at least aggregate the following information:
- Basic Attributes: Content type, duration, publish time, resolution, partition or topic tags;
- Semantic Tags: Themes, entities, scenes, styles, audience tendencies;
- Quality Signals: Resolution, cover readability, title-content consistency, duplication, negative feedback history;
- Creator Signals: Historical content quality, update stability, domain focus, interaction health;
- Consumption Signals: Exposure, clicks, valid plays, completion, interactions, negative feedback, and other statistical features.
The feature system should distinguish between offline statistical features, near-line sliding window features, and online real-time features. For example, long-term user interests can be represented by historical topic distributions, short-term interests by behaviors in recent sessions, and real-time context can include the current time slot, network status, device capability, and page position. To avoid data leakage, training samples must be constructed strictly according to exposure time, and feature timestamps must not be later than the prediction time.
A pseudo-code example is as follows:
function build_sample(user_id, item_id, request_time):user_long = feature_store.get_user_long(user_id, before=request_time)user_short = feature_store.get_user_short(user_id, window="recent_session", before=request_time)item_profile = feature_store.get_item_profile(item_id, before=request_time)context = feature_store.get_context(request_time)label = behavior_store.get_labels(user_id, item_id, after=request_time)return concat(user_long, user_short, item_profile, context), label
IV. Multi-Channel Recall and Ranking Strategies
The goal of the recall layer is to “not miss potentially interesting content,” typically achieved through parallel multi-channel recall: interest topic recall, collaborative behavior recall, popular trend recall, follow or subscription recall, content type supplement recall, and new content exploration recall. Each recall channel should carry a source identifier and a base score for subsequent fusion and attribution.
The coarse ranking stage can use lightweight models or rules to quickly truncate the candidate set, prioritizing throughput and latency. The fine ranking stage uses multi-objective estimation models to output CTR, valid consumption probability, interaction probability, and negative feedback probability. When fusing rankings, one should not simply weight the CTR, but combine business stage constraints, for example:
score = w1 * p_click+ w2 * p_valid_consume+ w3 * p_interaction- w4 * p_negative+ w5 * quality_score
The weights need to be calibrated through experiments and cannot be set arbitrarily. For new content, an exploration term can be introduced so that the estimated score carries an uncertainty reward; for content with a high probability of negative feedback, it should be directly down-weighted or filtered.
V. Re-ranking and Ecosystem Governance
Fine ranking solves “whether a single piece of content is worth recommending,” while re-ranking solves “whether the entire screen combination is reasonable.” The homepage feed needs to control topic repetition, creator concentration, singular content types, and excessive exposure of short-term trends. Common strategies include:
- Topic Dispersion: Set an upper limit on the consecutive occurrences of the same topic;
- Creator Dispersion: Avoid excessive concentration of the same creator on the first screen;
- Content Type Ratio: Configure proportions for short videos, long videos, live streaming entries, and topic cards according to business goals;
- Freshness Control: Provide an exploration window for new content, but combine it with quality scores and negative feedback;
- Negative Feedback Governance: Quickly apply signals such as “not interested” or “reduce similar content”;
- Content Security and Quality Filtering: Route low-quality, repetitive, and clickbait content into the down-weighting or filtering pipeline.
Diversity re-ranking can be implemented using a greedy strategy:
function diversify(ranked_items, max_per_topic, max_per_creator):result = []topic_count = {}creator_count = {}for item in ranked_items:if topic_count[item.topic] >= max_per_topic:continueif creator_count[item.creator] >= max_per_creator:continueresult.append(item)topic_count[item.topic] += 1creator_count[item.creator] += 1return result
Re-ranking strategies should be configurable and rollback-able, verified through offline simulations and online experiments. For ecosystem metrics, it is necessary to simultaneously observe head concentration, the proportion of new content exposure, the number of creators covered, and the negative feedback rate, avoiding optimizing only for short-term clicks.
VI. Cold Start, Real-Time Processing, and Experimentation
New user cold start can be achieved through contextual features, popular content, diversity exploration, and rapid feedback learning; new content cold start can obtain initial feedback through content semantic matching, creator historical quality, and exploration traffic. In terms of real-time processing, user recent behaviors, real-time content popularity, and negative feedback should be quickly updated through message queues and online feature services, but feature latency and consistency must be controlled.
The experimentation system is recommended to use layered traffic splitting to ensure that different strategies do not interfere with each other. Core metrics include CTR, valid play rate, per capita consumption duration, interaction rate, negative feedback rate, diversity metrics, and ecosystem health metrics. When analyzing, attention should be paid to long-term retention and user fatigue, avoiding drawing conclusions based solely on single-day click improvements.
In terms of observability, at least monitor online service latency, timeout rate, recall coverage, feature missing rate, model score distribution, content security interception rate, and experimental group metric differences. Set alerts for distribution drift and abnormal traffic to ensure that strategy changes are traceable and rollback-able.
VII. Conclusion
The core of a homepage feed recommendation system is not a single model, but the synergy of data, features, recall, ranking, re-ranking, governance, and experimentation. A maintainable system should have clear data contracts, explainable multi-channel recall, robust multi-objective ranking, controllable diversity re-ranking, and comprehensive experimentation and monitoring capabilities. Only by establishing a balance among clicks, consumption experience, content diversity, and ecosystem health can the homepage feed continue to create value for users and creators.
