ORBiS TREE · ENGLISH DOCUMENT
Concepts →Diffusion Model
A generative model that learns to reverse a gradual noise process to create data such as images.
한국어
English
This English page is a curated translation layer linked to the Korean source article. Community changes are currently made on the Korean source, where the full revision history and anonymous edit trail are preserved.
Diffusion models are generative models that learn a reverse process from noise toward structured data. They became especially prominent in high-quality image generation, although related techniques apply beyond images.
How it works
Training typically teaches a model to predict noise or another quantity at different noise levels. At generation time, a sampler repeatedly transforms an initial noise signal toward a sample that matches the learned data distribution and conditioning information.
Why it matters
Diffusion models helped drive modern text-to-image systems and multimodal research. Their quality and speed depend on model architecture, conditioning, sampler design, number of steps, and training data.
Related concepts
Worked example: mixing one signal value with noise
The original DDPM study ↗ connects a forward noise process with a learned reverse process.[1] A forward sample can be written x_t = √ᾱ_t × x_0 + √(1 - ᾱ_t) × ε. The cumulative coefficient ᾱ_t controls retained signal at that timestep; it is not the step number or ordinary image opacity.
For one fictional coordinate, let ᾱ_t = 0.64, x_0 = 1 and one drawn noise value ε = -0.5. Then x_t = 0.8×1 + 0.6×(-0.5) = 0.5. This scalar teaching example does not measure image quality or specify a product's schedule. The signal coefficient 0.8 and noise coefficient 0.6 need not sum to one. Image or latent tensors apply such mixing across many coordinates.
Distinguish training noise prediction from generation
A representative original-DDPM setup corrupts data at sampled timesteps and trains a model to predict the added noise. This differs from always training it to output a complete clean image directly. Parameterization and sampler determine the quantities used in the reverse process; do not assign one objective to every diffusion variant.
Generation normally starts from a fresh random initial state and conditioning. The known x_0 in the teaching example is not supplied as the correct answer for a new generation. Check text or image conditioning separately from visual plausibility. A plausible image does not prove an event or object existed; source provenance is a separate requirement.
Timing example: comparing twenty and fifty steps
Under fictional identical conditions, suppose each denoiser call takes 40 ms and fixed preprocessing/final conversion takes 100 ms. Twenty steps take 20×40 + 100 = 900 ms; fifty take 50×40 + 100 = 2,100 ms. Step count grows 2.5-fold, while total time grows 2,100 / 900, approximately 2.33-fold. Actual measurements must also check the equal-per-step-time assumption.
DDIM ↗ investigates a different sampling process for trained diffusion models and compares speed and quality.[2] It is not equivalent to deleting arbitrary steps without adjusting the method. Fix sampler, schedule, seed, resolution, hardware, batch and conditioning when comparing time, condition compliance, diversity and residual errors. These timings are not product benchmarks.
Separate latent size from quality and actual speed
Latent Diffusion ↗ proposes diffusion in the latent space of a pretrained autoencoder.[3] An illustrative 512×512×3 pixel tensor contains 786,432 values. A fictional 64×64×4 latent tensor contains 16,384. Their element-count ratio is 48, not a guarantee of 48-fold improvements in compute, memory and wall-clock speed. Channels, layers, numeric formats and encoder/decoder work also matter.
Evaluate latent size alongside lost detail, generated lettering, object counts and spatial relationships. The same seed need not reproduce identical output after changing model, sampler or execution environment. Distinguish model-family names from actual versions and record reproducibility conditions and untested scope in a model card.
SOURCES
Sources
-
Denoising Diffusion Probabilistic ModelsUC Berkeley / arXivOpen source ↗
-
Denoising Diffusion Implicit ModelsSong et al. / ICLROpen source ↗
-
High-Resolution Image Synthesis with Latent Diffusion ModelsRombach et al. / CVPROpen source ↗
KNOWLEDGE LINKS