pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: bohanliu5 (@bohanliu5) <noreply+bohanliu5@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 17:37:24 +0000
Message-ID: <gh-pgvector-pgvector-231-c1682699964@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-231@github.com>
References: <gh-pgvector-pgvector-231@github.com>

> 

Thanks for your comments!
Re 1. Please see my comments above for.
Re 2., point taken. let me update the doc and be more specific about the performance/recall trade-off.

And yes, we ran the ANN benchmark with various datasets, an example gain from Deep1B on `Intel(R) Xeon(R) CPU @ 2.00GHz`:
- Index build time (single threaded build prior to 0.5.0): `90s` (ivfflat) down to `68s` (with quantization).
- Index size: `3903MB` (ivfflat) down to `1115MB`.
- Recall loss varies with datasets but overall we saw `1-1.5%` recall loss comparing to `ivfflat` for the same probe when vectors are not normalized (i.e., l2 distance) and smaller `< 1%` for normalized cases. 








view thread (14+ messages)  latest in thread

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