From: xfalcox (@xfalcox) <noreply+xfalcox@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #521: Are either int8 or fp8 vectors planned?
Date: Wed, 17 Apr 2024 19:14:51 +0000
Message-ID: <gh-pgvector-pgvector-521-c2062028012@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-521@github.com>
References: <gh-pgvector-pgvector-521@github.com>
> @xfalcox Do you happen to have recall values? The sizes generally look good, and from eyeballing the data you showed the results look good, but it'd help to have some more numerical values 😄
While recall numbers are the best indeed, our feature is more "fuzzy" than that. Given a topic, I only need to find and show 5 topics who are related to the current one the user just finished reading. So while you do want to show very good matches, most of the times there are way more than 5 "good enough" fits, and even using the bit vectors, in most cases, the results were acceptable. And this is with "just" 1024 dimensions, I'd expect this to be even better with one of the slow 4096 dimensions models.
I know I could generate a "correct" set using fp32 embeddings for each topic, but that would be a more for my academic curiosity than something that I'd use to justify a change in the product.
Which brings me to my hopefulness for int8/fp8 being a good enough fit if even bit produces somewhat acceptable results.