通过极化正则化与单次训练学习共识子网络
Learning a Consensus Sub-Network with Polarization Regularization and One Pass Training
AI总结:
针对现有网络剪枝方案开销大的问题,提出结合二值门控模块与极化损失的单次训练剪枝策略,可同步完成剪枝与训练,在多数据集上实现50%剪枝率下准确率下降不足1%,兼顾能耗降低与性能保持。
摘要:
随着神经网络模型规模持续扩大、复杂度不断提升,绿色AI这一主题已在深度学习领域受到越来越多的关注。现有用于降低训练与推理阶段计算负载的方案通常以剪枝网络参数为核心。这类剪枝方案往往会产生额外开销:静态剪枝需要迭代训练与微调,动态剪枝图则需要重复计算。\n我们提出了一种全新的参数剪枝策略,用于学习更轻量的子网络,在保证给定下游任务性能与全参数网络相当的同时,最大程度降低能耗。该剪枝方案以绿色为导向,仅需一次训练即可通过动态剪枝方法找到最优的静态子网络。\n该剪枝方案包含一个二值门控模块与一个极化损失函数,可挖掘出用户自定义稀疏度的子网络。我们的方法实现了剪枝与训练同步进行,既节省了训练与推理阶段的能耗,也避免了推理阶段门控模块带来的额外计算开销。\n我们在CIFAR-10、CIFAR-100与Tiny Imagenet数据集上的实验结果表明,该方案可在深度网络中移除50%的连接,而分类准确率下降幅度不足1%。与其他相关剪枝方法相比,在计算成本降低幅度相同的情况下,我们的方法准确率下降幅度更小。
英文摘要:
The subject of green AI has been gaining attention within the deep learning community given the recent trend of ever larger and more complex neural network models. Existing solutions for reducing the computational load of training at inference time usually involve pruning the network parameters. Pruning schemes often create extra overhead either by iterative training and fine-tuning for static pruning or repeated computation of a dynamic pruning graph. We propose a new parameter pruning strategy for learning a lighter-weight sub-network that minimizes the energy cost while maintaining comparable performance to the fully parameterised network on given downstream tasks. Our proposed pruning scheme is green-oriented, as it only requires a one-off training to discover the optimal static sub-networks by dynamic pruning methods. The pruning scheme consists of a binary gating module and a polarizing loss function to uncover sub-networks with user-defined sparsity. Our method enables pruning and training simultaneously, which saves energy in both the training and inference phases and avoids extra computational overhead from gating modules at inference time. Our results on CIFAR-10, CIFAR-100, and Tiny Imagenet suggest that our scheme can remove 50% of connections in deep networks with <1% reduction in classification accuracy. Compared to other related pruning methods, our method demonstrates a lower drop in accuracy for equivalent reductions in computational cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。