LearniBridge: Learnable Calibration of Feature Caching for Diffusion Models Acceleration
Abstract
Lay Summary
Diffusion-based AI models have become very powerful tools for generating high-quality images and videos, but they usually require a large amount of computation and are therefore slow and expensive to run. A common way to speed them up is to reuse information computed in earlier steps, rather than recalculating everything from scratch. However, when this reuse is too aggressive, small errors can build up and noticeably reduce the quality of the generated results. In this paper, we study how to correct these accumulated errors efficiently. We find that the needed corrections share a simple underlying structure across many different text prompts. Based on this observation, we propose LearniBridge, a lightweight method that learns how to adjust reused features so that the generation process remains accurate while becoming much faster. Importantly, LearniBridge only needs a few training examples to work effectively. Experiments on both image and video generation models show that LearniBridge can greatly reduce the computation needed for generation while maintaining strong visual quality. It achieves significant speedups on several widely used models and improves over previous methods on video generation benchmarks. This makes high-quality image and video generation more efficient and practical.