Lightning Fast Caching-based Parallel Denoising Prediction for Accelerating Talking Head Generation
Jianzhi Long, Wenhao Sun, Rongcheng Tu, Dacheng Tao
TL;DR
This work tackles the inefficiency of diffusion-based talking head generation by introducing a training-free acceleration framework that exploits task-specific redundancies. The core ideas are Lightning-fast Caching-based Parallel denoising Prediction (LightningCP), which caches high-level decoder features to enable parallel, reduced-pass denoising, and Decoupled Foreground Attention (DFA), which localizes attention to the dynamic foreground while reusing stable background features. The method achieves substantial speedups (up to around 3.15× on some models) with minimal or no loss in video quality, validated across multiple models and datasets, and complemented by input latent estimation and optional reference feature removal. These contributions offer practical, plug-in improvements for real-time or near-real-time diffusion-based talking head generation in realistic settings.
Abstract
Diffusion-based talking head models generate high-quality, photorealistic videos but suffer from slow inference, limiting practical applications. Existing acceleration methods for general diffusion models fail to exploit the temporal and spatial redundancies unique to talking head generation. In this paper, we propose a task-specific framework addressing these inefficiencies through two key innovations. First, we introduce Lightning-fast Caching-based Parallel denoising prediction (LightningCP), caching static features to bypass most model layers in inference time. We also enable parallel prediction using cached features and estimated noisy latents as inputs, efficiently bypassing sequential sampling. Second, we propose Decoupled Foreground Attention (DFA) to further accelerate attention computations, exploiting the spatial decoupling in talking head videos to restrict attention to dynamic foreground regions. Additionally, we remove reference features in certain layers to bring extra speedup. Extensive experiments demonstrate that our framework significantly improves inference speed while preserving video quality.
