Optimization interview question

Probability & MathOptimizationCalculus & Gradientsbasic

In the gradient descent update θ ← θ − η∇L(θ), what is the role of the learning rate η?

  1. AIt sets the number of training epochs, so a larger η makes the optimizer run more passes over the data.
  2. BIt is learned by backpropagation along with the weights, so it adapts automatically to every layer.
  3. CIt scales the step size: too large can overshoot or diverge, while too small makes convergence very slow.
  4. DIt shrinks the weights toward zero like a penalty, so a larger η reliably reduces overfitting of the model.
Show the answer and explanation

Correct answer: C, It scales the step size: too large can overshoot or diverge, while too small makes convergence very slow.

Explanation Optimization

Each step moves the parameters against the gradient, and the learning rate η scales how far: the step is η·∇L(θ). It is a hyperparameter chosen before training (often with a schedule).

  • Too large: steps overshoot the minimum, the loss oscillates or even diverges.
  • Too small: each step barely changes θ, so training needs many iterations.

Why the other descriptions are wrong:

  • The number of epochs is a separate setting; η changes the size of each update, not how many updates happen.
  • In the plain update shown, η is set by the practitioner, not learned by backprop. Adaptive optimizers such as Adam rescale steps per parameter, but they still take a base learning rate as input.
  • Shrinking weights toward zero is weight decay / L2 regularization, a separate term; a larger η does not reliably reduce overfitting.

Interview tip: describe the overshoot vs slow-convergence trade-off and mention practical fixes: a learning-rate finder, warm-up, and decay schedules.

Practice it as a quiz

Answer this and the other free questions with instant grading, streaks and weak-topic tracking, or unlock all 4,000 questions.

More Probability & Math questions

  1. An image-augmentation step applies a 2 × 2 linear map M to pixel coordinates. The plot shows the unit square (dashed) and its image under M (solid), with the…
  2. The table shows a telecom operator's customer mix and the average monthly revenue per user (ARPU) in each segment. What is the expected monthly revenue of a…
  3. How many times is an SVC model fitted in total when this grid search runs?
  4. An LLM routing service samples one of three candidate reply types from logits with the snippet below, at temperature T = 0.5. Up to simulation noise, what…
  5. A labelling vendor's error rate is either 2% (prior 0.7) or 10% (prior 0.3). You audit two batches of 10 independent labels: the first has 1 error, the second…