XenonStack Glossary: AI, Data and Cloud Terms Explained

Multimodal AI: How It Works and Where It Fits

Written by Dr. Jagreet Kaur | 06 Oct 2023

Multimodal AI is a system that processes and integrates information from more than one type of data, such as text, images, audio and video. A unimodal model handles a single data type, while a multimodal model can take in several and relate them to each other.

This page is for teams evaluating models that read documents, images, speech or video alongside text. It covers what multimodal means, how fusion works, how it differs from unimodal models, the engineering challenges, and what to settle first. The word is also used in education for teaching with more than one mode, and the same idea underlies both uses.

What is multimodal AI?

IBM describes multimodal AI as systems "processing and integrating information from multiple modalities or types of data" (IBM multimodal AI). Google Cloud defines a multimodal model as a machine learning model capable of processing information from different modalities, including images, videos and text (Google Cloud multimodal AI). It adds that users are not limited to one input type and one output type. Many multimodal systems are built on foundation models.

Why does multimodal AI matter?

IBM says combining data types allows a more comprehensive understanding and more robust outputs than a model built for one type. Google Cloud gives everyday examples: a model can receive a photo of a plate of cookies and write a recipe, extract text from images and convert it to JSON, or describe a video in text. Much real work is multimodal already, such as forms with scans, support tickets with screenshots, and inspections with photos and notes.

How does multimodal AI work?

The central question is when and how different data types are combined, known as fusion. IBM names three approaches.

Fusion typeWhat happens
Early fusionModalities are encoded into the model to create a common representation space
Mid fusionModalities are combined at different preprocessing stages
Late fusionSeparate models process each modality and their outputs are combined

How does multimodal AI differ from unimodal and generative AI?

QuestionUnimodal modelMultimodal model
Data handledA single data type, such as text in and text outSeveral types, such as text, images, audio and video
Typical promptOne typeA mix of types
Main engineering challengeQuality within one typeIntegrating and processing diverse types of data

Google Cloud describes generative AI as creating new content, typically from a prompt of a single type, and multimodal AI as expanding on those capabilities. Treat its claim of "virtually any input" as marketing language and test on your own data.

What are the challenges of multimodal AI?

IBM cites six challenges from a 2022 Carnegie Mellon paper: representation, alignment, reasoning, generation, transference and quantification. Alignment, for example, means linking related elements across modalities, such as timing in video and audio. In practice this means one weak modality can mislead the rest, so evaluate each input type as well as the combined result.

How does multimodal AI relate to AI agents?

Agents that read screens, documents or images before acting need multimodal input, and a wrong reading can lead to a wrong action. Platforms such as ElixirClaw, XenonStack's AI agents computing platform, are where such agents are built and run.

What should you do first?

  1. List the data types your workflow already mixes, such as scans, images, audio and text.
  2. Pick one task where a single data type is not enough.
  3. Choose a fusion approach, or a model that handles it, and note why.
  4. Test each modality separately, then the combined output, on your own data.
  5. Decide who reviews outputs before an agent acts on them.

To map one decision your agents make, and the data and policy it depends on, book a Context Workshop. See what happens in the workshop.

Frequently asked questions

What does multimodal mean in AI?

It means a system can process and integrate more than one type of data, such as text, images, audio and video.

What is the difference between unimodal and multimodal models?

A unimodal model is designed to handle a single type of data. A multimodal model combines several types of data.

What is early, mid and late fusion?

Early fusion encodes modalities into a common representation space. Mid fusion combines them at different preprocessing stages. Late fusion processes each modality with a separate model and combines the outputs.

What are the main challenges of multimodal AI?

IBM cites representation, alignment, reasoning, generation, transference and quantification.

Is multimodal AI the same as generative AI?

No. Generative AI creates new content, typically from a prompt of a single type, while multimodal AI expands on this by processing several modalities.