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