Abstract
Live-streaming recommendation faces unique challenges due to the highly dynamic nature of content, where a single stream's topic can shift significantly over time. Traditional ID-based collaborative filtering fails to capture these real-time changes. We present LARM (LLM-Alignment Live-Streaming Recommendation), a framework that aligns Large Language Models (LLMs) with recommendation signals. By fine-tuning a 7B LLM on 30-second stream segments and employing a gated fusion mechanism, LARM bridges the gap between semantic content understanding and user interaction data. Deployed at Kuaishou Technology, LARM demonstrates significant improvements in retrieval and ranking metrics, particularly for long-tail creators.
1. Introduction
Live-streaming is fundamentally different from pre-recorded short videos. A single live stream can last hours, during which the content, topic, and "vibe" change constantly. This leads to two primary conflicts:
- Author-side conflict: A single Author ID embedding usually compresses all of a creator's past history, but a creator might switch from gaming to chatting to singing within one session.
- User-side conflict: Different users watch different intervals of the same stream. Recommending a stream based on what happened at the beginning is useless if the user joins when the content has shifted.
Traditional Recommendation Systems (RecSys) rely on ID embeddings (like Author ID), which are too coarse-grained for this. Conversely, simply plugging in LLM-generated content embeddings often fails because the LLM's "semantic space" (trained on language/vision) doesn't align with the RecSys "interaction space" (trained on clicks and watch time).
2. The LARM Framework
The LARM framework consists of three main technical innovations designed to bridge the gap between high-level content understanding and collaborative filtering.
2.1 Domain-Specific LLM Tuning
To capture the "now" of a stream, the authors collect live-streaming data in 30-second windows (images, audio, comments). They utilize a massive 100B parameter teacher LLM to generate unsupervised training data (Q&A pairs and reading comprehension) about these segments. A smaller 7B student LLM is then fine-tuned on this data to produce real-time embeddings every 30 seconds.
2.2 Gated Embedding Alignment
To solve the "misalignment" between semantic and interaction spaces, LARM uses a gated fusion mechanism. Instead of simple concatenation, a gate network learns to weigh the importance of the Author ID embedding versus the LLM content embedding. Empirically, the model settled on a weight of roughly 0.65 for ID and 0.35 for LLM, finding a fusion space that respects both historical behavior and real-time content.
2.3 Semantic IDs via Residual Quantization
Storing high-dimensional float embeddings for every user-stream interaction at Kuaishou's scale is prohibitively expensive (estimated at 1024TB). LARM employs Residual Quantization (RQ-VAE) to compress these embeddings into three integer-based "Semantic IDs." This reduces storage requirements to just 3TB while retaining the ability to use these IDs in attention mechanisms for ranking.
3. Experimental Results
The study was conducted using Kuaishou's internal industrial data, involving hundreds of millions of active users and over 3 billion daily interactions.
3.1 Retrieval and Ranking Performance
Replacing standard ID embeddings with the LARM gated fusion significantly improved retrieval performance, increasing the Hit Rate@1000 from 13.86% to 17.03%. In the ranking stage, LARM improved the Group Area Under Curve (GAUC) across all engagement metrics, notably achieving a +0.35% improvement in Long-view GAUC.
3.2 Online Impact
In real-world A/B tests, LARM led to significant increases in core metrics:
- Watch Time: +0.14% to +0.17% across different scenarios.
- Interaction: Massive gains in "Like" (+2.79%) and "Comment" (+1.79%) rates.
4. Discussion and Conclusion
One of the most significant findings was that LARM improved ecosystem fairness. By focusing on real-time content rather than just historical popularity, the model decreased exposure for superstars and increased it for long-tail authors.
While the 7B model provides high-quality embeddings, real-time inference at scale remains computationally intensive. Future work will explore more fine-grained multi-modal alignment and potentially moving toward end-to-end training of the LLM and recommendation components.
Summary updated