[Paper Review] Scalable Model Compression by Entropy Penalized Reparameterization
This paper proposes a scalable, end-to-end model compression method that reparameterizes neural network weights into a latent space, applies entropy-regularized scalar quantization, and uses arithmetic coding for compression. It achieves state-of-the-art compression performance across MNIST, CIFAR-10, and ImageNet with ResNet-50, using only a single training stage and no complex multi-stage procedures.
We describe a simple and general neural network weight compression approach, in which the network parameters (weights and biases) are represented in a "latent" space, amounting to a reparameterization. This space is equipped with a learned probability model, which is used to impose an entropy penalty on the parameter representation during training, and to compress the representation using a simple arithmetic coder after training. Classification accuracy and model compressibility is maximized jointly, with the bitrate--accuracy trade-off specified by a hyperparameter. We evaluate the method on the MNIST, CIFAR-10 and ImageNet classification benchmarks using six distinct model architectures. Our results show that state-of-the-art model compression can be achieved in a scalable and general way without requiring complex procedures such as multi-stage training.
Motivation & Objective
- To develop a simple, general, and scalable method for compressing neural network weights without requiring multi-stage training or complex procedures.
- To jointly optimize model accuracy and compressibility by introducing an entropy penalty in a learned latent space.
- To enable high compression ratios while maintaining classification accuracy through efficient arithmetic coding of quantized parameters.
- To demonstrate that complex techniques like pruning, sparsification, or adaptive coding are not necessary for state-of-the-art compression.
- To provide a royalty-free, publicly available implementation suitable for large-scale models like ResNet-50.
Proposed method
- Reparameterize model weights into a learned latent space using a differentiable transformation to increase representational flexibility.
- Apply scalar quantization in the latent space to discretize parameters efficiently, enabling tractable entropy modeling.
- Introduce an entropy penalty during training to encourage low-bitrate representations that maintain high accuracy.
- Use a learned probability model over the latent representation to guide entropy coding and minimize bitrate.
- After training, compress the quantized latent representation using arithmetic coding, leveraging the learned probability model for optimal compression.
- Train the entire system end-to-end in a single stage, jointly optimizing for accuracy and compressed size via a hyperparameter-controlled trade-off.
Experimental results
Research questions
- RQ1Can a single-stage, end-to-end trainable framework achieve state-of-the-art model compression without multi-stage training or complex procedures?
- RQ2Does reparameterization of weights into a learned latent space improve the flexibility and efficiency of scalar quantization compared to direct quantization in the original parameter space?
- RQ3To what extent can entropy regularization in the latent space balance model accuracy and compressed size across diverse architectures and datasets?
- RQ4Can this method scale effectively to large models like ResNet-50 on ImageNet while maintaining high compression efficiency?
- RQ5Is it possible to achieve superior compression performance without relying on techniques like pruning, sparsification, or context-adaptive coding?
Key findings
- The method achieves state-of-the-art model compression performance on MNIST, CIFAR-10, and ImageNet, outperforming prior methods that use multi-stage training or complex procedures.
- On ImageNet with ResNet-50, the method achieves high compression ratios while maintaining competitive top-1 accuracy, demonstrating scalability to large models.
- The approach outperforms methods like [11], which use four-stage training and pre-determined quantization, by achieving better accuracy at lower bitrates.
- The use of a learned probability model in the latent space enables more efficient entropy coding, reducing bitrate compared to naive quantization or fixed-distribution coding.
- The method requires only a single training stage and is compatible with any neural network architecture, enabling broad applicability.
- The approach is royalty-free and publicly available, with code provided via TensorFlow Compression, enhancing practical usability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.