Lecture Notes: Introduction

11-777 Multimodal Machine Learning CMU Fall 2023
Instructor: Dr. Louis-Philippe Morency | Co-lecturer: Dr. Paul Pu Liang
Author: Yi-Jing Sie

Motivation

Hi. I am using this section to share a little background story behind my notes for the course, 11-777 Multimodal Machine Learning (Fall 2023), taught at Carnegie Mellon University. If you're mainly interested in the lecture notes themselves, feel free to skip this section.

I pursued my Master's degree in Electrical and Computer Engineering at CMU from January 2021 to June 2022. Before my final semester began, I discovered this course and immediately wanted to take it. Unfortunately, no matter how strongly I wanted to enroll, I couldn't.
Because this course wouldn't count towards my degree, and I had no extra money to delay graduation by another semester, nor did I have enough room in my final semester to take another intermediate-to-hard course (I was already taking three). The M.S. in ECE is a three-semester program, and students typically take 3 courses per semester to graduate on time.

Thankfully, I later discovered that Prof. Louis-Philippe Morency had made the lecture videos available on YouTube! ( That was really generous of him :D ) I saved the playlist, watched every lecture video, studied the lecture slides and the research papers covered in the course materials, along with the accompanying survey paper, Foundations & Trends in Multimodal Machine Learning: Principles, Challenges, and Open Questions.

I was genuinely inspired by Prof. Morency's generosity in making the entire course and its materials publicly available to everyone. His decision to share his knowledge motivated me to do the same!
If you have any questions, suggestions, or would simply like to discuss the notes, I'd be happy to hear from you. Feel free to reach out via email using the address in the footer of this website.

** Note: These technical posts do not strictly follow the order of the recorded lectures. I actually wrote them after completing the entire lecture series, the course materials, and all the papers, so I rearranged some of the topics in the order that made the most sense to me. I hope this organization also makes the materials easier for others to follow. **

Overview

This post begins by defining modality and introducing 3 key principles of modality. It then presents 6 core technical challenges in Multimodal Machine Learning.

What is Modality

"Modality refers to the way in which something expressed or perceived."

Modalities can be viewed as lying on a spectrum that ranges from raw to abstract.
Raw modalities are closer to the output of a sensor, such as images captured by a camera or speech signals recorded on a tape, while abstract modalities are farther away from a sensor, such as texts transcribed from speech recordings or objects detected in an image.

Multimodal is then characterized by multiple modalities. A research-oriented definition is:

"Multimodal is the scientific study of heterogeneous and interconnected (connected + interacting) data."

3 Key Principles of Modality

Principle 1: Heterogeneity

Information present in different modalities will often show diverse qualities, structures and representations, and heterogeneity should be seen as a spectrum. There are 6 dimensions of heterogeneity:

  • Element Representations: A modality can typically be represented as a collection of elements, where an element is the most basic unit of data that cannot (or is intentionally not) be broken down into further units. For example, a text consists of a sequence of characters, and a video consists of a sequence of frames.
  • Element Distributions: The elements of a modality typically follow a unique distribution. For example, word frequencies in natural language texts often follow Zipf's law, which states that the most frequent word appears approximately twice as often as the second most frequent word, three times as often as the third most frequent word, and so on.
  • Structure: The elements of a modality are often organized into meaningful structures. For example, images exhibit spatial structure among pixels or objects, language exhibits hierarchical structure from words to phrases and sentences, and signals exhibit temporal structure.
  • Information: Each modality captures information about the underlying data, which can be formally measured by information theoretic metrics.
  • Noise: The noise present in a modality typically follows a characteristic distribution. Different modalities can exhibit different distributions of noise.
  • Relevance: Each modality shows different relevance towards specific tasks and contexts. Some modalities may provide more useful information than others for a given application.

Principle 2: Connected Modalities

Modalities are connected due to shared information among them.

Principle 3: Interacting Modalities

Modalities interact together during task inference to produce a response. Interactions happen during inference, such as representation fusion, and task prediction.

Grid Image

"Connections exist within multimodal data itself, whereas interactions only arise when modalities are integrated and processed together to bring a new response."

6 Challenges in Multimodal Machine Learning

"Multimodal Machine Learning is the study of computer algorithms that learn and improve through the use and experience of data from multiple modalities"

  • Representation: Learning representations that reflect heterogeneity and interconnections (interactions + connections) between modality elements.
    Representation coordination is one of the most popular approachs, and representation fission is usually used to analyze multimodal data.
  • Alignment: Grounding. Identifying the connections and interactions between modality elements. This is challenging because most modalities have inherent structures.
  • Reasoning: Combining knowledge, usually through multiple inferential steps, exploiting the problem structure and multimodal alignment for a specific task.
  • Generation: Learning a generative process to produce raw modalities that reflects cross-modal interactions, structure and coherence.
  • Transference: Modulation. Transfer knowledge between modalities, usually to help the target modality, which may be noisy or have limited resources.
  • Quantification: Empirical and theoretical study to better understand heterogeneity, cross-modal interactions and the multimodal learning process.

Representation and Alignment are the most core building blocks for Multimodal Machine Learning.

Grid Image

Key Takeaways

MultiModal

Modality refers to the way in which something expressed or perceived.
Multimodal is the scientific study of heterogeneous and interconnected (connected + interacting) data.


3 Key Principles of Modality

Different dimensions of heterogeneity, multimodal data connection (shared information), modalities interact during task inference to give a response.


6 Challenges in Multimodal ML

Representation, Alignment, Reasoning, Generation, Transference, and Quatification.