TPU-KNN:峰值FLOP/s时的K最近邻搜索
TPU-KNN: K Nearest Neighbor Search at Peak FLOP/s
摘要:
本文提出了一种新的最近邻搜索算法,实现TPU(谷歌张量处理单元)的峰值性能,优于最先进的GPU算法,具有相似的召回水平。所提出的算法的设计是出于一个准确的加速器性能模型,考虑到内存和指令瓶颈。我们的算法具有预期的召回率的分析保证,并且不需要维护复杂的索引数据结构或调整,使其适合于频繁更新的应用程序。我们的工作可以在TPU上的Jax和Tensorflow开源包中找到。
英文摘要:
This paper presents a novel nearest neighbor search algorithm achieving TPU (Google Tensor Processing Unit) peak performance, outperforming state-of-the-art GPU algorithms with similar level of recall. The design of the proposed algorithm is motivated by an accurate accelerator performance model that takes into account both the memory and instruction bottlenecks. Our algorithm comes with an analytical guarantee of recall in expectation and does not require maintaining sophisticated index data structure or tuning, making it suitable for applications with frequent updates. Our work is available in the open-source package of Jax and Tensorflow on TPU.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。