arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.17387cs.CVcs.AI
收藏

奇异值缩放:通过剪枝权重精炼实现高效的生成模型压缩

Singular Value Scaling: Efficient Generative Model Compression via Pruned Weights Refinement

Laboratory of Advanced Imaging Technology (LAIT)(先进成像技术实验室(LAIT));Ulsan National Institute of Science and Technology (UNIST)(蔚山科学技术院)

Hyeonjin Kim, Jaejun Yoo

AI总结:

本文提出奇异值缩放(SVS)技术,通过最小化剪枝权重奇异值差异来优化权重初始化,提升GAN和Diffusion模型的微调效率与压缩性能,且无需额外训练成本。

摘要:

虽然剪枝方法能在不增加额外训练成本的情况下有效维持模型性能,但它们通常只关注保留关键连接,忽略了被剪枝权重对后续微调或蒸馏的影响,从而导致效率低下。此外,大多数针对生成模型的压缩技术主要是为GAN开发的,专为StyleGAN等特定架构定制,而对Diffusion模型压缩的研究才刚刚起步。更重要的是,这些方法通常仅适用于GAN或Diffusion模型,凸显出需要一种能同时适用于这两类模型的方法。在本文中,我们提出了奇异值缩放(SVS),这是一种用于精炼剪枝权重的通用技术,适用于上述两类模型。我们的分析表明,被剪枝权重通常表现出主导奇异向量,这阻碍了微调效率,并导致其性能不如随机初始化。我们的方法通过最小化被剪枝权重奇异值之间的差异来增强权重初始化,从而改善微调过程。这种方法不仅引导压缩模型趋向更优的解,还显著加快了微调速度。在StyleGAN2、StyleGAN3和DDPM上的大量实验表明,SVS能在不增加额外训练成本的情况下提升各类模型的压缩性能。我们的代码可在以下地址获取:https://github.com/LAIT-CVLab/Singular-Value-Scaling。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑