• Home
  • Categories
  • Tags
  • Pricing
  • Submit
    Decorative pattern
    1. Home
    2. Concepts & Definitions
    3. HNSW (Hierarchical Navigable Small World)

    HNSW (Hierarchical Navigable Small World)

    Graph-based approximate nearest neighbor algorithm with logarithmic search complexity. Industry standard for high-dimensional vector search with excellent recall-speed tradeoff.

    🌐Visit Website

    About this tool

    Overview

    HNSW is a graph-based indexing algorithm that builds a multi-layered structure of navigable small world graphs for efficient approximate nearest neighbor search.

    Key Characteristics

    • Logarithmic complexity: O(log N) search time
    • Hierarchical layers: Multiple resolution levels
    • Graph structure: Navigable small world networks
    • High recall: 90%+ typical accuracy
    • Fast queries: Millisecond-range latencies

    How It Works

    1. Build hierarchy: Create multiple graph layers
    2. Top-down search: Start at top layer
    3. Navigate graphs: Move through connected nodes
    4. Refine results: Zoom into lower layers
    5. Return neighbors: Bottom layer results

    Parameters

    • M: Max connections per node (16-48 typical)
    • efConstruction: Build-time search depth
    • efSearch: Query-time search depth

    Advantages

    • Excellent recall-speed tradeoff
    • Scalable to billions of vectors
    • Incremental updates supported
    • Well-tested and proven

    Used In

    • Weaviate
    • Qdrant
    • Milvus
    • pgvectorscale
    • HNSWlib
    • FAISS
    • Elasticsearch

    Pricing

    Open algorithm, no licensing.

    Surveys

    Loading more......

    Information

    Websitearxiv.org
    PublishedMar 11, 2026

    Categories

    1 Item
    Concepts & Definitions

    Tags

    3 Items
    #Algorithm#Graph Based#Ann

    Similar Products

    6 result(s)
    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.

    Locality Sensitive Hashing (LSH)

    Algorithmic technique for approximate nearest neighbor search in high-dimensional spaces using hash functions to map similar items to the same buckets with high probability.

    IVF

    Inverted File Index vector search algorithm that partitions high-dimensional vectors into clusters using k-means, enabling efficient nearest neighbor search by restricting searches to relevant clusters and dramatically reducing search space.

    Approximate Nearest Neighbors (ANN)

    Family of algorithms trading perfect accuracy for speed in high-dimensional similarity search. Enables sub-linear query time with 90%+ recall on billion-scale datasets.

    IVF (Inverted File Index)

    Clustering-based approximate nearest neighbor algorithm that partitions vector space into Voronoi cells. Fast search through coarse-to-fine strategy, often combined with Product Quantization (IVF-PQ).

    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