Abstract
Traditional live streaming recommendation systems treat broadcasts as static items, failing to capture the dynamic "highlight" moments that drive user engagement. We propose ContentCTR, an end-to-end framework for frame-level Click-Through Rate (CTR) prediction. By leveraging a Multimodal Transformer with Dynamic Time Warping (DTW) for feature alignment and a boundary-aware pairwise loss, ContentCTR identifies attractive frames within a stream. Evaluation on a large-scale real-world dataset (KLive) and a public highlight detection dataset (PHD) demonstrates state-of-the-art performance, with online A/B tests showing a 2.9% CTR lift and a 5.9% increase in play duration.
Introduction
In the rapidly evolving landscape of live streaming, recommendation engines face a unique challenge: content is highly non-stationary. A single broadcast may transition through various phases—such as chatting, dancing, or competitive "PK" battles—each with varying levels of user appeal. Traditional recommendation models typically operate at the item-level, assigning a single CTR score to an entire stream based on historical metadata or streamer IDs. This approach ignores the internal fluctuations of a broadcast, potentially recommending a stream during a "boring" interval and missing the "Aha!" moments that truly engage viewers.
ContentCTR addresses this by shifting the prediction target to the frame-level. By analyzing the actual content of the stream in real-time, the model can identify and prioritize specific highlights for recommendation, ensuring users are presented with the most captivating moments of a live broadcast.
Methodology
ContentCTR utilizes a multimodal approach to capture the rich information present in live streams, including visual frames, audio (via Auto Speech Recognition), and real-time user comments.
Multimodal Fusion and Alignment
The architecture employs a Swin Transformer (Encoder $f$) for visual feature extraction and a BERT model (Encoder $g$) for processing textual data (ASR and comments). A key innovation is the use of Dynamic Time Warping (DTW) to align these signals. In live streaming, there is often a temporal lag between a streamer's speech and their actions, or between an event and the resulting audience comments. DTW ensures that textual features are correctly associated with the corresponding visual frames, creating a more coherent representation of the content.
To manage the high-dimensional sequence data efficiently, the model incorporates a Perceiver Block. This component uses learned latent queries to attend to the multimodal inputs, distilling the most relevant information across different media types into a compact representation.
Boundary-aware Pairwise Loss
While standard models often rely on pointwise loss, ContentCTR introduces a Boundary-aware Pairwise Loss. This function compares "highlight" frames against "non-highlight" frames to learn a relative ranking. To ensure training stability and prevent the model from over-optimizing the gap between scores, a first-order difference constraint is applied, maintaining a realistic distribution of predicted CTR values.
Experimental Results
The researchers evaluated ContentCTR on two major benchmarks:
- KLive Dataset: A massive dataset from the KuaiShou platform containing 39,000 live rooms and 1.4 million samples. ContentCTR achieved a Kendall’s Tau of 0.5919, significantly outperforming baseline models like Wide&Deep and DeepFM.
- PHD Dataset: On this public highlight detection dataset, the model achieved a 21.89% mAP, surpassing the previous state-of-the-art (PR-Net) by over 3%.
Ablation studies highlighted the importance of multimodality: removing visual data led to a 4.72% performance drop, while removing text/ASR resulted in a 2.01% decrease. The DTW alignment module was also found to be critical for handling the inherent noise and lag in live data.
Conclusion
ContentCTR demonstrates that frame-level analysis is essential for effective live stream recommendations. By moving beyond static item-level IDs and focusing on the dynamic multimodal content of a broadcast, the model successfully captures the "spikes" in user interest. Real-world deployment resulted in a 2.9% CTR lift, proving the commercial viability of content-aware highlight detection. Future work will explore deeper user personalization to tailor highlight recommendations to individual viewer preferences.
Summary updated