Papers
Topics
Authors
Recent
Search
2000 character limit reached

FusedANN: Hybrid Filtered ANNS Methods

Updated 26 March 2026
  • FusedANN is a hybrid approach that integrates filtering constraints into ANN search, effectively addressing low-selectivity challenges in high-dimensional spaces.
  • It combines filter-then-search, search-then-filter, and hybrid indexing paradigms to enhance recall and query speed under stringent filtering conditions.
  • The method leverages state-of-the-art index structures and dynamic parameter tuning to optimize performance in semantic retrieval and vector database applications.

Low-selectivity filtered Approximate Nearest Neighbor Search (ANNS) refers to the task of finding the top-kk nearest vectors, by some distance metric, to a query vector, subject to additional filtering constraints (such as labels, ranges, or complex predicates), in the regime where the filter selectivity σ\sigma—the fraction of database points passing the predicate—is very small, typically s≤1%s \leq 1\% or even s≪1%s \ll 1\%. This regime poses unique algorithmic and systems challenges due to the sparsity and fragmentation of qualifying candidates in high-dimensional spaces. The development of effective and efficient methods for low-selectivity filtered ANNS is of central importance for semantic retrieval, retrieval-augmented generation (RAG), and vector database systems with structured or metadata-based constraints.

1. Formalization and Selectivity Metrics

Let SS be a dataset of nn vectors in Rd\mathbb{R}^d, each accompanied by structured metadata AxA_x (labels, attributes, timestamps, etc.). A filter predicate σ\sigma defines a subset Pσ={x∈S∣x satisfies σ}P_\sigma = \{x \in S \mid x \text{ satisfies } \sigma\}, with selectivity σ\sigma0 (Jin et al., 3 Jan 2026, Shi et al., 9 Sep 2025, Amanbayev et al., 11 Feb 2026). A low-selectivity filtered-ANNS query thus seeks:

  • Top-σ\sigma1 nearest neighbors to a query vector σ\sigma2, restricted to σ\sigma3.

Selectivity notation:

  • Global selectivity σ\sigma4
  • Local selectivity for query σ\sigma5, σ\sigma6, with σ\sigma7 the true σ\sigma8-nearest neighbors of σ\sigma9 in s≤1%s \leq 1\%0
  • GLS correlation per query: s≤1%s \leq 1\%1 (Amanbayev et al., 11 Feb 2026)

In the low-selectivity regime (s≤1%s \leq 1\%2), the expected candidate set after pure pre-filtering is s≤1%s \leq 1\%3, and for search/filter hybrids, typically s≤1%s \leq 1\%4 raw candidates are retrieved with s≤1%s \leq 1\%5 (Shi et al., 9 Sep 2025).

2. Algorithmic Paradigms and Structures

A comprehensive taxonomy of filtered ANNS algorithms distinguishes three main paradigms according to the interplay of index construction and filtering (Shi et al., 9 Sep 2025, Li et al., 22 Aug 2025):

  1. Filter-Then-Search: Explicitly selects the subset s≤1%s \leq 1\%6 before running ANNS. Example: UNG (Unified Navigating Graph) materializes a pre-filtered candidate set then applies graph search; ACORN with pre-filtering (Shi et al., 9 Sep 2025).
  2. Search-Then-Filter: Runs standard ANNS on the whole dataset, then filters results post-hoc. Example: HNSW, IVFPQ with post-filtering (Shi et al., 9 Sep 2025). Performance degrades significantly as s≤1%s \leq 1\%7 due to insufficient valid candidates, requiring s≤1%s \leq 1\%8.
  3. Hybrid/Integrated Filtering: Integrates filter awareness into indexing and search. Examples:
    • Stitched and Filtered-DiskANN: Build Vamana graphs with label-limited edges or stitched subgraphs.
    • JAG (Joint Attribute Graphs): Builds proximity graphs with continuous filter/attribute distances for guidance, robust to arbitrary s≤1%s \leq 1\%9 and diverse predicates (Xu et al., 10 Feb 2026).
    • Curator: Hierarchical partition-based index with embedded per-label/predicate buffers and Bloom filters for precise and efficient filtering at low selectivity (Jin et al., 3 Jan 2026).

These strategies contrast in their cost scaling, robustness, and recall under diminishing s≪1%s \ll 1\%0.

3. Breakdown of Classical Structures under Low Selectivity

Graph-Based Indexes

Graph indexes (HNSW, DiskANN, ACORN) rely on high local connectivity. As s≪1%s \ll 1\%1 decreases, the induced subgraph on s≪1%s \ll 1\%2 fragments, leading to many qualifying vectors being unreachable by traversal (Jin et al., 3 Jan 2026, Amanbayev et al., 11 Feb 2026, Li et al., 22 Aug 2025). Remedying this by increasing average degree s≪1%s \ll 1\%3 becomes infeasible (s≪1%s \ll 1\%4 construction and s≪1%s \ll 1\%5 memory), and even specialized segmentation approaches (e.g., edge covering, multi-entry points) fail below s≪1%s \ll 1\%6 (Li et al., 22 Aug 2025).

Partitioned and Inverted File Structures

Partition-based (IVFFlat, IVFPQ) indexes directly support pre-filtering: cluster selection or inverted lists can be efficiently intersected with filter results. Empirically, IVFPQ/IVFFlat maintain robust query latency and recall at s≪1%s \ll 1\%7 where graph-based methods collapse (Amanbayev et al., 11 Feb 2026, Li et al., 22 Aug 2025).

Hashing/LSH-Based Indexes

Hashing approaches such as Falconn++ implement low-selectivity by aggressive bucket filtering. Falconn++ applies a projection-based filter s≪1%s \ll 1\%8 per bucket, keeping only an s≪1%s \ll 1\%9-fraction of points, substantially reducing candidate pool size, with provable reduction in query time exponent SS0 (Pham et al., 2022). This enables scaling to much lower selectivity than classical LSH.

Tree-Based Partitioning

Curator constructs a global hierarchical SS1-means tree indexing all data, embedding per-label/predicate subindexes via buffers/Bloom filters to support low-selectivity filtering with minimal memory and update overhead (Jin et al., 3 Jan 2026). Tree expansions are sharply bounded in practice, and construction cost is SS2.

4. Filter Types, Cost Models, and Empirical Benchmarks

Supported Filter Types

Advanced methods address various filter types:

  • Equality (label/attribute)
  • Range (numerical, e.g., date intervals)
  • Subset/Containment (multi-label, tag inclusion)
  • Boolean/Complex predicates

JAG is notable for transforming each binary filter SS3 into a continuous filter distance SS4, enabling lexicographically guided search and connectivity smoothing across low-selectivity regimes (Xu et al., 10 Feb 2026).

Cost and Recall Scaling

Method Query Time Scaling at Low SS5 Recall Performance Notes
HNSW post-filter SS6 Recall@10 collapses for SS7 Graph disconnects
IVFPQ/IVFFlat SS8 Recall remains stable at SS9 Partition pruning
Curator nn0, nn1 QPS nn2 baseline at nn3 Hier. partition+buffers
JAG nn4 hops via multi-threshold edges Recall nn5 at nn6 Filter-agnostic
Falconn++ nn7, nn8 Empirically nn9 faster than Falconn LSH/filtered-bucket

Empirical studies confirm that:

5. State-of-the-Art Methods: Constructions and Innovations

Curator

Curator's dual-index combines a global tree (hierarchical Rd\mathbb{R}^d4-means), per-label/predicate leaf buffers, and Bloom filters at each node. Queries traverse only nodes likely to contain qualifying candidates. For complex predicates, it constructs a temporary subindex mirroring the global tree structure. Curator achieves up to Rd\mathbb{R}^d5 query speedup at Rd\mathbb{R}^d6 with only Rd\mathbb{R}^d7 build time and Rd\mathbb{R}^d8 memory overhead (Jin et al., 3 Jan 2026).

JAG

JAG generalizes graph-based methods by introducing filter/attribute distances and constructing multi-threshold proximity graphs. At query time, a lexicographic Rd\mathbb{R}^d9 ordering provides continuous search guidance, preventing dead-ends and unifying support for label, range, subset, and Boolean constraints. JAG is the first filter-agnostic proximity graph with empirical robustness across all AxA_x0 and filter types (Xu et al., 10 Feb 2026).

Falconn++

Falconn++ applies a low-selectivity filter within hash buckets by thresholding on the main projection coordinate, filtering bucket contents from AxA_x1 down to AxA_x2 points and trading candidate quantity for query time and recall in a controlled way. With carefully chosen parameters (AxA_x3–AxA_x4), Falconn++ exhibits 3–10AxA_x5 speedup over Falconn and matches or outperforms HNSW at high recall (Pham et al., 2022).

6. Practical Guidelines and System Integration

Findings across recent studies yield several practical rules (Amanbayev et al., 11 Feb 2026, Shi et al., 9 Sep 2025):

  • Select index by expected selectivity: For AxA_x6, partition/inverted-file methods or hybrid trees are preferred; for AxA_x7, graph-based methods are advantageous.
  • Parameterization: Graph degree, number of entry points, AxA_x8, and ef-search must be judiciously tuned based on AxA_x9 and σ\sigma0. In low-σ\sigma1 regimes, exact scan fallback may be optimal, especially if candidates are few.
  • System adaptations: Milvus employs hybrid execution and dual-priority queues for robust recall; pgvector in PostgreSQL can expose exact kNN plans via B-tree scans on filter columns, avoiding recall cliffs from post-filtering (Amanbayev et al., 11 Feb 2026).
  • Empirical cost modeling: For graph methods, σ\sigma2 degrades super-linearly as σ\sigma3; for partition/IVF, σ\sigma4.
  • Robustness to filter type: Only hybrid/integrated and filter-agnostic methods such as JAG and Curator exhibit uniform throughput and recall as σ\sigma5 regardless of filter complexity.

7. Open Challenges and Future Directions

Despite recent algorithmic progress, several open challenges remain (Li et al., 22 Aug 2025, Shi et al., 9 Sep 2025, Jin et al., 3 Jan 2026):

  • Dynamic index maintenance: Supporting efficient insertions, deletions, and updates across arbitrary filter predicates remains nontrivial, especially for graph and partition-based indices.
  • Auto-tuning: Determining optimal index and search/hyperparameters online as σ\sigma6 changes per query/dataset is an open engineering problem.
  • Universal filter-robust indices: While JAG demonstrates filter-agnostic robustness, generalizing these insights to support arbitrary, evolving predicate classes at scale is an ongoing research area.
  • Cost modeling and query planning: Accurate, closed-form models for σ\sigma7 are needed for query optimizers in production vector databases and hybrid RAG pipelines.
  • Recall-latency tradeoff diagnostics: The GLS metric enables per-query analysis of recall loss risks, but integrating such diagnostics into production systems is only just emerging (Amanbayev et al., 11 Feb 2026).

In summary, low-selectivity filtered ANNS research has progressed from specialized and brittle solutions to robust, filter-agnostic hybrid and partition-based indices capable of maintaining high throughput and recall even at σ\sigma8. Continued advances in theory, algorithm design, and system integration are essential for fully general, high-performance retrieval under arbitrary structured filtering constraints.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to FusedANN.