arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.17469cs.LGcs.AIcs.ITmath.ITmath.OCmath.STstat.TH
收藏

神经网络和数据集的高效压缩

Efficient compression of neural networks and datasets

Max Planck Institute for Mathematics in the Sciences(马克斯·普朗克数学研究院)

Lukas Silvester Barth, Paulo von Petersenn

AI总结:

本文结合算法信息论和神经网络剪枝技术,通过改进数据压缩方法提升模型泛化能力,实现高效模型压缩与数据描述长度优化。

摘要:

压缩与泛化通过Solomonoff归纳和最小描述长度原则(MDL)从根本上相关,后者预测当数据来自低复杂度分布时,更简单的模型泛化能力更强。本文结合算法信息论的见解和神经网络剪枝技术,通过识别最有效的数据压缩方法来提升模型泛化能力。由于精确的MDL优化是不可行的,我们将其转化为$\ell_0$正则化学习,并解释为什么参数稀疏性提供了模型描述长度的有效可计算近似。为了确定最佳的实用方法,我们系统地比较并优化互补的稀疏优化方法。特别是,我们通过一种不需要蒙特卡洛采样的过程改进概率剪枝,并通过二分搜索程序优化平滑$\ell_0$近似,以降低超参数复杂性。在评估图像和文本数据集的卷积网络和变压器上,我们的优化方法在性能上优于其 predecessors,实现了显著的模型压缩,同时保持最小的精度损失,并产生了短的数据描述长度。最后,我们使用这些方法在受控的教师-学生设置中进行实验,以实证验证Solomonoff归纳的预测,即压缩模型更有效地学习样本,并泛化更好。

英文摘要:

Compression and generalization are fundamentally related through Solomonoff induction and the minimum description length principle (MDL), which predict that simpler models generalize better when data arises from low-complexity distributions. In this article, we combine insights from algorithmic information theory and techniques from neural network pruning to improve model generalization by identifying the most effective data compression method. Since exact MDL optimization is intractable, we cast it as $\ell_0$ regularized learning and explain why parameter sparsity provides an effective computable approximation of model description length. To identify the best practical approach, we systematically compare and refine complementary sparse optimization methods. In particular, we improve probabilistic pruning through a procedure that does not require Monte Carlo sampling and refine smooth $\ell_0$ approximations with a binary search routine that reduces hyperparameter complexity. Across convolutional networks and transformers evaluated on image and text datasets, our refined methods improve upon their predecessors, achieve substantial model compression with minimal accuracy loss, and yield short data description lengths. Finally, we use these methods in a controlled teacher-student setting to empirically verify the prediction of Solomonoff induction that compressed models learn more sample-efficiently and generalize better.

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

↑