ladderlore
  • Type a service name, like S3 or IAM.

Concept

Multi-modal and diffusion models

Models that handle text, images, audio and video together, and models that make images by removing noise.

Text
Image
Audio
Multi-modal model
Answer
  1. 1Text goes into the request.
  2. 2An image goes in too.
  3. 3So does audio.
  4. 4The model returns one answer that uses all of them.
A multi-modal model accepts several kinds of input in one request.

Step by step

  1. 1Text goes into the request.
  2. 2An image goes in too.
  3. 3So does audio.
  4. 4The model returns one answer that uses all of them.
Random noise
Rough shape
Clear image
Text prompt
  1. 1Generation starts from random noise.
  2. 2Each step removes some noise and a shape appears.
  3. 3The text prompt guides every step.
A diffusion model removes noise step by step, guided by a prompt.

What it is

A modality is a kind of data: text, image, audio or video. A multi-modal model can take in or produce more than one kind. For example, you can send a photo and a question about it, and get a text answer. Some multi-modal models also create images, speech or video from text.

A diffusion model creates images. In training it learns to remove noise from pictures. To make a new image, it starts from pure random noise and removes a little noise at each step, guided by your text prompt, until a clear picture is left. Many image and video generators use diffusion.

What it is

The two ideas are different. Multi-modal describes what kinds of data a model handles. Diffusion describes how some models create images. A model can be both, but one does not imply the other.

Remember

  • Modality means a type of data: text, image, audio, video.
  • A multi-modal model works with more than one modality, as input, output or both.
  • A diffusion model builds an image by removing noise step by step.
  • The text prompt guides which image the diffusion model builds.
  • Diffusion is common for image and video generation. LLMs are mostly for text.

On the exam

  • “Send an image and a question, get a text answer” points to a multi-modal model.
  • “Start from random noise and refine it into an image” points to a diffusion model.
  • “Generate an image from a text description” points to an image generation model, often a diffusion model.