paper-with-me

홈 › Papers

Scaling Laws for Grid-Based Approximate Nearest Neighbor Search in High Dimensions

2026-07-01 · Matthew J Liu, Wei Hang Zheng, Vidhan Purohit, Siqi Xie, Chieh-En Li, Jerry Li, Noah Flynn hf

Grid-based approaches to approximate nearest neighbor (ANN) search have been absent from modern scaling analyses. We present a systematic characterization of a multiprobe grid algorithm with respect to dataset size $N$ and dimensionality $d$. Our experiments reveal a previously unreported $d$-scaling crossover on the GloVe embedding family, in which multiprobe grid search maintains an approximately constant dimensional scaling exponent while other graph-, tree-, and partitioning-based methods exhibit degrading throughput. The advantage comes with near-linear query scaling in $N$, but also with lower indexing cost than competing ANN methods. Our results suggest that grid-based methods such as multiprobe grid may be competitive in rebuild-heavy or high-dimensional settings where indexing cost and dimensional robustness dictate performance. More broadly, recent work has formalized self-attention as an ANN operation. Thus, the $N$- and $d$-scaling properties of ANN algorithms may guide cost analysis of efficient transformer architectures. Code is available at: https://github.com/weiz345/MultiProbeANN.

📄 PDF Abstract BibTeX arXiv:2607.01283

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Beyond Scaling Laws: Understanding Transformer Performance with Associative Memory

2024-05-14 · Xueyan Niu, Bo Bai, Lei Deng, Wei Han

Increasing the size of a Transformer does not always lead to enhanced performance. This phenomenon cannot be explained by the empirical scaling laws. Furthermore, the model's enhanced performance is closely associated wi…

Memorization

Dynamic Feature Scaling for K-Nearest Neighbor Algorithm

2018-11-13 · Chandrasekaran Anirudh Bhardwaj, Megha Mishra, Kalyani Desikan

Nearest Neighbors Algorithm is a Lazy Learning Algorithm, in which the algorithm tries to approximate the predictions with the help of similar existing vectors in the training dataset. The predictions made by the K-Neare…

Efficient Autotuning of Hyperparameters in Approximate Nearest Neighbor Search

2018-12-18 · Elias Jääsaari, Ville Hyvönen, Teemu Roos

Approximate nearest neighbor algorithms are used to speed up nearest neighbor search in a wide array of applications. However, current indexing methods feature several hyperparameters that need to be tuned to reach an ac…

Approximate k-NN Graph Construction: a Generic Online Approach

2018-04-09 · Wan-Lei Zhao, Hui Wang, Chong-Wah Ngo

Nearest neighbor search and k-nearest neighbor graph construction are two fundamental issues arise from many disciplines such as multimedia information retrieval, data-mining and machine learning. They become more and mo…

graph constructionInformation RetrievalRetrieval

SANNS: Scaling Up Secure Approximate k-Nearest Neighbors Search

2019-04-03 · Hao Chen, Ilaria Chillotti, Yihe Dong, Oxana Poburinnaya 외

The $k$-Nearest Neighbor Search ($k$-NNS) is the backbone of several cloud-based services such as recommender systems, face recognition, and database search on text and images. In these services, the client sends the que…

ClusteringFace RecognitionRecommendation Systems