arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2107.00070cs.LGcs.CV
收藏

Dep- $L_0$:通过依赖建模改进基于$L_0$的网络稀疏化

Dep-$L_0$: Improving $L_0$-based Network Sparsification via Dependency Modeling

Georgia State University(佐治亚州立大学)

Yang Li, Shihao Ji

摘要:

使用$L_0$正则化训练深度神经网络是网络修剪或稀疏化的主要方法之一。该方法通过鼓励权重精确地变为零来在训练期间修剪网络。然而,Gale等人最近的工作表明,尽管这种方法在较小的数据集上产生了很高的压缩率,但它在大规模学习任务上的表现并不一致,例如ImageNet上的ResNet 50。我们通过变分推理的镜头来分析这种现象,发现这可能是由于二进制门的独立建模,即平均场近似,这在贝叶斯统计中因其粗糙近似而表现不佳而闻名。为了缓解这一不足,我们提出了一个依赖建模的二进制门,它可以有效地建模为一个多层感知器(MLP)。我们称我们的算法Dep- $L_0$,因为它通过依赖性使能的$L_0$正则化来修剪网络。在CIFAR 10,CIFAR 100和ImageNet上使用VGG 16,ResNet 50,ResNet 56进行的大量实验表明,我们的Dep- $L_0$明显优于Louizos等人的原始$L_0$ -HC算法,特别是在ImageNet上。与最先进的网络稀疏化算法相比,我们的依赖建模使得基于$L_0$的稀疏化在大规模学习任务上再次非常有竞争力。我们的源代码可以在https://github.com/leo-yangli/dep-l0上找到。

英文摘要:

Training deep neural networks with an $L_0$ regularization is one of the prominent approaches for network pruning or sparsification. The method prunes the network during training by encouraging weights to become exactly zero. However, recent work of Gale et al. reveals that although this method yields high compression rates on smaller datasets, it performs inconsistently on large-scale learning tasks, such as ResNet50 on ImageNet. We analyze this phenomenon through the lens of variational inference and find that it is likely due to the independent modeling of binary gates, the mean-field approximation, which is known in Bayesian statistics for its poor performance due to the crude approximation. To mitigate this deficiency, we propose a dependency modeling of binary gates, which can be modeled effectively as a multi-layer perceptron (MLP). We term our algorithm Dep-$L_0$ as it prunes networks via a dependency-enabled $L_0$ regularization. Extensive experiments on CIFAR10, CIFAR100 and ImageNet with VGG16, ResNet50, ResNet56 show that our Dep-$L_0$ outperforms the original $L_0$-HC algorithm of Louizos et al. by a significant margin, especially on ImageNet. Compared with the state-of-the-arts network sparsification algorithms, our dependency modeling makes the $L_0$-based sparsification once again very competitive on large-scale learning tasks. Our source code is available at https://github.com/leo-yangli/dep-l0.

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

↑