Modern generative models are getting better, which is normally accompanied by parameter up-scaling that gradually increases the deployment difficulty. Structural pruning is an effective solution to mitigate this issue but it often requires costly post-pruning recovery training (distillation or even further fine-tuning). To this end, we present XSP, a very efficient diffusion transformer-based structural compression framework. In this framework, we utilize a low-rank approximation to significantly reduce the AdaLN module parameters by 98.2%. We propose a dynamic programming-based heterogeneous pruning architecture determination for FFNs. We devise a local least-squares reconstruction-based weight recovery for lightning-fast parameter adaptation for pruned attention heads and FFNs. Without regular gradient-descent-based recovery training which is necessary in existing methods, our method achieves the most competitive results under a pruning ratio of up to 50%. On the Qwen-Image 1.0 pruning task, XSP ranks first on three out of five benchmarks. We also apply it to the recently open-sourced MiniMax-H3-Image (33B), where we obtain a 50%-pruned 16B model with negligible quality drop and no performance degradation according to the benchmarks. We hope XSP establishes a strong baseline for the pruning research community.
翻译:暂无翻译