Why does the negative gradient point in the direction of steepest descent?

Quick Overview

Asks why moving against the gradient gives the fastest local decrease of a function. Tests the first-order Taylor argument, the dot product over unit directions, the link to level sets, and why the result is local and tied to the Euclidean norm.

Why does the negative gradient point in the direction of steepest descent?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

Why does the negative gradient point in the direction of steepest descent? ```hint Start from a small step Write the first-order change in $f$ for a small step in a unit direction $u$, then ask which unit vector makes that change as negative as possible. ``` ### What a Strong Answer Covers - The first-order Taylor expansion and the directional derivative written as a dot product - Minimizing that dot product over unit vectors with the cosine (Cauchy-Schwarz) argument - The rate of decrease along the negative gradient and the matching statement for steepest ascent - The geometric picture of the gradient and the level sets - The limits of the result: it is local, and it depends on the Euclidean norm ### Follow-up Questions - Why does gradient descent zigzag on a long, narrow valley, and does the negative gradient point at the minimum there? - What is the steepest descent direction under a different norm, and how does that relate to Newton's method? - How large can the learning rate be before a gradient step stops decreasing the function?

Overview: Asks why moving against the gradient gives the fastest local decrease of a function. Tests the first-order Taylor argument, the dot product over unit directions, the link to level sets, and why the result is local and tied to the Euclidean norm.

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

Why does the negative gradient point in the direction of steepest descent?

What a Strong Answer Covers Guidance

  • The first-order Taylor expansion and the directional derivative written as a dot product
  • Minimizing that dot product over unit vectors with the cosine (Cauchy-Schwarz) argument
  • The rate of decrease along the negative gradient and the matching statement for steepest ascent
  • The geometric picture of the gradient and the level sets
  • The limits of the result: it is local, and it depends on the Euclidean norm

Follow-up Questions Guidance

  • Why does gradient descent zigzag on a long, narrow valley, and does the negative gradient point at the minimum there?
  • What is the steepest descent direction under a different norm, and how does that relate to Newton's method?
  • How large can the learning rate be before a gradient step stops decreasing the function?