English

Efficient compression of neural networks and datasets

Machine Learning 2026-05-14 v2 Artificial Intelligence Information Theory math.IT Optimization and Control Statistics Theory Statistics Theory

Abstract

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 0\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 0\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.

Keywords

Cite

@article{arxiv.2505.17469,
  title  = {Efficient compression of neural networks and datasets},
  author = {Lukas Silvester Barth and Paulo von Petersenn},
  journal= {arXiv preprint arXiv:2505.17469},
  year   = {2026}
}

Comments

10 pages plus appendix, 9 Figures, 6 Tables

R2 v1 2026-07-01T02:33:07.672Z