Blog

Paper breakdowns, frontier updates and engineering notes on large language models.

AdamW: Decoupling Weight Decay from Adam's Adaptive Update

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.

Paper notes ICLR 2019 2017

ResNet: Residual connections make very deep networks trainable

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.

Paper notes CVPR 2016 2015

U-Net: Contracting and expanding paths with skip connections

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.

Paper notes MICCAI 2015 2015

GAN: Learning a data distribution through a minimax game

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.

Paper notes NeurIPS 2014 2014