pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: postsql (@postsql) <noreply+postsql@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 15:38:32 +0000
Message-ID: <gh-pgvector-pgvector-231-c1682502444@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

As for recall - at least for some *ANN Benchmarks* datasets - there should not be any difference, as for example [SIFT 128](http://ann-benchmarks.com/sift-128-euclidean.hdf5) dataset has only integer values in range 0 ... 218 in its vectors, though still *stored* as FP32 

view thread (14+ messages)  latest in thread

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