BACKPROP LAB
CURRICULUM INDEX // 01–20
20 SECTIONS3 FORMULAS LIVE

LEARN

Twenty structured sections spanning tensor norms, transformer attention, and reinforcement-learning policy optimization. Select any section to inspect its formulas.

SHARED

Tensors & Norms

Vector norms, matrix products, and numerical stability primitives.

0 FORMULAS0 MIN
SHARED

Probability & Entropy

Softmax, log-sum-exp, Shannon entropy, and cross-entropy loss.

2 FORMULAS16 MIN
SHARED

Information Divergence

KL divergence, Jensen-Shannon divergence, and mutual information.

0 FORMULAS0 MIN
LLM

Activations & Gating

GELU, SiLU, SwiGLU, and gated linear feed-forward transforms.

0 FORMULAS0 MIN
LLM

Attention Mechanisms

Scaled dot-product attention, multi-head projections, and GQA.

1 FORMULA12 MIN
LLM

Transformer Blocks

Residual streams, causal masking, and KV cache geometry.

0 FORMULAS0 MIN
LLM

Decoding & Sampling

Temperature scaling, top-k, nucleus (top-p), and perplexity.

0 FORMULAS0 MIN
SHARED

Regularization & Init

Xavier/Kaiming initialization, label smoothing, and grad clipping.

0 FORMULAS0 MIN
LLM

LoRA & Quantization

Low-rank adaptation matrices and affine int8/int4 quantization.

0 FORMULAS0 MIN
RL

Policy Gradients

REINFORCE score function estimator and baseline variance reduction.

0 FORMULAS0 MIN
RL

Actor-Critic & GAE

Advantage functions and Generalized Advantage Estimation (GAE).

0 FORMULAS0 MIN
RL

Trust Region & PPO

Importance sampling ratios, PPO clipped surrogate, and entropy bonus.

0 FORMULAS0 MIN