How can you tell whether an optimizer has reached a minimum versus getting stuck on a flat plateau?

Quick Overview

Asks how to decide whether a stalled optimizer has found a minimum, is crossing a flat plateau, or is sitting near a saddle point. Tests understanding of loss surface curvature, Hessian eigenvalue estimation, training diagnostics and remedies for slow progress in deep learning.

How can you tell whether an optimizer has reached a minimum versus getting stuck on a flat plateau?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

How can you tell whether an optimizer has reached a minimum versus getting stuck on a flat plateau? The training loss has stopped improving and the gradient norm is small. ```hint Where gradients vanish List every kind of point where the gradient is close to zero, and think about what the second derivative looks like at each. ``` ```hint Poke it Consider what happens to the loss if you nudge the weights or briefly raise the learning rate, and how that would differ between the cases. ``` ### What a Strong Answer Covers - Why a small gradient or a flat loss curve alone cannot separate a minimum, a saddle point and a plateau. - How Hessian eigenvalues distinguish the cases, and how to estimate them in a large network without forming the Hessian. - Signals from the loss curve and from the loss level the model should be able to reach. - Active experiments that can tell the cases apart. - Remedies once a plateau or saddle has been identified. ### Follow-up Questions - Good minima of deep networks also have most Hessian eigenvalues near zero. How does that change the curvature test? - How would you find the most negative Hessian eigenvalue using only Hessian-vector products? - Why are saddle points usually a bigger obstacle than poor local minima in high-dimensional training? - Your training loss has been flat for 20 epochs. What would you check first, and in what order?

Overview: Asks how to decide whether a stalled optimizer has found a minimum, is crossing a flat plateau, or is sitting near a saddle point. Tests understanding of loss surface curvature, Hessian eigenvalue estimation, training diagnostics and remedies for slow progress in deep learning.

PracHub logo
General
Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

How can you tell whether an optimizer has reached a minimum versus getting stuck on a flat plateau? The training loss has stopped improving and the gradient norm is small.

What a Strong Answer Covers Guidance

  • Why a small gradient or a flat loss curve alone cannot separate a minimum, a saddle point and a plateau.
  • How Hessian eigenvalues distinguish the cases, and how to estimate them in a large network without forming the Hessian.
  • Signals from the loss curve and from the loss level the model should be able to reach.
  • Active experiments that can tell the cases apart.
  • Remedies once a plateau or saddle has been identified.

Follow-up Questions Guidance

  • Good minima of deep networks also have most Hessian eigenvalues near zero. How does that change the curvature test?
  • How would you find the most negative Hessian eigenvalue using only Hessian-vector products?
  • Why are saddle points usually a bigger obstacle than poor local minima in high-dimensional training?
  • Your training loss has been flat for 20 epochs. What would you check first, and in what order?