A Guide to Stochastic Optimisation for Large-Scale Inverse Problems

Matthias J. Ehrhardt, Zeljko Kereta, Jingwei Liang, Junqi TangarXiv 2024 · DOI

Introduction

Inverse problems—the task of recovering an image or object from indirect, noisy measurements like CT or MRI scans—are scaling to unprecedented sizes. In modern applications such as 3D PET-MR, the sheer volume of data makes traditional "deterministic" algorithms, which process entire datasets in a single pass, computationally prohibitive. This paper provides a definitive guide to bridging the gap between the fast-paced realm of stochastic optimization and the mathematically rigorous field of variational regularization.

The Challenge of Nonsmoothness and Noise

Inverse problems present unique challenges compared to standard machine learning tasks. They are inherently "ill-posed," meaning small errors in the gradient can lead to massive artifacts in the final image. Furthermore, high-quality image reconstruction often relies on nonsmooth penalties like Total Variation (TV) to preserve sharp edges while removing noise.

Denoising performance comparison: (a) Original, (b) Noisy, (c) TV regularization showing staircasing, and (d) TGV regularization providing smoother gradients.

As shown in the figure above, while TV is effective at preserving edges, it can introduce a "staircasing" effect in regions with smooth gradients. More sophisticated models like Total Generalized Variation (TGV) aim to mitigate this. Stochastic methods must be carefully designed to handle these sharp penalties without introducing excessive sampling noise that could destroy fine image details.

Methods: The Stochastic Toolbox

The paper organizes a toolbox of algorithms based on the general optimization template: $\min f(Ax) + g(x) + h(x)$.

  • Deterministic Foundations: Standard tools like PDHG (Primal-Dual Hybrid Gradient) and FISTA serve as the baseline but require full data passes.
  • Stochastic Variants: The authors introduce SPDHG (Stochastic PDHG), which updates only a subset of dual variables at each step, significantly reducing per-iteration costs.
  • Variance Reduction: Techniques like SAGA and SVRG are essential. By "remembering" previous gradients, these methods reduce the noise inherent in random sampling, allowing for constant stepsizes and faster convergence.
  • Coordinate Descent: Updating the image pixel-by-pixel or block-by-block is discussed as an alternative strategy for handling massive 3D volumes.

Key Insights for Practical Implementation

One of the most significant takeaways is the Stochastic Acceleration Factor ($\Upsilon = L/L_{max}$). If data is highly redundant (e.g., a CT scan with many angles), $\Upsilon$ is large, and stochastic methods offer massive speedups. Conversely, for unique data like small blurring kernels, stochastic methods may be slower than deterministic ones.

Practical performance also depends on the memory-speed trade-off. SAGA is exceptionally fast but requires a memory-intensive gradient table, whereas SVRG is more memory-efficient but requires periodic full-data passes. The authors recommend "warm-starting" with a few passes of simple SGD before switching to variance-reduced methods for the fastest path to high-quality solutions.

Key Results and Benchmarks

The methods were evaluated across several benchmarks, including the Shepp-Logan phantom for CT and real-world Walnut CT data. Key findings include:

  • Speedups in CT: SAGA and SGD achieved high-quality reconstructions in roughly 10x fewer data passes than deterministic Proximal Gradient Descent.
  • Robustness: While SPDHG was fastest for low-noise data, variance-reduced methods like SVRG proved more stable as noise levels increased.
  • Visual Quality: Stochastic methods recovered fine structures much earlier in the optimization process than their deterministic counterparts.

Conclusion and Future Work

While stochastic optimization offers a powerful path forward for large-scale imaging, challenges remain in hyperparameter tuning and extending these benefits to non-convex models, such as deep neural networks. Future research into "sketching"—mathematically compressing data before processing—remains a promising frontier for the field.

Summary updated

BibTeX
@misc{ehrhardt2024guide,
  author = {Matthias J. Ehrhardt and Zeljko Kereta and Jingwei Liang and Junqi Tang},
  title = {{A Guide to Stochastic Optimisation for Large-Scale Inverse Problems}},
  year = {2024},
  eprint = {2406.06342},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.06342},
}
Figure