Lune

SIGMOD2024Top-tier venue

ACORN: Performant and Predicate-Agnostic Search Over Vector Embeddings and Structured Data

Liana Patel, Peter Kraft, Carlos Guestrin, Matei Zaharia

Abstract

Applications increasingly leverage mixed-modality data, and must jointly search over vector data, such as embedded images, text and video, as well as structured data, such as attributes and keywords. Proposed methods for this hybrid search setting either suffer from poor performance or support a severely restricted set of search predicates (e.g., only small sets of equality predicates), making them impractical for many applications. To address this, we present ACORN, an approach for performant and predicate-agnostic hybrid search. ACORN builds on Hierarchical Navigable Small Worlds (HNSW), a state-of-the-art graph-based approximate nearest neighbor index, and can be implemented efficiently by extending existing HNSW libraries. ACORN introduces the idea of predicate subgraph traversal to emulate a theoretically ideal, but impractical, hybrid search strategy. ACORN's predicate-agnostic construction algorithm is designed to enable this effective search strategy, while supporting a wide array of predicate sets and query semantics. We systematically evaluate ACORN on both prior benchmark datasets, with simple, low-cardinality predicate sets, and complex multi-modal datasets not supported by prior methods. We show that ACORN achieves state-of-the-art performance on all datasets, outperforming prior methods with 2--1,000× higher throughput at a fixed recall. Our code is available at: https://github.com/stanford-futuredata/ACORN.

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.

38 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

  • DIGRA: A Dynamic Graph Indexing for Approximate Nearest Neighbor Search with Range Filter cites iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor Search
  • iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor Search cites Filtered-DiskANN: Graph Algorithms for Approximate Nearest Neighbor Search with Filters
  • iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor Search cites Accelerating Large-Scale Inference with Anisotropic Vector Quantization
  • Practical and Asymptotically Optimal Quantization of High-Dimensional Vectors in Euclidean Space for Approximate Nearest Neighbor Search cites Accelerating Large-Scale Inference with Anisotropic Vector Quantization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers38

  1. Practical and Asymptotically Optimal Quantization of High-Dimensional Vectors in Euclidean Space for Approximate Nearest Neighbor SearchJianyang Gao, Yutong Gou, Yuexuan Xu, Yongyi Yang et al.SIGMOD 2025 · 29 citations
  2. iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor SearchYuexuan Xu, Jianyang Gao, Yutong Gou, Cheng Long et al.SIGMOD 2025 · 17 citations
  3. SIEVE: Effective Filtered Vector Search with Collection of IndexesZhaoheng Li, Silu Huang, Wei Ding, Yongjoo Park et al.VLDB 2025 · 17 citations
  4. Semantic Operators and Their Optimization: Towards AI-Based Data Analytics with Accuracy GuaranteesLiana Patel, Siddharth Jha, Melissa Z. Pan, Harshit Gupta et al.VLDB 2025 · 16 citations
  5. DIGRA: A Dynamic Graph Indexing for Approximate Nearest Neighbor Search with Range FilterMengxu Jiang, Zhi Yang, Fangyuan Zhang, Guanhao Hou et al.SIGMOD 2025 · 12 citations

Builds on11

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Accelerating Large-Scale Inference with Anisotropic Vector QuantizationRuiqi Guo, Philip Sun, Erik Lindgren, Quan Geng et al.ICML 2020 · 539 citations
  3. Dense Passage Retrieval for Open-Domain Question AnsweringVladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis et al.EMNLP 2020 · 142 citations
  4. SONG: Approximate Nearest Neighbor Search on GPUWeijie Zhao, Shulong Tan, Ping LiICDE 2020 · 103 citations
  5. Filtered-DiskANN: Graph Algorithms for Approximate Nearest Neighbor Search with FiltersSiddharth Gollapudi, Neel Karia, Varun Sivashankar, Ravishankar Krishnaswamy et al.WWW 2023 · 102 citations

Related papers

  1. CGIF: Combining Proximity Graphs and Inverted Files for Efficient Filtered Vector Search over Arbitrary PredicatesJiarui Luo, Chaoji Zuo, Dong DengVLDB 2026
  2. NaviX: A Native Vector Index Design for Graph DBMSs With Robust Predicate-Agnostic Search PerformanceGaurav Sehgal, Semih SalihogluVLDB 2025 · 12 citations
  3. RWalks: Random Walks as Attribute Diffusers for Filtered Vector SearchAnas Ait Aomar, Karima Echihabi, Marco Arnaboldi, Ioannis Alagiannis et al.SIGMOD 2025 · 4 citations
  4. An Efficient and Robust Framework for Approximate Nearest Neighbor Search with Attribute ConstraintMengzhao Wang, Lingwei Lv, Xiaoliang Xu, Yuxiang Wang et al.NeurIPS 2023 · 70 citations
  5. HJG: An Effective Hierarchical Joint Graph for ANNS in Multi-Metric SpacesYifan Zhu, Lu Chen, Yunjun Gao, Ruiyao Ma et al.ICDE 2024 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines