The Challenge of Joint Model Compression
To deploy massive neural networks on edge devices, engineers often combine multiple compression methods—a process known as joint model compression. For example, a model might be both pruned (removing weights) and quantized (reducing bit-precision).
While many researchers have historically assumed these techniques are "orthogonal" (meaning the order in which they are applied doesn't matter), empirical evidence has increasingly shown otherwise. Despite this, there has been no unified theory to explain why one order works better than another. Should you prune then quantize, or quantize then prune? This paper provides the first systematic framework to answer that question across diverse architectures and tasks, revealing that the order of operations is essentially a "free lunch" that significantly impacts final model performance.
The Progressive Intensity Hypothesis
The authors formalize the problem as Joint Compression Order Optimization. To compare different types of compression on a level playing field, they introduce the Compression Equivalent Ratio (CER), which maps the performance impact of any method (like pruning) onto a standard scale of quantization bit-widths.
The core contribution of the paper is the Progressive Intensity Hypothesis (PIH):
Neural networks compressed by multiple methods perform better when weaker perturbations are applied first and stronger ones later.
The researchers provide a theoretical proof showing that under "disjoint selectivity"—where different compression methods affect different parts of the model—the advantage of the correct ordering grows monotonically with the performance gap between the two methods. They also analyze interference, which occurs when one method (like pruning) partially removes units already affected by another (like quantization). For instance, if pruning granularity is coarser than quantization, disjoint selectivity holds; if it's finer, the methods interfere.
Experimental Validation
The authors validated their hypothesis across a massive range of models and datasets:
- Language Models: LLaMA 2 (7B, 13B), LLaMA 3 (8B), Mistral (7B), and Mistral Nemo (12B) evaluated on WikiText-2 and C4 for perplexity, plus five commonsense reasoning tasks (ARC, HellaSwag, LAMBADA, PIQA, Winogrande).
- Encoder Models: BERT evaluated on the STS-B dataset.
- Vision Models: ResNet-18 (CNN) and DeiT-Base (ViT) evaluated on ImageNet.
The experiments consistently confirmed the Progressive Intensity Hypothesis across all tested domains. As the performance gap between two methods increases, the benefit of choosing the "weaker-first" order grows monotonically. Interestingly, the impact of compression order was found to be even more significant in vision models than in language models.
Key Insights and Takeaways
- The "Free Lunch" of Ordering: Simply changing the sequence of compression steps can improve model performance without adding any computational overhead during training or inference.
- Intensity is Relative: "Strength" isn't just about the compression ratio; it's about how much a specific method degrades performance on a specific model. A 50% prune might be "weaker" than 4-bit quantization for one model but "stronger" for another.
- Granularity Matters: Structured pruning (removing entire layers or blocks) tends to have less interference with quantization than unstructured pruning (removing individual weights).
- Rotation Sensitivity: Modern quantization often uses rotations (like Hadamard transforms) to smooth out outliers. The authors found that applying pruning after such rotations causes a drastic performance drop, highlighting the need for "rotation-aware" pruning.
- Generalization: The hypothesis holds true even for multi-stage compression (e.g., pruning in two steps with quantization in between) and mixed-precision quantization (MPQ), where assigning bits progressively outperformed regressive allocation.
Limitations and Future Work
While the PIH provides a powerful rule of thumb, the authors note several areas for further study. First, the current work identifies the trend but doesn't yet provide an exact formula to predict the precise accuracy difference between two orders without running the experiments. Second, in cases of "severe performance collapse" (where the model is compressed beyond its breaking point), the hypothesis can sometimes invert, as the stronger method might need to be applied first to "reset" the model's state. Finally, future work will need to explore how these rules apply to emerging, complex architectures like Mixture-of-Experts (MoE) and multimodal LLMs.
Summary updated