CAT Pruning: Cluster-Aware Token Pruning For Text-to-Image Diffusion Models
Xinle Cheng, Zhuoming Chen, Zhihao Jia
TL;DR
The paper tackles the computational bottleneck of diffusion-based text-to-image generation by introducing CAT Pruning, a cluster-aware token pruning method that uses relative noise magnitude, token staleness, and spatial clustering to selectively update tokens during denoising. By caching noise-space outputs and updating only a subset of tokens per iteration, the approach achieves substantial MACs reductions (about $50\%$ at 28 steps and $60\%$ at 50 steps) while preserving image quality, with end-to-end speedups near $1.9\times$. The technique is validated on Stable Diffusion v3 and Pixart-Sigma across PartiPrompts and COCO2017, and it remains compatible with other accelerations like DeepCache to yield further gains. Overall, CAT Pruning provides a practical, scalable way to accelerate diffusion models without compromising perceptual or CLIP-based metrics.
Abstract
Diffusion models have revolutionized generative tasks, especially in the domain of text-to-image synthesis; however, their iterative denoising process demands substantial computational resources. In this paper, we present a novel acceleration strategy that integrates token-level pruning with caching techniques to tackle this computational challenge. By employing noise relative magnitude, we identify significant token changes across denoising iterations. Additionally, we enhance token selection by incorporating spatial clustering and ensuring distributional balance. Our experiments demonstrate reveal a 50%-60% reduction in computational costs while preserving the performance of the model, thereby markedly increasing the efficiency of diffusion models. The code is available at https://github.com/ada-cheng/CAT-Pruning
