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

迈向最优压缩:剪枝与量化联合优化

Towards Optimal Compression: Joint Pruning and Quantization

University of Cambridge(剑桥大学);University of Zürich(苏黎世大学);Princeton University(普林斯顿大学);CERN(欧洲核子研究中心);CEVA. Inc(CEVA公司)

Ben Zandonati, Glenn Bucagu, Adrian Alan Pol, Maurizio Pierini, Olya Sirkin, Tal Kopetz

AI总结:

针对深度神经网络压缩中量化与剪枝策略确定难、现有方法压缩-性能权衡不佳的问题,提出整合混合精度量化与非结构化剪枝的FITCompress方法,利用Fisher信息度量和路径规划实现最优压缩配置,在多任务基准上表现优于现有方法。

摘要:

模型压缩对于在资源受限硬件上优化深度神经网络推理至关重要。目前主流的网络压缩方法即量化和剪枝,虽已被证明能提升效率,但会以性能为代价。为各层和各参数确定最有效的量化与剪枝策略仍是一个难题,通常需要计算成本高昂的特设数值优化技术。本文提出FITCompress,这是一种采用统一启发式方法、整合逐层混合精度量化与非结构化剪枝的新方法。通过利用Fisher信息度量(Fisher Information Metric)和压缩空间中的路径规划,FITCompress能针对给定的预训练模型和压缩约束,最优地选择剪枝掩码与混合精度量化配置的组合。在计算机视觉和自然语言处理基准上的实验表明,与现有最优方法相比,本文所提方法实现了更优的压缩-性能权衡。FITCompress因其原理性推导而独具优势,可跨任务和网络架构灵活应用,是迈向神经网络最优压缩的一步。

英文摘要:

Model compression is instrumental in optimizing deep neural network inference on resource-constrained hardware. The prevailing methods for network compression, namely quantization and pruning, have been shown to enhance efficiency at the cost of performance. Determining the most effective quantization and pruning strategies for individual layers and parameters remains a challenging problem, often requiring computationally expensive and ad hoc numerical optimization techniques. This paper introduces FITCompress, a novel method integrating layer-wise mixed-precision quantization and unstructured pruning using a unified heuristic approach. By leveraging the Fisher Information Metric and path planning through compression space, FITCompress optimally selects a combination of pruning mask and mixed-precision quantization configuration for a given pre-trained model and compression constraint. Experiments on computer vision and natural language processing benchmarks demonstrate that our proposed approach achieves a superior compression-performance trade-off compared to existing state-of-the-art methods. FITCompress stands out for its principled derivation, making it versatile across tasks and network architectures, and represents a step towards achieving optimal compression for neural networks.

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

↑