A common technology for AI image generation. In the training phase, the neural network (image model) is fed huge numbers of images with their meaning (this is a cat). The model temporarily adds noise to the image and practices removing it in order to learn general patterns of image structures.
The resulting diffusion model is a network of neuron weights that were continually adjusted throughout the many training passes (see
weights and biases). At image generation, the inference engine creates a canvas of noise to function as a random starting point. The network's weights are used to gradually remove the noise ("denoise") and create an image based on the user's description.
If This Sounds Weird...
No matter how you slice it, this is not an intuitive process for mere mortals. The key point is that the model learned the prediction capability from real images. At each noise level, it learns which changes move the image toward the structure of a real image. At inference, the starting noise is not hiding an image; it is where the process begins. For a method of generating text answers using a somewhat similar method, see
diffusion language model. See
image model and
Normal Computing. Contrast with
GAN.
Turn an Image Into Noise
This example simply shows noise being added to an image. Random noise may also be used to generate music (see
AI music generator).
(Image courtesy of Iguazio Ltd.)