LGJul 12, 2024

Your Diffusion Model is Secretly a Noise Classifier and Benefits from Contrastive Training

CMU
arXiv:2407.08946v25 citationsh-index: 38
AI Analysis

This addresses a fundamental issue in diffusion model sampling for generative AI, offering improvements in efficiency and quality, though it is incremental as it builds on existing diffusion frameworks.

The paper tackles the problem of sample quality degradation in diffusion models due to poor denoiser estimation in out-of-distribution regions, especially in parallel sampling, and introduces a contrastive training objective that improves OOD denoising, leading to significant performance and speed gains in parallel samplers.

Diffusion models learn to denoise data and the trained denoiser is then used to generate new samples from the data distribution. In this paper, we revisit the diffusion sampling process and identify a fundamental cause of sample quality degradation: the denoiser is poorly estimated in regions that are far Outside Of the training Distribution (OOD), and the sampling process inevitably evaluates in these OOD regions. This can become problematic for all sampling methods, especially when we move to parallel sampling which requires us to initialize and update the entire sample trajectory of dynamics in parallel, leading to many OOD evaluations. To address this problem, we introduce a new self-supervised training objective that differentiates the levels of noise added to a sample, leading to improved OOD denoising performance. The approach is based on our observation that diffusion models implicitly define a log-likelihood ratio that distinguishes distributions with different amounts of noise, and this expression depends on denoiser performance outside the standard training distribution. We show by diverse experiments that the proposed contrastive diffusion training is effective for both sequential and parallel settings, and it improves the performance and speed of parallel samplers significantly.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes