Study notes
Gradient Descent Variants and Momentum
IIT Madras (NPTEL) · 2:55 · Watch the session
In short
- Gradient descent variants were developed to help deep learning networks converge faster to optimal solutions.
- Deep learning frameworks like TensorFlow and PyTorch provide these optimization algorithms pre-coded for ready use.
- The momentum update method adds a fraction of the previous step to prevent oscillations and accelerate convergence.
Key concepts
Chapters
Check yourself
1. How is the gradient descent update value calculated in standard gradient descent?
Answer: By multiplying the gradient with respect to parameters by alpha
According to the excerpt, the update is the gradient with respect to the parameters multiplied by alpha. 0:14
2. Why were variants of the gradient descent algorithm primarily developed?
Answer: To allow deep learning networks to converge faster to optimal solutions
Gradient descent variants evolved primarily to help deep learning networks converge faster to optimal solutions. 0:49
3. How are gradient descent variants typically used in deep learning packages like TensorFlow or PyTorch?
Answer: They are pre-coded so users can simply select them as options
Frameworks like TensorFlow and PyTorch already have these algorithms coded for users to select and use. 1:17
4. What does the momentum variant do when updating parameters?
Answer: It adds a fraction of the previous update to the current update
The momentum variant works by adding a fraction of the previous update to the current update. 1:47
5. What value is typically used for the fraction gamma in momentum updates?
Answer: Around 0.9
In momentum updates, the fraction gamma is typically set around 0.9. 2:16
Made with Pravaha: ask your recordings, watch the answer.