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

SWAP:用于鲁棒网络剪枝的稀疏熵 Wasserstein 回归

SWAP: Sparse Entropic Wasserstein Regression for Robust Network Pruning

Technical University of Denmark(丹麦技术大学)

Lei You, Hei Victor Cheng

AI总结:

本文提出 SWAP 方法,用熵 Wasserstein 回归替代线性回归进行网络剪枝,以抑制梯度噪声并保留协方差信息,在大规模网络、高稀疏度及噪声梯度场景下显著优于现有剪枝算法。

摘要:

本研究针对神经网络剪枝过程中计算经验 Fisher 信息矩阵时梯度不准确这一挑战。我们提出 SWAP,一种用于剪枝的熵 Wasserstein 回归(EWR)公式,利用最优传输问题的几何特性。分析表明,在优化中用 EWR“替换”常用的线性回归,通过引入数据点间的邻域插值,能够以仅边际额外的计算成本提供噪声抑制效果。SWAP 的独特优势在于其内在能力,能够有效平衡噪声降低与协方差信息保留。在各种网络和数据集上进行的大量实验表明,SWAP 的性能与最先进的(SoTA)网络剪枝算法相当。当网络规模或目标稀疏度较大时,我们提出的方法优于 SoTA;在存在噪声梯度(可能来自噪声数据、模拟存储器或对抗攻击)的情况下,增益甚至更大。值得注意的是,我们提出的方法在 MobileNetV1 上,在保留不到四分之一网络参数的情况下,实现了准确率提高 6% 和测试损失改善 8% 的增益。

英文摘要:

This study addresses the challenge of inaccurate gradients in computing the empirical Fisher Information Matrix during neural network pruning. We introduce SWAP, a formulation of Entropic Wasserstein regression (EWR) for pruning, capitalizing on the geometric properties of the optimal transport problem. The ``swap'' of the commonly used linear regression with the EWR in optimization is analytically demonstrated to offer noise mitigation effects by incorporating neighborhood interpolation across data points with only marginal additional computational cost. The unique strength of SWAP is its intrinsic ability to balance noise reduction and covariance information preservation effectively. Extensive experiments performed on various networks and datasets show comparable performance of SWAP with state-of-the-art (SoTA) network pruning algorithms. Our proposed method outperforms the SoTA when the network size or the target sparsity is large, the gain is even larger with the existence of noisy gradients, possibly from noisy data, analog memory, or adversarial attacks. Notably, our proposed method achieves a gain of 6% improvement in accuracy and 8% improvement in testing loss for MobileNetV1 with less than one-fourth of the network parameters remaining.

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

↑