



Performant and predicate-agnostic search algorithm for vector embeddings with structured data. Uses two-hop graph expansion to maintain high recall under selective filters in Weaviate.
Loading more......
ACORN (Approximate k-Nearest Neighbors with HNSW Over Refined Neighborhoods) is an approach for performant and predicate-agnostic hybrid search that builds on HNSW and can be implemented efficiently by extending existing HNSW libraries.
The two-hop expansion is a key innovation in ACORN:
ACORN builds on Hierarchical Navigable Small Worlds (HNSW), a state-of-the-art graph-based approximate nearest neighbor index. The algorithm uses a two-hop based expansion of the neighborhood to maintain search quality when filters are applied.
Weaviate uses ACORN to keep recall high under selective filters:
Published in Proceedings of the ACM on Management of Data (2024), ACORN represents a significant advancement in filtered vector search, addressing one of the main challenges in production vector database deployments.