DESCNet:为胶囊网络硬件开发高效的Sockchpad存储器
DESCNet: Developing Efficient Scratchpad Memories for Capsule Network Hardware
摘要:
深度神经网络(DNN)已被确立为用于高级机器学习应用的最先进算法。最近由Google Brain团队提出的胶囊网络(CapsNets)与DNN相比,由于其多维胶囊和保留不同对象之间的空间关系,因此提高了泛化能力。然而,它们对计算和内存的要求非常高,这使得它们的节能推理成为一项具有挑战性的任务。本文首次提供了一个深入的分析,突出的设计和管理相关的挑战(片上)存储器部署在硬件加速器执行快速CapsNets推理。为了实现高效的设计,我们提出了一个特定于应用程序的存储层次结构,它最大限度地减少了片外存储器访问,同时有效地将数据馈送到硬件加速器。我们分析了相应的片上存储器的要求,并利用它提出了一种新的方法来探索不同的暂存器存储器设计和他们的能量/面积权衡。之后,提出了一种特定于应用的功率门控技术,以进一步降低能耗,这取决于CapsNet的不同操作之间的利用率。我们对选定的帕累托最优解决方案的结果表明,与执行MNIST数据集的Google CapsNet模型的最先进设计相比,完整加速器(包括计算单元和内存)没有性能损失,能耗降低了79%。
英文摘要:
Deep Neural Networks (DNNs) have been established as the state-of-the-art algorithm for advanced machine learning applications. Recently proposed by the Google Brain's team, the Capsule Networks (CapsNets) have improved the generalization ability, as compared to DNNs, due to their multi-dimensional capsules and preserving the spatial relationship between different objects. However, they pose significantly high computational and memory requirements, making their energy-efficient inference a challenging task. This paper provides, for the first time, an in-depth analysis to highlight the design and management related challenges for the (on-chip) memories deployed in hardware accelerators executing fast CapsNets inference. To enable an efficient design, we propose an application-specific memory hierarchy, which minimizes the off-chip memory accesses, while efficiently feeding the data to the hardware accelerator. We analyze the corresponding on-chip memory requirements and leverage it to propose a novel methodology to explore different scratchpad memory designs and their energy/area trade-offs. Afterwards, an application-specific power-gating technique is proposed to further reduce the energy consumption, depending upon the utilization across different operations of the CapsNets. Our results for a selected Pareto-optimal solution demonstrate no performance loss and an energy reduction of 79% for the complete accelerator, including computational units and memories, when compared to a state-of-the-art design executing Google's CapsNet model for the MNIST dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。