Modeled on MIT’s How to AI (Almost) Anything (multimodal)

多模态 AI:让模型看懂、听懂、连起来

Multimodal AI: Teaching Models to See, Hear, and Connect

Turn images, sound and text into tensors by hand — then build alignment, fusion, cross-modal retrieval and multimodal models piece by piece

7 labs12 AI-mentored sessions~6 hoursBilingual · EN / 中
Start learning →

About this course

The real world is never plain text — it is pixels, sound waves and words all at once. This course
teaches you to hand-build, in a few dozen lines of Python in your own sandbox, every mechanism
behind making one model see images, hear sound, and read text at the same time.
You start by turning all three modalities into tensors: an image is a pixel grid, audio is a 1-D
waveform and spectrum, text is a bag-of-words vector — seeing how each is natively shaped (that is
"heterogeneity"), then unifying them as vectors in one representation space.
Then you build alignment: pull paired (image, text) into the same space and use contrastive
learning (CLIP-style) to draw positives together and push negatives apart; build fusion — early,
late, gated, attention — and see which strategy is steadier on a toy bimodal task; build
cross-modal retrieval and transfer: image↔text search with recall@k, supervising one modality
with another's labels, and zero-shot transfer. From there you climb to large multimodal models
(projecting image features into "pseudo-tokens" fed to a toy language model), multimodal
generation, and evaluation. Everything runs offline, deterministically, in seconds, with every
image / sound / pair synthesized in code — so all your attention goes to the mechanism itself.

What you'll learn

  • Turn images (pixel grids), audio (waveform/spectrum) and text (bag-of-words) into fixed-length vectors by hand, and explain heterogeneity vs a unified representation
  • Project paired (image, text) into one space, use contrastive learning to pull positives together and push negatives apart, and compute alignment similarity
  • Implement early / late / gated / attention fusion by hand and compare their robustness on a toy bimodal task
  • Build image↔text cross-modal retrieval with recall@k, supervise one modality with another's labels, and do zero-shot cross-modal classification
  • Assemble a minimal large multimodal model — vision encoder + projector + toy language model — feeding image features in as pseudo-tokens
  • Explain what multimodal generation, hallucination and alignment evaluation do, and when to trust a multimodal model

Syllabus

1Multimodal Intro: Turning Modalities into Tensors3 sessions
  • 1Modalities & Heterogeneity: an Image Is a Grid of Numbers30 minStart →
  • 2Audio Is a 1-D Waveform and a Spectrum30 minStart →
  • 3Text as Bag-of-Words; Unifying Three Modalities as Vectors30 minStart →
2Representation & Alignment: Pulling Paired Image and Text into One Space3 sessions
  • 1A Shared Space: Projecting Different-Dimension Image and Text Together30 minStart →
  • 2Alignment Similarity: Cosine Similarity and the Pairing Matrix30 minStart →
  • 3Contrastive Learning (CLIP-style): Pull Positives Together, Push Negatives Apart30 minStart →
3Interaction & Fusion: Early / Late / Gated / Attention3 sessions
  • 1Early Fusion vs Late Fusion30 minStart →
  • 2Hybrid & Gated Fusion: Let the Model Decide Whom to Trust30 minStart →
  • 3Attention Fusion: One Modality Queries Another30 minStart →
4Cross-Modal Transfer & Retrieval: Image↔Text Search, Transfer & Zero-Shot3 sessions
  • 1Image↔Text Retrieval: recall@k30 minStart →
  • 2Cross-Modal Transfer: Supervising One Modality with Another's Labels30 minStart →
  • 3Zero-Shot Cross-Modal Classification: Classify from Class Names Alone30 minStart →
5Large Multimodal Models: Vision Encoder + Projector + LLM0 sessions

Sessions are on the way.

6Multimodal Generation: From Condition Vectors to Cross-Modal Synthesis0 sessions

Sessions are on the way.

7Multimodal Evaluation & Trust: Hallucination, Alignment Metrics & Modality Trade-offs0 sessions

Sessions are on the way.

Same series · 世界名校知名实验室系列

Flagship University Lab Series

Modeled on Stanford / MIT / Berkeley syllabi — learn from scratch with a mentor Agent guiding you in real time.