Search the School
27 results for «gradient descent ascent»
Lessons (8)
- Gradient DescentGradient descent takes a small step against the gradient at each iteration; we derive the update rule, carry out iterations by hand, and understand the convergence conditions and stopping cr…
- Zero-Sum Games, Minimax and GANs…discriminator, and simultaneous gradient descent-ascent can cycle or diverge around the equilibrium instead of converging. The generator in a GAN tries to fool the discriminator, and the d…
- Stochastic Gradient Descent (SGD)…step is very expensive. Stochastic gradient descent uses the gradient of one sample or a mini-batch as an unbiased estimate of the full gradient. The stochastic estimate of the gradient If…
- Fixed Points and the Contraction Mapping Theorem…This explains the convergence of gradient descent and value iteration in reinforcement learning. Press the cos button on a calculator repeatedly starting from any number: you will always re…
- Ordinary Differential Equations…the solution the loss always decreases because \frac{d}{dt}L(w(t)) = -\|\nabla L\|^2 \le 0. Gradient descent with learning rate η is an Euler step of this equation. Neural ODEs Inst…
- Stability and Optimal Control (LQR)…networks? And why does gradient descent diverge when the learning rate is large? The answer is the same in both cases: a repeated linear system that amplifies the state at every ste…
- Gradients…against it is the essence of the gradient descent used to train models. When a function has several variables, we gather its partial derivatives into one vector, the Gradient , written…
- Inequalities and Absolute ValueRules of inequalities Adding the same number to both sides or subtracting it from them does not change the direction of the inequality. Multiplying or dividing by a positive number does not…
Concepts (2)
- Gradient DescentAn iterative optimization algorithm that updates the parameters in small steps against the direction of the gradient until it approaches a minimum. From 0 to 1.464 in three steps towards 3
- Stochastic Gradient Descent (SGD)A version of gradient descent that estimates the gradient from one random sample or a small random batch at each step. Training deep networks with batches of 128
Tracks (1)
Labs (1)
Terminology (7)
- Gradient DescentUpdating the parameters against the gradient, iteratively.
- Stochastic Gradient DescentGradient descent using the gradient of a random mini-batch.
- GradientThe vector of partial derivatives; it points in the direction of steepest ascent. ∇(x²+y²) = (2x,2y)
- OptimizationSearching for the parameter values that minimize or maximize the objective function.
- Learning RateThe size of the update step in gradient descent. 0.001
- Gradient FlowThe continuous limit of gradient descent.
- Contraction MappingA function that shrinks distances by a factor less than 1.
Questions (8)
- Why is the 0–1 loss replaced by cross-entropy when training classifiers with gradient descent?Why is the 0–1 loss replaced by cross-entropy when training classifiers with gradient descent?
- Two features: the first has a range of 0–1 and the second 0–100000. What is the most appropriate action before gradient descent?Two features: the first has a range of 0–1 and the second 0–100000. What is the most appropriate action before gradient descent?
- In gradient descent we update the parameters in the same direction as the gradient.In gradient descent we update the parameters in the same direction as the gradient.
- The learning rate is a hyperparameter chosen before training and is not learned by gradient descent in the usual setup.The learning rate is a hyperparameter chosen before training and is not learned by gradient descent in the usual setup.
- What does training by gradient descent on the average loss minimize directly?What does training by gradient descent on the average loss minimize directly?
- For the function \(f(w) = 5w^2\) (that is \(L = 10\)), what is the upper bound on the learning rate that guarantees convergence of gradient descent?For the function f(w) = 5w^2 (that is L = 10), what is the upper bound on the learning rate that guarantees convergence of gradient descent?
- Of which differential equation is gradient descent an Euler step?Of which differential equation is gradient descent an Euler step?
- For the function \(\tfrac{L}{2}w^2\), when is gradient descent a contraction?For the function \tfrac{L}{2}w^2, when is gradient descent a contraction?
