Skip to main content

PatANN is a massively parallel, distributed, and scalable in-memory/on-disk vector database library for efficient nearest neighbor search across large-scale datasets by finding vector patterns.

Project description

PatANN - Pattern-Aware Vector Database / ANN

Overview

PatANN is a massively parallel, distributed, and scalable in-memory/on-disk vector database library for efficient nearest neighbor search across large-scale datasets by finding vector patterns.

PatANN leverages patterns for data partitioning similar to Google ScANN, implements disk-based I/O similar to DiskANN, and employs search techniques like HNSWlib, resulting in an algorithm that combines the best features to outperform existing approaches.

Status

Beta Version: Currently uploaded for benchmarking purposes. Complete documentation and updates are under development. Not for production use yet.

Platforms

  • Beta Version: Restricted to Linux to prevent premature circulation of beta versions
  • Production Releases (late Feb 2024)*: Will support all platforms that are supported by mesibo

Key Features

  • Faster Index building and Searching
  • Supports both in-memory and on-disk operations
  • Dynamic sharding to partition and load balance across servers
  • Refined search, filtering and pagination
  • Unlimited scalability without pre-specified capacity

Algorithmic Approach

  • Combines modified NSW (Navigable Small World) graph with a novel pattern based partitioning algorithm
  • Preliminary results show phenomenal performance in building index and searching
  • Potential slight variations in lower-end matching
  • Detailed research paper forthcoming

Contributions

We are seeking help to:

  • Run additional datasets. So far, all tested datasets (including self-generated) exhibit patterns that helps algorithm. We have yet to test datasets without clear patterns or with uniform distribution.
  • Validate and improve the algorithm

Contact

For support / questions, please contact: support@mesibo.com

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

patann-0.0.15.tar.gz (666.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

patann-0.0.15-py3-none-any.whl (671.8 kB view details)

Uploaded Python 3

File details

Details for the file patann-0.0.15.tar.gz.

File metadata

  • Download URL: patann-0.0.15.tar.gz
  • Upload date:
  • Size: 666.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for patann-0.0.15.tar.gz
Algorithm Hash digest
SHA256 06e1c1a36d5f99b41e7a5ea9055838e0c2f69e8e9904cd48518362915870db0d
MD5 d53c4c601f4f77e3ada541030d4b4a3c
BLAKE2b-256 cf03efd2c7388b76119b077081f03d19f71699e7b6d1d5cfaabdcbe721e468d3

See more details on using hashes here.

File details

Details for the file patann-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: patann-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 671.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for patann-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 55aca3e817f598baa85e27259939cfa10a93f6f2c82464fa8c0cb5bfce2070c7
MD5 c10e57a6fc375c677f081b4339adaddd
BLAKE2b-256 cdef17c8e9a0c22696e770d8d4d20cbd74654a2eca84f5b4efddd0c86e928109

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page