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] PR #231: Add 8-bit scalar quantization support for `IVF` index.
Date: Thu, 17 Aug 2023 13:55:30 +0000
Message-ID: <gh-pgvector-pgvector-231-c1682333234@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-231@github.com>
References: <gh-pgvector-pgvector-231@github.com>

Thanks for the proposal! I have a few general comments:

1. Why does this proposal implement the quantizer as a separate index access method? It'd be more convenient if quantization were an option for the existing `ivfflat` index.
2. Generally, I'm not in favor of making specific performance claims (e.g. 2x faster) in documentation, as this can vary based upon workload. With ANN searches, it's also important to discuss the performance / recall tradeoff.

Do you have any tests that you ran against a known data set (e.g. [ANN Benchmarks](https://github.com/erikbern/ann-benchmarks)) that show how this implementation compares against `ivfflat` or others, specifically in:

1. Performance/recall
2. Index build time
3. Index size


view thread (14+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-231-c1682333234@github.com>
Permalink:  ../gh-pgvector-pgvector-231-c1682333234@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