MicroRec: Efficient Recommendation Inference by Hardware and Data Structure Solutions
ETH Zurich(苏黎世联邦理工学院);Columbia University(哥伦比亚大学);Alibaba Group(阿里巴巴集团)
Wenqi Jiang, Zhenhao He, Shuai Zhang, Thomas B. Preußer, Kai Zeng, Liang Feng, Jiansong Zhang, Tongxuan Liu, Yong Li, Jingren Zhou, Ce Zhang, Gustavo Alonso
备注:
Accepted by MLSys'21 (the 4th Conference on Machine Learning and Systems)
Deep neural networks are widely used in personalized recommendation systems. Unlike regular DNN inference workloads, recommendation inference is memory-bound due to the many random memory accesses needed to lookup the embedding tables. The inference is also heavily constrained in terms of latency because producing a recommendation for a user must be done in about tens of milliseconds. In this paper, we propose MicroRec, a high-performance inference engine for recommendation systems. MicroRec accelerates recommendation inference by (1) redesigning the data structures involved in the embeddings to reduce the number of lookups needed and (2) taking advantage of the availability of High-Bandwidth Memory (HBM) in FPGA accelerators to tackle the latency by enabling parallel lookups. We have implemented the resulting design on an FPGA board including the embedding lookup step as well as the complete inference process. Compared to the optimized CPU baseline (16 vCPU, AVX2-enabled), MicroRec achieves 13.8~14.7x speedup on embedding lookup alone and 2.5$~5.4x speedup for the entire recommendation inference in terms of throughput. As for latency, CPU-based engines needs milliseconds for inferring a recommendation while MicroRec only takes microseconds, a significant advantage in real-time recommendation systems.
Implementation of Trained Factorization Machine Recommendation System on Quantum Annealer
Hon Hai (Foxconn) Research Institute(鸿海(富士康)研究院);Graduate Institute of Applied Physics, National Taiwan University(国立台湾大学应用物理研究所);Department of Finance, National Taiwan University(国立台湾大学财务金融学系);Department of Mathematics, National Taiwan University(国立台湾大学数学系);Department of Mathematics, National Cheng Kung University(国立成功大学数学系)
Collaborative Filtering using Variational Quantum Hopfield Associative Memory
Pasargad Institue of Advanced Innovative Solutions(帕萨格德先进创新解决方案研究所);Department of Mathematics and Computer Science(数学与计算机科学系);Iran University of Science and Technology(伊朗科学技术大学);Qatar Center for Quantum Computing(卡塔尔量子计算中心);College of Science and Engineering(科学与工程学院);Hamad Bin Khalifa University(哈马德·本·卡伊夫大学)