在IoT设备上实现深度学习的双向协同设计方法
A Bi-Directional Co-Design Approach to Enable Deep Learning on IoT Devices
摘要:
为资源受限的物联网(IoT)设备开发深度学习模型是具有挑战性的,因为难以实现良好的结果质量(QoR)(诸如DNN模型推理准确性)和服务质量(QoS)(诸如推理延迟、吞吐量和功耗)两者。现有的方法通常将DNN模型开发步骤与其在物联网设备上的部署分开,从而导致次优解决方案。在本文中,我们首先介绍了一些有趣的,但违反直觉的意见,这样一个单独的设计方法,并实证显示为什么它可能会导致次优设计。受这些观察的启发,我们提出了一种新颖实用的双向协同设计方法:自下而上的DNN模型设计策略和自上而下的DNN加速器设计流程。它可以联合优化DNN模型及其在以FPGA表示的物联网设备上的部署配置。我们证明了所提出的协同设计方法的有效性,在现实生活中的目标检测应用程序使用Pynq-Z1嵌入式FPGA。我们的方法在高精度的QoR(IoU)和具有高吞吐量(FPS)和高能效的QoS上都获得了最先进的结果。
英文摘要:
Developing deep learning models for resource-constrained Internet-of-Things (IoT) devices is challenging, as it is difficult to achieve both good quality of results (QoR), such as DNN model inference accuracy, and quality of service (QoS), such as inference latency, throughput, and power consumption. Existing approaches typically separate the DNN model development step from its deployment on IoT devices, resulting in suboptimal solutions. In this paper, we first introduce a few interesting but counterintuitive observations about such a separate design approach, and empirically show why it may lead to suboptimal designs. Motivated by these observations, we then propose a novel and practical bi-directional co-design approach: a bottom-up DNN model design strategy together with a top-down flow for DNN accelerator design. It enables a joint optimization of both DNN models and their deployment configurations on IoT devices as represented as FPGAs. We demonstrate the effectiveness of the proposed co-design approach on a real-life object detection application using Pynq-Z1 embedded FPGA. Our method obtains the state-of-the-art results on both QoR with high accuracy (IoU) and QoS with high throughput (FPS) and high energy efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。