| # | date | topic | description |
|---|---|---|---|
| 1 | 24-Aug-2026 | Introduction | |
| 2 | 26-Aug-2026 | Foundations of learning | Drop/Add |
| 3 | 31-Aug-2026 | PAC learnability | HW1 |
| 4 | 02-Sep-2026 | Linear learning models | |
| 5 | 07-Sep-2026 | Labor Day Holiday | Holiday |
| 6 | 09-Sep-2026 | Principal Component Analysis | Project ideas |
| 7 | 14-Sep-2026 | Curse of Dimensionality | HW2, HW1 due |
| 8 | 16-Sep-2026 | Bayesian Decision Theory | |
| 9 | 21-Sep-2026 | Parameter estimation: MLE | |
| 10 | 23-Sep-2026 | Parameter estimation: MAP & NB | finalize teams |
| 11 | 28-Sep-2026 | Logistic Regression | HW3, HW2 due |
| 12 | 30-Sep-2026 | Kernel Density Estimation | |
| 13 | 05-Oct-2026 | Support Vector Machines | |
| 14 | 07-Oct-2026 | Matrix Factorization | |
| 15 | 12-Oct-2026 | * Midterm | Exam, HW3 due |
| 16 | 14-Oct-2026 | k-means clustering | |
| 17 | 19-Oct-2026 | Invited: Intro to Causal Learning I |
| # | date | topic | description |
|---|---|---|---|
| 18 | 21-Oct-2026 | Invited: Intro to Causal Learning II | |
| 19 | 26-Oct-2026 | * Mid-point projects checkpoint | HW4, P |
| 20 | 28-Oct-2026 | Expectation Maximization | |
| 21 | 02-Nov-2026 | Stochastic Gradient Descent | |
| 22 | 04-Nov-2026 | Automatic Differentiation | |
| 23 | 09-Nov-2026 | Nonlinear embedding approaches | HW5, HW4 due |
| 24 | 11-Nov-2026 | Model comparison & calibration | |
| 25 | 16-Nov-2026 | Convolutional Neural Networks | |
| 26 | 18-Nov-2026 | Word Embedding | |
| 27 | 23-Nov-2026 | Thanksgiving Break | Holiday |
| 28 | 25-Nov-2026 | Thanksgiving Break | Holiday |
| 29 | 30-Nov-2026 | * Final Exam | Exam |
| 30 | 02-Dec-2026 | Project Final Presentations | HW5 due, P |
| 31 | 07-Dec-2026 | No class | Classes End |
| 32 | 16-Dec-2026 | Project Reports | due |
| 33 | 17-Dec-2026 | Grades due 5 p.m. | PAWS |
| # | date | topic |
|---|---|---|
| 4 | 02-Sep-2026 | Linear learning models |
| 7 | 14-Sep-2026 | Curse of Dimensionality |
| 9–11 | Sep 2026 | MLE, MAP & Logistic Regression |
| 12 | 30-Sep-2026 | Kernel Density Estimation |
| 13 | 05-Oct-2026 | Support Vector Machines |
| 14–20 | Oct 2026 | Matrix Fact., K-Means & EM |
| 21 | 02-Nov-2026 | Stochastic Gradient Descent |
| 22 | 04-Nov-2026 | Automatic Differentiation |
| 23 | 09-Nov-2026 | Nonlinear embedding approaches |
| 24 | 11-Nov-2026 | Model comparison & calibration |
| 25 | 16-Nov-2026 | Convolutional Neural Networks |
Replacing brute-force dense connectivity with locality, weight sharing, and shift equivariance.
Suppose we feed a $256 \times 256$ RGB image ($\vec{x} \in \RR^{196{,}608}$) into a single dense hidden layer of $1{,}000$ units:
A 1D convolution $\vec{y} = \bm{K}\vec{x}$ is simply a linear map $\vec{y} = \bm{W}\vec{x}$ with two constraints on $\bm{W}$:
Reverse-Mode AD Link (Lecture 18): Because $(a,b,c)$ fan out across rows in $\bm{W}\vec{x}$, backprop sums gradients over space: $\displaystyle \frac{\partial {\cal L}}{\partial w_u} = \sum_i \frac{\partial {\cal L}}{\partial y_i} x_{i+u}$ and $\displaystyle \frac{\partial {\cal L}}{\partial \vec{x}} = \bm{W}^\top \frac{\partial {\cal L}}{\partial \vec{y}}$!
1. Convolution ($*$): flips kernel $180^\circ$
$(I * K)[i,j] = \sum_{u,v} I[i - u,\, j - v]\, K[u, v]$
2. Cross-Correlation ($\star$): DL Conv default
$(I \star K)[i,j] = \sum_{u,v} I[i + u,\, j + v]\, K[u, v]$
Let $T_{\Delta}$ shift an image by $\Delta = (\Delta_x, \Delta_y)$: $[T_{\Delta}\bm{X}]_{i,j} = X_{i-\Delta_x,\, j-\Delta_y}$.
$\displaystyle \big((T_{\Delta}\bm{X}) \star \bm{K}\big)[i,j] = \sum_{u,v} X_{i - \Delta_x + u,\, j - \Delta_y + v}\, K_{u,v} = \big[T_{\Delta}(\bm{X} \star \bm{K})\big]_{i,j}$
From cat visual cortex (1962) to Neocognitron (1980), LeNet (1998), and ImageNet GPUs (2012).
Alternating Conv $\to$ Subsample hierarchy, deployed to read millions of handwritten checks in production.
Ingredients: ReLU activations, dual GPUs, overlapping MaxPool, data augmentation & Dropout — slashing ImageNet Top-5 error from $26.2\%$ to $15.3\%$.
Unified 2D Output Shape Formula (kernel $k$, padding $p$, stride $s$, dilation $d$):
$H_{\text{out}} = \left\lfloor \frac{H_{\text{in}} + 2p - d(k - 1) - 1}{s} \right\rfloor + 1$
Mapping $\bm{X} \in \RR^{C_{\text{in}} \times H \times W} \to \bm{Y} \in \RR^{C_{\text{out}} \times H' \times W'}$ uses a 4D filter tensor $\boldsymbol{\mathcal{W}} \in \RR^{C_{\text{out}} \times C_{\text{in}} \times k \times k}$:
$\displaystyle Y_{m, i, j} = b_m + \sum_{c=1}^{C_{\text{in}}} \sum_{u,v} X_{c,\, i+u,\, j+v}\, \mathcal{W}_{m, c, u, v} \qquad \text{Parameters} = C_{\text{out}}\,(C_{\text{in}}\, k^2 + 1)$
Downsampling shrinks memory and grows receptive fields — at the cost of fine spatial localization!
Alternating convolutions and pooling build a hierarchy from pixels → edges → textures → semantic object parts!
At each pixel $(i,j)$, apply a shared linear map across channels:
$\vec{y}_{i,j} = \bm{W}\vec{x}_{i,j} + \vec{b}, \qquad \bm{W} \in \RR^{C_{\text{out}} \times C_{\text{in}}}$
Forward strided conv multiplies by sparse Toeplitz $\bm{W}$:
Upconv multiplies by $\bm{W}^\top$ (exact backward operator!)
$H_{\text{out}} = (H_{\text{in}} - 1)s - 2p + k$
Insert $d-1$ zeros between kernel taps — keeping only $k^2$ weights!
$R_{\ell} = R_{\ell-1} + (k_{\ell} - 1)\, d_{\ell} \prod_{m < \ell} s_m$
How identity shortcuts unlock 100+ layer networks via Reverse-Mode AD.
Why couldn't we train deep plain nets before 2015?
Drop the learned gate completely ($C \equiv 1, T \equiv 1$): learn residual $\mathcal{F}(\vec{x}) = \mathcal{H}(\vec{x}) - \vec{x}$!
$\vec{x}_{\ell+1} = \vec{x}_\ell + \mathcal{F}(\vec{x}_\ell, \bm{W}_\ell) \implies \vec{x}_L = \vec{x}_\ell + \sum_{k=\ell}^{L-1} \mathcal{F}(\vec{x}_k, \bm{W}_k)$
$\displaystyle \frac{\partial {\cal L}}{\partial \vec{x}_\ell} = \frac{\partial {\cal L}}{\partial \vec{x}_L}\!\left(\underbrace{\bm{I}}_{\text{Direct AD Highway!}} + \;\frac{\partial}{\partial \vec{x}_\ell}\sum_{k=\ell}^{L-1}\mathcal{F}(\vec{x}_k, \bm{W}_k)\right)$
56-layer Plain Net fails on training error; 56-layer ResNet beats 20-layer easily!
Filter-normalized 2D slices of ResNet-56 (Li et al., 2018): skip connections turn a chaotic terrain into a smooth, well-conditioned basin.
ResNet adds: $\vec{x}_\ell = \vec{x}_{\ell-1} + \mathcal{F}_\ell(\vec{x}_{\ell-1})$
DenseNet concatenates: $\vec{x}_\ell = \mathcal{H}_\ell\!\big([\vec{x}_0, \vec{x}_1, \dots, \vec{x}_{\ell-1}]\big)$
Channel count grows linearly ($C_\ell = C_0 + \ell g$), so raw weights would grow as $O(L^2 g^2)$ — 3 tricks tame it:
Dense connections keep the loss surface smooth and convex-like (Li et al., 2018) while reusing all prior feature maps — cutting parameters by $\sim 3\times$ at equal accuracy!
Predicting dense $H \times W$ pixel labels directly with convolutions.
Map $\bm{X} \in \RR^{C \times H \times W} \to \hat{\bm{Y}} \in \Delta_K^{H \times W}$: classify every pixel simultaneously via per-pixel cross-entropy or Dice loss.
Takeaway: When input and target share spatial geometry, keep everything convolutional and fuse coarse semantic + fine boundary layers!
U-Net, the 3D memory wall, and pure dilated MeshNet in the browser.
23.5M parameters + $O(N^3)$ skip tensors force 80 GB GPUs or subcube patching!
Multi-subject empirical regularization lets a compact 3D FCN even beat noisy training masks!
Causal autoregressive masks, deformable sampling, depthwise separability & modern frontier roles.
Turn image generation into exact chain-rule density estimation in raster-scan order: $\quad \displaystyle p(\bm{x}) = \prod_{i=1}^{H \cdot W} p(x_i \mid x_1, \dots, x_{i-1})$
$p(\bm{x}) = \prod_{t=1}^T p(x_t \mid x_1, \dots, x_{t-1})$ over thousands of audio steps via exponentially dilated 1D stacks!
| Model | "The blue lagoon..." |
|---|---|
| Parametric | |
| Concatenative | |
| WaveNet |
| Model | "English poetry and..." |
|---|---|
| Parametric | |
| Concatenative | |
| WaveNet |
Augment fixed grid offsets $\vec{p}_n$ with learned fractional shifts $\Delta\vec{p}_n$:
$y(\vec{p}_0) = \sum_{\vec{p}_n \in \mathcal{R}} w(\vec{p}_n)\, x(\vec{p}_0 + \vec{p}_n + \Delta\vec{p}_n)$
Factorize spatial filtering from channel mixing (MobileNet / Xception):
$\displaystyle \frac{\text{DW}\,(k^2 C_{\text{in}}) + \text{PW}\,(C_{\text{in}} C_{\text{out}})}{\text{Std}\,(k^2 C_{\text{in}} C_{\text{out}})} = \frac{1}{C_{\text{out}}} + \frac{1}{k^2} \approx \mathbf{\frac{1}{9}}$
Brainchop).