Skip to content
CoreSource checked

Momentum Gradient Descent

Momentum Gradient Descent improves candidate solutions according to an objective function.

Quick Facts

Compact metadata for implementation and discovery.

Category
Optimization
Difficulty
Intermediate
Family
Optimization
Tier
Core
Status
Verified
Review
Source Checked
Sources
2
Formulas
1
Relationships
1
Code example
Ready
Visualization
Ready

Overview

Momentum Gradient Descent is an optimization method that updates candidate solutions using objective values, gradients, constraints, or local models. It is useful when the objective landscape, constraints, or update cost fit the method's assumptions.

Core Concepts

objective functionsearch directionconstraint handlingcandidate updatestopping rule

Quick facts

Complexity

Runtime and memory behavior at a glance.

Best

O(t)

Average

O(t c)

Worst

O(t c)

Space

O(n)

When to Use

  • Use Momentum Gradient Descent when the objective, gradients, constraints, or local model fit its update rule.
  • Use it when progress diagnostics can be logged during the search.

When Not to Use

  • Avoid when the objective cannot be evaluated reliably.
  • Avoid when constraints or non-smooth behavior violate the update assumptions.

What It Does

  • Evaluates candidate solutions
  • Updates parameters or search regions
  • Seeks a lower-cost or higher-reward result

Use Cases

  • Model fitting
  • Operations planning
  • Parameter tuning

Inputs

  • Objective function
  • Parameters or candidate solution
  • Constraints or step settings

Outputs

  • Improved parameters
  • Objective value
  • Convergence status

Key Formulas (1)

Momentum update

vnext = β · v − α · ∇(J(θ))
v_next = beta * v - alpha * gradient(J(theta))

Accumulates velocity so repeated gradient directions build speed.

Pseudocode

  1. 1.Initialize candidate parameters
  2. 2.Evaluate the objective, gradient, constraint, or local model
  3. 3.Choose a step, search direction, or candidate update
  4. 4.Repeat until convergence or budget is reached
  5. 5.Return the best candidate found

Canonical Example

Input
objective J(x), initial x = 0
Output
improved candidate x
Explanation
Momentum Gradient Descent evaluates the objective and updates the candidate according to its search rule.

Implementation Notes

  • Log objective values, constraint residuals, and step sizes.
  • Use safeguards for failed line searches, invalid gradients, or stalled progress.

Common Pitfalls

  • Using a fixed step rule without monitoring progress can diverge.
  • Comparing methods only by final value hides constraint violations or instability.

Interactive Mechanism Walkthrough

Iterative Convergence & State Trajectory

Show candidate points moving across the objective landscape.

Momentum Gradient Descent mechanism walkthrough step 1 of 5x₀x₁x₂x*
Step 1 of 5: Initialize candidate parameters
optimization

Notes

Momentum Gradient Descent operates in O(t c) time and O(n) space within the Optimization family. Key governing relation: v_next = beta * v - alpha * gradient(J(theta)). Often compared with Gradient Descent and Stochastic Gradient Descent.

Sources (2)

What each reference supports for this entry.

Numerical Optimization

Book

Optimization textbook reference for the update rule or convergence setting of Momentum Gradient Descent.

Deep Learning Book

Book

Deep learning reference for neural model, loss, or training concepts in Momentum Gradient Descent.

Open source

Explore Next

Good next jumps from the relationship graph, ranked for useful discovery.

Momentum Gradient Descent is a gradient-family method that changes the update rule used by Gradient Descent.

Tags

Optimization