arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2106.03795stat.MLcs.LG
收藏

SGD中的重尾与过参数化神经网络的可压缩性

Heavy Tails in SGD and Compressibility of Overparametrized Neural Networks

Boğaziçi University(海峡大学);Télécom Paris(巴黎电信学院);Institut Polytechnique de Paris(巴黎理工学院);University of Toronto(多伦多大学);Vector Institute(向量研究所);INRIA(法国国家信息与自动化研究所);École Normale Supérieure(巴黎高等师范学院);PSL Research University(巴黎文理研究大学)

Melih Barsbey, Milad Sefidgaran, Murat A. Erdogdu, Gaël Richard, Umut Şimşekli

摘要:

神经网络压缩技术已经变得越来越流行,因为它们可以大大减少非常大的网络的存储和计算需求。最近的实证研究表明,即使是简单的修剪策略也可以令人惊讶地有效,一些理论研究表明,可压缩网络(在特定意义上)应该实现低泛化误差。然而,使网络适合这种简单压缩方案的根本原因的理论表征仍然缺失。在这项研究中,我们解决了这个基本问题,并揭示了训练算法的动力学在获得这种可压缩网络中起着关键作用。将我们的注意力集中在随机梯度下降(SGD)上,我们的主要贡献是将可压缩性与SGD的两个最近建立的性质联系起来:(i)当网络大小趋于无穷大时,系统可以收敛到平均场极限,其中网络权重独立地表现,(ii)对于大的步长/批量比,SGD迭代可以收敛到重尾平稳分布。在这两种现象同时发生的情况下,我们证明了网络保证是“$\ell_p$ -compressible”,和不同的修剪技术(幅度,奇异值,或节点修剪)的压缩误差成为任意小的网络大小的增加。我们进一步证明了适用于我们的理论框架的泛化界,这确实证实了泛化误差对于更可压缩的网络将更低。我们对各种神经网络的理论和数值研究表明,大的步长/批量比引入重尾,这与过度参数化相结合,导致可压缩性。

英文摘要:

Neural network compression techniques have become increasingly popular as they can drastically reduce the storage and computation requirements for very large networks. Recent empirical studies have illustrated that even simple pruning strategies can be surprisingly effective, and several theoretical studies have shown that compressible networks (in specific senses) should achieve a low generalization error. Yet, a theoretical characterization of the underlying cause that makes the networks amenable to such simple compression schemes is still missing. In this study, we address this fundamental question and reveal that the dynamics of the training algorithm has a key role in obtaining such compressible networks. Focusing our attention on stochastic gradient descent (SGD), our main contribution is to link compressibility to two recently established properties of SGD: (i) as the network size goes to infinity, the system can converge to a mean-field limit, where the network weights behave independently, (ii) for a large step-size/batch-size ratio, the SGD iterates can converge to a heavy-tailed stationary distribution. In the case where these two phenomena occur simultaneously, we prove that the networks are guaranteed to be '$\ell_p$-compressible', and the compression errors of different pruning techniques (magnitude, singular value, or node pruning) become arbitrarily small as the network size increases. We further prove generalization bounds adapted to our theoretical framework, which indeed confirm that the generalization error will be lower for more compressible networks. Our theory and numerical study on various neural networks show that large step-size/batch-size ratios introduce heavy-tails, which, in combination with overparametrization, result in compressibility.

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

↑