arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.01702cs.CVcs.LGcs.PF
收藏

重构批量归一化以加速CNN培训

Restructuring Batch Normalization to Accelerate CNN Training

Seoul National University(首尔国立大学);Samsung Electronics(三星电子)

Wonkyung Jung, Daejin Jung, and Byeongho Kim, Sunjung Lee, Wonjong Rhee, Jung Ho Ahn

摘要:

批量归一化(BN)已成为现代卷积神经网络(CNN)的核心设计模块。典型的现代CNN在其精益和深度架构中具有大量BN层。BN需要在训练期间计算每个小批次的均值和方差。因此,现有的存储器访问减少技术(诸如熔合多个CONV层)对于加速BN是无效的,因为它们不能在训练期间优化小批量相关计算。为了解决这个日益重要的问题,我们建议通过首先将BN层分成两个子层(裂变),然后将第一子层与其先前的CONV层结合,并将第二子层与随后的激活层和CONV层结合(熔合)来重构BN层。在训练最新的CNN模型时,该方法可以显著减少内存访问,在片上多处理器上的实验表明,该方法可以使DenseNet-121的性能提高25.7%.

英文摘要:

Batch Normalization (BN) has become a core design block of modern Convolutional Neural Networks (CNNs). A typical modern CNN has a large number of BN layers in its lean and deep architecture. BN requires mean and variance calculations over each mini-batch during training. Therefore, the existing memory access reduction techniques, such as fusing multiple CONV layers, are not effective for accelerating BN due to their inability to optimize mini-batch related calculations during training. To address this increasingly important problem, we propose to restructure BN layers by first splitting a BN layer into two sub-layers (fission) and then combining the first sub-layer with its preceding CONV layer and the second sub-layer with the following activation and CONV layers (fusion). The proposed solution can significantly reduce main-memory accesses while training the latest CNN models, and the experiments on a chip multiprocessor show that the proposed BN restructuring can improve the performance of DenseNet-121 by 25.7%.

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

↑