Lune

KDD2022Top-tier venue

BLISS: A Billion scale Index using Iterative Re-partitioning

Gaurav Gupta, Tharun Medini, Anshumali Shrivastava, Alexander J. Smola

Abstract

Representation learning has transformed the problem of information retrieval into one of finding the approximate set of nearest neighbors in a high dimensional vector space. With limited hardware resources and time-critical queries, the retrieval engines face an inherent tension between latency, accuracy, scalability, compactness, and the ability to load balance in distributed settings. To improve the trade-off, we propose a new algorithm, called BaLanced Index for Scalable Search (BLISS), a highly tunable indexing algorithm with enviably small index sizes, making it easy to scale to billions of vectors. It iteratively refines partitions of items by learning the relevant buckets directly from the query-item relevance data. To ensure that the buckets are balanced, BLISS uses the power-of-K choices strategy. We show that BLISS provides superior load balancing with high probability (and under very benign assumptions). Due to its design, BLISS can be employed for both near-neighbor retrieval (ANN problem) and extreme classification (XML problem). For the case of ANN, we train and index 4 datasets with billion vectors each. We compare the recall, inference time, indexing time, and index size for BLISS with the two most popular and well-optimized libraries- Hierarchical Navigable Small World (HNSW) graph and Facebook's FAISS. BLISS requires 100x lesser RAM than HNSW, making it fit in memory on commodity machines while taking a similar inference time as HNSW for the same recall. Against FAISS-IVF, BLISS achieves similar performance with 3-4x less memory requirement. BLISS is both data and model parallel, making it ideal for distributed implementation for training and inference. For the case of XML, BLISS surpasses the best baselines' precision while being 5x faster for inference on popular multi-label datasets with half a million classes.

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.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor Search cites Knowledge Distillation for High Dimensional Search Index
  • LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor Search cites Learning Space Partitions for Nearest Neighbor Search
  • LIRA: A Learning-based Query-aware Partition Framework for Large-scale ANN Search cites Knowledge Distillation for High Dimensional Search Index
  • LIRA: A Learning-based Query-aware Partition Framework for Large-scale ANN Search cites Learning Space Partitions for Nearest Neighbor Search
  • LIRA: A Learning-based Query-aware Partition Framework for Large-scale ANN Search cites Efficient Data-aware Distance Comparison Operations for High-Dimensional Approximate Nearest Neighbor Search
  • Efficient Data-aware Distance Comparison Operations for High-Dimensional Approximate Nearest Neighbor Search cites Knowledge Distillation for High Dimensional Search Index
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. ParlayANN: Scalable and Deterministic Parallel Graph-Based Approximate Nearest Neighbor Search AlgorithmsMagdalen Dobson Manohar, Zheqi Shen, Guy E. Blelloch, Laxman Dhulipala et al.PPoPP 2024 · 39 citations
  2. LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor SearchElias Jääsaari, Ville Hyvönen, Teemu RoosNeurIPS 2024 · 11 citations
  3. Efficient Data-aware Distance Comparison Operations for High-Dimensional Approximate Nearest Neighbor SearchLiwei Deng, Penghao Chen, Ximu Zeng, Tianfu Wang et al.VLDB 2025 · 11 citations
  4. LIRA: A Learning-based Query-aware Partition Framework for Large-scale ANN SearchXimu Zeng, Liwei Deng, Penghao Chen, Xu Chen et al.WWW 2025 · 10 citations
  5. Knowledge Distillation for High Dimensional Search IndexZepu Lu, Jin Chen, Defu Lian, Zaixi Zhang et al.NeurIPS 2023 · 10 citations

Builds on2

  1. ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTOmar Khattab, Matei ZahariaSIGIR 2020 · 1,246 citations
  2. Learning Space Partitions for Nearest Neighbor SearchYihe Dong, Piotr Indyk, Ilya P. Razenshteyn, Tal WagnerICLR 2020 · 104 citations

Related papers

  1. Learning Balanced Tree Indexes for Large-Scale Vector RetrievalWuchao Li, Chao Feng, Defu Lian, Yuxin Xie et al.KDD 2023 · 10 citations
  2. LANNS: A Web-Scale Approximate Nearest Neighbor Lookup SystemIshita Doshi, Dhritiman Das, Ashish Bhutani, Rajeev Kumar et al.VLDB 2022 · 20 citations
  3. SPANN: Highly-efficient Billion-scale Approximate Nearest Neighborhood SearchQi Chen, Bing Zhao, Haidong Wang, Mingqin Li et al.NeurIPS 2021 · 219 citations
  4. CAGRA: Highly Parallel Graph Construction and Approximate Nearest Neighbor Search for GPUsHiroyuki Ootomo, Akira Naruse, Corey Nolet, Ray Wang et al.ICDE 2024 · 59 citations
  5. Unleashing Graph Partitioning for Large-Scale Nearest Neighbor SearchLars Gottesbüren, Laxman Dhulipala, Rajesh Jayaram, Jakub LackiVLDB 2025 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines