CV Courseversity

Multimodal Artificial Intelligence

Explores how AI systems align and jointly reason across text, images, audio, video, and other modalities, from early multimodal taxonomies and benchmarks through large-scale contrastive vision-language pretraining and its extensions.

“Ask a modern AI system to look at a photograph of a birthday cake and answer "how many candles are lit," and it must fuse two utterly different kinds of signal — a grid of pixel intensities and a string of word tokens — into one shared space where recognizing, counting, and language all cooperate. CLIP, the system that made this practical at scale, was trained on 400 million image-caption pairs scraped from the internet using nothing more sophisticated than a matching game: pair the right caption with the right photo out of a batch of candidates. Why does training on such a simple proxy task produce visual representations that transfer to dozens of tasks the model was never explicitly taught, and what changes when the modalities being aligned expand beyond image and text to audio, video, sensor streams, and structured data?”

Foundations: Representation, Alignment, and Fusion · 15 min

Human experience of the world is inherently multimodal: we see objects, hear sounds, and read or hear language describing both, and any AI system aiming to reason the way people do must eventually combine information across these fundamentally different kinds of signal rather than treating each in isolation. Baltrušaitis, Ahuja, and Morency's influential survey organized the field's core technical challenges into five interrelated categories: representation, learning how to summarize and combine data from multiple modalities so that complementarity and redundancy between them are both exploited; translation, mapping data from one modality to another (such as generating a caption from an image); alignment, identifying direct relations between elements of two or more modalities (which words in a caption correspond to which region of an image); fusion, combining information from multiple modalities to make a joint prediction; and co-learning, transferring knowledge learned from one modality to help model another, especially when one modality has far more available data than another.

Visual Question Answering (VQA), introduced by Antol and colleagues, gave the field an early, concrete benchmark requiring genuine joint reasoning across image and text rather than treating multimodal understanding as an abstract goal: given an image and a free-form natural-language question about it, a system must produce an accurate natural-language answer, a task the authors built at substantial scale, with roughly 250,000 images, 760,000 questions, and 10 million answers. Answering a VQA question correctly requires more than recognizing objects in isolation; many questions demand counting, spatial reasoning about relationships between objects, or reading text within the image, and cannot be answered from either the image or the question alone, which is precisely the point — VQA was explicitly designed so that a system exploiting only one modality, ignoring the other, would fail, forcing genuine cross-modal reasoning of exactly the kind the five challenges above describe in the abstract.

Contrastive Vision-Language Pretraining · 16 min

Traditional computer vision systems were trained to predict membership in a fixed, predetermined set of object categories decided in advance by whoever built the training dataset, which meant recognizing any new category not in that fixed set required collecting new labeled data and retraining. Radford and colleagues' CLIP (Contrastive Language-Image Pre-training) took a fundamentally different approach: rather than predicting discrete category labels, it learns from raw image-text pairs collected from the internet, using the simple pretraining objective of predicting which caption, out of a batch of candidates, actually matches which image, trained contrastively on 400 million such pairs. Concretely, an image encoder and a text encoder are trained jointly so that the embedding of an image and the embedding of its correct paired caption end up close together in a shared representation space, while embeddings of mismatched image-caption pairs within the same training batch are pushed apart — a purely relative, matching-based signal rather than a fixed classification target.

Because CLIP learns to associate images with arbitrary natural-language descriptions rather than a fixed label set, it can perform zero-shot transfer: to classify a new image into any set of categories at inference time, one simply constructs a natural-language description for each candidate category (such as "a photo of a dog") and asks which description's text embedding is closest to the image's embedding, with no task-specific retraining required at all. Radford and colleagues evaluated this capability across more than 30 different computer vision benchmarks spanning tasks as different as standard object recognition, optical character recognition, and action recognition, finding performance often competitive with fully supervised baselines trained specifically for each individual task. This flexibility is not without real limitations: CLIP's zero-shot predictions can be sensitive to exactly how a category is phrased in the prompt text, and because its training data is scraped from the open internet rather than curated, the model can absorb and reproduce spurious correlations and social biases present in that data — documented limitations that matter directly for any deployment decision, not abstract caveats.

Beyond Image and Text: Audio, Video, Sensors, and Structured Data · 13 min

The representation-translation-alignment-fusion-co-learning framework introduced earlier was formulated broadly enough to extend past the image-text pairing that CLIP made famous, to essentially any combination of modalities a system might need to reason across jointly: audio and video together (does the sound match the lip movement in a video clip), sensor fusion in robotics (combining camera, lidar, and inertial measurements into one consistent estimate of a robot's surroundings and motion), and grounding language in structured data such as tables or knowledge graphs rather than only in free text or images. The same core contrastive matching idea CLIP demonstrated for image-text pairs generalizes conceptually to these other modality combinations: given paired examples from two modalities that co-occur naturally (a video frame and its corresponding audio, a sensor reading and a natural-language description of what it represents), a model can be trained to pull matching pairs together and push mismatched pairs apart in a shared embedding space, without requiring hand-labeled category annotations for every combination.

It is worth being candid about where this generalization currently stands rather than overclaiming a solved problem: two-modality alignment between image and text, as CLIP demonstrated, benefits from an unusually large, naturally occurring source of paired training data — hundreds of millions of captioned images already exist across the internet — a fortunate abundance that does not hold nearly as strongly for many other modality combinations, such as paired sensor-and-language data in specific robotics domains, which remain comparatively data-scarce. Reasoning jointly and reliably across three or more modalities at once, grounding causal and physical relationships that hold across all of them simultaneously (not just any single pair), and doing so robustly outside the distribution of training data, are genuinely open research problems rather than settled engineering practice, and the field's most capable multimodal systems today are judged, honestly, by how far they still fall short of this kind of robust, general, many-modality grounding rather than by having already achieved it.

Practice

Contrastive Image-Text Matching

CLIP-Style Contrastive Similarity MatrixCap 1Cap 2Cap 3Img 1Img 2Img 30.900.150.220.180.850.300.120.250.88Training pulls diagonal (correct) pairs together, pushes off-diagonal pairs apart

A toy 3x3 similarity matrix for three images against three captions: the diagonal, correctly matched pairs (0.90, 0.85, 0.88) score far higher than any off-diagonal, mismatched pair (0.12 to 0.30), which is exactly the pattern CLIP's contrastive training objective pushes the model toward across a batch of image-caption pairs.

  • VQA was deliberately designed so that neither the image nor the question alone suffices — genuine cross-modal reasoning is required, not merely combinable single-modality shortcuts.
  • CLIP's zero-shot transfer works because it learns to match images against arbitrary natural-language descriptions rather than a fixed label set, so new categories need only new text, not new training.
  • Image-text alignment benefited from an unusually abundant, naturally occurring paired data source (internet captions); most other modality combinations are far more data-scarce, which is a major reason many-modality grounding remains an open problem.

Recall Practice

Five challengesClick to reveal
Name the five core challenges of multimodal machine learning and briefly what each means.
Representation (jointly summarizing multiple modalities), translation (mapping one modality to another), alignment (relating elements across modalities), fusion (combining modalities for a joint prediction), and co-learning (transferring knowledge learned from one modality to help model another).
VQA designClick to reveal
Why does VQA require genuine cross-modal reasoning rather than allowing single-modality shortcuts?
Because many of its questions require counting, spatial reasoning, or reading text within the image, none of which can be answered from the image or the question text alone, so a system that only used one modality would fail.
CLIP objectiveClick to reveal
What exactly does CLIP's contrastive pretraining objective optimize for?
Given a batch of image-caption pairs, it predicts which caption matches which image, training the image and text encoders so that embeddings of correct pairs are pulled close together and embeddings of mismatched pairs are pushed apart.
Open frontierClick to reveal
Why is joint alignment across three or more modalities considered a genuinely open research problem rather than a solved extension of CLIP?
Because CLIP's success relied partly on an unusually large naturally occurring paired dataset (internet image captions); comparable large paired datasets across many other modality combinations (e.g. sensors and language) are far scarcer, and robust joint reasoning across more than two modalities remains actively researched.

Glossary

Multimodal fusion
Combining information from multiple modalities (e.g., image and text) to make a single joint prediction.
Alignment (multimodal)
Identifying direct correspondences between elements of two or more modalities, such as which words in a caption refer to which region of an image.
Contrastive pretraining
A training objective that pulls the representations of matching examples (e.g., an image and its correct caption) close together while pushing mismatched examples apart, without requiring fixed category labels.
Zero-shot transfer
Applying a trained model directly to a new task or category, using only a natural-language description of the task, with no additional task-specific training.
Co-learning
Transferring knowledge learned from a data-rich modality to help model a data-scarce modality.
Visual Question Answering (VQA)
A benchmark task requiring a system to produce an accurate natural-language answer to a free-form question about a given image.
Practical Activity

Simulate a Contrastive Image-Caption Matching Batch

A fully simulated tabletop exercise, not run against any real model: students are given three toy 'images' (described in text, e.g. 'a red bicycle,' 'a sleeping cat,' 'a birthday cake') and three candidate captions in scrambled order, along with a hypothetical similarity score for every image-caption pair, then must identify the highest-scoring pairing for each image (the diagonal of the similarity matrix) and discuss what would happen to training if the model instead scored an off-diagonal pair highest, mirroring the logic CLIP's contrastive objective is trained to enforce.

Ready to test yourself?

5 questions on this module.

Start Quiz