• Home
  • Categories
  • Tags
  • Pricing
  • Submit
    Decorative pattern
    1. Home
    2. Concepts & Definitions
    3. ACORN Algorithm

    ACORN Algorithm

    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.

    🌐Visit Website

    About this tool

    Overview

    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.

    Two-Hop Neighborhood Strategy

    The two-hop expansion is a key innovation in ACORN:

    • Evaluates nodes that are two hops away rather than one
    • Target nodes become out-neighbors of search nodes (two hops away)
    • Speeds up graph traversal
    • Ameliorates challenges of low correlation between filters and query vectors

    How It Works

    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 Implementation (2026)

    Weaviate uses ACORN to keep recall high under selective filters:

    Conditional Two-Hop Evaluation

    • If the first hop passes the filter, traverse graph normally
    • Only use two-hop expansion if connecting node doesn't pass filter
    • Optimizes performance based on filter selectivity

    Benefits in Production

    • Combines semantic similarity with structured filters
    • Keeps filtered queries efficient on realistic datasets
    • Designed specifically for vector search with rich filtering over high-dimensional spaces

    Performance Characteristics

    • Maintains high recall even with selective filters
    • Efficient implementation by extending HNSW libraries
    • Predicate-agnostic: works well regardless of filter characteristics

    Research Impact

    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.

    Applications

    • E-commerce search with category/price filters
    • Document retrieval with metadata constraints
    • Multi-tenant vector databases
    • Any scenario requiring hybrid semantic + structured search
    Surveys

    Loading more......

    Information

    Websitearxiv.org
    PublishedMar 8, 2026

    Categories

    1 Item
    Concepts & Definitions

    Tags

    3 Items
    #Ann#Graph Based#Filtering

    Similar Products

    6 result(s)
    HCNNG

    Hierarchical Clustering-based Nearest Neighbor Graph using MST to connect dataset points through multiple hierarchical clusters. Performs efficient guided search instead of traditional greedy routing.

    NSW (Navigable Small World)

    Graph-based algorithm for approximate nearest neighbor search where vertices represent vectors and edges are constructed heuristically. Foundation for HNSW with (poly/)logarithmic search complexity using greedy routing.

    Vamana

    Graph-based indexing algorithm powering Microsoft's DiskANN. Uses flat graph structure with minimized search diameter for efficient disk-based nearest neighbor search with 40x GPU speedup available via NVIDIA cuVS.

    ELPIS

    Graph-based similarity search algorithm achieving 0.99 recall, building indexes 3-8x faster than competitors with 40% less memory. Answers 1-NN queries up to 10x faster than serial scan.

    Filtered Vector Search Guide

    Complete guide to metadata filtering in vector search covering pre-filtering, post-filtering, and hybrid approaches. Addresses the Achilles heel of vector search with modern solutions.

    IVF (Inverted File Index)

    IVF is an indexing technique widely used in vector databases where vectors are clustered into inverted lists (partitions), enabling efficient Approximate Nearest Neighbor search by probing only a subset of relevant partitions at query time.

    Decorative pattern
    Built with
    Ever Works
    Ever Works

    Connect with us

    Stay Updated

    Get the latest updates and exclusive content delivered to your inbox.

    Product

    • Categories
    • Tags
    • Pricing
    • Help

    Clients

    • Sign In
    • Register
    • Forgot password?

    Company

    • About Us
    • Admin
    • Sitemap

    Resources

    • Blog
    • Submit
    • API Documentation
    All product names, logos, and brands are the property of their respective owners. All company, product, and service names used in this repository, related repositories, and associated websites are for identification purposes only. The use of these names, logos, and brands does not imply endorsement, affiliation, or sponsorship. This directory may include content generated by artificial intelligence.
    Copyright © 2025 Awesome Vector Databases. All rights reserved.·Terms of Service·Privacy Policy·Cookies