liveBook · Manning

Multimodal

As explained in Introduction to Generative AI, Second Edition

A multimodal interface supports interaction through multiple data modalities, such as text, images, audio, speech, or code.

Ask an AI system to describe a photo, then continue the conversation by voice: the interaction crosses several kinds of information. A multimodal system can process or generate content across multiple *modalities*, such as text, images, audio, and video. Unlike a text-only large language model (LLM), it may accept one kind of input and produce another. That does not mean every multimodal model handles every modality. section 2.4 section 1.16

Connecting modalities requires more than placing their data side by side. In one common approach, separate encoders turn images and text into representations that can be aligned. Training on paired images and captions can bring related representations closer together while separating unrelated pairs. This helps a model connect visual and textual concepts; other models use different approaches. section 2.4

Figure 2.4 During contrastive learning, similar image–text pairs are encoded close together in a shared embedding space, while dissimilar pairs are mapped farther apart.
A diagram of a cat and a snowball

AI-generated content may be incorrect.

See how paired image and text representations are positioned during contrastive learning. section 2.4

From a picture to a description

A text-only model might produce a description of a dog from a written prompt. A multimodal model can instead examine a dog’s image and describe what it sees, or generate an image from a text prompt. GPT-4 accepted text and image inputs; GPT-4o later enabled conversations mixing voice, images, and text. section 2.4 section 1.16

Multimodal interaction can make AI interfaces more flexible, but its outputs still warrant scrutiny. A text-to-video system, for instance, can produce realistic-looking clips while showing spatial inconsistencies or violations of physics. As interfaces increasingly mediate access to information, their errors—and the choices they make about what to show—also raise questions about transparency and influence. section 1.16 section 10.2

How Introduction to Generative AI, Second Edition covers it

How deep it goes
Defines modalities and sketches separate encoders and image–text alignment without implementation-level training instructions.
Examples
Uses dog-image descriptions, text-to-image generation, paired captions, GPT-4, and GPT-4o.
What it assumes
Defines modality in plain language and introduces multimodal models by comparison with text-only LLMs.
What you can do after
Evaluate/understand it by distinguishing text-only from multimodal capabilities and recognizing that realistic outputs can remain unreliable.
How it connects
Connects large language models, encoders, contrastive learning, shared embedding spaces, and natural-language interfaces.

Also explained in

Compare how 11 books explain multimodal →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Introduction to Generative AI, Second Edition. The section links point to the parts of the book it draws on.