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

通过层间核共享减少深度CNN中可训练参数的数量

Drastically Reducing the Number of Trainable Parameters in Deep CNNs by Inter-layer Kernel-sharing

Shahid Beheshti University(沙希德·贝赫什提大学);Artificial and Natural Intelligence Toulouse Institute(图卢兹人工智能与自然智能研究所);CNRS(法国国家科学研究中心);Université Toulouse 3(图卢兹第三大学)

Alireza Azadbakht, Saeed Reza Kheradpisheh, Ismail Khalfaoui-Hassani, Timothée Masquelier

摘要:

深度卷积神经网络(DCNN)已成为许多计算机视觉任务的最先进(SOTA)方法:图像分类,目标检测,语义分割等。在这里,我们提出了一种简单的方法来减少可训练参数的数量,从而减少内存占用:在多个卷积层之间共享内核。内核共享仅在"同构”层之间是可能的,即具有相同内核大小、输入和输出通道的层。这通常是DCNN的每个阶段内部的情况。我们使用ConvMixer和SE-ResNet架构在CIFAR-10和CIFAR-100上进行的实验表明,这些模型的参数数量可以大大减少,同时精度成本最小。由此产生的网络对于某些受到严重内存限制的边缘计算应用程序很有吸引力,如果利用“冻结权重”硬件加速器,则更有趣。核共享也是一种有效的正则化方法,可以减少过拟合。这些守则可在https://github.com/AlirezaAzadbakht/kernel-sharing上公开查阅。

英文摘要:

Deep convolutional neural networks (DCNNs) have become the state-of-the-art (SOTA) approach for many computer vision tasks: image classification, object detection, semantic segmentation, etc. However, most SOTA networks are too large for edge computing. Here, we suggest a simple way to reduce the number of trainable parameters and thus the memory footprint: sharing kernels between multiple convolutional layers. Kernel-sharing is only possible between ``isomorphic" layers, i.e.layers having the same kernel size, input and output channels. This is typically the case inside each stage of a DCNN. Our experiments on CIFAR-10 and CIFAR-100, using the ConvMixer and SE-ResNet architectures show that the number of parameters of these models can drastically be reduced with minimal cost on accuracy. The resulting networks are appealing for certain edge computing applications that are subject to severe memory constraints, and even more interesting if leveraging "frozen weights" hardware accelerators. Kernel-sharing is also an efficient regularization method, which can reduce overfitting. The codes are publicly available at https://github.com/AlirezaAzadbakht/kernel-sharing.

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

↑