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
2Representation & Alignment: Pulling Paired Image and Text into One Space3 sessions
3Interaction & Fusion: Early / Late / Gated / Attention3 sessions
4Cross-Modal Transfer & Retrieval: Image↔Text Search, Transfer & Zero-Shot3 sessions
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.
◎ Modeled on Stanford CS336
LLM from ScratchHand-build every piece of an LLM, along the 17-lecture skeleton of Stanford CS336View course →◎ Modeled on Berkeley’s LLM Agents course
LLM Agents: From Reasoning to Agentic SystemsAlong the 12-lecture skeleton of Berkeley's LLM Agents course — reasoning, frameworks, applications and safety, all hands-onView course →◎ Modeled on Stanford CS329A (Self-Improving AI Agents)
Self-Improving AI AgentsHand-build AI agents that make themselves better, along the skeleton of Stanford CS329AView course →◎ Modeled on Princeton COS 511 (Theoretical ML)
Learning Theory: PAC, Boosting & Online LearningHand-derive PAC bounds, hand-build AdaBoost, hand-run regret curves — turn learning theory from formulas into experiments you runView course →◎ Modeled on Stanford CS234 (Reinforcement Learning)
Deep Reinforcement Learning: MDPs to Policy GradientsProve convergence by hand, backprop a DQN from scratch, give policy gradient a critic — pure numpy, zero gym, zero GPUView course →◎ Modeled on CMU’s ML in Production (MLIP)
Machine Learning in ProductionTurn a model that merely runs into a system that survives productionView course →