NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Optimal Algorithm for Stochastic Three-Composite Optimization

Renbo Zhao, William B. Haskell, Vincent Y. F. Tan

Abstract

Researchers from MIT and NUS present the Optimal Stochastic Primal-Dual Hybrid Gradient (OTPDHG) algorithm, a novel first-order method for solving Three-Composite Convex Minimization Problems (TCMP). OTPDHG is the first stochastic primal-dual algorithm to achieve the theoretical lower bound for convergence in this class of problems without requiring prior knowledge of the total iteration count. Empirical evaluations across various machine learning tasks, including graph-guided logistic regression and group lasso, demonstrate that OTPDHG significantly outperforms existing state-of-the-art benchmarks in both convergence speed and objective error reduction.

Introduction

Optimization serves as the foundational engine for modern machine learning. As models grow in complexity, incorporating multiple constraints and regularizers, the underlying mathematical problems become increasingly difficult to solve efficiently. This paper addresses the Three-Composite Convex Minimization Problem (TCMP), defined as:

$$\min_x f(x) + g(x) + h(Ax)$$

In this formulation, $f(x)$ is a smooth loss function (accessible via noisy stochastic gradients), $g(x)$ is a nonsmooth regularizer (e.g., $L_1$ norm), and $h(Ax)$ is a second nonsmooth term linked to the variables through a linear operator $A$. While algorithms for two-composite problems are well-established, the addition of the third term $h(Ax)$ typically forces a trade-off between slow convergence and the need for a fixed, pre-determined iteration horizon ($K$).

The OTPDHG Algorithm

The authors introduce OTPDHG, a primal-dual method designed to hit the theoretical "speed limit" for TCMPs. The algorithm incorporates three key innovations:

  1. Interpolation Step: It utilizes an interpolated point between the current iterate and the previous average before gradient calculation.
  2. Judicious Step-size Scheduling: A specific sequence for stepsizes ($\tau_k, \alpha_k$) and averaging weights ($\beta_k$) allows for acceleration without knowing the time horizon $K$ in advance.
  3. Primal-Dual Averaging: By maintaining weighted averages of primal and dual variables, the algorithm effectively stabilizes stochastic noise.

Theoretical analysis confirms that OTPDHG achieves the optimal convergence rate of $O(L/K^2 + B/K + \sigma/\sqrt{K})$, simultaneously accounting for smoothness, the linear operator, and stochastic noise.

Experimental Evaluation

The performance of OTPDHG was evaluated against benchmarks including TPDHG, ASG-PA, and FOBOS using standard datasets from the LIBSVM repository. Tasks included graph-guided sparse logistic regression (on covtype) and sparse overlapping group lasso (on cpusmall).

Figure 2: Objective error versus number of epochs and time on the covtype dataset.

As shown in Figure 2, OTPDHG (and its related variant OSADMM) reaches low objective error orders of magnitude faster than traditional benchmarks on the covtype dataset. The empirical results clearly display the $O(1/K^2)$ slope during early training phases, validating the algorithm's ability to exploit function smoothness even under stochastic conditions.

Figure 5: Objective error versus number of epochs and time on the cpusmall dataset.

Consistency across different problem types is further evidenced in Figure 5, where OTPDHG maintains its superior convergence rate for group lasso problems on the cpusmall dataset. A key advantage highlighted is "anytime optimality": the algorithm maintains peak performance regardless of when it is stopped, unlike methods tuned to a specific $K$.

Conclusion

OTPDHG represents a significant advancement in stochastic optimization, matching theoretical lower bounds while remaining highly practical for real-world applications. While current proofs assume bounded domains and simple proximal operators, the empirical success on unbounded problems suggests broad utility. Future work may explore extending these optimal rates to non-convex landscapes typical of deep neural networks.

Summary updated

BibTeX
@inproceedings{zhao2019optimal,
  author = {Renbo Zhao and William B. Haskell and Vincent Y. F. Tan},
  title = {{An Optimal Algorithm for Stochastic Three-Composite Optimization}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2019},
}
Figure