Real-time Indexing for Large-scale Recommendation by Streaming Vector Quantization Retriever
Xingyan Bin, Jianfei Cui, Wujie Yan, Zhichen Zhao, Xintian Han, Chongyang Yan, Feng Zhang, Xun Zhou, Qi Wu, Zuotao Liu
TL;DR
This paper addresses the bottleneck of real-time, scalable retrieval in large-scale recommender systems by introducing Streaming Vector Quantization (Streaming VQ), an index that attaches items to clusters in real time to capture emergent trends. It emphasizes index immediacy, reparability without full reconstruction, and index balancing, while maintaining compatibility with sophisticated ranking models through mechanisms like merge sort serving and two-tower foundations. Multi-task extensions and empirical results on Douyin and Douyin Lite show substantial improvements in key engagement metrics, surpassing traditional indexes like HNSW and DR. The work argues that indexing quality and real-time adaptability are as crucial as model complexity, offering a practical and scalable paradigm for industrial recommendation systems.
Abstract
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.
