arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.04018cs.LGstat.ML
收藏

基于Coresets的数据无关神经网络剪枝

Data-Independent Neural Pruning via Coresets

University of Haifa(海法大学);Johns Hopkins University(约翰斯·霍普金斯大学);Carnegie Mellon University(卡内基梅隆大学)

Ben Mussay, Margarita Osadchy, Vladimir Braverman, Samson Zhou, Dan Feldman

摘要:

以前的工作经验表明,大型神经网络可以在保持准确性的同时显着减小尺寸。模型压缩成为一个中心的研究课题,因为它是部署神经网络的设备上的计算和内存资源有限的关键。大多数的压缩方法是基于几何的,并提供任何最坏情况下的保证之间的权衡压缩率和近似误差的任意新的样本。我们提出了第一个有效的,数据独立的神经修剪算法,其压缩率和任何未来的测试样本的近似误差之间的可证明的权衡。我们的方法是基于coreset框架,找到一个小的加权子集的点,可证明近似的原始输入。具体来说,我们用前一层神经元的核心集来近似一层神经元的输出,并丢弃其余的神经元。我们从上到下逐层地应用这个框架。与以前的作品不同,我们的coreset是数据独立的,这意味着它可以证明保证任何输入$x\in \mathbb{R}^d$的函数的准确性,包括对抗性的。我们证明了我们的方法对流行的网络架构的有效性。特别是,我们的coresets产量90%的压缩的LeNet-300-100架构上MNIST,同时提高了准确性。

英文摘要:

Previous work showed empirically that large neural networks can be significantly reduced in size while preserving their accuracy. Model compression became a central research topic, as it is crucial for deployment of neural networks on devices with limited computational and memory resources. The majority of the compression methods are based on heuristics and offer no worst-case guarantees on the trade-off between the compression rate and the approximation error for an arbitrarily new sample. We propose the first efficient, data-independent neural pruning algorithm with a provable trade-off between its compression rate and the approximation error for any future test sample. Our method is based on the coreset framework, which finds a small weighted subset of points that provably approximates the original inputs. Specifically, we approximate the output of a layer of neurons by a coreset of neurons in the previous layer and discard the rest. We apply this framework in a layer-by-layer fashion from the top to the bottom. Unlike previous works, our coreset is data independent, meaning that it provably guarantees the accuracy of the function for any input $x\in \mathbb{R}^d$, including an adversarial one. We demonstrate the effectiveness of our method on popular network architectures. In particular, our coresets yield 90\% compression of the LeNet-300-100 architecture on MNIST while improving the accuracy.

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

↑