🔍 Research any topic with AI-powered citations — Try Researchly freeStart Researching
Home/Research/how do diffusion models generate images
AI Research Answer

how do diffusion models generate images

Rahul PalRahul Pal·researched on Researchly·June 18, 2026Try free
ShareWhatsAppShare on X

Core Mechanism

Ho et al. (2020)1established that diffusion probabilistic models are parameterized Markov chains trained using variational inference, which learn to reverse a gradual noising process to produce high-quality image samples by reweighting a variational lower bound.1
1
Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain et al.2020Advances in Neural Information Processing Systems (NeurIPS)
View
Song et al. (2021)2unified this under a broader framework using stochastic differential equations (SDEs) that continuously transform data to noise in the forward direction, then reverse the process for generation, subsuming prior diffusion and score-matching approaches and enabling flexible sampling with controllable quality-speed tradeoffs.2
2
Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein et al.2021ICLR 2021
View

System Pipeline (ASCII Diagram)

TRAINING PHASE ══════════════════════════════════════════════════════════════════

Real Image x₀ Forward Process (gradual noising) ┌──────────┐ q(xₜ|xₜ₋₁) ┌──────────┐ │ x₀ │ ──────────────────────────► │ xT ~ N │ │ (data) │ t = 0 → 1 → 2 → ... → T │ (noise) │ └──────────┘ (SDE: data→noise) └──────────┘2
Diagram
    ▲ Variational Lower Bound Reweighting 
1
Diagram

┌─────┴──────────────────────────────────────────────────┐ │ Neural Network (Score / Noise Estimator) │ │ Learns p_θ(xₜ₋₁|xₜ) at each step │ └────────────────────────────────────────────────────────┘

GENERATION PHASE (Reverse Process) ══════════════════════════════════════════════════════════════════

Pure Noise Reverse Diffusion Image ┌──────────┐ p_θ(xₜ₋₁|xₜ) / Probability Flow ODE ┌──────────┐ │ xT ~ N │ ──────────────────────────────────────────► │ x₀ │ │ (noise) │ t = T → ... → 2 → 1 → 0 │ (sample) │ └──────────┘ (SDE reversed / ODE integrated) └──────────┘2

WHAT EMERGES AT EACH STAGE: ──────────────────────────────────────────────────────────────── Early steps (t near T) Late steps (t near 0) ┌──────────────────────┐ ┌──────────────────────┐ │ High-variance scene │ ────► │ Low-variance fine │ │ features: layout, │ │ details, textures, │ │ global structure │ │ sharpness │ │ ("outline first") │ │ ("details later") │ └──────────────────────┘ └──────────────────────┘

TRAJECTORY GEOMETRY (per Wang & Vastola): ──────────────────────────────────────────────────────────────── Image Manifold │ ┌─────▼──────────────────────────────────────────┐ │ │ │ xT ──(rotation)──► x_mid ──(rotation)──► x₀ │ │ │ │ Trajectories are LOW-DIMENSIONAL and │ │ resemble 2D ROTATIONS toward a target │ └──────────────────────────────────────────────────┘

OPTIONAL: TEXT-CONDITIONED GENERATION (T2I) ══════════════════════════════════════════════════════════════════

Text Prompt ┌──────────┐ │ "a cat │ │ on │──────────────────────────────────┐ │ a mat" │ ▼ └──────────┘ ┌─────────────────────────┐ │ Conditioned Denoising │ Pure Noise │ Process (novel │ ┌──────────┐ │ conditions injected │ │ xT ~ N │──────────────────► │ into denoising steps) │ └──────────┘ └────────────┬────────────┘ │ ▼ ┌──────────┐ │ Generated│ │ Image │ └──────────┘


Key Properties of the Generation Process

Wang & Vastola (2023) identified three core properties of the reverse diffusion process across multiple pretrained models (including latent-space models like Stable Diffusion):

  1. Low-dimensional trajectories: Individual generation trajectories tend to be low-dimensional and resemble 2D rotations. . Coarse-to-fine generation: High-variance scene features like layout emerge earlier in the reverse process, while low-variance fine details emerge later — an "outline first, details later" pattern. . Early perturbation sensitivity: Perturbations applied early in the reverse process have a greater impact on final image content than later ones.

Wang & Vastola (2023) further derive a closed-form solution to the probability flow ODE for a Gaussian distribution, showing the reverse diffusion state rotates toward a gradually-specified target on the image manifold. They note this solution can in principle be used to make generation more efficient by skipping reverse diffusion steps.

Conditional Extensions

Cao et al. (2024) survey how text-to-image diffusion models extend the base mechanism so that novel conditions (beyond text) can be introduced into the denoising process, acknowledging that text conditioning alone does not fully cater to the varied requirements of different applications.

Dennis et al. (2025) note that the physics-inspired family — including denoising diffusion probabilistic models, score-based diffusion models, and Poisson flow generative models — share emphasis on accuracy, robustness, and acceleration as active research directions.


Coverage note: The evidence directly supports the forward/reverse process, trajectory geometry, and coarse-to-fine dynamics. Architectural internals of the neural network (e.g., U-Net structure, attention layers) are not addressed in the retrieved evidence and cannot be described here.

More research like thisResearch your own
AgriSense AI is an integrated hardware-software platform that evaluates, categorizes, and plants seeds using real-time environmental intelligence. Through a mobile app, the farmer selects the crop variety and field location. The system automatically gathers weather forecasts, soil characteristics, historical yield records, regional disease prevalence, and satellite-based environmental data to generate dynamic seed-quality parameters specific to that farm and season. Seeds are fed into a portable evaluation unit equipped with multimodal sensors (high-resolution imaging, weight analysis, moisture sensing, and spectral inspection). An AI engine assigns each seed a performance score and classifies it into Green (high-yield potential), Yellow (moderate potential), or Red (low potential/reject). Each seed receives a unique digital identity stored in a farm database. The app creates a “Seed Deployment Map” showing where Green and Yellow seeds should be planted for maximum productivity. A smart pen-shaped precision seeder automatically adjusts sowing depth, spacing, and micro-nutrient dosage for every seed category. Green seeds receive premium resource allocation, Yellow seeds receive optimized inputs, and Red seeds are excluded. The platform continuously learns from germination and harvest outcomes, improving future recommendations. It also predicts expected yield, water requirements, fertilizer efficiency, and disease risk before sowing, creating a self-improving precision agriculture ecosystem that transforms seed selection into data-driven planting intelligence. this is the idea , compare to all the existing patents and lmk if this is novel for a new patent4 views·27 MayFor Indian undergraduate students preparing for high-stakes exams (such as JEE, NEET, or university finals), what does empirical research since 2015 say about the effectiveness of active recall and spaced repetition compared to rereading and highlighting on long-term retention and exam performance? Please: Give a concise overview of the main findings. Summarize at least 5 specific peer-reviewed studies, including sample size and key results. Explain limitations or conflicting results between studies. End with 5–7 practical, evidence-based study recommendations tailored to such students. Include inline citations in the answer and a short reference list with titles, years, and DOIs or journal names.12 views·15 JunBERT vs GPT architecture differences8 views·15 JunWhat is BERT and how does it work6 views·25 Maysteps of the Krebs cycle citric acid cycle and ATP yield4 views·17 JunUniAd4 views·27 May

Research smarter with AI-powered citations

Researchly finds and cites academic papers for any research topic in seconds. Used by students across India.