Updatable Balanced Index for Stable Streaming Similarity Search over Large-Scale Fresh Vectors
Yuhui Lai, Shixun Huang, Sheng Wang
TL;DR
The paper addresses the challenge of real-time, updatable vector search on large-scale fresh data by focusing on streaming updates for cluster-based indices. It introduces UBIS, an Updatable Balanced Index that uses fine-grained concurrency control and a balance-aware update mechanism to avoid contention and distribution imbalance during high-frequency updates. Empirical results show UBIS achieving up to 77% higher recall and 45% higher update throughput on streaming workloads, and about 16% higher recall and 52% TPS on full updates, compared with state-of-the-art baselines. This work enables more reliable and scalable real-time vector search in dynamic environments such as autonomous driving, e-commerce, and social media where fresh data are continuously flowing.
Abstract
As artificial intelligence gains more and more popularity, vectors are one of the most widely used data structures for services such as information retrieval and recommendation. Approximate Nearest Neighbor Search (ANNS), which generally relies on indices optimized for fast search to organize large datasets, has played a core role in these popular services. As the frequency of data shift grows, it is crucial for indices to accommodate new data and support real-time updates. Existing researches adopting two different approaches hold the following drawbacks: 1) approaches using additional buffers to temporarily store new data are resource-intensive and inefficient due to the global rebuilding processes; 2) approaches upgrading the internal index structure suffer from performance degradation because of update congestion and imbalanced distribution in streaming workloads. In this paper, we propose UBIS, an Updatable Balanced Index for stable streaming similarity Search, to resolve conflicts by scheduling concurrent updates and maintain good index quality by reducing imbalanced update cases, when the update frequency grows. Experimental results in the real-world datasets demonstrate that UBIS achieves up to 77% higher search accuracy and 45% higher update throughput on average compared to the state-of-the-art indices in streaming workloads.
