Skip to content
BIASED

Optimizing deep networks

Block 1 of 7~1 min

From scale to the step

The topic Normalization and initialization made a deep network trainable: signals and gradients keep their scale through depth. Whether training then goes fast and ends somewhere good is up to the optimizer. The Machine Learning course derived SGD, momentum, RMSProp and Adam on problems with one valley. This topic is about what changes when they drive a deep network: many equivalent minima, a best learning rate that moves during training, weight decay meeting normalization, gradients that occasionally blow up, and large batches.

Notation. Parameters ww, loss L(w)L(w), minibatch gradient gg; learning rate η\eta (or ηt\eta_t), weight decay λ\lambda, batch size bb, horizon TT. Adam averages m^,v^\hat m,\hat v with β1=0.9\beta_1=0.9, β2=0.999\beta_2=0.999.

Answers are saved on the server and tied to this browser until you sign in.

Go deeper — optional

Code and labs do not count toward the main percentage or the certificate.

  • Adam vs SGD on a quadratic valleyoptional

    Convergence comparison on L=½(w₁²+100 w₂²). Self-check in the notebook.

    ~15 min · easier on a computer · Optimizing deep networks topic read.

    Self-check in the notebook — not part of mastery or the certificate.