ONe Index for All Kernels (ONIAK): A Zero Re-Indexing LSH Solution to ANNS-ALT
Jingfan Meng, Huayi Wang, Jun Xu, Mitsunori Ogihara
Abstract
In this work, we formulate and solve a new type of approximate nearest neighbor search (ANNS) problems called ANNS after linear transformation (ALT). In ANNS-ALT, we search for the vector (in a dataset) that, after being linearly transformed by a user-specified query matrix, is closest to a query vector. It is a very general mother problem in the sense that a wide range of baby ANNS problems that have important applications in databases and machine learning can be reduced to and solved as ANNS-ALT, or its dual that we call ANNS-ALTD. We propose a novel and computationally efficient solution, called ONe Index for All Kernels (ONIAK), to ANNS-ALT and all its baby problems when the data dimension d is not too large (say d ≤ 200). In ONIAK, a universal index is built, once and for all, for answering all future ANNS-ALT queries that can have distinct query matrices. We show by experiments that, when d is not too large, ONIAK has better query performance than linear scan on the mother problem (of ANNS-ALT), and has query performances comparable to those of the state-of-the-art solutions on the baby problems. However, the algorithmic technique behind this universal index approach suffers from a so-called dimension blowup problem that can make the indexing time prohibitively long for a large dataset. We propose a novel algorithmic technique, called fast GOE quadratic form (FGoeQF), that completely solves the (prohibitively long indexing time) fallout of the dimension blowup problem. We also propose a Johnson-Lindenstrauss transform (JLT) based ANNS-ALT (and ANNS-ALTD) solution that significantly outperforms any competitor when d is large.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ea177de5-8d41-4c93-82a8-786843362883Builds on5
- HM-ANN: Efficient Billion-Point Nearest Neighbor Search on Heterogeneous MemoryJie Ren, Minjia Zhang, Dong LiNeurIPS 2020 · 136 citations
- PM-LSH: A Fast and Accurate LSH Framework for High-Dimensional Approximate NN SearchBolong Zheng, Xi Zhao, Lianggui Weng, Nguyen Quoc Viet Hung et al.VLDB 2020 · 64 citations
- Locality Sensitive TeachingZhaozhuo Xu, Beidi Chen, Chaojian Li, Weiyang Liu et al.NeurIPS 2021 · 18 citations
- Point-to-Hyperplane Nearest Neighbor Search Beyond the Unit HypersphereQiang Huang, Yifan Lei, Anthony K. H. TungSIGMOD 2021 · 17 citations
- Continuously Adaptive Similarity SearchHuayi Zhang, Lei Cao, Yizhou Yan, Samuel Madden et al.SIGMOD 2020 · 11 citations
Related papers
- JHQ: Johnson-Lindenstrauss Enhanced Hierarchical Quantization for High-Dimensional Approximate Nearest Neighbor SearchJiabao Han, Mengxuan Zhang, Goce TrajcevskiVLDB 2026 · 1 citation
- Breaking the Single-Reference-Vector Barrier in Approximate Nearest Neighbor SearchJiadong Xie, Jeffrey Liang, Siyi Teng, Jeffrey Xu Yu et al.WWW 2026
- Terminal Embeddings in Sublinear TimeYeshwanth Cherapanamjeri, Jelani NelsonFOCS 2021 · 5 citations
- OdinANN: Direct Insert for Consistently Stable Performance in Billion-Scale Graph-Based Vector SearchHao Guo, Youyou LuFAST 2026 · 11 citations
- SOAR: Improved Indexing for Approximate Nearest Neighbor SearchPhilip Sun, David Simcha, Dave Dopson, Ruiqi Guo et al.NeurIPS 2023 · 35 citations
