From: TopCoder2K (@TopCoder2K) <noreply+TopCoder2K@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #606: Index tweaking for getting some specific recall
Date: Mon, 05 May 2025 06:46:02 +0000
Message-ID: <gh-pgvector-pgvector-606-c2850059760@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-606@github.com>
References: <gh-pgvector-pgvector-606@github.com>
@ankane, but what if I don't obtain the desired Recall even with `m=64, ef_construction=512` (I have 88.5% but I'd like to have 95%+)? Moreover, `ef_construction` can't exceed 1000, but even if I could break the limits, increasing `m` and `ef_construction` wouldn't add much (with `m=32, ef_construction=256` I had 84%). And building the HNSW index with `m=64, ef_construction=512` already takes ≈8 hours.
Probably, my case is specific, since I measure Recall on TOP-1000 and I have a significant amount of duplicate vectors (for example, for one of my partitions, the hugest group of duplicate vectors reaches 1.5% of the total number of vectors and around 20% of vectors belong to some duplicate group).