arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.22757cs.LG
收藏

LoopPrune:用于循环扩散Transformer的循环剪枝方法

LoopPrune: Recurrent Pruning for Looped Diffusion Transformers

Xiamen University(厦门大学)

Weizhong Huang, Huaijia Kou, Yan Zhang, Fei Chao, Xiawu Zheng, Liujuan Cao

AI总结:

提出LoopPrune剪枝框架,解决循环扩散Transformer的剪枝问题,在多模型、多基准实验中,30%剪枝后仍保持高准确率,且内存与速度表现优异。

摘要:

循环扩散Transformer通过复用共享块来加深计算,以更少参数匹配更大模型,从而降低存储与部署负担。然而,重复的注意力和MLP计算仍存在较高成本。剪枝通过移除冗余参数或单元来减少存储与计算开销。无训练方法难以解决循环贡献问题,而基于训练的方法缺乏对影响后续输入及最终输出的位置特异性误差的显式约束。我们提出LoopPrune这一剪枝与恢复框架以满足这些需求。循环重要性估计结合共享移除效应与位置变化来选择共享结构;共享重建汇聚循环输入统计量以补偿权重。循环位置恢复在相同学生状态下对比完整去噪预测并匹配文本引导,更新所有学生参数以适配固定的密集教师模型。在四个开源模型、六个基准及三种剪枝范式上开展的大量实验验证了其有效性。在30%结构化参数剪枝下,Looped-DiT B/16保留了密集模型在六个基准上93.14%的平均准确率,较最优基线高出9.49%。在PyTorch、vLLM-Omni及SGLang Diffusion上,剪枝后的SDXSv3峰值分配GPU内存降低34.36-44.64%,去噪速度较密集模型提升1.46-1.74倍。

英文摘要:

Looped diffusion Transformers reuse shared blocks to deepen computation and match larger models with fewer parameters, reducing storage and deployment burdens. Yet repeated attention and MLP computations remain costly. Pruning reduces storage and computation by removing redundant parameters or units. Training-free methods struggle to resolve recurrent contributions, while training-based methods lack explicit constraints on position-specific errors affecting later inputs and final outputs. We propose LoopPrune, a pruning and recovery framework addressing these requirements. Recurrent importance estimation combines shared-removal effects and position variation to select a shared structure; shared reconstruction pools recurrent input statistics to compensate weights. Loop-position recovery compares complete denoising predictions at identical student states and matches text guidance, updating all student parameters against a fixed dense teacher. Extensive experiments across four open-source models, six benchmarks, and three pruning paradigms demonstrate effectiveness. At 30% structured parameter pruning, Looped-DiT B/16 retains 93.14% of dense six-benchmark average accuracy, exceeding the best baseline by 9.49%. Across PyTorch, vLLM-Omni, and SGLang Diffusion, pruned SDXSv3 reduces peak allocated GPU memory by 34.36-44.64% and accelerates denoising 1.46-1.74x over dense models.

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

↑