TL;DR
Pyramidal Denoising Diffusion Probabilistic Models (PDDPM) enable fast, multi-scale image generation and super-resolution using only a single lightweight score network trained on a single consumer GPU. By conditioning the diffusion process on continuous sinusoidal positional embeddings, PDDPM generates high-resolution images via coarse-to-fine reverse sampling, slashing sampling times and model size while matching or exceeding standard baselines.
What Problem Does This Paper Address?
While Denoising Diffusion Probabilistic Models (DDPMs) achieve state-of-the-art visual quality, they suffer from two major computational bottlenecks:
- Intensive training overhead: Generating high-resolution images typically demands massive GPU clusters and large batch sizes.
- Slow sampling: Standard reverse diffusion requires evaluating the network over hundreds or thousands of sequential steps at maximum resolution.
Existing multi-scale solutions (such as cascaded diffusion models like SR3 or CDM) mitigate speed issues by breaking generation into stages, but they rely on training and storing multiple separate neural networks for each resolution step. PDDPM addresses this inefficiency by asking: Can a single, compact network learn the score function across multiple resolutions simultaneously and accelerate generation via coarse-to-fine refinement?
Methods
The authors introduce Pyramidal DDPM (PDDPM), built around two primary technical contributions:
- Continuous Positional Embedding for Multi-Scale Training:
- Pixel coordinate grids normalized to $[0, 1]$ are concatenated with image inputs.
- Coordinate channels are transformed via sinusoidal positional encoding of degree $L=6$ (expanding 2D coordinates into $2 \times 2 \times L$ feature maps).
- Images and coordinates are randomly resized during training across resolutions (e.g., $64\times 64$, $128\times 128$, $256\times 256$). The U-Net’s translation-invariant convolutional structure allows a single 16M-parameter network to score noise across varying scales.
- Pyramidal Reverse Diffusion Sampling:
- Unconditional Generation: Reverse sampling begins with full diffusion ($T_f$ steps) only at the lowest resolution. The resulting coarse image is upsampled, perturbed with a small amount of forward diffusion noise ($T_s \Delta t_s$), and refined through a short reverse process at higher resolution. Grounded in stochastic contraction theory (CCDF), starting from an upscaled coarse prior contracts estimation errors exponentially fast.
- Super-Resolution: For conditional tasks, the low-resolution input directly initializes the pyramid. At each scale, reverse diffusion is steered toward fidelity using gradient guidance: $$\Delta x_{t-1} \propto -\nabla_{x_t} \|D \hat{x}_0(x_t) - \bar{x}_0\|_2^2$$ where $D$ is the downsampling operator and $\bar{x}_0$ is the low-resolution measurement.
Datasets
- FFHQ ($256 \times 256$): Used for unconditional face generation and super-resolution evaluations.
- LSUN-Church ($256 \times 256$): Used to evaluate unconditional scene generation under constrained resource budgets.
- AFHQ-Dog ($256 \times 256$): Used for multi-scale super-resolution evaluation ($\times 4$ and $\times 8$).
- CelebA-HQ ($1024 \times 1024$): Used for patch-wise training experiments ($256\times 256$ and $512\times 512$ patches) to synthesize full-resolution images without ever training on full $1024\times 1024$ images.
- Note: No new datasets were introduced.
Key Insights and Ideas
- Positional encoding provides critical global spatial awareness: Without explicit coordinate encodings, scale-free convolutional networks fail catastrophically at higher resolutions, synthesizing duplicated eyes, crushed facial structures, and warped semantics (Figure 6). Sinusoidal coordinates anchor global spatial priors across scales.
- Contraction mapping eliminates redundant denoising: High-frequency details can be populated quickly if coarse structures are already resolved. Bypassing hundreds of high-resolution denoising steps in favor of a low-res generation + short forward-perturbation loop drastically cuts FLOPs.
- Out-of-distribution resolution extrapolation: Trained only on patches or discrete scales ($64/128/256$), the model can generalize to continuous magnifications (e.g., $\times 3.5$, $\times 5$, or $320 \times 320$) and arbitrary patch-wise synthesis ($1024 \times 1024$) due to continuous coordinate embeddings.
Key Results
- Efficiency & Parameter Count: PDDPM uses just 16M parameters, compared to 114M parameters in baseline models (FON, DDIM, PNDM), and was fully trained on a single consumer GPU (NVIDIA GTX 1080 Ti).
- Generation Quality & Speed:
- On FFHQ ($256 \times 256$), PDDPM achieved an FID of 15.78 with an $18.1\times$ speedup, outperforming DDIM (FID 18.30 at $\times 10.1$) and FON (FID 16.13 at $\times 9.13$).
- On LSUN-Church, PDDPM scored an FID of 14.07, substantially better than baselines which struggled under lower iteration limits (e.g., DDIM FID 24.36).
- Fast re-spacing settings reached up to an $82.4\times$ speedup over base diffusion while maintaining convincing visual fidelity.
- Super-Resolution: Outperformed bicubic, SR3, and ILVR on perceptual metrics for $\times 4$ and $\times 8$ SR (e.g., FFHQ $\times 8$ FID of 66.80 and LPIPS of 0.289 vs. SR3's 91.57 and 0.404).
Limitations and Future Work
- Distortion vs. Perception Trade-off: While PDDPM achieved superior perceptual quality (FID and LPIPS), GAN-based baselines like SRGAN retained higher pixel-level PSNR and SSIM scores.
- Evaluation Scope: The majority of quantitative testing was restricted to $256 \times 256$ resolution, with ultra-high resolution ($1024 \times 1024$) demonstrated qualitatively via patch-based training.
- Future Work: Extending the continuous coordinate score formulation to other inverse problems, broader generative domains, and larger-scale architectures.
Summary updated