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

    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.

    🌐Visit Website

    About this tool

    Overview

    NSW (Navigable Small World) is a graph-based algorithm that finds approximate nearest neighbors in a dataset. An NSW is a graph where the vertices represent vectors and the edges are constructed heuristically from the similarity between vectors so that most vectors are reachable from anywhere via a small number of hops.

    How NSW Works

    Vector search using Navigable Small World graphs was introduced over the course of several papers from 2011-14. The key idea is that if we build a proximity graph with both long-range and short-range links, search times are reduced to (poly/)logarithmic complexity.

    Search Algorithm

    1. Begin at a pre-defined entry point
    2. Identify which nearby vertices is closest to the query vector
    3. Move to that vertex
    4. Repeat greedy-routing search process by identifying nearest neighboring vertices
    5. Continue moving from vertex to vertex until local minimum is reached

    Evolution to HNSW

    The Hierarchical navigable small world (HNSW) algorithm builds on NSW by combining it with Skip Lists, generating a multi-layer NSW graph that enables logarithmic time complexity for approximate nearest neighbor search.

    Performance Characteristics

    Navigable small world models achieve (poly/)logarithmic complexity using greedy routing. The algorithm greedily traverses to connected vertices that are nearer to the query vector.

    Applications

    NSW graphs serve as the foundation for many modern vector similarity search systems and are used in production vector databases for efficient approximate nearest neighbor search.

    Surveys

    Loading more......

    Information

    Websiteen.wikipedia.org
    PublishedMar 8, 2026

    Categories

    1 Item
    Concepts & Definitions

    Tags

    3 Items
    #Ann#Graph Based#Algorithm

    Similar Products

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

    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.

    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.

    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.

    MaxSim Operator

    Similarity aggregator selecting maximum similarity score between each query token and all document tokens. Core component of late-interaction architectures like ColBERT for token-level precision.

    Reciprocal Rank Fusion (RRF)

    Algorithm for merging ranked search results from multiple sources based on rank positions rather than scores. Provides normalization-free, outlier-resistant hybrid search for vector and keyword queries.

    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