Randomized Coordinate Subgradient Method for Nonsmooth Optimization

Lei Zhao, Ding Chen, Daoli Zhu, Xiao LiarXiv 2022

Abstract

Coordinate-type subgradient methods for addressing nonsmooth optimization problems have remained relatively underexplored due to the set-valued nature of the subdifferential. This paper introduces the Randomized Coordinate Subgradient (RCS) method, the first coordinate-type algorithm designed to solve general nonsmooth composite optimization problems of the form $f(x) = h(\Phi(x))$. By leveraging the chain rule to decouple smooth and nonsmooth components, RCS achieves state-of-the-art convergence rates while significantly reducing the memory footprint required for high-dimensional data. We establish a convergence rate of $\widetilde{\mathcal{O}}(1/\sqrt{k})$ for convex objectives and $\mathcal{O}(\varepsilon^{-4})$ for weakly convex objectives under a generalized "linearly bounded subgradients" assumption. Empirical results across Support Vector Machines (SVM) and robust phase retrieval demonstrate that RCS can offer up to a 2000x reduction in workspace memory compared to standard subgradient methods.

Introduction

In the era of "Big Data," optimization problems frequently involve millions of variables, making memory efficiency a primary concern. Coordinate descent methods are often the preferred solution in these scenarios because they update only one variable (or a block of variables) at a time. However, these methods traditionally require the objective function to be smooth.

When dealing with nonsmooth functions—such as those involving absolute values or norms—practitioners typically turn to subgradient methods. The challenge lies in the fact that subgradients do not behave well with coordinate-wise updates. Specifically, the Cartesian product of coordinate-wise subgradients does not necessarily constitute a valid subgradient of the global function. This "set-valued" nature of subdifferentials has long been a bottleneck in extending coordinate descent to general nonsmooth problems.

The Randomized Coordinate Subgradient (RCS) Method

To overcome the limitations of existing methods, we focus on a composite structure: $f(x) = h(\Phi(x))$, where $h$ is a nonsmooth convex function and $\Phi$ is a smooth mapping. This structure is prevalent in machine learning and signal processing, encompassing everything from robust regression to phase retrieval.

The core innovation of the RCS method lies in its handling of the subgradient calculation through three key steps:

  1. Decoupling via the Chain Rule: Instead of attempting to find a coordinate subgradient directly, the algorithm first computes a subgradient $\zeta$ for the outer function $h$.
  2. Randomized Block Update: The algorithm randomly selects a block of coordinates and computes the update using only the corresponding block of the Jacobian matrix of the inner mapping $\Phi$. This allows the algorithm to bypass the "Cartesian product" obstacle.
  3. Generalized Assumptions: Most existing literature assumes Lipschitz continuity, which implies the function's growth is strictly bounded. We utilize a more relaxed "linearly bounded subgradients" assumption. This allows RCS to be applied to a wider range of practical problems, such as SVMs with weight decay, where traditional assumptions might fail.

Theoretical Convergence

We provide a rigorous convergence analysis for RCS in both convex and non-convex (weakly convex) settings:

  • Convex Case: We establish a $\widetilde{\mathcal{O}}(1/\sqrt{k})$ convergence rate in expectation and an almost sure asymptotic convergence rate for the suboptimality gap. This ensures that the algorithm is guaranteed to work in virtually every run, not just on average.
  • Weakly Convex Case: For non-convex problems where the subdifferential satisfies the global metric subregularity property, we derive an $\mathcal{O}(\varepsilon^{-4})$ iteration complexity. To justify this property, we prove that it naturally holds for the robust phase retrieval problem, bridging the gap between abstract theory and practical imaging applications.

Experimental Results

We validated RCS across three distinct applications using synthetic and real-world datasets:

Linear SVM

Using eight real-world datasets from the LIBSVM repository (including colon-cancer, duke, and gisette), we compared RCS against standard subgradient methods. RCS consistently returned lower objective values within the same number of epochs. Most notably, the memory efficiency was transformative. For the gisette dataset, RCS required only ~0.038 MB of workspace memory compared to ~76.5 MB for the full subgradient method—a 2000x reduction.

Robust Phase Retrieval

In complex imaging tasks using gold nanoparticle correlative images, RCS demonstrated superior reconstruction capabilities. After 10 epochs, RCS produced significantly clearer high-resolution images than standard subgradient methods, which struggled to manage the high dimensionality of the data.

Robust M-estimators

Tests on synthetic data with outliers confirmed the algorithm's ability to recover sparse signals effectively, even in the presence of significant noise.

Conclusion and Future Work

RCS represents a significant step forward in making nonsmooth optimization scalable for high-dimensional problems. While the $O(\varepsilon^{-4})$ complexity for weakly convex problems is standard for subgradient-type methods, future work could improve this through:

  • Adaptive Step Sizes: Integrating frameworks like AdaGrad to eliminate manual tuning.
  • Variance Reduction: Applying techniques like SVRG to accelerate the convex convergence rate.
  • Second-Order Information: Exploring quasi-Newton coordinate approaches for further acceleration in specific problem classes.

Summary updated

BibTeX
@misc{zhao2022randomized,
  author = {Lei Zhao and Ding Chen and Daoli Zhu and Xiao Li},
  title = {{Randomized Coordinate Subgradient Method for Nonsmooth Optimization}},
  year = {2022},
  eprint = {2206.14981},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.14981},
}
Figure