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

具有卷积和非卷积操作的DNN推理/训练性能分析

Performance Analysis of DNN Inference/Training with Convolution and non-Convolution Operations

University of Minnesota Twin Cities(明尼苏达大学双城分校);University of California San Diego(加利福尼亚大学圣迭戈分校)

Hadi Esmaeilzadeh, Soroush Ghodrati, Andrew B. Kahng, Sean Kinzer, Susmita Dey Manasi, Sachin S. Sapatnekar, Zhiang Wang

AI总结:

本文提出面向ASIC脉动加速器的性能分析框架SimDIT,全面覆盖CNN推理与训练的卷积及非卷积操作,揭示非卷积操作对运行时的显著影响,并通过优化资源分配实现18倍性能提升。

摘要:

当今面向深度学习加速器的性能分析框架存在两大显著局限。首先,尽管现代卷积神经网络(CNN)包含除卷积之外的多种层类型(尤其是在训练期间),但这些框架主要仅关注卷积层。其次,这些框架通常针对推理,缺乏对训练操作的支持。本工作提出了一种新颖的性能分析框架SimDIT,适用于基于通用ASIC的脉动硬件加速器平台。SimDIT的建模工作在高度可参数化的硬件基板上,全面覆盖了CNN推理和训练的卷积与非卷积操作。SimDIT与后端硅实现流程相集成,为执行CNN推理和训练工作负载提供详细的端到端性能统计(即数据访问成本、周期数、能耗和功率)。基于SimDIT的性能分析表明,在64X64处理阵列上,对于ResNet-50训练工作负载,非卷积操作占总运行时间的59.5%。此外,通过优化分配可用的片外DRAM带宽和片上SRAM资源,SimDIT在ResNet-50推理上实现了比通用静态资源分配18倍的性能提升。

英文摘要:

Today's performance analysis frameworks for deep learning accelerators suffer from two significant limitations. First, although modern convolutional neural network (CNNs) consist of many types of layers other than convolution, especially during training, these frameworks largely focus on convolution layers only. Second, these frameworks are generally targeted towards inference, and lack support for training operations. This work proposes a novel performance analysis framework, SimDIT, for general ASIC-based systolic hardware accelerator platforms. The modeling effort of SimDIT comprehensively covers convolution and non-convolution operations of both CNN inference and training on a highly parameterizable hardware substrate. SimDIT is integrated with a backend silicon implementation flow and provides detailed end-to-end performance statistics (i.e., data access cost, cycle counts, energy, and power) for executing CNN inference and training workloads. SimDIT-enabled performance analysis reveals that on a 64X64 processing array, non-convolution operations constitute 59.5% of total runtime for ResNet-50 training workload. In addition, by optimally distributing available off-chip DRAM bandwidth and on-chip SRAM resources, SimDIT achieves 18X performance improvement over a generic static resource allocation for ResNet-50 inference.

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

↑