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

RFC-HyPGCN:一种基于混合剪枝的GCN动作识别模型的稀疏特征压缩加速器

RFC-HyPGCN: A Runtime Sparse Feature Compress Accelerator for Skeleton-Based GCNs Action Recognition Model with Hybrid Pruning

Dong Wen, Jingfei Jiang, Jinwei Xu, Kang Wang, Tao Xiao, Yang Zhao, Yong Dou

摘要:

基于混沌的图卷积网络(GCN)模型在动作识别领域取得了很好的预测精度。然而,受限于大的模型和计算复杂度,用于动作识别的GCN(如2s-AGCN)在GPU上的功率效率和吞吐量不足。因此,低功耗GCN动作识别应用对模型简化和硬件加速的要求越来越高。针对上述问题,本文提出了一种基于混合剪枝方法的稀疏特征压缩加速器RFC-HyPGCN。首先,该方法通过重新组织乘法顺序来跳过图形和空间卷积工作负载。在空间卷积工作负载通道剪枝算法的基础上,设计了时间滤波器的粗粒度剪枝方法和时间维的类采样细粒度剪枝方法。后来,我们提出了一种架构,其中所有卷积层都映射到芯片上以追求高吞吐量。为了进一步降低存储资源的利用率,提出了在线稀疏特征压缩格式。该方法首先将特征按照给定的格式进行划分和编码,然后将特征库存储拆分为深度可变的小特征库。此外,本工作采用量化,输入跳过和PE内动态数据调度,以加速模型。在2s-AGCN上进行了实验,得到了3.0 × 8.4 ×模型压缩比和73.20 × 73.20的跳图效率。在Xilinx XCKU-115 FPGA上实现,该架构的峰值性能为1142 GOP/s,与高端GPU NVIDIA 2080 Ti和NVIDIA V100相比,分别达到9.19倍和3.91倍的加速比。与最新的动作识别加速器GCN模型相比,本文的设计达到了22.9倍的加速比,DSP效率提高了28.93%。

英文摘要:

Skeleton-based Graph Convolutional Networks (GCNs) models for action recognition have achieved excellent prediction accuracy in the field. However, limited by large model and computation complexity, GCNs for action recognition like 2s-AGCN have insufficient power-efficiency and throughput on GPU. Thus, the demand of model reduction and hardware acceleration for low-power GCNs action recognition application becomes continuously higher. To address challenges above, this paper proposes a runtime sparse feature compress accelerator with hybrid pruning method: RFC-HyPGCN. First, this method skips both graph and spatial convolution workloads by reorganizing the multiplication order. Following spatial convolution workloads channel-pruning dataflow, a coarse-grained pruning method on temporal filters is designed, together with sampling-like fine-grained pruning on time dimension. Later, we come up with an architecture where all convolutional layers are mapped on chip to pursue high throughput. To further reduce storage resource utilization, online sparse feature compress format is put forward. Features are divided and encoded into several banks according to presented format, then bank storage is split into depth-variable mini-banks. Furthermore, this work applies quantization, input-skipping and intra-PE dynamic data scheduling to accelerate the model. In experiments, proposed pruning method is conducted on 2s-AGCN, acquiring 3.0x-8.4x model compression ratio and 73.20\% graph-skipping efficiency with balancing weight pruning. Implemented on Xilinx XCKU-115 FPGA, the proposed architecture has the peak performance of 1142 GOP/s and achieves up to 9.19x and 3.91x speedup over high-end GPU NVIDIA 2080Ti and NVIDIA V100, respectively. Compared with latest accelerator for action recognition GCNs models, our design reaches 22.9x speedup and 28.93\% improvement on DSP efficiency.

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

↑