Graph
Subgradient

📉Subgradient

NEW

Also known as: Subderivative

A generalization of the gradient for nondifferentiable convex functions used in subgradient optimization methods.

DESCRIPTION

Subgradients extend gradient concepts to convex functions at nondifferentiable points, supporting optimization in L1, hinge loss, and max operations. A vector is a subgradient if it supports the epigraph at a point. Subgradient methods are simple and robust but converge slowly, requiring diminishing step sizes. Proximal and accelerated variants improve performance on composite objectives. They are foundational in SVM training, regularization, and sparse learning.

ALTERNATIVE DEFINITIONS

Wikipedia

In mathematics, a subderivative or subgradient is a generalization of the derivative for convex functions that may not be differentiable.

Defines subgradient broadly in the context of convex analysis.

Source

Boyd & Vandenberghe

A vector g is a subgradient of f at x if for all z, f(z) ≥ f(x) + g^T(z − x).

Provides the formal subgradient inequality definition from a canonical text.

Source

Stanford EE364a

Subgradients exist at points of nondifferentiability for convex functions and can be used in subgradient methods.

Emphasizes applicability to nonsmooth optimization and existence conditions.

Source

Convex Function Subgradient Method Proximal Gradient Nonsmooth Optimization Fenchel Duality Support Function Epigraph Gradient Descent

COMPETING TERMS

Gradient

KNOWLEDGE AREAS

Mathematics AI Data Science

TARGET AUDIENCE

Data Scientist AI Engineer MLOps Engineer

EXTERNAL SOURCES

TOP QUESTIONS

What is a Subgradient in optimization?

It generalizes the gradient to convex, nondifferentiable points, enabling optimization of functions like L1 and hinge losses.

Category: Overview

Why use Subgradient methods?

They handle nonsmooth objectives with simple updates and modest requirements, though convergence is slower than smooth methods.

Category: Relevancy

How is a Subgradient defined?

A vector satisfies the subgradient inequality, supporting the epigraph at the point of interest.

Category: Requirements

What are common mistakes with Subgradient methods?

Using constant step sizes and ignoring diminishing schemes can prevent convergence.

Category: Mistakes

What risks come with Subgradient approaches?

Slow convergence and sensitivity to step-size schedules can lead to high compute costs.

Category: Risk

What competes with Subgradient methods?

Proximal gradient and accelerated methods often achieve faster convergence on composite problems.

Category: Alternatives

Where are Subgradients applied?

SVM training, sparse regularization, and max-margin learning rely on subgradient-based optimization.

Category: Example

How to tune Subgradient step sizes?

Use diminishing schedules (e.g., 1/√t) or adaptive schemes to balance stability and progress.

Category: Management

Where to learn Subgradient methods?

Study Boyd & Vandenberghe’s text and Stanford EE364a notes on nonsmooth optimization.

Category: GettingStarted