Learning Rate
Level 1
Coming soon
This lesson is being written. Explore the graph meanwhile.
Unlocks
- Adam OptimizerAdam keeps a running average of each parameter's gradient and of its squared gradient, then divides the first by the square root of the second, so every parameter gets its own adaptive step size.
- BackpropagationBackpropagation computes the gradient of a network's loss with respect to every weight by applying the chain rule backwards, one layer at a time, reusing the work already done.
- Batch NormalizationBatch normalization shifts and rescales each feature to mean 0 and variance 1 within every mini-batch, then lets the network learn its own scale and shift, which makes deep nets train faster and more reliably.
- Critical Batch SizeThe batch size beyond which a bigger gradient batch mostly wastes examples: it stops cutting the number of training steps by much.
- Deep Q-NetworkA deep Q-network replaces the Q-learning table with a neural network, and stabilises training with a replay buffer and a slowly updated target network.
- Early StoppingEarly stopping ends training once the error on held-out validation data stops improving, and keeps the weights from the best point, which guards against overfitting for free.
- Ensemble LearningEnsemble learning combines many imperfect models into one predictor, and it works because averaging cancels out the errors that individual models make differently.
- Evolution StrategiesEvolution strategies improve a model by trying many randomly perturbed copies of it and moving toward the ones that scored best, which needs only scores and no gradients of the objective.
- Fine-TuningFine-tuning continues training a pretrained model on a new task with a small learning rate, adapting its general features instead of learning everything from scratch.
- Gradient Norm ClippingGradient norm clipping caps the total size of the gradient at a threshold and keeps its direction, so one huge step cannot wreck training.
- Instruction TuningInstruction tuning fine-tunes a pre-trained language model on pairs of instructions and good responses, so it learns to follow what a user asks instead of just continuing the text.
- L2 RegularizationL2 regularization adds a penalty on the squared size of the weights, so the fit trades a little accuracy on the training data for smaller, more stable weights that generalise better.
- Layer NormalizationLayer normalization rescales the features of one example to mean 0 and variance 1 across its own feature vector, so it does not depend on the other examples in the batch.
- Low-Rank Adaptation (LoRA)LoRA fine-tunes a large model by learning a small low-rank correction to each weight matrix and leaving the original weights frozen, cutting trainable parameters by orders of magnitude.
- Q-LearningQ-learning learns the value of each state-action pair by bootstrapping from the best next action, so it finds the optimal policy even while the agent explores with a different policy.
- Reinforcement LearningReinforcement learning trains an agent to choose actions by trial and error, guided only by a reward signal, so that it earns the most total reward over time.
- Rectified Linear Unit (ReLU)ReLU is the activation that outputs its input when positive and zero otherwise, a cheap bend that keeps gradients alive and made deep networks trainable.
- Smooth FunctionA smooth function has no corners or jumps in its slope, and in optimization 'smooth' means the slope cannot change faster than a fixed rate L, which makes gradient steps safe.
- SubgradientA subgradient generalises the gradient to functions with sharp corners: any slope of a line that stays below the function at a point is a valid subgradient there.
- Temporal-Difference LearningTemporal-difference learning updates a value estimate using the next step's estimate instead of waiting for the final outcome, so an agent can learn while it is still running.
- Transfer LearningTransfer learning reuses a model trained on one task as the starting point for another, so the new task needs far less data and compute.