Deep Learning
From backprop to transformers
Fundamentals
Activation functions
coreWhat sigmoid, tanh, ReLU, and GELU each do to forward signals and backward gradients — and why the default answer is the ReLU family
9 minfundamentalsactivationsgradientsBackpropagation
coreThe chain rule organized so one backward sweep computes the gradient of the loss with respect to every parameter, reusing shared work at each step
12 minfundamentalsgradientstrainingBatch and layer normalization
coreThe full treatment of batch norm and layer norm: what normalization layers compute, why batch norm behaves differently at inference, and why transformers standardized on layer norm
12 minfundamentalsnormalizationtrainingtransformersDropout and regularization
coreHow dropout, weight decay, early stopping, and augmentation keep overparameterized networks honest — plus the batch-norm and layer-norm facts to have on hand
10 minfundamentalsregularizationtrainingForward pass
introHow a network turns inputs into predictions — alternating affine maps and nonlinearities, with every intermediate cached for the backward pass
8 minfundamentalsneural-networksOptimizers: SGD, momentum, Adam
coreThe ladder from vanilla SGD through momentum to Adam and AdamW — what each rung adds, with the update rules and defaults worth memorizing
11 minfundamentalsoptimizationtraining
Architectures
Attention mechanism
coreScaled dot-product attention as a differentiable soft lookup — queries score keys, softmax turns scores into weights, the output is a weighted mix of values
12 minarchitecturesattentiontransformersConvolutional neural networks
coreLocality and weight sharing turn images into a parameter-efficient feature hierarchy — plus the output-size and parameter-count formulas interviewers make you compute
11 minarchitecturescnncomputer-visionRNNs & LSTMs
coreVanilla recurrence and backpropagation through time, why gradients vanish or explode across long sequences, and how gated cells (LSTM, GRU) restore long-range learning
12 minarchitecturesrnnlstmsequence-modelsTransformer architecture
advancedMulti-head attention plus position-wise FFNs, residuals, and positional encodings — and the parallelism argument that retired recurrent networks
12 minarchitecturestransformersattention
Representation Learning
Embeddings
coreLearned dense vectors that place discrete things in a geometry where distance means similarity — the representation trick under NLP, recsys, and semantic search
9 minrepresentationembeddingsnlpTransfer learning and fine-tuning
coreReusing pretrained representations — when to freeze the backbone, when to fine-tune, and how to make 500 labeled examples go a very long way
10 minrepresentationtransfer-learningfine-tuning