pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #285: Interest in DiskANN
Date: Thu, 28 Sep 2023 14:33:41 +0000
Message-ID: <gh-pgvector-pgvector-285-c1739378903@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-285@github.com>
References: <gh-pgvector-pgvector-285@github.com>

My 2ยข: Interested? Yes, at least academically.

I personally still think there is room to improve on current HNSW/IVFFLAT support in pgvector before adding another algorithm, esp. one that has more parameters for the user to tune. My personal list, which is influenced both from folks using and evaluating pgvector as well as personal experimentation:

- Quantization, esp. product quantization (I do think we also need scalar quantization, but I see PQ raising the performance bar quite a bit)
- Better multi-column filtering techniques (see discussion in https://github.com/pgvector/pgvector/issues/244)
- Support different data types (https://github.com/pgvector/pgvector/tree/hnsw-array lays the groundwork for this -- supporting float2, uint8, etc. will help shrink down some index sizes)
- More parallelism
  - Parallel build for HNSW
  - Parallel query for both IVFFLAT/HNSW (more emphasis on IVFFLAT)
- Incorporating elements of SPANN into IVFFLAT (e.g. overlapping neighborhood searches)

all while maintaining the relative simplicity of pgvector's implementation + usability.

I think all of these are achievable in a relatively short timeframe if folks can focus on them, and it would help achieve some of the aforementioned performance gains before working on adding another algorithm.

view thread (15+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-285-c1739378903@github.com>
Permalink:  ../gh-pgvector-pgvector-285-c1739378903@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox