Generative AI · Advanced level

Advanced level · Module 7: Multimodal AI Fundamentals · Lesson 1 of 3

How Multimodal Models Work

Learners see how images and audio are turned into tokens or embeddings that a language model can use, and how shared embedding spaces enable cross-modal search.

In this lesson you will

  • Explain multimodal representations
  • Explain shared embedding spaces

Key concepts

image patches as tokensaudio featuresshared embedding spacecross-modal retrievalvision-language model

The lesson

Multimodal models convert non-text inputs into representations the model can process: images are split into patches encoded as vectors; audio becomes spectrogram features. A language model then attends to these alongside text.

Shared embedding spaces place images and text with similar meanings close together, enabling search such as 'find photos of maize fields' over an image collection.

The Computer Vision programme covers the vision architectures; here the focus is on using multimodal models in applications.

Step by step

  1. Diagram the path of an image and a question through a vision-language model.
  2. Compute image and text embeddings with a provided model.
  3. Search five images with text queries.
  4. Note where retrieval fails.

Practice activity

Build a small text-to-image search demonstration.

Expected result: A working search with noted failure cases.

Check your understanding

  1. How are images given to a language model?

    Show answer

    As patch embeddings it can attend to alongside text.

  2. What does a shared embedding space enable?

    Show answer

    Searching images with text, and the reverse.

Further learning

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.