Singular Value Scaling: Efficient Generative Model Compression via Pruned Weights Refinement
Hyeonjin Kim, Jaejun Yoo
TL;DR
This work tackles the inefficiencies in pruning-based generative-model compression by identifying that pruned weights often contain dominant singular vectors that bias fine-tuning. It introduces Singular Value Scaling (SVS), a lightweight refinement that scales pruned weight singular values to balance contributions from all singular vectors, improving trainability without extra training. SVS is architecture-agnostic and demonstrated to enhance compression performance for StyleGAN2/3 and DDPM, yielding faster convergence and better quality metrics (e.g., FID, P&R, D&C, SSIM) across datasets. The approach is validated through extensive experiments, ablations, and implementation details, highlighting its potential as a general, practical tool for cross-model generative-model compression.
Abstract
While pruning methods effectively maintain model performance without extra training costs, they often focus solely on preserving crucial connections, overlooking the impact of pruned weights on subsequent fine-tuning or distillation, leading to inefficiencies. Moreover, most compression techniques for generative models have been developed primarily for GANs, tailored to specific architectures like StyleGAN, and research into compressing Diffusion models has just begun. Even more, these methods are often applicable only to GANs or Diffusion models, highlighting the need for approaches that work across both model types. In this paper, we introduce Singular Value Scaling (SVS), a versatile technique for refining pruned weights, applicable to both model types. Our analysis reveals that pruned weights often exhibit dominant singular vectors, hindering fine-tuning efficiency and leading to suboptimal performance compared to random initialization. Our method enhances weight initialization by minimizing the disparities between singular values of pruned weights, thereby improving the fine-tuning process. This approach not only guides the compressed model toward superior solutions but also significantly speeds up fine-tuning. Extensive experiments on StyleGAN2, StyleGAN3 and DDPM demonstrate that SVS improves compression performance across model types without additional training costs. Our code is available at: https://github.com/LAIT-CVLab/Singular-Value-Scaling.
