Stochastic Primal-Dual Hybrid Gradient Algorithm with Adaptive Step Sizes

Antonin Chambolle, Claire Delplancke, Matthias J. Ehrhardt, Carola-Bibiane Schönlieb, Junqi TangJ. Math. Imaging Vis 2024 · DOI

Abstract

The Stochastic Primal-Dual Hybrid Gradient (SPDHG) algorithm is a cornerstone for solving large-scale convex optimization problems, particularly in medical imaging. However, its performance is highly sensitive to the ratio between primal and dual step sizes, often requiring exhaustive manual tuning. We introduce A-SPDHG, an adaptive variant that dynamically adjusts this ratio during execution. We prove almost sure convergence using a generalized "C-stability" framework and propose practical update rules based on primal-dual balancing and angle alignment. Experimental results on Computed Tomography (CT) reconstruction demonstrate that A-SPDHG is robust to initial parameters and frequently outperforms perfectly hand-tuned fixed-step versions by exploiting local optimization geometry.

1. Introduction

In high-dimensional inverse problems, such as reconstructing a CT scan from sparse or noisy X-ray data, stochastic algorithms like SPDHG are preferred for their scalability. By processing only a subset of data at each iteration, they significantly reduce the per-step computational cost. Despite its popularity, SPDHG requires the user to specify two step sizes: a primal step ($\tau$) and a dual step ($\sigma$). While stability is guaranteed if their product $\tau\sigma$ remains below a theoretical bound, the ratio $\tau/\sigma$ acts as a critical free parameter. A suboptimal ratio can lead to extremely slow convergence, forcing researchers to perform expensive grid searches to find data-dependent "sweet spots."

2. Methodology

The proposed Adaptive SPDHG (A-SPDHG) framework addresses the tuning bottleneck through two primary contributions: theoretical guarantees for variable step sizes and practical heuristic update rules.

2.1 Theoretical Convergence and C-Stability

A major challenge in making SPDHG adaptive is that changing step sizes alters the "geometry" of the optimization space. Traditional convergence proofs rely on Féjer monotonicity in a fixed metric. We introduce the concept of C-stability, a generalization that ensures convergence in "variable metric" settings. We prove that A-SPDHG converges almost surely to a solution even when the step-size ratio is updated at every iteration, provided the product $\tau_k \sigma_k$ remains within the stability region.

2.2 Adaptive Update Rules

We implement two strategies for dynamic adjustment:

  • Rule (a) - Primal-Dual Balancing: This rule monitors the relative progress of primal and dual variables by comparing their subgradient lengths. If the primal variable is lagging, the algorithm increases $\tau$ and decreases $\sigma$ (maintaining the product constant) to rebalance the optimization effort.
  • Rule (b) - Angle Alignment: This rule adjusts the ratio based on the cosine angle between the current update direction and the subgradient. It attempts to align the search direction more closely with the steepest descent path.

To ensure these checks do not negate the speed benefits of a stochastic approach, we employ a subsampling trick. By calculating adaptive metrics on only a small fraction of the data, the computational overhead is reduced from approximately 50% to less than 5%.

3. Experimental Setup

The algorithm was evaluated on several Computed Tomography (CT) reconstruction tasks:

  1. Sparse-view CT: Using a high-resolution (1024 × 1024) synthetic standard phantom image.
  2. Low-dose and Limited-angle CT: Using real-world lung CT scans (512 × 512) from the Mayo Clinic dataset, characterized by heavy Poisson noise and incomplete angular data.

4. Results and Discussion

4.1 Robustness and Self-Correction

A-SPDHG demonstrates remarkable robustness to initialization. Even when started with extreme, "terrible" step-size ratios (e.g., $10^{-9}$), the algorithm self-corrects within a few iterations, converging to the optimal range (typically $10^{-5}$ to $10^{-7}$). This effectively eliminates the need for manual pre-tuning.

4.2 Performance and Local Acceleration

In all CT reconstruction scenarios, Rule (a) consistently matched the convergence speed of the best-case manual tuning. Notably, the adaptive version often outperformed the best fixed-step version. This suggests that the optimal ratio is not static but evolves as the algorithm nears the solution; A-SPDHG captures this "local acceleration" by adapting to the changing landscape of the objective function.

4.3 Visual and Quantitative Quality

Reconstructed images from A-SPDHG were found to be indistinguishable from or superior to those produced by standard SPDHG. The primary advantage lies in efficiency: A-SPDHG reaches high-quality solutions in significantly fewer iterations than a poorly tuned fixed-step counterpart.

5. Conclusion

A-SPDHG provides a robust, "plug-and-play" solution for large-scale convex optimization. While Rule (a) proved highly effective, Rule (b) showed sensitivity to stochastic noise, suggesting that gradient-balancing heuristics are more reliable in stochastic settings. Future work will explore extending these adaptive principles to non-convex problems, such as deep learning, and integrating them with stochastic line-search methods for further acceleration.

Summary updated

BibTeX
@article{chambolle2024stochastic,
  author = {Antonin Chambolle and Claire Delplancke and Matthias J. Ehrhardt and Carola-Bibiane Schönlieb and Junqi Tang},
  title = {{Stochastic Primal-Dual Hybrid Gradient Algorithm with Adaptive Step Sizes}},
  journal = {J. Math. Imaging Vis.},
  year = {2024},
  doi = {10.1007/s10851-024-01174-1},
}
Figure