Continuously Adaptive Similarity Search
Huayi Zhang, Lei Cao, Yizhou Yan, Samuel Madden, Elke A. Rundensteiner
Abstract
Similarity search is the basis for many data analytics techniques, including k-nearest neighbor classification and outlier detection. Similarity search over large data sets relies on i) a distance metric learned from input examples and ii) an index to speed up search based on the learned distance metric. In interactive systems, input to guide the learning of the distance metric may be provided over time. As this new input changes the learned distance metric, a naive approach would adopt the costly process of re-indexing all items after each metric change. In this paper, we propose the first solution, called OASIS, to instantaneously adapt the index to conform to a changing distance metric without this prohibitive re-indexing process. To achieve this, we prove that locality-sensitive hashing (LSH) provides an invariance property, meaning that an LSH index built on the original distance metric is equally effective at supporting similarity search using an updated distance metric as long as the transform matrix learned for the new distance metric satisfies certain properties. This observation allows OASIS to avoid recomputing the index from scratch in most cases. Further, for the rare cases when an adaption of the LSH index is shown to be necessary, we design an efficient incremental LSH update strategy that re-hashes only a small subset of the items in the index. In addition, we develop an efficient distance metric learning strategy that incrementally learns the new metric as inputs are received. Our experimental study using real world public datasets confirms the effectiveness of OASIS at improving the accuracy of various similarity search-based data analytics tasks by instantaneously adapting the distance metric and its associated index in tandem, while achieving an up to 3 orders of magnitude speedup over the state-of-art techniques.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers7
- ELITE: Robust Deep Anomaly Detection with Meta GradientHuayi Zhang, Lei Cao, Peter M. VanNostrand, Samuel Madden et al.KDD 2021 · 17 citations
- DeDrift: Robust Similarity Search under Content DriftDmitry Baranchuk, Matthijs Douze, Yash Upadhyay, I. Zeki YalnizICCV 2023 · 15 citations
- DESIRE: An Efficient Dynamic Cluster-based Forest Indexing for Similarity Search in Multi-Metric SpacesYifan Zhu, Lu Chen, Yunjun Gao, Baihua Zheng et al.VLDB 2022 · 7 citations
- Scalable Graph Indexing using GPUs for Approximate Nearest Neighbor SearchZhonggen Li, Xiangyu Ke, Yifan Zhu, Bocheng Yu et al.SIGMOD 2026 · 5 citations
- GTI: Graph-based Tree Index with Logarithm Updates for Nearest Neighbor Search in High-Dimensional SpacesRuiyao Ma, Yifan Zhu, Baihua Zheng, Lu Chen et al.VLDB 2025 · 4 citations
Related papers
- Towards Accurate Distance Estimation for Distribution-Aware c-ANN SearchLiwei Deng, Penghao Chen, Ximu Zeng, Yuchen Fang et al.ICDE 2025 · 1 citation
- Bidirectionally Densifying LSH Sketches with Empty BinsPeng Jia, Pinghui Wang, Junzhou Zhao, Shuo Zhang et al.SIGMOD 2021 · 16 citations
- DET-LSH: A Locality-Sensitive Hashing Scheme with Dynamic Encoding Tree for Approximate Nearest Neighbor SearchJiuqi Wei, Botao Peng, Xiaodong Lee, Themis PalpanasVLDB 2024 · 35 citations
- I/O Efficient Approximate Nearest Neighbour Search based on Learned FunctionsMingjie Li, Ying Zhang, Yifang Sun, Wei Wang et al.ICDE 2020 · 23 citations
- R2LSH: A Nearest Neighbor Search Scheme Based on Two-dimensional Projected SpacesKejing Lu, Mineichi KudoICDE 2020 · 40 citations
