L2 regularization and weight decay are equivalent in SGD but not in Adam: the L2 gradient is rescaled by the second-moment estimate, so weights with large gradients are decayed less. AdamW applies the decay directly to the weights. We verify the propositions in code and check PyTorch's convention.
PPO makes policy gradients reusable: a clipped probability-ratio objective allows several minibatch epochs on one batch of data, with TRPO-like stability from first-order optimization only. A CartPole experiment compares no clipping with epsilon 0.1, 0.2 and 0.3, 8 seeds each.
The original Transformer paper: an encoder-decoder built only from multi-head self-attention and feed-forward layers, 28.4 BLEU on WMT 2014 English-German. We recompute its parameter counts, costs and BLEU claims, then train a tiny Transformer to copy digits.
ResNet recasts layers as residual functions with identity shortcuts, addressing deep-network degradation. Its 152-layer model reports 3.57% ImageNet top-5 error and residual learning became a default building block.
U-Net combines a context-encoding contracting path, a resolution-restoring expanding path and skip connections. Elastic augmentation enables strong biomedical segmentation with few annotated images.
Seq2Seq uses one deep LSTM to encode a variable-length input and another to generate output. Reversing source sentences improves optimization, reaching 34.8 BLEU on WMT14 English-French.
GANs train a noise-to-sample generator against a real/fake discriminator. The paper derives the optimal discriminator and a JS-divergence equilibrium, while practice uses a non-saturating generator loss.
VAEs jointly train an approximate posterior encoder and generative decoder with the ELBO. Reparameterization z=mu+sigma*epsilon makes sampling differentiable and underpins continuous-latent generative modeling.
DQN pairs Q-learning with a convolutional network and experience replay, learning from raw pixels with one architecture and hyperparameter set on seven Atari games. It beat all prior methods on six and a human expert on three. Code checks parameters, normalized scores and a CartPole replay ablation.