atlas

Research map / Image generation / Fast diffusion sampling

DeepCache: Accelerating Diffusion Models for Free

CVPR 2024 · Image generation › Fast diffusion sampling · approach: Training-free diffusion acceleration · 136 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DeepCache, a training-free method that caches U-Net high-level features across adjacent denoising steps and recomputes only shallow skip branches, speeding up DDPM, LDM and Stable Diffusion.

Problem

Diffusion model inference is slow due to sequential denoising and large model size; existing compression methods require costly retraining.

Approach

Exploit temporal redundancy of high-level U-Net features between adjacent denoising steps: cache the deep main-branch features at full-inference steps and reuse them while recomputing only shallow down/up blocks via skip connections, with a non-uniform 1:N schedule for caching intervals.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DeepCache with uniform N=5 caching instead of LDM-4-GLDM-4-G · ImageNet 256 × 256FID: 3.60 -> 3.59No clear effect
Increase uniform caching interval from N=5 to N=10 (ablation)DeepCache on LDM-4-G · ImageNet 256 × 256FID: 3.59 -> 4.41Hurt
Use non-uniform instead of uniform N=20 caching (ablation)DeepCache on LDM-4-G · ImageNet 256 × 256FID: 8.23 -> 7.11Helped
Increase caching interval from N=2 to N=10 (ablation)DeepCache on DDPM · CIFAR-10 32 × 32FID: 4.35 -> 9.74Hurt
Increase caching interval from N=2 to N=5 (ablation)DeepCache on DDPM · LSUN-Bedroom 256 × 256FID: 6.69 -> 9.49Hurt
Replace cached features with a zero matrix (ablation)DeepCache on DDPM · CIFAR10FID: 9.74 -> 192.98Hurt
Replace cached features with a zero matrix (ablation)DeepCache on LDM-4-G · ImageNetFID: 7.36 -> 312.12Hurt
Add shallow network inference to DDIM (ablation)DDIM on DDPM · CIFAR-10FID: 4.67 -> 4.35Helped
Add shallow network inference to DDIM (ablation)DDIM on DDPM · CIFAR-10FID: 13.36 -> 10.38Helped
Use DeepCache instead of PLMS - 50 stepsStable Diffusion v1.5 · PartiPromptsCLIP Score: 29.51 -> 29.46No clear effect
Use DeepCache instead of PLMS - 50 stepsStable Diffusion v1.5 · COCO2017CLIP Score: 30.30 -> 30.23No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 LSUN-Bedroom LSUN-Churches ImageNet MS-COCO 2017 PartiPrompts

Benchmarks: CIFAR10 LSUN-Bedroom LSUN-Churches ImageNet MS-COCO 2017 PartiPrompts

Metrics: FID sFID IS Precision Recall CLIP Score MACs throughput

Baselines: Diff-Pruning Spectral Diffusion BK-SDM DDIM PLMS

Builds on: DDPM DDIM PLMS Latent Diffusion Models Diff-Pruning

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy