跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2512.18060 · v2

Graph-based Nearest Neighbors with Dynamic Updates via Random Walks

首次提交 2025-12-20 05:00
版本更新 2026-11-23 12:09
雷达观测 2026-11-24 14:50
arXiv ↗PDF ↗

摘要

Approximate nearest neighbor search (ANN) is a common way to retrieve relevant search results, especially now in the context of large language models and retrieval augmented generation. One of the most widely used algorithms for ANN is based on constructing a multi-layer graph over the dataset, called the Hierarchical Navigable Small World (HNSW). While this algorithm supports insertion of new data, it does not support deletion of existing data. Moreover, deletion algorithms described by prior work come at the cost of increased query latency, decreased recall, or prolonged deletion time. In this paper, we propose a new theoretical framework for graph-based ANN based on random walks. We then utilize this framework to analyze a randomized deletion approach that approximately preserves hitting time statistics compared to the graph before deleting the point. However, this guarantee needs at least as many edge samples as there are edges in the clique over the neighbors of the deleted point. We then turn this theoretical framework into a deterministic deletion algorithm, and show that it provides a better tradeoff between query latency, recall, deletion time, and memory usage through an extensive collection of experiments.

作者备注:ICLR 2026. This version withdraws the claim that linearly many patch edges suffice: the hitting-time guarantee for randomized deletion needs at least as many edge samples as there are edges in the clique over the neighbors of the deleted point. It also adds a missing hypothesis to the hitting-time theorem and corrects the star-mesh step and the edge sparsification lemma

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

本站首次收录为 v2,暂无更早版本可对照。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v2 · 2026-11-23 12:09 · 最新观测版本

Graph-based Nearest Neighbors with Dynamic Updates via Random Walks

Approximate nearest neighbor search (ANN) is a common way to retrieve relevant search results, especially now in the context of large language models and retrieval augmented generation. One of the most widely used algorithms for ANN is based on constructing a multi-layer graph over the dataset, called the Hierarchical Navigable Small World (HNSW). While this algorithm supports insertion of new data, it does not support deletion of existing data. Moreover, deletion algorithms described by prior work come at the cost of increased query latency, decreased recall, or prolonged deletion time. In this paper, we propose a new theoretical framework for graph-based ANN based on random walks. We then utilize this framework to analyze a randomized deletion approach that approximately preserves hitting time statistics compared to the graph before deleting the point. However, this guarantee needs at least as many edge samples as there are edges in the clique over the neighbors of the deleted point. We then turn this theoretical framework into a deterministic deletion algorithm, and show that it provides a better tradeoff between query latency, recall, deletion time, and memory usage through an extensive collection of experiments.

查看此版本解读 →查看此版本原文 ↗