arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.09309cs.CV
收藏

层折叠:使用激活线性化的神经网络深度缩减

Layer Folding: Neural Network Depth Reduction using Activation Linearization

Samsung Israel Research Center(三星以色列研究中心)

Amir Ben Dror, Niv Zehngut, Avraham Raviv, Evgeny Artyomov, Ran Vitek, Roy Jevnisek

摘要:

尽管深度神经网络越来越流行,但由于其计算负载,其在资源受限设备中的适用性受到限制。虽然现代设备表现出高水平的并行性,但实时延迟仍然高度依赖于网络深度。尽管最近的研究表明,在一定深度以下,较浅网络的宽度必须呈指数增长,但我们假设神经网络通常会超过这个最小深度,以加速收敛并逐步提高准确性。这促使我们将已经利用这些优势的预先训练的深度网络转化为更浅的形式。我们提出了一种方法,可以学习是否可以删除非线性激活,允许将连续的线性层折叠成一个。我们将我们的方法应用于在CIFAR-10和CIFAR-100上预训练的网络,发现它们都可以转换为具有相似深度的较浅形式。最后,我们使用我们的方法在ImageNet分类任务上为MobileNetV 2和EfficientNet-Lite架构提供更有效的替代方案。

英文摘要:

Despite the increasing prevalence of deep neural networks, their applicability in resource-constrained devices is limited due to their computational load. While modern devices exhibit a high level of parallelism, real-time latency is still highly dependent on networks' depth. Although recent works show that below a certain depth, the width of shallower networks must grow exponentially, we presume that neural networks typically exceed this minimal depth to accelerate convergence and incrementally increase accuracy. This motivates us to transform pre-trained deep networks that already exploit such advantages into shallower forms. We propose a method that learns whether non-linear activations can be removed, allowing to fold consecutive linear layers into one. We apply our method to networks pre-trained on CIFAR-10 and CIFAR-100 and find that they can all be transformed into shallower forms that share a similar depth. Finally, we use our method to provide more efficient alternatives to MobileNetV2 and EfficientNet-Lite architectures on the ImageNet classification task.

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

↑