Abstract
The Stochastic Primal-Dual Hybrid Gradient (SPDHG) algorithm is a cornerstone of modern large-scale optimization, particularly in computational imaging and machine learning. Despite its widespread use, its theoretical foundations have remained incomplete. This paper provides the first rigorous proof of almost sure convergence for SPDHG in general convex settings. Furthermore, it demonstrates that SPDHG achieves linear convergence under the broad condition of "metric subregularity." This allows the algorithm to be both fast and robust without requiring manual tuning of step sizes for strong convexity, making it a truly structure-agnostic solver.
Introduction
In fields such as machine learning and signal processing, researchers frequently encounter optimization problems involving the sum of a data-fidelity term and a regularizer. The Primal-Dual Hybrid Gradient (PDHG) method is a standard approach for these problems. Its stochastic variant, SPDHG, has gained popularity because it updates only a random subset of variables at each iteration, drastically reducing the computational cost per step.
However, the theoretical understanding of SPDHG has lagged behind its practical application. Specifically, three major gaps existed:
- Iterate Convergence: It was not previously proven that the algorithm's iterates converge to a solution with probability 1 (almost surely) in general convex cases.
- Linear Rates: Fast (linear) convergence proofs typically required "strong convexity," a strict condition that many common models, such as Lasso or Support Vector Machines (SVMs), do not satisfy.
- Parameter Tuning: Existing fast versions of SPDHG often required knowledge of specific problem constants that are difficult to estimate in practice.
Methodological Framework
The authors analyze SPDHG using a novel fixed-point representation in a "duplicated space." By reformulating the stochastic updates as a fixed-point operator, they apply tools from operator theory to analyze the algorithm's trajectory with high precision.
Key methodological highlights include:
- Standard Step Sizes: The analysis focuses on step sizes that depend only on the linear mapping ($A$) and the probability of selecting coordinates, rather than hidden problem-specific regularity constants.
- Metric Subregularity: Instead of relying on strong convexity, the authors utilize "metric subregularity" to prove linear convergence. This is a much more inclusive condition that applies to any problem with a Piecewise Linear Quadratic (PLQ) structure.
- Ergodic Analysis: A generic technique is introduced to prove $O(1/k)$ convergence rates for the expected primal-dual gap, the standard measure of optimality for these problems.
Experimental Validation
The algorithm was evaluated on several standard machine learning and signal processing tasks. Synthetic data was used for Basis Pursuit (linear programming) to verify linear convergence on PLQ problems. Additionally, the authors utilized several LIBSVM datasets—including w8a, sector, YearPredictionMSD, mnist scale, and rcv1.binary—to compare SPDHG against variance-reduction methods like SVRG in Ridge Regression and Lasso contexts.
Key Insights
- The "Agnostic" Advantage: SPDHG with standard step sizes is structure-agnostic. It automatically adapts to the problem's underlying geometry to achieve linear convergence without the user needing to provide a subregularity constant.
- Broadening Linear Convergence: The paper proves that linear convergence is not restricted to strongly convex problems; it applies to the most important models in data science, including Lasso, SVMs, and LPs.
- Fixed-Point Duplication: The technical breakthrough involves duplicating the space to handle stochasticity. This allows the random selection of coordinates to be treated as a deterministic operator in a higher-dimensional space, simplifying the proof of almost sure convergence.
Results and Conclusion
The research establishes that SPDHG iterates converge to a solution with probability 1 for any proper, l.s.c., convex function. It confirms an $O(1/k)$ convergence rate for the expected primal-dual gap and proves linear convergence for problems satisfying metric subregularity. Numerical experiments show that SPDHG often outperforms specialized variants and variance-reduction methods, especially when the strong convexity of the problem is low or difficult to estimate.
While the theory shows linear convergence is possible with standard step sizes, future work remains to determine how to optimize these step sizes for the fastest possible convergence without prior knowledge of the subregularity constant. Nonetheless, this work provides the most comprehensive theoretical foundation for SPDHG to date.
Summary updated