Deep Learning and Numerical Optimization

  1. Tensor Shapes and Broadcasting Contracts

    Distinguish sample, position, and feature axes, and track what happens to a broadcast value during differentiation.

    Graduate
  2. Reverse-Mode Automatic Differentiation

    Propagate sensitivities backward through a graph and add contributions when a value reaches the loss through several paths.

    Graduate
  3. Variance-Preserving Weight Initialization

    Track signal scale through a random linear layer and derive why a weight variance should depend on the number of incoming features.

    Graduate
  4. Mini-Batch Gradients and Sampling Noise

    Derive when a mini-batch average estimates the full training gradient and compare estimator variance with update cost.

    Graduate
  5. Momentum and Adaptive Gradient Moments

    Compare a smoothed gradient direction with coordinatewise scaling and account for moment bias at early steps.

    Graduate
  6. Weight Decay and Quadratic Regularization

    Derive when an L2 penalty equals multiplicative shrinkage and see what changes when the optimizer rescales gradients.

    Graduate
  7. Batch and Layer Normalization Axes

    Compute a standardized feature along the intended axis and explain which statistics change between training and inference.

    Graduate
  8. Residual Connections and Gradient Paths

    Differentiate a residual block and see how its direct path preserves one contribution to the gradient.

    Graduate
  9. Gradient Norm Clipping and Update Bounds

    Scale a large gradient to a prescribed norm and distinguish whole-batch clipping from clipping individual examples.

    Graduate
  10. Stable Softmax and Log-Sum-Exp

    Factor out the largest logit to retain the same probabilities while avoiding overflow in exponentiation.

    Graduate
  11. Convolution, Shared Weights, and Translation Equivariance

    Prove a shift identity by changing an index and identify what padding and stride can change about the result.

    Graduate
  12. Message Passing on Graph Neighborhoods

    Aggregate neighbors without relying on their order and compare how sum and mean retain different information.

    Graduate
  13. Subword Tokens and Embedding Lookups

    Map text into reusable units and distinguish a vocabulary identifier, learned embedding, and contextual output.

    Graduate
  14. Scaled Dot-Product Attention

    Trace a query from similarity scores to a weighted value and separate key width from the number of available positions.

    Graduate
  15. Positional Encodings and Relative Offsets

    Add sequence position to token states and derive how pairs of sinusoidal coordinates encode relative movement.

    Graduate
  16. Autoregressive Factorization and Decoding

    Factor a sequence probability into next-token distributions and distinguish a trained model from the rule selecting outputs.

    Graduate
  17. Contrastive Learning and Positive Pair Design

    Construct training pairs with a declared shared property and diagnose when augmentation teaches an unwanted invariance.

    Graduate
  18. Gaussian Noising and Noise Prediction

    Compute the conditional mean and variance of a noisy sample and distinguish a denoising target from an unconditional score.

    Graduate
  19. Bellman Evaluation and Discounted Returns

    Derive the one-step value identity and calculate the return of a simple recurrent state under geometric discounting.

    Graduate
  20. Off-Policy Evaluation and Support

    Reweight logged decisions by a target policy and explain why an action absent from the logs cannot be evaluated without further assumptions.

    Graduate