Dynamic Shuffle:一种高效的通道混合方法
Dynamic Shuffle: An Efficient Channel Mixture Method
AI总结:
本文提出 Dynamic Shuffle,通过分组共享小置换矩阵、Kronecker 积与跨组混洗生成数据相关通道置换,并以可学习方式逼近置换矩阵,在多个图像分类基准上显著提升 ShuffleNets。
摘要:
卷积神经网络的冗余不仅取决于权重,还取决于输入。Shuffle(混洗)是一种用于混合通道信息的高效操作,但其混洗顺序通常是预定义的。为减少依赖于数据的冗余,我们设计了一个 dynamic shuffle(动态混洗)模块,用于生成依赖于数据的置换矩阵来执行混洗。由于置换矩阵的维度与输入通道数的平方成正比,为使生成过程高效,我们将通道分组,并为每组生成两个共享的小型置换矩阵,再利用 Kronecker 积和跨组混洗获得最终置换矩阵。为使生成过程可学习,基于理论分析,我们采用 softmax、正交正则化和二值化来渐近逼近置换矩阵。Dynamic shuffle 以可忽略的额外计算和内存占用自适应地混合通道信息。在图像分类基准数据集 CIFAR-10、CIFAR-100、Tiny ImageNet 和 ImageNet 上的实验结果表明,我们的方法显著提升了 ShuffleNets 的性能。通过将动态生成矩阵与可学习的静态矩阵相加,我们进一步提出了 static-dynamic-shuffle,并表明它可以作为普通逐点卷积的轻量级替代方案。
英文摘要:
The redundancy of Convolutional neural networks not only depends on weights but also depends on inputs. Shuffling is an efficient operation for mixing channel information but the shuffle order is usually pre-defined. To reduce the data-dependent redundancy, we devise a dynamic shuffle module to generate data-dependent permutation matrices for shuffling. Since the dimension of permutation matrix is proportional to the square of the number of input channels, to make the generation process efficiently, we divide the channels into groups and generate two shared small permutation matrices for each group, and utilize Kronecker product and cross group shuffle to obtain the final permutation matrices. To make the generation process learnable, based on theoretical analysis, softmax, orthogonal regularization, and binarization are employed to asymptotically approximate the permutation matrix. Dynamic shuffle adaptively mixes channel information with negligible extra computation and memory occupancy. Experiment results on image classification benchmark datasets CIFAR-10, CIFAR-100, Tiny ImageNet and ImageNet have shown that our method significantly increases ShuffleNets' performance. Adding dynamic generated matrix with learnable static matrix, we further propose static-dynamic-shuffle and show that it can serve as a lightweight replacement of ordinary pointwise convolution.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。