arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1908.08656cs.DBcs.IR
收藏

再论楔形抽样的最大内积搜索

Revisiting Wedge Sampling for Budgeted Maximum Inner Product Search

Stephan S. Lorenzen, Ninh Pham

摘要:

Top-k最大内积搜索(MIPS)是许多机器学习应用中的核心任务。本文扩展了top-k MIPS的预算设置,要求最佳近似top-k MIPS给定的限制B计算操作。我们研究了最近的一些先进的采样算法,包括楔形和菱形采样来解决这个问题,虽然这些采样方案的设计自然地支持预算的top-k MIPS,但它们遭受了扫描所有数据点以检索top-k结果的线性代价和处理负输入的性能下降。本文有两个主要贡献。首先,我们表明,钻石抽样本质上是一个楔形抽样和基本抽样的top-k MIPS之间的组合。我们的理论分析和实证评估表明,楔形是竞争力(往往优于)钻石近似top-k MIPS的效率和准确性。其次,我们提出了一系列的算法工程技术部署楔形抽样预算的前k MIPS。我们的新的确定性基于楔形的算法运行速度显着快于最先进的预算和精确的前k MIPS的方法,同时保持前5名的精度至少80%的标准推荐系统数据集。

英文摘要:

Top-k maximum inner product search (MIPS) is a central task in many machine learning applications. This paper extends top-k MIPS with a budgeted setting, that asks for the best approximate top-k MIPS given a limit of B computational operations. We investigate recent advanced sampling algorithms, including wedge and diamond sampling to solve it. Though the design of these sampling schemes naturally supports budgeted top-k MIPS, they suffer from the linear cost from scanning all data points to retrieve top-k results and the performance degradation for handling negative inputs. This paper makes two main contributions. First, we show that diamond sampling is essentially a combination between wedge sampling and basic sampling for top-k MIPS. Our theoretical analysis and empirical evaluation show that wedge is competitive (often superior) to diamond on approximating top-k MIPS regarding both efficiency and accuracy. Second, we propose a series of algorithmic engineering techniques to deploy wedge sampling on budgeted top-k MIPS. Our novel deterministic wedge-based algorithm runs significantly faster than the state-of-the-art methods for budgeted and exact top-k MIPS while maintaining the top-5 precision at least 80% on standard recommender system data sets.

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

↑