liveBook · Manning

Denoising model

As explained in Deep Learning with R, Third Edition

A denoising model is a model that transforms a noisy representation toward a cleaner representation or generated output.

A denoising model transforms a noisy representation toward a cleaner representation or generated output. In diffusion, the same model runs repeatedly, removing a little noise at each step. section 17.2.2

Rather than predicting a finished image, the model can predict a noise mask and subtract it from the input. A noise-rate input tells it how much noise to extract. section 17.2.2

A U-Net denoising model typically combines:

  • Downsampling convolution blocks that reduce a 128 × 128 image to a smaller feature map. section 17.2.2
  • A middle stage that preserves the feature-map size. section 17.2.2
  • Upsampling blocks paired with the downsampling blocks, plus concatenative residual connections that preserve image detail. section 17.2.2

Text-guided image generation

A text-to-image pipeline tokenizes prompts, creates text embeddings, progressively denoises pure noise into an image, and rescales the output from [-1, 1] to [0, 1]. The denoising model receives positive and negative prompt representations. section 17.3.1

Figure 17.9 Our U-Net style denoising autoencoder architecture
figure

Use the architecture figure to trace the U-Net’s downsampling, middle, upsampling, and skip-connection structure. section 17.2.2

How Deep Learning with R, Third Edition covers it

How deep it goes
Explains noise-mask prediction, noise-rate conditioning, U-Net stages, residual connections, and iterative generation code.
Examples
Demonstrates a U-Net denoising autoencoder and Stable Diffusion generation from positive and negative text prompts.
What it assumes
Introduces the architecture and generation steps through runnable examples without requiring prior denoising-model internals.
What you can do after
Builds a U-Net denoising model and operates an iterative text-to-image denoising pipeline.
How it connects
Connects denoising models to diffusion models, U-Net architectures, residual connections, latent spaces, and text embeddings.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Deep Learning with R, Third Edition. The section links point to the parts of the book it draws on.