1 of 20

Gradient descent

Vit Listik

20.7.2017

​

2 of 20

What for?

1.

​

​

2.

​

​

3. PROFIT!

3 of 20

What for?

1.

​

​

2.

​

​

3. PROFIT!

4 of 20

Theory

  • Iterative
  • Local search
  • Convex - global optima
  • Non-convex - local optima
  • Minimizing objective (cost/loss) function

5 of 20

Vanilla (batch) Gradient Descent

  • No online
  • Epochs
  • Delta for each param

6 of 20

Goal: zero derivative

7 of 20

8 of 20

SGD

  • Standard

9 of 20

Minibatch

10 of 20

Nesterov

11 of 20

Momentum

12 of 20

Decay

  • Lower LR on each step

13 of 20

Regularization methods

  • Clipnorm
  • Weight Decay != Decay

14 of 20

Adam

  • 2015
  • Adaptive Moment Estimation
  • Using “momentum”
  • Quicker
  • Adamax, Nadam

​

15 of 20

Adagrad, Adadelta, RMSprop

  • Sparse data - adapting LR for params
  • Adagrad - aggresive
  • Adadelta and RMSprop - evolution

16 of 20

17 of 20

Which to chose

  • Adam or SGD
  • Adam is adapting LR - currently most used

18 of 20

What next

  • Chain rule
  • Backprop
  • Not now
  • Parallelization and distributing

19 of 20

Learning Gradient Descent by Gradient Descent

20 of 20

Resources