arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.01702cs.LG
收藏

基于约束优化的最近邻搜索配置自动化

Automating Nearest Neighbor Search Configuration with Constrained Optimization

Google Research(谷歌研究院)

Philip Sun, Ruiqi Guo, Sanjiv Kumar

摘要:

近似最近邻(ANN)搜索问题是有效服务于许多现实世界机器学习应用的基础。已经开发了许多用于高效、准确和可扩展的ANN搜索的技术。然而,这样的技术通常具有影响速度-召回权衡的多个参数,并且当这样的参数未被正确设置时表现出较差的性能。传统上,调整这些参数是一个手动过程,需要深入了解底层搜索算法。随着人工神经网络搜索的普及,这正成为一个越来越不切实际的需求。为了解决这一障碍,人工神经网络采用,这项工作提出了一种基于约束优化的方法来调整基于量化的人工神经网络算法。我们的技术只需要一个所需的搜索成本或召回作为输入,然后生成调整,根据经验,非常接近速度召回帕累托边界,并在标准基准测试中提供领先的性能。

英文摘要:

The approximate nearest neighbor (ANN) search problem is fundamental to efficiently serving many real-world machine learning applications. A number of techniques have been developed for ANN search that are efficient, accurate, and scalable. However, such techniques typically have a number of parameters that affect the speed-recall tradeoff, and exhibit poor performance when such parameters aren't properly set. Tuning these parameters has traditionally been a manual process, demanding in-depth knowledge of the underlying search algorithm. This is becoming an increasingly unrealistic demand as ANN search grows in popularity. To tackle this obstacle to ANN adoption, this work proposes a constrained optimization-based approach to tuning quantization-based ANN algorithms. Our technique takes just a desired search cost or recall as input, and then generates tunings that, empirically, are very close to the speed-recall Pareto frontier and give leading performance on standard benchmarks.

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

↑