arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2110.00696cs.DBcs.IR
收藏

Tao:一个只使用静态特征的自适应最近邻搜索学习框架

Tao: A Learning Framework for Adaptive Nearest Neighbor Search using Static Features Only

Kaixiang Yang, Hongya Wang, Bo Xu, Wei Wang, Yingyuan Xiao, Ming Du, Junfeng Zhou

摘要:

近似最近邻(ANN)搜索是数据管理、信息检索和机器学习等领域的基本问题。最近,Li等人提出了一种名为AdaptNN的学习方法来支持自适应ANN查询处理。在查询执行过程中,AdaptNN收集了大量的运行时特征,并预测每个查询的终止条件,从而获得更好的端到端延迟。尽管效率很高,但使用运行时功能会使学习过程复杂化,并导致性能下降。从根本上不同于AdaptNN,我们认为,它是有前途的预测终止条件查询exetution之前。特别是,我们开发了Tao,一个通用的学习框架,用于仅使用静态特征自适应地终止ANN查询。在查询到达时,Tao首先将查询映射到本地内在维度(LID)编号,然后使用LID而不是运行时特征预测终止条件。通过将预测过程与查询执行分离,Tao消除了AdaptNN中涉及的费力的特征选择过程。此外,还提出了两个设计原则,以指导Tao的应用,提高预测模型的可解释性。我们集成了两种最先进的索引方法,即,IMI和HNSW,到陶,并评估性能超过数百万到数十亿规模的数据集。实验结果表明,除了其简单性和通用性,陶实现了高达2.69倍的加速比,甚至与它的同行相比,在相同的高精度目标。

英文摘要:

Approximate nearest neighbor (ANN) search is a fundamental problem in areas such as data management,information retrieval and machine learning. Recently, Li et al. proposed a learned approach named AdaptNN to support adaptive ANN query processing. In the middle of query execution, AdaptNN collects a number of runtime features and predicts termination condition for each individual query, by which better end-to-end latency is attained. Despite its efficiency, using runtime features complicates the learning process and leads to performance degradation. Radically different from AdaptNN, we argue that it is promising to predict termination condition before query exetution. Particularly, we developed Tao, a general learning framework for Terminating ANN queries Adaptively using Only static features. Upon the arrival of a query, Tao first maps the query to a local intrinsic dimension (LID) number, and then predicts the termination condition using LID instead of runtime features. By decoupling prediction procedure from query execution, Tao eliminates the laborious feature selection process involved in AdaptNN. Besides, two design principles are formulated to guide the application of Tao and improve the explainability of the prediction model. We integrate two state-of-the-art indexing approaches, i.e., IMI and HNSW, into Tao, and evaluate the performance over several million to billion-scale datasets. Experimental results show that, in addition to its simplicity and generality , Tao achieves up to 2.69x speedup even compared to its counterpart, at the same high accuracy targets.

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

↑