← All Posts
Deep Learning · Regularization in Deep LearningReading guide

Regularization in Deep Learning: Reading Guide

A connected guide with step-by-step derivations, worked numerical examples, geometric figures, and interactive experiments.

Regularization biases training toward solutions that generalize beyond the training set. Depending on the mechanism, it acts on parameter norms, stochastic activation masks, synthetic inputs, soft target distributions, optimization trajectories, input Jacobians, or worst-case neighborhoods.

Reading order

01
L1, L2, and Elastic Net: What the Penalty Actually Does

Derive proportional L2 shrinkage, L1 soft-thresholding via subgradients, and the elastic-net proximal update.

02
Weight Decay and Norm Constraints: Control the Right Quantity

Separate coupled L2 from AdamW’s decoupled weight decay, project onto max-norm balls, and bound amplification via spectral normalization.

03
Dropout and DropConnect: Learn with Randomly Missing Paths

Derive inverted dropout’s $1/q$ scaling, its exact equivalence to feature-scaled L2 in linear regression, and DropConnect’s covariance.

04
Structured Dropout and Stochastic Depth: Choose What Disappears

Compare element, channel (SpatialDropout), block (DropBlock), and residual-branch (Stochastic Depth) masks.

05
Data Augmentation, Mixup, and CutMix: Change the Training Distribution

Contrast invariance with equivariance, derive Mixup’s linear cross-entropy decomposition, and compute clipped CutMix label weights.

06
Label Smoothing and Distillation: Change the Target Distribution

Derive the $p_k-q_k$ logit gradient, the finite optimal logit gap under label smoothing, and the $T^2$ gradient scaling in knowledge distillation.

07
Early Stopping and Implicit Regularization: The Path Matters

Derive gradient descent’s spectral filter $1-(1-\eta s)^t$, compare it with ridge regression’s $s/(s+\lambda)$, and inspect checkpoint selection.

08
Noise, Consistency, and Gradient Penalties: Control Sensitivity

Expand expected noisy loss to second order, connect consistency losses to the Jacobian Frobenius norm, and contrast R1 with WGAN-GP.

09
Adversarial Training and SAM: Optimize a Neighborhood

Derive closed-form $L_\infty$ (FGSM) and $L_2$ worst-case perturbations, trace PGD, and step through Sharpness-Aware Minimization’s two-pass update.

Core notation at a glance