Neural networks

Wiki chapters and blog posts about Neural networks.

Wiki

From RNNs to Attention: Why the Transformer Appeared

An RNN squeezes history into one fixed-size state and computes it step by step, so gradients pass through a long chain of multiplications. Attention lets every position read every other position directly, in parallel. Experiments measure vanishing gradients, gating and the copy bottleneck.

Beginner 31 min read

Neural Network Basics: From Linear Layers to Backpropagation

A neural network chains linear maps and nonlinearities. Backpropagation (the chain rule) gives the loss gradient for every parameter, and training steps against it. This page builds a two-layer net in NumPy, checks its gradients, and runs learning-rate and initialization experiments.

Beginner 27 min read

Blog posts

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

Topics