arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2202.10935cs.LGcs.AI
收藏

EF-Train:通过数据重塑实现在线适应或个性化,在FPGA上实现高效的设备上CNN培训

EF-Train: Enable Efficient On-device CNN Training on FPGA Through Data Reshaping for Online Adaptation or Personalization

University of Pittsburgh(匹兹堡大学)

Yue Tang, Xinyi Zhang, Peipei Zhou, Jingtong Hu

摘要:

传统上,DNN模型在云中训练一次,然后部署在边缘设备(如汽车、机器人或无人机)中进行实时推理。然而,在许多情况下,需要模型适应新的环境、领域或新用户。为了实现这种领域自适应或个性化,设备上的模型需要在设备上不断训练。在这项工作中,我们设计了EF-Train,这是一种高效的DNN训练加速器,具有统一的基于通道级并行的卷积内核,可以在资源有限的低功耗边缘级FPGA上实现端到端训练。在资源有限的FPGA上实现设备上的训练是具有挑战性的,这是由于前向、后向传播和权重更新之间的不同存储器访问模式导致的低效率。因此,我们开发了一种数据整形方法,内部瓦片连续内存分配和权重重用。建立了一个分析模型,以自动调度计算和内存资源,以实现边缘FPGA的高能效。实验结果表明,我们的设计达到46.99 GFLOPS和6.09GFLOPS/W的吞吐量和能源效率,分别。

英文摘要:

Conventionally, DNN models are trained once in the cloud and deployed in edge devices such as cars, robots, or unmanned aerial vehicles (UAVs) for real-time inference. However, there are many cases that require the models to adapt to new environments, domains, or new users. In order to realize such domain adaption or personalization, the models on devices need to be continuously trained on the device. In this work, we design EF-Train, an efficient DNN training accelerator with a unified channel-level parallelism-based convolution kernel that can achieve end-to-end training on resource-limited low-power edge-level FPGAs. It is challenging to implement on-device training on resource-limited FPGAs due to the low efficiency caused by different memory access patterns among forward, backward propagation, and weight update. Therefore, we developed a data reshaping approach with intra-tile continuous memory allocation and weight reuse. An analytical model is established to automatically schedule computation and memory resources to achieve high energy efficiency on edge FPGAs. The experimental results show that our design achieves 46.99 GFLOPS and 6.09GFLOPS/W in terms of throughput and energy efficiency, respectively.

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

↑