From: M1nlex (@M1nlex) <noreply+M1nlex@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #763: About HNSW Real-Time updates degradation
Date: Tue, 21 Jan 2025 18:16:30 +0000
Message-ID: <gh-pgvector-pgvector-763@github.com> (raw)
Hi,
I'm considering using HNSW to do ANN in a personal project, and I'm very likely to use pgvector for this purpose.
While searching for informations about HNSW in general, and more specifically how to update/delete points from the graph, I found out about the degradation of performances (in terms of recall and unreachable points) over time when trying to modify or delete already existing points from the HNSW.
A simple fix this problem would be to recompute the index after a while, but that would result in a lot of build time.
I found out in this article (https://arxiv.org/abs/2407.07871) that some algorithms have been proposed to solve this issue and allow real-time updates of HNSW indexes.
Does pgvector implements this algorithm or any alternative solution to this problem ? Or are there any plan on working on it ?
Best regards.