[Paper Review] UPop: Unified and Progressive Pruning for Compressing Vision-Language Transformers
UPop is a unified and progressive pruning framework for compressing vision-language Transformers, enabling automatic, adaptive pruning ratio allocation across vision, language, and cross-attention components through continuous optimization, while progressive retraining ensures convergence and performance gains. It achieves up to 2× compression with under 1% accuracy drop across image classification, captioning, and segmentation tasks.
Real-world data contains a vast amount of multimodal information, among which vision and language are the two most representative modalities. Moreover, increasingly heavier models, extit{e}. extit{g}., Transformers, have attracted the attention of researchers to model compression. However, how to compress multimodal models, especially vison-language Transformers, is still under-explored. This paper proposes the extbf{U}nified and extbf{P}r extbf{o}gressive extbf{P}runing ( extbf{\emph{UPop}}) as a universal vison-language Transformer compression framework, which incorporates 1) unifiedly searching multimodal subnets in a continuous optimization space from the original model, which enables automatic assignment of pruning ratios among compressible modalities and structures; 2) progressively searching and retraining the subnet, which maintains convergence between the search and retrain to attain higher compression ratios. Experiments on various tasks, datasets, and model architectures demonstrate the effectiveness and versatility of the proposed UPop framework. The code is available at https://github.com/sdc17/UPop.
Motivation & Objective
- Address the lack of effective, systematic compression methods for vision-language Transformers, which are increasingly large and resource-intensive.
- Overcome the inefficiency and sub-optimality of manual compression ratio assignment in multimodal pruning.
- Enable high compression ratios while maintaining model convergence and performance through progressive search and retraining.
- Provide a universal framework applicable across diverse vision-language tasks, datasets, and model architectures.
- Achieve loss-free or near-loss-free compression by automatically allocating pruning ratios to different modalities and structures (e.g., self-attention, feed-forward networks).
Proposed method
- Proposes a unified search space in continuous optimization to jointly search for pruning ratios across vision, language, and cross-attention components.
- Introduces trainable masks ($\bm{\zeta}$) with regularization to enable differentiable pruning, allowing gradient-based optimization of pruning ratios.
- Employs a progressive pruning paradigm: first search for a subnetwork in a continuous space, then retrain it with fine-tuned weights to close the performance gap.
- Uses a two-phase training scheme: search phase with learning rate $\alpha$, followed by retraining with learning rate $\beta$, to stabilize convergence.
- Applies a total compression ratio $p$ to control the overall model size, with component-specific pruning ratios determined end-to-end.
- Extends the method to multimodal tasks by jointly pruning vision and language branches, including cross-attention modules, in a unified manner.
Experimental results
Research questions
- RQ1Can a unified, continuous optimization framework automatically assign optimal pruning ratios across vision, language, and cross-attention components in vision-language Transformers?
- RQ2Does progressive retraining improve convergence and performance compared to standard one-shot pruning, especially at high compression ratios?
- RQ3How does UPop compare to existing unimodal pruning baselines (e.g., ViT-Slimming) in terms of accuracy and compression efficiency on multimodal tasks?
- RQ4Can UPop achieve near-loss-free compression (≤1% accuracy drop) at high compression ratios (e.g., 2×) across diverse vision-language tasks?
- RQ5How does the performance of UPop vary across different tasks (e.g., image classification vs. semantic segmentation) with varying redundancy levels?
Key findings
- UPop achieves up to 2× compression (11.4M parameters) on DeiT with only 1.0% drop in top-1 accuracy, outperforming baseline methods at similar compression levels.
- On image classification, UPop maintains 81.1 top-1 accuracy at 1.11× compression (19.9M params), a 1.2% improvement over the original DeiT.
- On the ADE20k segmentation task, UPop achieves 1.1× compression with 0.6% mIoU gain (45.9 vs. 45.3) and 13% FLOPs reduction, outperforming the baseline.
- At 1.42× compression, UPop maintains 80.2 top-1 accuracy (only 0.3% drop) and reduces FLOPs by 30%, demonstrating strong performance at high compression.
- UPop achieves 1.5× loss-free compression on image classification and 1.4× compression with <1% mIoU loss on segmentation, indicating higher compressibility in classification tasks.
- The progressive retraining scheme significantly improves convergence, enabling higher compression ratios without performance degradation, unlike standard pruning methods.
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.