VerifiedEvidence: highv1.0.0

Gradient Descent

An iterative optimisation algorithm adjusting parameters in the direction that most rapidly reduces an objective function until a minimum is reached.

Last reviewedDarrin Baines IP Ltd

Concept Architecture

Concept

Theoretically, Gradient Descent is an iterative optimisation algorithm that identifies a local minimum of an objective function by repeatedly moving in the direction of the negative gradient. The method is founded on differential calculus and numerical optimisation and exists to estimate model parameters that minimise a specified loss or objective function. In health economics, Gradient Descent is used primarily for parameter estimation, machine learning applications, model calibration and optimisation of predictive models rather than for routine economic evaluation itself.

Mathematically, Gradient Descent updates model parameters iteratively by subtracting the product of the learning rate and the gradient of the objective function. The gradient indicates the direction of the steepest increase in the objective function; therefore, movement in the opposite direction reduces the objective value. The optimisation continues until convergence criteria are met, such as negligible parameter changes or sufficiently small gradients.

In practice, Gradient Descent is implemented when fitting statistical or machine learning models to health economic data, calibrating simulation models and optimising prediction algorithms. Analysts select an appropriate learning rate and stopping criterion before estimation begins. Variants including batch, stochastic and mini-batch Gradient Descent are chosen according to dataset size and computational efficiency requirements.


Purpose

Used to estimate model parameters by iteratively minimising objective functions in statistical models, machine learning algorithms and health economic model calibration.


Mathematical Formulae

Primary Formula

Parameter update rule:

???? = ?? ? �?J(??)

where:

  • ?? = parameter vector at iteration t
  • = learning rate
  • ?J(??) = gradient of the objective function
  • J(?) = objective (loss) function

Supporting Formulae

Objective function:

? = arg min??? J(?)*

Gradient vector:

?J(?) = (?J/???, ?J/???, ?, ?J/???)?

Related Mathematical Methods

  • Numerical optimisation
  • Convex optimisation
  • Maximum likelihood estimation
  • Nonlinear regression
  • Machine learning
  • Stochastic Gradient Descent
  • Newton-Raphson optimisation
  • Quasi-Newton methods

Example

A researcher calibrates a disease progression model by minimising the sum of squared differences between observed and predicted survival probabilities.

The objective function is initially 240.6. Using a learning rate of 0.01, Gradient Descent updates the model parameters iteratively. After 350 iterations, the objective function decreases to 18.4, indicating substantially improved agreement between model predictions and observed epidemiological data.


Excel Implementation

FunctionExample FormulaHealth Economics Application
SolverMinimise objective cell by changing parametersEstimate model parameters through optimisation.
SUMXMY2=SUMXMY2(B2:B101,C2:C101)Calculate the sum of squared prediction errors.
SUMSQ=SUMSQ(D2:D20)Evaluate objective functions involving squared residuals.
ABS=ABS(NewValue-OldValue)Assess convergence between successive parameter estimates.

VBA (Optional)

Automate iterative parameter updates, convergence testing and optimisation reporting for statistical and simulation models.


Sources

  • Briggs A, Claxton K, Sculpher M. Decision Modelling for Health Economic Evaluation.
  • Drummond MF, Sculpher MJ, Claxton K, Stoddart GL, Torrance GW. Methods for the Economic Evaluation of Health Care Programmes. 4th ed.
  • Nocedal J, Wright SJ. Numerical Optimization. 2nd ed.
  • Bishop CM. Pattern Recognition and Machine Learning.
  • Goodfellow I, Bengio Y, Courville A. Deep Learning.

Library

Publications

1
  • Journal article

    Conceptualizing a Model: A Report of the ISPOR-SMDM Modeling Good Research Practices Task Force-2 — Roberts, Russell, Paltiel, Chambers, McEwan & Krahn, Task Force Report 2 ed., 2012 (Value in Health / Medical Decision Making)

    Best-practice guidance on model conceptualisation — defining the decision problem, scoping, and choosing an appropriate model structure before implementation.

Frequently Asked Questions (6)

  • What is gradient descent?

    An iterative optimisation algorithm adjusting parameters in the direction that most rapidly reduces an objective function until a minimum is reached.

    Source: Press et al. 2007

  • What does gradient descent use to decide which way to move?

    Gradient descent improves a solution by repeatedly moving it in the direction that lowers the objective function fastest, which is the opposite of the function's gradient at the current point. At each step it computes that slope and takes a move against it, so it heads consistently downhill toward a minimum. The size of each move is set by a step length that must be chosen with care, since too large a step can overshoot and too small a step is slow. Nocedal and Wright (2006) describe the method.

    Source: Nocedal & Wright 2006

  • How does gradient descent work?

    Gradient descent works by starting from an initial set of parameter values and repeatedly updating them: at each iteration it evaluates the gradient of the objective function at the current point and moves the parameters a step in the direction opposite to the gradient, since that most reduces the objective. The size of the step is controlled by a learning rate. Successive steps reduce the objective, and the process continues until the changes become small, indicating a minimum has been approached.

    Source: Press et al. 2007

  • What is the role of the step size in gradient descent?

    The step size, or learning rate, controls how far the parameters move at each iteration and strongly affects the algorithm's behaviour. Too large a step can overshoot the minimum and cause the objective to diverge or oscillate, while too small a step makes convergence very slow. Choosing an appropriate step size, or adjusting it during the run, is therefore important for gradient descent to converge efficiently. Various methods adapt the step size automatically to balance speed and stability.

    Source: Press et al. 2007

  • What are the limitations of gradient descent?

    Gradient descent can converge to a local minimum rather than the global one when the objective has several minima, since it moves only downhill from its starting point. It requires the objective to be differentiable, and its speed and success depend on the step size and starting point. It can be slow near flat regions and can oscillate in narrow valleys. These limitations mean gradient descent suits smooth problems and is often combined with refinements, while non-smooth or multi-modal problems may need other methods.

    Source: Press et al. 2007

  • Where is gradient descent used?

    Gradient descent is used to fit models and solve optimisation problems where an objective function is minimised, such as estimating parameters by minimising a loss or error, and it is fundamental to training many statistical and machine-learning models. In modelling and estimation generally, it provides a general way to find parameter values that best fit data or optimise a criterion, whenever the objective can be differentiated. Its simplicity and generality make it a standard optimisation tool across statistics and computation.

    Source: Press et al. 2007

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 30 Sep 2025

Content version: 1.0.0

Canonical Identity

Term code
HE-EM-DM-039

Stable URI · Machine-readable · Resolvable · CC BY 4.0