arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.18803cs.DScs.DBcs.IR
收藏

在学习表示上高效近似聚合最近邻查询的研究

On Efficient Approximate Aggregate Nearest Neighbor Queries over Learned Representations

The University of Hong Kong(香港大学);CNRS, Univ. Grenoble Alpes(法国国家科学研究中心,格勒诺布尔阿尔卑斯大学);The University of British Columbia(不列颠哥伦比亚大学)

Carrie Wang, Sihem Amer-Yahia, Laks V. S. Lakshmanan, Reynold Cheng

AI总结:

本文提出SPRinT框架,通过结合高质量和低成本表示,高效近似聚合最近邻查询,实现低误差和低计算成本。

摘要:

我们研究了最近邻上的聚合查询(AQNN),该查询计算指定查询对象的邻居学习表示的聚合。例如,一名医疗专业人员可能对与失眠患者表示相似的患者的平均心率感兴趣。准确且高效地回答AQNNs具有挑战性,因为生成高质量表示的成本很高(例如通过训练在人类专家注释上的深度学习模型),并且不同的聚合函数对邻居选择误差的敏感性不同。我们通过结合高质量和低成本的表示来近似聚合。我们刻画了价值敏感和计数敏感的AQNNs,并提出了一种名为在目标中具有精度-召回率的采样器(SPRinT)的查询回答框架,该框架分三步工作:(1)采样,(2)最近邻选择,(3)聚合。我们进一步建立了样本大小和聚合误差的理论界限。在五个来自三个领域(医疗、社交媒体和电子商务)的数据集上的广泛实验表明,SPRinT在大多数情况下实现了最低的聚合误差和最小的计算成本,相比现有解决方案。SPRinT的性能在数据集规模增长时保持稳定,证实了其在需要准确性和效率的大规模应用中的可扩展性。

英文摘要:

We study Aggregation Queries over Nearest Neighbors (AQNN), which compute aggregates over the learned representations of the neighborhood of a designated query object. For example, a medical professional may be interested in the average heart rate of patients whose representations are similar to that of an insomnia patient. Answering AQNNs accurately and efficiently is challenging due to the high cost of generating high-quality representations (e.g., via a deep learning model trained on human expert annotations) and the different sensitivities of different aggregation functions to neighbor selection errors. We address these challenges by combining high-quality and low-cost representations to approximate the aggregate. We characterize value- and count-sensitive AQNNs and propose the Sampler with Precision-Recall in Target (SPRinT), a query answering framework that works in three steps: (1) sampling, (2) nearest neighbor selection, and (3) aggregation. We further establish theoretical bounds on sample sizes and aggregation errors. Extensive experiments on five datasets from three domains (medical, social media, and e-commerce) demonstrate that SPRinT achieves the lowest aggregation error with minimal computation cost in most cases compared to existing solutions. SPRinT's performance remains stable as dataset size grows, confirming its scalability for large-scale applications requiring both accuracy and efficiency.

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

↑