Real-time Indexing for Large-scale Recommendation by Streaming Vector Quantization Retriever
About
Retrievers, which form one of the most important recommendation stages, are responsible for efficiently selecting possible positive samples to the later stages under strict latency limitations. Because of this, large-scale systems always rely on approximate calculations and indexes to roughly shrink candidate scale, with a simple ranking model. Considering simple models lack the ability to produce precise predictions, most of the existing methods mainly focus on incorporating complicated ranking models. However, another fundamental problem of index effectiveness remains unresolved, which also bottlenecks complication. In this paper, we propose a novel index structure: streaming Vector Quantization model, as a new generation of retrieval paradigm. Streaming VQ attaches items with indexes in real time, granting it immediacy. Moreover, through meticulous verification of possible variants, it achieves additional benefits like index balancing and reparability, enabling it to support complicated ranking models as existing approaches. As a lightweight and implementation-friendly architecture, streaming VQ has been deployed and replaced all major retrievers in Douyin and Douyin Lite, resulting in remarkable user engagement gain.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Retrieval | Industry Datasets (test) | Recall@50012.96 | 12 | |
| Retrieval | MovieLens 20M (test) | Recall@5025.54 | 10 | |
| Retrieval | User Behavior (test) | Recall@5032.2 | 10 | |
| Semantic Relevance Retrieval | Commercial Recommendation System Period P2 | Avg Topic Match Rate (T1)47.47 | 7 | |
| Cold Content Delivery (CCD) Retrieval | Commercial Recommendation System Period P2 | Recall@10007.6 | 7 | |
| Like Retrieval | Commercial Recommendation System Period P2 | Recall@100022.77 | 7 | |
| Long Watch Time (LWT) Retrieval | Commercial Recommendation System Period P2 | Recall@100022.98 | 7 | |
| Video View Complete (VVC) Retrieval | Commercial Recommendation System Period P2 | Recall@100019.41 | 7 | |
| Recommendation Retrieval | Industry Datasets ShortVideo-Ind (test) | Recall@50012.96 | 6 |