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

通过结构塑性实现高效网络构建

Efficient Network Construction through Structural Plasticity

Arizona State University(亚利桑那州立大学)

Xiaocong Du, Zheng Li, Yufei Ma, Yu Cao

摘要:

硬件上的深度神经网络(DNN)由于参数数量庞大而面临着过高的计算成本。减轻过度参数化的典型训练管道是在高精度的目标下首先用冗余学习单元(滤波器和神经元)预定义DNN结构,然后在训练后修剪冗余学习单元以实现高效推理。我们认为,这是次优引入冗余训练的目的是减少冗余以后的推理。此外,固定的网络结构进一步导致对动态任务的适应性差,例如终身学习。相比之下,结构可塑性在哺乳动物大脑中发挥着不可或缺的作用,以实现紧凑和准确的学习。在整个生命周期中,活跃的连接不断被创建,而那些不再重要的连接则被退化。受这种观察的启发,我们提出了一种训练方案,即连续增长和修剪(CGaP),我们从一个小的网络种子开始训练,然后通过添加重要的学习单元来执行连续增长,最后修剪次要的学习单元以进行有效的推理。从CGaP生成的推理模型在结构上是稀疏的,当部署在硬件平台上时,大大降低了推理能力和延迟。在典型数据集上使用流行的DNN结构,通过现场可编程门阵列(FPGA)上的算法仿真和架构建模来对CGaP的功效进行基准测试。例如,对于CIFAR-10上的ResNet-110,CGaP将FLOP、模型大小、DRAM访问能量和推理延迟分别降低了63.3%、64.0%、11.8%和40.2%。

英文摘要:

Deep Neural Networks (DNNs) on hardware is facing excessive computation cost due to the massive number of parameters. A typical training pipeline to mitigate over-parameterization is to pre-define a DNN structure first with redundant learning units (filters and neurons) under the goal of high accuracy, then to prune redundant learning units after training with the purpose of efficient inference. We argue that it is sub-optimal to introduce redundancy into training for the purpose of reducing redundancy later in inference. Moreover, the fixed network structure further results in poor adaption to dynamic tasks, such as lifelong learning. In contrast, structural plasticity plays an indispensable role in mammalian brains to achieve compact and accurate learning. Throughout the lifetime, active connections are continuously created while those no longer important are degenerated. Inspired by such observation, we propose a training scheme, namely Continuous Growth and Pruning (CGaP), where we start the training from a small network seed, then literally execute continuous growth by adding important learning units and finally prune secondary ones for efficient inference. The inference model generated from CGaP is sparse in the structure, largely decreasing the inference power and latency when deployed on hardware platforms. With popular DNN structures on representative datasets, the efficacy of CGaP is benchmarked by both algorithm simulation and architectural modeling on Field-programmable Gate Arrays (FPGA). For example, CGaP decreases the FLOPs, model size, DRAM access energy and inference latency by 63.3%, 64.0%, 11.8% and 40.2%, respectively, for ResNet-110 on CIFAR-10.

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

↑