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

自动机处理器上的相似性搜索

Similarity Search on Automata Processors

Vincent T. Lee, Justin Kotalik, Carlo C. Del Mundo, Armin Alaghi, Luis Ceze, Mark Oskin

摘要:

相似性搜索对于包括自然语言处理、基于内容的搜索、机器学习、计算机视觉、数据库、机器人技术和推荐系统在内的各种各样的应用是关键的原语。在其核心,相似性搜索是使用k-最近邻(kNN)算法实现的,其中计算包括高度并行的距离计算和全局top-k排序。在当代冯-诺依曼架构中,kNN受到数据移动的限制,这限制了吞吐量和延迟。在本文中,我们提出并评估了一种新的基于自动机的算法的kNN微米自动机处理器(AP),这是一个非冯诺依曼近数据处理架构。通过采用近似数据处理,AP最大限度地减少了数据移动瓶颈,并能够实现更好的性能。与以前的工作在自动机处理空间,我们的工作结合了时间编码与自动机设计,以增加空间的应用程序的AP。我们评估了我们的设计在AP上的性能,并与最先进的CPU,GPU和FPGA实现进行了比较;我们表明,当前一代的AP硬件可以实现超过50倍的CPU加速,同时保持有竞争力的能源效率收益。我们还提出了几个自动机优化技术和简单的架构扩展,突出了AP硬件的潜力。

英文摘要:

Similarity search is a critical primitive for a wide variety of applications including natural language processing, content-based search, machine learning, computer vision, databases, robotics, and recommendation systems. At its core, similarity search is implemented using the k-nearest neighbors (kNN) algorithm, where computation consists of highly parallel distance calculations and a global top-k sort. In contemporary von-Neumann architectures, kNN is bottlenecked by data movement which limits throughput and latency. In this paper, we present and evaluate a novel automata-based algorithm for kNN on the Micron Automata Processor (AP), which is a non-von Neumann near-data processing architecture. By employing near-data processing, the AP minimizes the data movement bottleneck and is able to achieve better performance. Unlike prior work in the automata processing space, our work combines temporal encodings with automata design to augment the space of applications for the AP. We evaluate our design's performance on the AP and compare to state-of-the-art CPU, GPU, and FPGA implementations; we show that the current generation of AP hardware can achieve over 50x speedup over CPUs while maintaining competitive energy efficiency gains. We also propose several automata optimization techniques and simple architectural extensions that highlight the potential of the AP hardware.

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

↑