What is the difference between a convex and a non-convex loss surface from an optimization standpoint?

Quick Overview

Asks how convex and non-convex loss surfaces differ for gradient-based training. It tests what a zero gradient guarantees on each kind of surface, how initialization and noise change the result, and which common models have convex training objectives.

What is the difference between a convex and a non-convex loss surface from an optimization standpoint?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What is the difference between a convex and a non-convex loss surface from an optimization standpoint? Answer in terms of what gradient-based training can and cannot guarantee on each kind of surface. ```hint What a zero gradient tells you Ask what a point with zero gradient means on each kind of surface, and what that implies about where gradient descent can stop. ``` ### What a Strong Answer Covers - A correct formal definition of convexity - What a stationary point guarantees on a convex surface compared with a non-convex one (local minima, saddle points, plateaus) - How initialization, step size and noise affect the final solution in each case - Examples of training objectives on each side - How the difference changes the choice of solver and day-to-day training practice ### Follow-up Questions - Why are saddle points often a bigger practical obstacle than poor local minima when training large neural networks? - What does strict convexity add over plain convexity, and how does L2 regularization relate to it? - Can a convex loss still be slow or hard to optimize? Give a case. - Permuting the hidden units of a network gives the same function. What does that symmetry do to the loss surface?

Overview: Asks how convex and non-convex loss surfaces differ for gradient-based training. It tests what a zero gradient guarantees on each kind of surface, how initialization and noise change the result, and which common models have convex training objectives.

General logo
General
Nov 25, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

What is the difference between a convex and a non-convex loss surface from an optimization standpoint?

Answer in terms of what gradient-based training can and cannot guarantee on each kind of surface.

What a Strong Answer Covers Guidance

  • A correct formal definition of convexity
  • What a stationary point guarantees on a convex surface compared with a non-convex one (local minima, saddle points, plateaus)
  • How initialization, step size and noise affect the final solution in each case
  • Examples of training objectives on each side
  • How the difference changes the choice of solver and day-to-day training practice

Follow-up Questions Guidance

  • Why are saddle points often a bigger practical obstacle than poor local minima when training large neural networks?
  • What does strict convexity add over plain convexity, and how does L2 regularization relate to it?
  • Can a convex loss still be slow or hard to optimize? Give a case.
  • Permuting the hidden units of a network gives the same function. What does that symmetry do to the loss surface?