arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.03537cs.CVcs.AI
收藏

可靠分布无损网络剪枝的有效Stein变分推理

Efficient Stein Variational Inference for Reliable Distribution-lossless Network Pruning

The Hong Kong Polytechnic University(香港理工大学);Xi’an Jiaotong University(西安交通大学);Hong Kong Baptist University(香港浸会大学)

Yingchun Wang, Song Guo, Jingcai Guo, Weizhan Zhang, Yida Xu, Jie Zhang, Yi Liu

摘要:

网络修剪是一种很有前途的方法,可以生成轻便但准确的模型,并将其部署在资源有限的边缘设备上。然而,目前的最先进的假设,在给定的网络中的有效子网络和其他多余的参数共享相同的分布,其中修剪不可避免地涉及分布截断操作。它们通常会消除接近零的值。虽然简单,但它可能不是最合适的方法,因为有效的模型自然会有许多与之相关的小值。删除模型空间中已嵌入的近零值可能会显著降低模型精度。另一条工作线提出了在所有可能的子结构上分配离散先验,这些子结构仍然依赖于人为的先验假设。更糟糕的是,现有的方法使用正则化的点估计,即硬修剪,不能提供错误的估计和失败的可靠性证明修剪网络。在本文中,我们提出了一种新的分布无损修剪方法,命名为DLLP,理论上找到贝叶斯处理修剪彩票。具体而言,DLLP将香草网络重构为潜在修剪模型和其他冗余的离散先验。更重要的是,DLLP使用Stein变分推理来逼近潜在先验,有效地绕过了计算未知分布的KL散度。基于小型Cifar-10和大型ImageNet的大量实验表明,我们的方法可以获得具有良好泛化性能的稀疏网络,同时为修剪模型提供量化的可靠性。

英文摘要:

Network pruning is a promising way to generate light but accurate models and enable their deployment on resource-limited edge devices. However, the current state-of-the-art assumes that the effective sub-network and the other superfluous parameters in the given network share the same distribution, where pruning inevitably involves a distribution truncation operation. They usually eliminate values near zero. While simple, it may not be the most appropriate method, as effective models may naturally have many small values associated with them. Removing near-zero values already embedded in model space may significantly reduce model accuracy. Another line of work has proposed to assign discrete prior over all possible sub-structures that still rely on human-crafted prior hypotheses. Worse still, existing methods use regularized point estimates, namely Hard Pruning, that can not provide error estimations and fail reliability justification for the pruned networks. In this paper, we propose a novel distribution-lossless pruning method, named DLLP, to theoretically find the pruned lottery within Bayesian treatment. Specifically, DLLP remodels the vanilla networks as discrete priors for the latent pruned model and the other redundancy. More importantly, DLLP uses Stein Variational Inference to approach the latent prior and effectively bypasses calculating KL divergence with unknown distribution. Extensive experiments based on small Cifar-10 and large-scaled ImageNet demonstrate that our method can obtain sparser networks with great generalization performance while providing quantified reliability for the pruned model.

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

↑