8
$\begingroup$

I've pondered this for a while without developing an intuition for the math behind the cause of this.

So what causes a model to need a low learning rate?

$\endgroup$
  • $\begingroup$ I wondered about it too and I am curious why RNNs have a smaller learning rate than CNNs. From what I know, model complexity (deepness) and/or huge datasets require a finer hyperparameter for the lr. $\endgroup$ – Justin Mar 31 at 22:11
4
$\begingroup$

Gradient Descent is a method to find the optimum parameter of the hypothesis or minimize the cost function.

formula where alpha is learning rate

If the learning rate is high then it can overshoot the minimum and can fail to minimize the cost function. enter image description here

hence result in a higher loss.

enter image description here

Since Gradient descent can only find local minimum so, the lower learning rate may result in bad performance. To do so, it is better to start with the random value of the hyperparameter can increase model training time but there are advanced methods such as adaptive gradient descent can manage the training time.

There are lots of optimizer for the same task but no optimizer is perfect. It depends on some factors

  1. size of training data: as the size of the training data increases training time for model increases. If you want to go with less training model time you can choose a higher learning rate but may result in bad performance.
  2. Optimizer(gradient descent) will be slow down whenever the gradient is small then it is better to go with a higher learning rate.

PS. It is always better to go with different rounds of gradient descent

$\endgroup$
  • 4
    $\begingroup$ This is good start, as it shows the difference between low and high learning rates in general. You also need to explain why the good learning rate varies depending on the task - and the OP was specifically asking why some problems require a lower learning rate than others $\endgroup$ – Neil Slater Apr 1 at 13:29
  • 1
    $\begingroup$ That's a good point. I have edited it. Since there is not a specific problem is mention I am going with general one. $\endgroup$ – Posi2 Apr 1 at 14:13
  • 1
    $\begingroup$ I still think that this does not answer the question. The OP is not asking about the optimiser or data, it is asking about the model. How does the model (its architecture, number of parameters, etc.) affect the learning rate? I think this is the actual question, which you do not answer. Everything else is quite irrelevant to the question and will only confuse readers that can't distinguish between these concepts. $\endgroup$ – nbro Apr 1 at 14:36
  • $\begingroup$ Thanks for the feedback. Irrespective of the model architecture as the number of the parameter, size of data and range of the data (solution use normalized data) is high result in the higher training time so according to it, we should change the learning rate. This applies for the model such as linear regression, logistic regression, SVM etc since they use GD for optimization. Any response is always welcome :) $\endgroup$ – Posi2 Apr 1 at 16:44
  • $\begingroup$ Any proof that assesses your claim "irrespective of the model architecture"? This answer still does not answer the OP question. You're answering to the question "how does the learning rate change in general, depending on the machine learning setting" (and your answer is not exhaustive, of course, because it does not mention "how the learning rate changes depending on the model", i.e. the actual question). $\endgroup$ – nbro Apr 1 at 17:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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