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.
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.
SimCLR treats two augmentations of an image as positives and others as negatives with NT-Xent. Ablations establish augmentation composition, nonlinear projection and batch size as central design choices.
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.