The proximal gradient method is an iterative optimization algorithm for minimizing an objective function that is the sum of a differentiable term, ( f(x) ), and a potentially non-differentiable, convex term, ( g(x) ), such as an L1 or nuclear norm. It combines a standard gradient descent step on ( f ) with a proximal operator step that handles ( g ). This operator, defined as ( \text{prox}_{\lambda g}(v) = \arg\min_x (g(x) + \frac{1}{2\lambda}|x - v|^2) ), efficiently computes a point that balances minimizing ( g ) and staying near the gradient-updated point.
Glossary
Proximal Gradient Method

What is the Proximal Gradient Method?
The proximal gradient method is a first-order optimization algorithm designed to minimize composite objective functions common in machine learning, particularly for problems involving non-smooth regularization.
This method is fundamental for regularized regression (e.g., LASSO), matrix completion, and model compression techniques like inducing low-rank structure via the nuclear norm. Its convergence is guaranteed for convex problems with a Lipschitz-continuous gradient. Variants like accelerated proximal gradient (FISTA) and proximal stochastic gradient extend its efficiency. The algorithm's core strength is decomposing a complex, non-smooth problem into simpler, tractable sub-steps, making it a cornerstone of modern large-scale convex optimization.
Key Applications in Machine Learning
The proximal gradient method is an optimization algorithm for minimizing an objective function that is the sum of a differentiable term and a potentially non-differentiable term (like the nuclear norm), using a proximal operator step. This card grid explores its primary applications in machine learning and model compression.
Optimization with Non-Differentiable Regularizers
The proximal gradient method's core application is solving composite optimization problems of the form: minimize f(x) + g(x), where f is differentiable (e.g., a data fidelity loss) and g is convex but potentially non-differentiable. Common non-differentiable regularizers g include:
- L1 Norm (Lasso): Promotes sparsity in model weights.
- Nuclear Norm: Encourages low-rank solutions, crucial for matrix completion and low-rank factorization.
- Group Lasso: Induces group-wise sparsity. The algorithm alternates between a gradient step on f and a proximal step (e.g., soft-thresholding for L1) on g, efficiently handling the non-smooth component.
Low-Rank Matrix Completion & Robust PCA
This method is fundamental for recovering missing entries in a matrix under a low-rank assumption. The objective typically uses the Frobenius norm for the differentiable data-fitting term f and the nuclear norm (sum of singular values) as the non-differentiable regularizer g to promote low rank. The proximal operator for the nuclear norm is singular value thresholding, which shrinks singular values toward zero. This same framework powers Robust PCA, which separates a matrix into a low-rank component (modeled with a nuclear norm) and a sparse outlier component (modeled with an L1 norm).
Model Compression via Structured Sparsity
Proximal gradient methods enable aggressive model compression by enforcing structured sparsity patterns during training, a technique known as learning-compression. Key applications include:
- Weight Pruning: Using L1 or group Lasso regularizers to drive unimportant weights to exactly zero, creating a sparse model.
- Low-Rank Factorization of Layers: Applying nuclear norm regularization on weight matrices to implicitly encourage low-rank factorizations without pre-defining the rank.
- Channel Pruning in CNNs: Using group Lasso on filters to remove entire channels from convolutional layers. The proximal step cleanly handles the non-differentiable sparsity-inducing penalty, resulting in models that are natively compressed and hardware-friendly.
Fast Iterative Shrinkage-Thresholding Algorithm (FISTA)
FISTA is a momentum-accelerated variant of the proximal gradient method that dramatically improves convergence rates. It achieves an O(1/k²) convergence rate for the objective function value, compared to the standard method's O(1/k) rate. The algorithm introduces an auxiliary sequence of points and uses a specific momentum term, performing:
- A gradient descent step on the smooth part f.
- A proximal operator application to the non-smooth part g.
- An update with Nesterov-type momentum. FISTA is the workhorse algorithm for large-scale L1-regularized problems (like LASSO) in high-dimensional statistics and compressed sensing.
Connection to Alternating Direction Method of Multipliers (ADMM)
The proximal gradient method is closely related to ADMM, another powerful optimization framework. Both can solve composite optimization problems. ADMM often decomposes the problem differently, using variable splitting and the method of multipliers. In many cases, a single iteration of ADMM involves solving subproblems that are themselves proximal operations. For problems with simple proximal operators, the proximal gradient method can be more straightforward and efficient. For problems with complex constraints or multiple non-smooth terms, ADMM's splitting strategy may be preferred. Understanding both provides a toolkit for designing custom training loops for compressed models.
Implementation in Modern Frameworks
While often implemented custom for research, core concepts are embedded in popular ML libraries:
- PyTorch: Custom optimizers can be built using
torch.optim.Optimizerwith astep()method that computes gradients for f and then applies a proximal operator (e.g.,torch.nn.functional.soft_thresholdfor L1). - TensorFlow: The
tf.train.ProximalGradientDescentOptimizeris available for L1 and L2 regularization, implementing the proximal method for these specific cases. - JAX: Its functional nature and
jax.gradmake it ideal for implementing custom proximal gradient loops with JIT compilation. The efficiency hinges on the proximal operator being computationally cheap, which is true for norms like L1, L2, and nuclear norm.
Comparison to Other Optimization Methods
This table compares the Proximal Gradient Method to other common first-order optimization algorithms, highlighting key features relevant to solving composite objective functions common in model compression and low-rank factorization.
| Feature / Metric | Proximal Gradient Method | Subgradient Method | Stochastic Gradient Descent (SGD) | Adam / Adaptive Methods |
|---|---|---|---|---|
Objective Function Type | Composite: f(x) + g(x) (differentiable + non-differentiable) | Non-differentiable or composite | Differentiable | Differentiable |
Handles Non-Differentiable Terms (e.g., L1/Nuclear Norm) | ||||
Convergence Rate (for convex, smooth f) | O(1/k) to O(1/k²) with acceleration | O(1/√k) | O(1/√k) | O(1/√k) (varies) |
Per-Iteration Cost | Moderate (gradient + proximal op) | Low (subgradient) | Low (stochastic gradient) | Low-Moderate (maintains moments) |
Key Hyperparameter(s) | Step size (learning rate) | Step size schedule (diminishing) | Learning rate, momentum | Learning rate, β₁, β₂, ε |
Standard Use Case | Low-rank matrix completion, sparse regression | General convex non-smooth problems | Training deep neural networks | Training deep neural networks |
Requires Smooth Term f(x) to be L-Lipschitz | ||||
Common in Low-Rank/Compression Problems |
Frequently Asked Questions
The proximal gradient method is a first-order optimization algorithm for minimizing composite objective functions common in machine learning, particularly for problems with non-smooth regularization. These questions address its core mechanics, applications, and relationship to other optimization techniques.
The proximal gradient method is an iterative optimization algorithm designed to minimize an objective function that is the sum of a differentiable term, (f(x)), and a potentially non-differentiable term, (g(x)), using a proximal operator step. It is the foundational algorithm for solving composite optimization problems of the form (\min_x f(x) + g(x)), where (f) has a computable gradient and (g) has a computable proximal operator, even if it is not differentiable (e.g., the L1 norm or nuclear norm). The method iteratively takes a gradient step in (f) and then applies the proximal operator of (g), which acts as a generalized projection or shrinkage step.
Key Components:
- Gradient Step: Moves the parameters in the direction of steepest descent for (f).
- Proximal Operator: Solves a subproblem that balances moving towards the gradient step's result and minimizing (g). For (g(x) = \lambda |x|_1), this is the soft-thresholding operator.
- Step Size: Governed by a parameter (\eta) (or learning rate), which must be chosen appropriately for convergence.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
The Proximal Gradient Method is a cornerstone algorithm for optimization problems with composite objectives, frequently encountered in model compression and low-rank factorization. These related concepts form its mathematical and practical ecosystem.
Proximal Operator
The proximal operator (prox-operator) is the core component of the proximal gradient method. For a function $g(x)$ and a scalar $\eta > 0$, it is defined as: $$\text{prox}_{\eta g}(v) = \arg\min_x \left( g(x) + \frac{1}{2\eta} |x - v|_2^2 \right)$$
- It acts as a generalized gradient step for potentially non-differentiable functions.
- For common regularizers like the L1 norm ($|x|_1$), the proximal operator is the soft-thresholding function, which sets small values to zero, inducing sparsity.
- For the nuclear norm (sum of singular values), the proximal operator applies soft-thresholding to the singular values of a matrix, promoting low-rank structure.
Nuclear Norm
The nuclear norm (or trace norm) of a matrix $X$, denoted $|X|_*$, is the sum of its singular values. It is the convex envelope of the matrix rank function on the unit ball.
- Key Property: Minimizing the nuclear norm encourages matrices to be low-rank, analogous to how minimizing the L1 norm encourages vectors to be sparse.
- Use in Compression: In low-rank matrix completion and robust PCA, the nuclear norm is used as a convex regularizer. The proximal gradient method efficiently solves these problems because the proximal operator for the nuclear norm is computationally tractable (via SVD and soft-thresholding).
Iterative Hard Thresholding (IHT)
Iterative Hard Thresholding (IHT) is a related greedy algorithm for sparse approximation and low-rank recovery. It solves problems with explicit cardinality or rank constraints.
- Mechanism: Each iteration performs a gradient step on the smooth loss, followed by hard thresholding. For low-rank matrices, this means computing the SVD and keeping only the top-$k$ singular values/vectors, setting the rest to zero.
- Contrast with Proximal Gradient: IHT uses a hard, non-convex constraint, while proximal gradient (with nuclear norm) uses a soft, convex penalty. IHT can be faster but may converge to local minima, whereas proximal gradient offers convergence guarantees to a global minimum for convex problems.
Alternating Direction Method of Multipliers (ADMM)
The Alternating Direction Method of Multipliers (ADMM) is another powerful optimization algorithm for problems with separable objectives and constraints, commonly written as $\min f(x) + g(z)$ subject to $Ax + Bz = c$.
- Relation: Like proximal gradient, ADMM leverages proximal operators for the subproblems involving $f$ and $g$. It is particularly effective when the proximal operators for $f$ and $g$ are easy to compute separately, even if the combined problem is complex.
- Application: ADMM is widely used for distributed optimization and problems like Robust PCA, where the objective naturally splits into a low-rank term and a sparse term.
Majorization-Minimization (MM)
Majorization-Minimization (MM) is a general optimization framework that underlies many algorithms, including proximal gradient.
- Principle: At each iteration, it constructs a surrogate function (a majorizer) that is easier to minimize than the original objective and lies above it, touching at the current point.
- Connection: The proximal gradient method can be derived as an MM algorithm. The gradient step plus proximal step effectively minimizes a quadratic majorizer of the smooth function $f(x)$, augmented with the non-smooth $g(x)$. This perspective provides a clear path to proving its convergence guarantees.
Forward-Backward Splitting
Forward-Backward Splitting is the canonical name for the proximal gradient method, explicitly describing its two-step structure.
- Forward Step: A standard gradient descent step on the differentiable function $f(x)$: $x_k - \eta \nabla f(x_k)$.
- Backward Step: The application of the proximal operator for the non-differentiable function $g(x)$ to the result of the forward step.
- This splitting is optimal for problems where the gradient $\nabla f$ is Lipschitz continuous and the proximal operator of $g$ is inexpensive to compute, which is typical in compressed sensing and low-rank factorization tasks.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us