arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1911.05944cs.LGstat.ML
收藏

2L-3 W:深度学习架构(DLA)到FPGA板的映射的2级3路软硬件协同验证

2L-3W: 2-Level 3-Way Hardware-Software Co-Verification for the Mapping of Deep Learning Architecture (DLA) onto FPGA Boards

Tennessee Tech University(田纳西理工大学)

Tolulope A. Odetola, Katie M. Groves, Syed Rafay Hasan

摘要:

FPGA已成为部署深度学习架构(DLA)的热门选择。有许多研究人员已经探索了DLA在FPGA上的部署和映射。然而,越来越需要对这些部署进行设计时硬件-软件协同验证。据我们所知,这是第一个提出2级3路(2L-3 W)硬件-软件协同验证方法的工作,并为FPGA板上DLA的成功映射,部署和验证提供了一个分步指南。2级验证是为了确保每个阶段(软件和硬件)的实现都遵循所需的行为。3路协同验证提供了跨范例(软件、设计和硬件)的逐层参数检查,以确保DLA在FPGA板上的正确实现和映射。建议的2L-3 W的共同验证方法已在几个测试用例进行了评估。在每种情况下,将PYNQ FPGA板(硬件)上部署的DLA的预测和逐层输出与Vivado HLS上实现的DLA的逐层输出的中间设计结果以及软件级别(Caffe深度学习框架)的预测和逐层输出进行比较,以获得逐层相似性得分。比较是使用完全自动化的Python脚本实现的。该比较提供逐层相似性分数,该分数通知我们DLA映射到FPGA的成功程度,或者帮助在设计时识别在映射不成功的情况下要调试的层。我们在LeNet DLA和Caffe启发的Cifar-10 DLA上展示了我们的技术,并且共同验证结果产生了99%准确度的逐层相似性得分。

英文摘要:

FPGAs have become a popular choice for deploying deep learning architectures (DLA). There are many researchers that have explored the deployment and mapping of DLA on FPGA. However, there has been a growing need to do design-time hardware-software co-verification of these deployments. To the best of our knowledge this is the first work that proposes a 2-Level 3-Way (2L-3W) hardware-software co-verification methodology and provides a step-by-step guide for the successful mapping, deployment and verification of DLA on FPGA boards. The 2-Level verification is to make sure the implementation in each stage (software and hardware) are following the desired behavior. The 3-Way co-verification provides a cross-paradigm (software, design and hardware) layer-by-layer parameter check to assure the correct implementation and mapping of the DLA onto FPGA boards. The proposed 2L-3W co-verification methodology has been evaluated over several test cases. In each case, the prediction and layer-by-layer output of the DLA deployed on PYNQ FPGA board (hardware) alongside with the intermediate design results of the layer-by-layer output of the DLA implemented on Vivado HLS and the prediction and layer-by-layer output of the software level (Caffe deep learning framework) are compared to obtain a layer-by-layer similarity score. The comparison is achieved using a completely automated Python script. The comparison provides a layer-by-layer similarity score that informs us the degree of success of the DLA mapping to the FPGA or help identify in design time the layer to be debugged in the case of unsuccessful mapping. We demonstrated our technique on LeNet DLA and Caffe inspired Cifar-10 DLA and the co-verification results yielded layer-by-layer similarity scores of 99\% accuracy.

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

↑