1
$\begingroup$

gradient descent

In theory, we know while we are descending to the point where the error is zero, we give big steps that are learning rate will be big. And when we are near to the error equal to zero we start giving small steps that are learning rate will be small. But, whatever the theory is we use the same learning rate whole over the Gradient descent process. Could anyone help me to explain this?

$\endgroup$

1 Answer 1

1
$\begingroup$

We don't always use the same learning rate; almost the opposite in my experience. Your learning resources are probably starting off with vanilla gradient descent because it is easier to understand at first, and then knowing gradient descent sets you up to start learning about its modifications (including those that change the learning rate).

Both adaptive learning rates and learning rate schedules are quite common. I personally use Adam(tf.keras.optimizers.Adam) and Nadam (tf.keras.optimizers.Nadam) among others. And tf.keras.callbacks.LearningRateScheduler is Keras/Tensorflow callback for making your own custom learning rate schedules.

$\endgroup$
8
  • $\begingroup$ @Gelen the links you came all are on the learning rate scheduler. So, you meant the learning rate scheduler helps to have different learning rates from time to time? $\endgroup$
    – F.C. Akhi
    Commented Sep 6, 2022 at 2:47
  • $\begingroup$ @F.C.Akhi Look at the contents of that wiki. There is a section on adaptive learning rates, not just learning rate schedules. $\endgroup$
    – Galen
    Commented Sep 6, 2022 at 2:49
  • $\begingroup$ @ So, adaptive learning rate and learning rate schedules are two methods that help to tune learning rate from time to time, Is it something like that? $\endgroup$
    – F.C. Akhi
    Commented Sep 6, 2022 at 3:04
  • 1
    $\begingroup$ @F.C.Akhi Yeah, something like that. They both change the learning rate anyway, but the term "tune" is not synonymous with these changes. $\endgroup$
    – Galen
    Commented Sep 6, 2022 at 3:08
  • 1
    $\begingroup$ These two methods are part of optimization strategies, but they are not optimizing the learning rate per se. Rather they help set the learning rate to improve the process of optimizing the loss function. $\endgroup$
    – Galen
    Commented Sep 6, 2022 at 3:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.