arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1810.06401cs.ITcs.LGmath.ITstat.ML
收藏

模型压缩的率失真:从理论到实践

Rate Distortion For Model Compression: From Theory To Practice

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Google Inc.(谷歌公司);Allen School of Computer Science and Engineering(艾伦计算机科学与工程学院)

Weihao Gao, Yu-Han Liu, Chong Wang, Sewoong Oh

摘要:

现代深度神经网络的巨大规模使得在内存和通信受限的场景中部署这些模型具有挑战性。因此,在不显著损失性能的情况下压缩训练模型已成为越来越重要的任务。最近已经取得了巨大的进步,其中主要的技术构建块是参数修剪,参数共享(量化)和低秩因子分解。在本文中,我们提出了原则性的方法,以改善在这些积木,即修剪和量化中使用的常见算法。我们首先从率失真理论出发,研究了模型压缩的基本极限。我们把率失真函数从数据压缩到模型压缩来量化这个基本限制。我们证明了率失真函数的一个下界,并证明了其线性模型的可扩展性。虽然这种可实现的压缩方案在实践中是棘手的,这种分析激发了一种新的模型压缩框架。该框架为模型压缩提供了一种新的目标函数,可以与其他类型的模型压缩器(如修剪或量化)一起应用。理论上,我们证明了所提出的方案是压缩单隐藏层ReLU神经网络的最佳方案。从经验上讲,我们表明,所提出的方案提高了基线的压缩精度的权衡。

英文摘要:

The enormous size of modern deep neural networks makes it challenging to deploy those models in memory and communication limited scenarios. Thus, compressing a trained model without a significant loss in performance has become an increasingly important task. Tremendous advances has been made recently, where the main technical building blocks are parameter pruning, parameter sharing (quantization), and low-rank factorization. In this paper, we propose principled approaches to improve upon the common heuristics used in those building blocks, namely pruning and quantization. We first study the fundamental limit for model compression via the rate distortion theory. We bring the rate distortion function from data compression to model compression to quantify this fundamental limit. We prove a lower bound for the rate distortion function and prove its achievability for linear models. Although this achievable compression scheme is intractable in practice, this analysis motivates a novel model compression framework. This framework provides a new objective function in model compression, which can be applied together with other classes of model compressor such as pruning or quantization. Theoretically, we prove that the proposed scheme is optimal for compressing one-hidden-layer ReLU neural networks. Empirically, we show that the proposed scheme improves upon the baseline in the compression-accuracy tradeoff.

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

↑