arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.09026cs.ARcs.NE
收藏

FlexNN:一种面向能效边缘设备的数据流感知灵活深度学习加速器

FlexNN: A Dataflow-aware Flexible Deep Learning Accelerator for Energy-Efficient Edge Devices

Arnab Raha, Deepak A. Mathaikutty, Soumendu K. Ghosh, Shamik Kundu

AI总结:

本文提出FlexNN,一种面向边缘设备的灵活深度学习加速器,通过软件可配置描述符支持任意数据流以优化逐层数据移动和能耗,并结合细粒度稀疏性加速逻辑跳过冗余计算,显著提升了性能与能效。

摘要:

本文介绍了FlexNN,一种灵活神经网络加速器,它采用敏捷设计原则以支持多种数据流,从而提升能效。传统的卷积神经网络加速器架构遵循固定数据流(如输入、权重、输出或行驻留)来在存储和计算单元之间传输激活值和权重,与之不同的是,我们的设计通过软件可配置描述符实现了任意类型的可适应数据流,带来了革命性变化。从能耗角度看,数据移动成本远超计算成本,因此数据流的灵活性使我们能够逐层优化数据移动,以实现最小的数据传输和能耗,这是固定数据流架构无法做到的。为进一步提升FlexNN架构的吞吐量并降低能耗,我们提出了一种新颖的基于稀疏性的加速逻辑,利用激活和权重张量中的细粒度稀疏性来跳过冗余计算,从而优化硬件加速器内的卷积引擎。大量实验结果突显了FlexNN相较于现有DNN加速器在性能和能效上的显著提升。

英文摘要:

This paper introduces FlexNN, a Flexible Neural Network accelerator, which adopts agile design principles to enable versatile dataflows, enhancing energy efficiency. Unlike conventional convolutional neural network accelerator architectures that adhere to fixed dataflows (such as input, weight, output, or row stationary) for transferring activations and weights between storage and compute units, our design revolutionizes by enabling adaptable dataflows of any type through software configurable descriptors. Considering that data movement costs considerably outweigh compute costs from an energy perspective, the flexibility in dataflow allows us to optimize the movement per layer for minimal data transfer and energy consumption, a capability unattainable in fixed dataflow architectures. To further enhance throughput and reduce energy consumption in the FlexNN architecture, we propose a novel sparsity-based acceleration logic that utilizes fine-grained sparsity in both the activation and weight tensors to bypass redundant computations, thus optimizing the convolution engine within the hardware accelerator. Extensive experimental results underscore a significant enhancement in the performance and energy efficiency of FlexNN relative to existing DNN accelerators.

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

↑