arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.13795cs.IRcs.DB
收藏

一种内存高效的分布式算法用于任意距离的近似最近邻搜索

A Memory-Efficient Distributed Algorithm for Approximate Nearest Neighbour Search with Arbitrary Distances

Elena Garcia-Morato, Maria Jesus Algar, Cesar Alfaro, Felipe Ortega, Javier Gomez, Javier M. Moguerza

AI总结:

PDASC是一种内存高效的分布式算法,支持任意距离的近似最近邻搜索,通过聚类机制实现高效部署和低内存消耗。

摘要:

近似最近邻(ANN)搜索已成为现代数据密集型应用中的核心任务,尤其是在处理大规模、异构或高维数据集时。然而,许多现有的ANN方法在这些场景中遇到困难,要么是因为它们依赖于度量假设,要么是因为其索引策略不适用于分布式环境或内存资源受限的设置。本文介绍了PDASC(可参数化的分布式近似相似性搜索与聚类),一种分布式ANN搜索算法,其索引设计同时支持任意不相似性函数和高效部署在分布式、存储感知的环境中。PDASC基于聚类机制构建了分布式层次索引,该机制不依赖于距离属性,从而容纳非度量和领域特定的相似性,同时自然地将索引和搜索分割到多个计算节点上,具有紧凑的每节点内存足迹。通过保留本地信息的邻域结构,所提出的索引缓解了高维空间中维度灾难的实际情况。我们分析了索引结构参数如何在召回率、计算成本和内存使用之间进行权衡。在多个基准数据集和距离函数上的实验评估显示,PDASC在准确率-效率权衡方面具有竞争力,同时在每个节点上所需的内存比最先进的ANN方法更低。通过避免依赖专用硬件加速,PDASC在异构和分布式环境中实现了可扩展且节能的相似性搜索,其中内存效率和距离函数灵活性是首要约束条件。

英文摘要:

Approximate nearest neighbour (ANN) search has become a central task in modern data-intensive applications, particularly when operating on large-scale, heterogeneous, or high-dimensional datasets. However, many existing ANN methods struggle in such scenarios, either because they rely on metric assumptions or because their indexing strategies are not well suited to distributed environments or to settings with constrained memory resources. This work introduces PDASC (Parametrizable Distributed Approximate Similarity Search with Clustering), a distributed ANN search algorithm whose index design jointly addresses three concerns commonly treated separately in the ANN literature: support for arbitrary dissimilarity functions, native distributed execution, and efficient operation under constrained memory environments, avoiding reliance on specialised hardware accelerators or costly memory resources. PDASC builds a distributed hierarchical index that accommodates non-metric and domain-specific similarities while naturally partitioning indexing and search across multiple computing nodes, with a compact per-node memory footprint. By preserving locally informative neighbourhood structure, the proposed index reduces sensitivity to practical manifestations of the curse of dimensionality in high-dimensional spaces. We analyse how the index structural parameters govern the trade-offs among recall, computational cost, and memory usage. Experimental evaluation across multiple benchmark datasets and distance functions shows that PDASC achieves competitive accuracy-efficiency trade-offs while consistently requiring lower per-node memory compared to state-of-the-art ANN methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑