arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.03653cs.ARcs.DCcs.LGcs.PL
收藏

MAFIA:面向IoT应用的FPGA机器学习加速

MAFIA: Machine Learning Acceleration on FPGAs for IoT Applications

University of British Columbia(不列颠哥伦比亚大学);Microsoft Research(微软研究院);University of California, Berkeley(加州大学伯克利分校)

Nikhil Pratap Ghanathe, Vivek Seshadri, Rahul Sharma, Steve Wilton, Aayan Kumar

摘要:

ML最近的突破产生了新的模型类别,允许ML推理直接在毫瓦供电的物联网设备上运行。一方面,现有的ML到FPGA编译器是为大型FPGA上的深度神经网络而设计的。另一方面,通用HLS工具无法利用ML推理的特定属性,从而导致次优性能。我们提出了MAFIA,这是一种在小型FPGA上编译ML推理的工具,用于物联网应用。MAFIA为线性代数运算提供原生支持,并可以表达各种ML算法,包括最先进的模型。我们表明,MAFIA生成的程序优于最佳性能的商业HLS编译器的变种平均2.5倍。

英文摘要:

Recent breakthroughs in ML have produced new classes of models that allow ML inference to run directly on milliwatt-powered IoT devices. On one hand, existing ML-to-FPGA compilers are designed for deep neural-networks on large FPGAs. On the other hand, general-purpose HLS tools fail to exploit properties specific to ML inference, thereby resulting in suboptimal performance. We propose MAFIA, a tool to compile ML inference on small form-factor FPGAs for IoT applications. MAFIA provides native support for linear algebra operations and can express a variety of ML algorithms, including state-of-the-art models. We show that MAFIA-generated programs outperform best-performing variant of a commercial HLS compiler by 2.5x on average.

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

↑