arXiv · 2312.01556
Searching Dense Representations with Inverted Indexes
Abstract
Nearly all implementations of top-$k$ retrieval with dense vector representations today take advantage of hierarchical navigable small-world network (HNSW) indexes. However, the generation of vector representations and efficiently searching large collections of vectors are distinct challenges that can be decoupled. In this work, we explore the contrarian approach of performing top-$k$ retrieval on dense vector representations using inverted indexes. We present experiments on the MS MARCO passage ranking dataset, evaluating three dimensions of interest: output quality, speed, and index size. Results show that searching dense representations using inverted indexes is possible. Our approach exhibits reasonable effectiveness with compact indexes, but is impractically slow. Thus, while workable, our solution does not provide a compelling tradeoff and is perhaps best characterized today as a "technical curiosity".
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Jimmy Lin, Tommaso Teofili. 2023-12-04. Searching Dense Representations with Inverted Indexes. https://arxiv.org/abs/2312.01556
Cite the original work for its findings. Save a collection to share your selection of sources.