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

SAMO:卷积神经网络到流媒体架构的优化映射

SAMO: Optimised Mapping of Convolutional Neural Networks to Streaming Architectures

Alexander Montgomerie-Corcoran, Zhewen Yu, Christos-Savvas Bouganis

摘要:

大量的工作已经放在将卷积神经网络(CNN)模型映射到现场可编程门阵列(FPGA)的工具流的开发上,目的是自动化生产用于各种应用的高性能设计。然而,在这些工具流中,寻找最佳映射的问题往往被忽视,最终用户将根据他们所需的平台调整他们生成的硬件。这在流架构工具流中尤为突出,其中有很大的设计空间可供探索。在这项工作中,我们建立了框架SAMO:流架构映射优化器。SAMO利用CNN模型的结构和流架构中存在的共同特征,并将映射优化问题置于统一的方法下。此外,SAMO明确探讨了FPGA的可重构性属性,允许该方法克服资源受限情况下某些工具流所施加的映射限制,并提高可实现的吞吐量。为了为一系列目标平台和CNN模型生成有效、高性能的设计,开发了三种优化方法--蛮力、模拟退火和基于规则。结果表明,SAMO优化的设计可以实现4- 20倍的性能比现有的手动调整的设计。SAMO框架是开源的:https://github.com/AlexMontgomerie/samo。

英文摘要:

Significant effort has been placed on the development of toolflows that map Convolutional Neural Network (CNN) models to Field Programmable Gate Arrays (FPGAs) with the aim of automating the production of high performing designs for a diverse set of applications. However, within these toolflows, the problem of finding an optimal mapping is often overlooked, with the expectation that the end user will tune their generated hardware for their desired platform. This is particularly prominent within Streaming Architecture toolflows, where there is a large design space to explore . In this work, we establish the framework SAMO: a Streaming Architecture Mapping Optimiser. SAMO exploits the structure of CNN models and the common features that exist in Streaming Architectures, and casts the mapping optimisation problem under a unified methodology. Furthermore, SAMO explicitly explores the reconfigurability property of FPGAs, allowing the methodology to overcome mapping limitations imposed by certain toolflows under resource-constrained scenarios, as well as improve on the achievable throughput. Three optimisation methods - Brute-Force, Simulated Annealing and Rule-Based - have been developed in order to generate valid, high performance designs for a range of target platforms and CNN models. Results show that SAMO-optimised designs can achieve 4-20x better performance compared to existing hand-tuned designs. The SAMO framework is open-source: https://github.com/AlexMontgomerie/samo.

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

↑