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

为什么随机剪枝足以启动稀疏化

Why Random Pruning Is All We Need to Start Sparse

CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心)

Advait Gadhikar, Sohom Mukherjee, Rebekka Burkholz

AI总结:

本文从理论上证明随机掩码网络在按逆稀疏度对数因子加宽后能近似任意目标网络,并据此提出将稠密到稀疏训练转化为更高效的稀疏到稀疏训练的方法。

摘要:

随机掩码定义了出人意料地有效的稀疏神经网络模型,这一点已在实证中得到证明。由此得到的稀疏网络往往能够与稠密架构以及最先进的彩票剪枝算法相竞争,尽管它们不依赖计算成本高昂的剪枝-训练迭代,并且可以在没有显著计算开销的情况下直接初始化得到。我们提供了一个理论解释,说明如果随机掩码网络的宽度按逆稀疏度的对数因子 $1 / \log(1/\text{sparsity})$ 进行放大,它们就能近似任意目标网络。这一过参数化因子至少在3层随机网络中是必要的,这解释了在高稀疏度下随机网络性能下降的观察现象。然而,在中等至高稀疏度水平下,我们的结果表明更稀疏的网络包含在随机源网络之中,因此任何稠密到稀疏的训练方案都可以通过将搜索限制在固定随机掩码上,转化为计算上更高效的稀疏到稀疏方案。我们在针对不同剪枝方法的实验中证明了该方法的可行性,并提出了随机源网络初始逐层稀疏比率的特别有效选择。作为一个特例,我们从理论和实验上表明随机源网络也包含强彩票。

英文摘要:

Random masks define surprisingly effective sparse neural network models, as has been shown empirically. The resulting sparse networks can often compete with dense architectures and state-of-the-art lottery ticket pruning algorithms, even though they do not rely on computationally expensive prune-train iterations and can be drawn initially without significant computational overhead. We offer a theoretical explanation of how random masks can approximate arbitrary target networks if they are wider by a logarithmic factor in the inverse sparsity $1 / \log(1/\text{sparsity})$. This overparameterization factor is necessary at least for 3-layer random networks, which elucidates the observed degrading performance of random networks at higher sparsity. At moderate to high sparsity levels, however, our results imply that sparser networks are contained within random source networks so that any dense-to-sparse training scheme can be turned into a computationally more efficient sparse-to-sparse one by constraining the search to a fixed random mask. We demonstrate the feasibility of this approach in experiments for different pruning methods and propose particularly effective choices of initial layer-wise sparsity ratios of the random source network. As a special case, we show theoretically and experimentally that random source networks also contain strong lottery tickets.

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

↑