[Paper Review] Model compression as constrained optimization, with application to neural nets. Part V: combining compressions
This paper proposes a constrained optimization framework that combines multiple model compression techniques—such as low-rank approximation, pruning, and quantization—by representing a weight matrix as an additive combination of separately compressed components. The method jointly optimizes these components, achieving superior compression ratios with minimal accuracy loss, e.g., compressing ResNets and AlexNet to 1-bit per weight without error degradation, while VGG benefits more from low-rank and pruning combinations.
Model compression is generally performed by using quantization, low-rank approximation or pruning, for which various algorithms have been researched in recent years. One fundamental question is: what types of compression work better for a given model? Or even better: can we improve by combining compressions in a suitable way? We formulate this generally as a problem of optimizing the loss but where the weights are constrained to equal an additive combination of separately compressed parts; and we give an algorithm to learn the corresponding parts' parameters. Experimentally with deep neural nets, we observe that 1) we can find significantly better models in the error-compression space, indicating that different compression types have complementary benefits, and 2) the best type of combination depends exquisitely on the type of neural net. For example, we can compress ResNets and AlexNet using only 1 bit per weight without error degradation at the cost of adding a few floating point weights. However, VGG nets can be better compressed by combining low-rank with a few floating point weights.
Motivation & Objective
- To address the challenge of selecting optimal compression techniques for neural networks, especially when individual methods may not fully exploit complementary strengths.
- To develop a unified framework that enables joint optimization of multiple compression techniques, rather than sequential or isolated application.
- To explore whether combining compression types via additive decomposition can achieve better trade-offs between model size, inference speed, and accuracy than individual techniques.
- To empirically evaluate the effectiveness of combined compression across diverse architectures like ResNet, AlexNet, and VGG, identifying architecture-specific optimal combinations.
Proposed method
- Formulates model compression as a constrained optimization problem where the original weight matrix is decomposed as a sum of components: W = W₁ + W₂ + W₃, each representing a different compression type (e.g., low-rank, sparse, quantized).
- Uses a differentiable optimization framework to jointly learn the parameters of each component, enabling end-to-end training with backpropagation.
- Applies alternating optimization: fix all but one component and optimize it via gradient descent, cycling through components until convergence.
- Integrates standard compression techniques—low-rank approximation (SVD), magnitude-based pruning, and 1-bit quantization—into the additive decomposition framework.
- Employs a differentiable relaxation of sparsity and quantization constraints using soft thresholds and straight-through estimators to enable gradient flow.
- Validates the method on ImageNet using ResNet, AlexNet, and VGG architectures, measuring accuracy, model size, and inference latency on edge devices like Jetson Nano.
Experimental results
Research questions
- RQ1Can combining multiple compression techniques via additive decomposition yield better compression-accuracy trade-offs than applying them individually?
- RQ2Which combination of compression techniques (e.g., low-rank + pruning, quantization + pruning) yields the best performance for specific neural network architectures?
- RQ3Does the additive combination of compressions allow for higher compression ratios while maintaining or improving model accuracy compared to baseline methods?
- RQ4How does the performance of combined compression vary across different model architectures such as ResNet, AlexNet, and VGG?
Key findings
- Combining low-rank approximation with 1-bit quantization and pruning allows compressing AlexNet and ResNet to 1 bit per weight with no accuracy degradation, achieving a compression ratio of up to 72.15× on the Jetson Nano.
- For VGG networks, combining low-rank and pruning with quantization yields better results than using quantization alone, with a 90.4× compression ratio on the L₃ model variant.
- The proposed method achieves a 7.33× speed-up on the Jetson Nano GPU and 3.93× speed-up on CPU compared to the original Caffe-AlexNet, with only 3.7 MB model size.
- Runtime measurements show that the combined compression method reduces inference time to 44.80 ms on CPU and 6.72 ms on GPU for the L₃ model, outperforming baseline models in both speed and size.
- The additive combination framework enables a larger set of weight matrices to be compressed without loss, as it combines the representational power of multiple compression manifolds.
- The optimal compression strategy is highly architecture-dependent: ResNets and AlexNet benefit most from 1-bit quantization with pruning, while VGG performs better with low-rank and pruning combinations.
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.