paper-with-me

Papers

Optimistic Query Routing in Clustering-based Approximate Maximum Inner Product Search

2024-05-20 · Sebastian Bruch, Aditya Krishnan, Franco Maria Nardini

Clustering-based nearest neighbor search is an effective method in which points are partitioned into geometric shards to form an index, with only a few shards searched during query processing to find a set of top-$k$ vectors. Even though the search efficacy is heavily influenced by the algorithm that identifies the shards to probe, it has received little attention in the literature. This work bridges that gap by studying routing in clustering-based maximum inner product search. We unpack existing routers and notice the surprising contribution of optimism. We then take a page from the sequential decision making literature and formalize that insight following the principle of ``optimism in the face of uncertainty.'' In particular, we present a framework that incorporates the moments of the distribution of inner products within each shard to estimate the maximum inner product. We then present an instance of our algorithm that uses only the first two moments to reach the same accuracy as state-of-the-art routers such as ScaNN by probing up to $50\%$ fewer points on benchmark datasets. Our algorithm is also space-efficient: we design a sketch of the second moment whose size is independent of the number of points and requires $\mathcal{O}(1)$ vectors per shard.

📄 PDF Abstract BibTeX arXiv:2405.12207

Code (1)

artificial-memory-lab/optimist-router 공식 구현

Tasks

ClusteringSequential Decision Making

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

A Learning-to-Rank Formulation of Clustering-Based Approximate Nearest Neighbor Search

2024-04-17 · Thomas Vecchiato, Claudio Lucchese, Franco Maria Nardini, Sebastian Bruch

A critical piece of the modern information retrieval puzzle is approximate nearest neighbor search. Its objective is to return a set of $k$ data points that are closest to a query point, with its accuracy measured by the…

ClusteringInformation RetrievalLearning-To-Rank

Learning Cluster Representatives for Approximate Nearest Neighbor Search

2024-12-08 · Thomas Vecchiato

Developing increasingly efficient and accurate algorithms for approximate nearest neighbor search is a paramount goal in modern information retrieval. A primary approach to addressing this question is clustering, which i…

ClusteringInformation RetrievalLearning-To-Rank

Clustering is Efficient for Approximate Maximum Inner Product Search

2015-07-21 · Alex Auvolat, Sarath Chandar, Pascal Vincent, Hugo Larochelle 외

Efficient Maximum Inner Product Search (MIPS) is an important task that has a wide applicability in recommendation systems and classification with a large number of classes. Solutions based on locality-sensitive hashing …

ClusteringRecommendation SystemsRetrievalWord Embeddings

A Greedy and Optimistic Approach to Clustering with a Specified Uncertainty of Covariates

2022-04-18 · Akifumi Okuno, Kohei Hattori

In this study, we examine a clustering problem in which the covariates of each individual element in a dataset are associated with an uncertainty specific to that element. More specifically, we consider a clustering appr…

Clustering

The Routing Plateau: Understanding and Breaking the Accuracy Limits of LLM Routers

2026-05-27 · Yifan Lu, Qiyue Zhang, Shenrun Zhang, Zhibo Yu 외 arxiv

LLM routing has become a popular approach to improve the cost-quality trade-off of LLM services by dynamically selecting a model for each query. Recent work has explored a broad range of routing methods, including cluste…