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

基于多层原位生成的记忆高效神经网络

Towards Memory-Efficient Neural Networks via Multi-Level in situ Generation

The University of Texas at Austin(德克萨斯大学奥斯汀分校)

Jiaqi Gu, Hanqing Zhu, Chenghao Feng, Mingjie Liu, Zixuan Jiang, Ray T. Chen, David Z. Pan

摘要:

深度神经网络(DNN)在各种任务中表现出卓越的性能。随着它们的快速发展,它们不断升级的计算和内存需求使得将它们部署在资源受限的边缘设备上变得非常具有挑战性。尽管从传统电子到新兴光子的广泛有效的加速器设计已经成功地被证明,但是由于电存储器和计算核心的带宽/功率/延迟之间的巨大差距,它们仍然受到昂贵的存储器访问的阻碍。以前的解决方案未能充分利用新兴DNN加速器的超快计算速度来突破关键的内存限制。在这项工作中,我们提出了一个通用的和统一的框架,以交易昂贵的内存事务与超快的片上计算,直接转化为性能的提高。我们是第一个共同探索DNN内核内部的内在相关性和位级冗余的人,并提出了一种具有混合精度基础的多级原位生成机制,以最小的硬件开销实现高分辨率参数的实时恢复。大量的实验表明,我们提出的联合方法可以将内存效率提高10- 20倍,在四个最先进的设计中具有可比的精度,当在ResNet-18/DenseNet-121/MobileNetV 2/V3上进行各种任务的基准测试时。

英文摘要:

Deep neural networks (DNN) have shown superior performance in a variety of tasks. As they rapidly evolve, their escalating computation and memory demands make it challenging to deploy them on resource-constrained edge devices. Though extensive efficient accelerator designs, from traditional electronics to emerging photonics, have been successfully demonstrated, they are still bottlenecked by expensive memory accesses due to tremendous gaps between the bandwidth/power/latency of electrical memory and computing cores. Previous solutions fail to fully-leverage the ultra-fast computational speed of emerging DNN accelerators to break through the critical memory bound. In this work, we propose a general and unified framework to trade expensive memory transactions with ultra-fast on-chip computations, directly translating to performance improvement. We are the first to jointly explore the intrinsic correlations and bit-level redundancy within DNN kernels and propose a multi-level in situ generation mechanism with mixed-precision bases to achieve on-the-fly recovery of high-resolution parameters with minimum hardware overhead. Extensive experiments demonstrate that our proposed joint method can boost the memory efficiency by 10-20x with comparable accuracy over four state-of-the-art designs, when benchmarked on ResNet-18/DenseNet-121/MobileNetV2/V3 with various tasks.

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

↑