LIPAR: Latent Inter-Frame Pruning with Attention Recovery
Dennis Y Menn ⋅ Yuedong Yang ⋅ Bokun Wang ⋅ Xiwen Wei ⋅ Mustafa Munir ⋅ Feng Liang ⋅ Radu Marculescu ⋅ Chenfeng Xu ⋅ Diana Marculescu
Abstract
Video generation enables text-to-video synthesis, video editing, and motion-controlled content creation. However, current video generation models suffer from high computational latency, rendering true real-time capabilities infeasible for down stream tasks. We address this limitation by exploiting the temporal redundancy inherent in video latent patches. To this end, we propose the Latent Inter-frame Pruning with Attention Recovery (LIPAR) framework, which detects and skips recomputing duplicated latent patches. Additionally, we introduce a novel Attention Recovery mechanism that approximates the attention values of pruned tokens, thereby removing visual artifacts arising from naively applying the pruning method. Empirically, our method increases generation throughput by $1.45\times$, on average achieving 12.2 FPS on an NVIDIA A6000 compared to the baseline 8.4 FPS. The proposed method does not compromise generation quality and can be seamlessly integrated with Diffusion Transformer without additional training. Our approach effectively bridges the gap between traditional compression algorithms and modern generative pipelines.
Chat is not available.
Successful Page Load