Can gradient descent get permanently trapped in a local minimum when training deep networks?

Quick Overview

Asks whether gradient descent can get permanently stuck in a local minimum while training a deep neural network. Tests understanding of critical points in high-dimensional losses, overparameterization, mini-batch noise, and what really causes training to stall.

Can gradient descent get permanently trapped in a local minimum when training deep networks?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Can gradient descent get permanently trapped in a local minimum when training deep networks? Answer for the theoretical case and for what happens in practice with modern, heavily parameterized networks. ```hint Critical points in high dimensions Think about what a zero-gradient point usually looks like when the model has millions of parameters. How many directions have to curve upward at once for it to be a minimum? ``` ```hint Full batch versus mini-batch Compare exact full-batch gradient descent with SGD. What does the noise in a mini-batch gradient do near a narrow basin? ``` ### What a Strong Answer Covers - Whether exact gradient descent can stop at a local minimum, and under what conditions - Why saddle points and plateaus make up most high-loss critical points in high-dimensional losses - How overparameterization and SGD noise affect the quality of minima and the ability to escape them - What more often stalls training in practice, and how to respond when a run is stuck ### Follow-up Questions - How would you tell from training curves and gradient norms whether a run is stuck at a saddle, on a plateau, or in a poor minimum? - Why might flat minima generalize better than sharp ones, and how does batch size relate to that? - How do warm restarts or cyclical learning rates help, and what do they cost? - Does the answer change for a small network, or for a convex model such as logistic regression?

Overview: Asks whether gradient descent can get permanently stuck in a local minimum while training a deep neural network. Tests understanding of critical points in high-dimensional losses, overparameterization, mini-batch noise, and what really causes training to stall.

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

Can gradient descent get permanently trapped in a local minimum when training deep networks?

Answer for the theoretical case and for what happens in practice with modern, heavily parameterized networks.

What a Strong Answer Covers Guidance

  • Whether exact gradient descent can stop at a local minimum, and under what conditions
  • Why saddle points and plateaus make up most high-loss critical points in high-dimensional losses
  • How overparameterization and SGD noise affect the quality of minima and the ability to escape them
  • What more often stalls training in practice, and how to respond when a run is stuck

Follow-up Questions Guidance

  • How would you tell from training curves and gradient norms whether a run is stuck at a saddle, on a plateau, or in a poor minimum?
  • Why might flat minima generalize better than sharp ones, and how does batch size relate to that?
  • How do warm restarts or cyclical learning rates help, and what do they cost?
  • Does the answer change for a small network, or for a convex model such as logistic regression?