Table of Contents
🌏 中文版
Source: based on MIT 6.7960 Fall 2024 OCW (corresponds to OCW Lec 01). Videos, slides, and assignments are all open on MIT OCW. This lecture is the course overview, delivered by the instructor team.
1. Why deep learning exploded after the 2010s
LeCun, Bengio, and Hinton's 2015 Nature survey makes the case clearly: three forces matured at the same time.
- Data — ImageNet (2009) made 1M labeled images a public resource; web-crawl text reached the TB scale by the mid-late 2010s; YouTube and Wikipedia became free unlabeled corpora.
- Compute — NVIDIA CUDA (2007) made GPUs general-purpose; AlexNet (2012) trained for days on two GTX 580s; today a single H100 trains overnight what was a dream back then.
- Algorithms — ReLU solved vanishing gradients in deep nets; BatchNorm stabilized deep training; ResNet (2015) made "going deeper" actually work; Attention/Transformer (2017) jumped sequence models a generation.
Any one alone is not enough. All three at once is what took deep learning from the lab to industry.
2. The course map
6.7960 starts from "why deep" (L03) and threads:
- Architectures: CNN / GNN (L05) / Transformer (L08) — networks for different data structures.
- Training: SGD / Adam / regularization / inductive biases (theory in L13).
- Representation learning: reconstruction / contrastive / theory (L11–L13).
- Generative models: likelihood, GAN, VAE (L14–L16), diffusion and text-to-image.
- Transfer and generalization: OOD (L17), transfer learning (L18–L19).
- Scale: scaling laws (L20) → LLMs (L21).
- Deployment: geometric deep learning (L23), inference optimization (L24).
Lecture 1 is the only one with "no math, no architecture" — it tells you what this main line is.
3. Why "deep"
A full lecture later (L03 Approximation Theory) rigorously proves: depth gives exponential width savings on compositional functions. Here is the intuition: many functions (e.g. "is there a cat in this image") are inherently hierarchical (edges → textures → parts → objects), and deep nets' hierarchical representations match that exactly; a shallow net, no matter how wide, can't learn it.
This is also why "going deeper" recurs throughout the course.
4. How to use the course resources
- OCW: all lecture videos, slides, and 3 problem sets (PS1–PS3) are public, no registration. Fall 2024 is the first complete OCW version.
- Recommended reading:
- Goodfellow, Bengio, Courville Deep Learning (free online) — textbook-level "map."
- Murphy Probabilistic Machine Learning — deep learning through a probabilistic lens.
- Bernstein's Deep Learning Theory Notes (OCW readings page) — leans theoretical, but clearly written.
- Problem sets: PS1 hand-derive MLP backprop, PS2 implement CNN, PS3 sequence/attention. Not graded but strongly recommended.
5. The first training loop
Whether or not you know PyTorch, these ~30 lines are the minimum "environment works" test:
import torch, torch.nn as nn, torch.optim as optim
from torchvision import datasets, transforms
from torch.utils.data import DataLoader
tf = transforms.Compose([transforms.ToTensor(), transforms.Lambda(lambda x: x.view(-1))])
train = DataLoader(datasets.MNIST('.', download=True, train=True, transform=tf),
batch_size=64, shuffle=True)
model = nn.Sequential(nn.Linear(784, 128), nn.ReLU(), nn.Linear(128, 10))
opt = optim.Adam(model.parameters(), lr=1e-3)
loss_fn = nn.CrossEntropyLoss()
for epoch in range(1):
for x, y in train:
opt.zero_grad(); loss_fn(model(x), y).backward(); opt.step()
print("env OK, params:", sum(p.numel() for p in model.parameters()))
Get something like env OK, params: 101770 and you know PyTorch + data + GPU/CPU all work. The next 23 lectures are just adding things to this loop.
6. How to read this series
If you're just auditing:
- Engineer: skim L03 → L07 → L08 → L14 → L20 → L21 → L24, for theory and modern LLM engineering practice.
- Researcher: read L03 through L24 in order, and actually do PS1–PS3.
- Practitioner: L14–L17 + L18–L19 give you deployment and transfer judgment.
References
- MIT 6.7960 OCW (Fall 2024): course home
- LeCun, Bengio & Hinton, Deep Learning (Nature, 2015): nature.com/articles/nature14539
- Goodfellow, Bengio & Courville, Deep Learning textbook (free online): deeplearningbook.org
- MIT 6.7960 readings page (recommended texts): OCW readings
Loading...