Deep Learning

Own neural mechanisms, PyTorch execution, training diagnosis, major architectures, representation learning and reliable measurement on compact models.

8 sections · 60 units · about 244 hours

0/60
Start hereAffine maps, nonlinearities and logits
1Neural Computation, Losses & Reverse Mode0 of 7 passed · project: Tensor reverse-mode engine with differential checks
  1. Affine maps, nonlinearities and logits4h
  2. Stable softmax, cross-entropy and loss reductions5h
  3. Computation graphs and reverse accumulation5h
  4. Branches, broadcasting and saved values in backward5h
  5. Gradient checks with finite differences3h
  6. Tensor layout: shape, stride, views and copies3h
  7. Aliasing, mutation and module ownership3h
2PyTorch Foundations & Low-Level Training Loops0 of 8 passed · project: Minimal PyTorch trainer with owned state
  1. PyTorch tensors: creation, indexing, storage and strides3h
  2. Autograd state: views, in-place ops, leaves and accumulation4h
  3. Modules, parameters, buffers and initialization4h
  4. Backward, `zero_grad`, `gradcheck` and evaluation modes3h
  5. Custom autograd functions3h
  6. Datasets, data loaders and samplers4h
  7. Explicit training and evaluation loops with correct metrics4h
  8. Checkpoints, configuration and reproducibility5h
3Training Dynamics, Regularization & Diagnosis0 of 8 passed · project: Seeded-fault diagnosis of a compact run
  1. Initialization and signal scale across depth5h
  2. Dead, saturated and exploding units, and residual paths4h
  3. Batch, layer, group and RMS normalization4h
  4. Regularization: dropout, label smoothing, augmentation and weight decay4h
  5. Optimizers from SGD to AdamW5h
  6. Schedules, gradient accumulation and clipping5h
  7. Objective checks, tiny-set overfit and shuffled-label controls3h
  8. Diagnosing failed runs: divergence, stale state, slices and seeds5h
4Convolutional & Recurrent Architectures0 of 7 passed · project: Convolution, gated recurrence and leak tests
  1. Convolution shapes: channels, padding, stride, dilation and groups5h
  2. Pooling, transposed convolution, receptive fields and cost4h
  3. Equivariance, residual CNN blocks and resolution cost5h
  4. Recurrent cells, unrolling and backpropagation through time5h
  5. Recurrent gradients, GRU and LSTM gates5h
  6. Hidden state, encoder-decoder models and teacher forcing4h
  7. Decoding, variable-length batches and leak tests5h
5Representation, Self-Supervision & Paired Modalities0 of 7 passed · project: Compact contrastive learner with a seeded leak audit
  1. Embedding geometry and contrastive logits3h
  2. Temperature, negatives and positive construction4h
  3. Augmentation shortcuts, false negatives and collapse5h
  4. Linear probes, transfer evaluation and pair leakage5h
  5. Patch embeddings and positional information3h
  6. Paired modalities: projector heads, alignment and zero-shot retrieval4h
  7. Graph message passing and oversmoothing2h
6Generative Modeling0 of 7 passed · project: Compact VAE with a controlled collapse study
  1. Autoencoders and latent-variable models3h
  2. The ELBO and reparameterized sampling4h
  3. Posterior collapse and decoder capacity3h
  4. GAN objectives, alternating updates and mode collapse4h
  5. Diffusion: forward corruption, reverse denoising and prediction targets5h
  6. Diffusion sampling schedules, cost and guidance3h
  7. Evaluating and comparing generative model families3h
7Attention & Transformer Foundations0 of 7 passed · project: General multi-head block with an intervention battery
  1. Queries, keys, values and scaled dot-product attention4h
  2. Causal masks, padding masks and fully masked rows3h
  3. Self-attention, cross-attention and multi-head shapes4h
  4. Positional information and position offsets3h
  5. Transformer blocks: residual stream, normalization and feed-forward5h
  6. Parameter, FLOP and memory accounting for attention4h
  7. Architecture trade-offs and attention correctness tests5h
8Reliable PyTorch Execution, State & Profiling0 of 9 passed · project: Profiled, resumable training with one repaired fault
  1. Eager execution, autograd nodes and saved tensors3h
  2. Streams, asynchronous copies and honest timing4h
  3. GPU memory: allocated, reserved, peak and memory models5h
  4. Precision formats, autocast and gradient scaling5h
  5. Overflow, underflow and finding the first invalid value4h
  6. Activation checkpointing and recomputation4h
  7. Complete checkpoints, atomic writes and reproducibility boundaries5h
  8. `torch.compile`: capture, guards, graph breaks and dynamic shapes4h
  9. Profiling training phases and verifying optimizations5h

Final project: Neural Mechanisms & Training Evidence Pack

Review the stage through three compact artifacts that prove mechanism fluency, PyTorch ownership and diagnosis. Keep every model and dataset small enough to rerun locally or in a free notebook runtime.

  • Neural core proof pack - branched tensor autodiff with tests, stable cross-entropy, one tensor MLP, finite-difference and PyTorch differential checks, and one saved-value or broadcast defect with its regression test
  • Reproducible PyTorch training run - one small CNN, recurrent, VAE or attention model with explicit loops, configuration and split provenance, tiny-set and shuffled-label controls, complete checkpoint state and a stated resume-equivalence result
  • Diagnosis and profile casebook - three seeded-fault postmortems across objective or data, numerical or state, and performance or compile behavior, each with hypotheses, a discriminating control, repair, regression guard, measured evidence and one limitation
How it's graded · about 10 to 16 hours

Neural core proof pack

Pass: The section 1 mini-project meets Pass on every criterion.

Great: It meets Strong on gradient correctness and on saved values, and one command runs every differential check.

Reproducible PyTorch training run

Pass: One small CNN, recurrent, VAE or attention model trains in the section 2 trainer with config and split provenance, tiny-set and shuffled-label controls, complete checkpoint state and a stated resume-equivalence result.

Great: Resume is exact on CPU, and a fresh clone reproduces the reported metrics within the stated tolerance.

Diagnosis and profile casebook

Pass: Three seeded-fault postmortems, one each for objective or data, numerical or state, and performance or compile behavior, each with hypotheses, a discriminating control, repair, regression guard, measured evidence and one limitation.

Great: Each regression guard fails on its fault and passes on its repair in one test command.

Rebuild from a clean clone

Pass: A README lists the commands that rebuild each artifact.

Great: One script rebuilds every reported number on a CPU or a free notebook GPU, with its run time stated.

Honest limits

Pass: Each artifact states what its compact model and data cannot show.

Great: Each limit names the later stage or track that addresses it.