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

FINN-R:一个端到端深度学习框架,用于快速探索量化神经网络

FINN-R: An End-to-End Deep-Learning Framework for Fast Exploration of Quantized Neural Networks

Michaela Blott, Thomas Preusser, Nicholas Fraser, Giulio Gambardella, Kenneth O'Brien, Yaman Umuroglu

摘要:

卷积神经网络已迅速成为最成功的机器学习算法,甚至在嵌入式计算系统上实现无处不在的机器视觉和智能决策。虽然底层算法在结构上很简单,但计算和内存要求却很具有挑战性。其中一个有希望的机会是利用输入,激活和模型参数的精度降低表示。由此产生的性能、电源效率和存储占用空间方面的可扩展性提供了有趣的设计妥协,以换取精度的小幅降低。FPGA是利用低精度推理引擎的理想选择,它利用自定义精度来实现给定应用所需的数值精度。在本文中,我们描述了第二代FINN框架,这是一个端到端工具,可以实现设计空间探索,并在FPGA上自动创建完全定制的推理引擎。给定一个神经网络描述,该工具优化给定的平台,设计目标和特定的精度。我们介绍了形式化的资源成本函数和性能预测,并阐述了优化算法。最后,我们评估了一系列降低精度的神经网络,从CIFAR-10分类器到基于YOLO的目标检测,包括PYNQ和AWS\,F1,在AWS-F1上以50 TOp/s和嵌入式设备上以5 TOp/s的速度展示了前所未有的新测量吞吐量。

英文摘要:

Convolutional Neural Networks have rapidly become the most successful machine learning algorithm, enabling ubiquitous machine vision and intelligent decisions on even embedded computing-systems. While the underlying arithmetic is structurally simple, compute and memory requirements are challenging. One of the promising opportunities is leveraging reduced-precision representations for inputs, activations and model parameters. The resulting scalability in performance, power efficiency and storage footprint provides interesting design compromises in exchange for a small reduction in accuracy. FPGAs are ideal for exploiting low-precision inference engines leveraging custom precisions to achieve the required numerical accuracy for a given application. In this article, we describe the second generation of the FINN framework, an end-to-end tool which enables design space exploration and automates the creation of fully customized inference engines on FPGAs. Given a neural network description, the tool optimizes for given platforms, design targets and a specific precision. We introduce formalizations of resource cost functions and performance predictions, and elaborate on the optimization algorithms. Finally, we evaluate a selection of reduced precision neural networks ranging from CIFAR-10 classifiers to YOLO-based object detection on a range of platforms including PYNQ and AWS\,F1, demonstrating new unprecedented measured throughput at 50TOp/s on AWS-F1 and 5TOp/s on embedded devices.

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

↑