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

Optimal Stochastic Strongly Convex Optimization with a Logarithmic Number of Projections

Jianhui Chen, Tianbao Yang, Qihang Lin, Lijun Zhang, Yi Chang · DOI

Abstract

We consider stochastic strongly convex optimization with a complex inequality constraint. This complex inequality constraint may lead to computationally expensive projections in algorithmic iterations of the stochastic gradient descent (SGD) methods. To reduce the computation costs pertaining to the projections, we propose an Epoch-Projection Stochastic Gradient Descent (Epro-SGD) method. The proposed Epro-SGD method consists of a sequence of epochs; it applies SGD to an augmented objective function at each iteration within the epoch, and then performs a projection at the end of each epoch. Given a strongly convex optimization and for a total number of $T$ iterations, Epro-SGD requires only $\log(T)$ projections, and meanwhile attains an optimal convergence rate of $O(1/T)$, both in expectation and with a high probability. To exploit the structure of the optimization problem, we propose a proximal variant of Epro-SGD, namely Epro-ORDA, based on the optimal regularized dual averaging method. We apply the proposed methods on real-world applications; the empirical results demonstrate the effectiveness of our methods.

Introduction: The Bottleneck of Projections

Stochastic Gradient Descent (SGD) is a cornerstone of large-scale machine learning due to its per-iteration cost being independent of dataset size. However, many real-world problems involve complex constraints—such as requiring a matrix to be positive semi-definite (PSD) or stay within a specific polyhedron. In standard SGD, a projection step is required at every iteration to ensure feasibility.

For many applications, these projections are the primary computational bottleneck. For instance, projecting onto a PSD cone requires a Singular Value Decomposition (SVD), which has $O(d^3)$ complexity for a $d \times d$ matrix. Performing millions of SVDs is often prohibitively expensive. This paper introduces Epro-SGD (Epoch-Projection SGD), which maintains the optimal $O(1/T)$ convergence rate while reducing the number of projections from $T$ to $\log T$.

The Epro-SGD Framework

The core innovation of Epro-SGD is an "epoch-based" strategy that allows the algorithm to perform "lazy" projections. Instead of projecting at every step, the total iterations $T$ are divided into epochs of geometrically increasing length ($T_k$).

Algorithm 1: The Epro-SGD method for stochastic strongly convex optimization.

As shown in Algorithm 1, the process works as follows:

  1. Intra-epoch Updates: Within each epoch, the algorithm minimizes an augmented objective function $F(x) = f(x) + \lambda[c(x)]_+$. The term $[c(x)]_+$ penalizes constraint violations, allowing intermediate solutions to temporarily move outside the feasible region.
  2. End-of-Epoch Projection: A single projection onto the feasible set $\mathcal{D}$ is performed only at the end of the epoch.
  3. Parameter Scheduling: At the start of each new epoch, the step size $\eta_k$ is halved, and the number of iterations $T_k$ is doubled.

This geometric scheduling ensures that the total number of projections scales logarithmically with $T$. The authors also propose Epro-ORDA, a proximal variant based on Optimal Regularized Dual Averaging, to handle structured problems like those with $\ell_1$ regularizers.

Empirical Evaluation and Results

The authors evaluated Epro-SGD on two tasks: a constrained Lasso problem using the Algebra dataset (KDD Cup 2010) and Large Margin Nearest Neighbor (LMNN) classification on the Cora dataset. LMNN is particularly challenging because it requires learning a distance metric that must remain positive definite, necessitating expensive SVD projections.

Convergence of Epro-SGD compared to SGD, LogT, and OneProj on the Cora dataset. Left: Objective value vs. iterations. Right: Objective value vs. computation time.

As illustrated in Figure 2, Epro-SGD (blue line) demonstrates superior performance:

  • Theoretical Optimality: It achieves the $O(1/T)$ convergence rate, matching the theoretical lower bound for stochastic strongly convex optimization.
  • Computational Speedup: In the LMNN experiments, Epro-SGD reached a stable objective value significantly faster than standard SGD and other "one-projection" or "log-projection" variants. On the Cora dataset, Epro-SGD stabilized in approximately 3,622 seconds, while competitors lagged behind or failed to reach the same precision.
  • High Probability Bounds: Unlike previous "lazy" methods that only guaranteed average-case performance, Epro-SGD is proven to converge with high probability.

Discussion and Limitations

The success of Epro-SGD relies on the polyhedral error bound condition (Assumption A3), which ensures that the distance to the feasible set is bounded by the constraint violation. While many common constraints (like $\ell_1$ balls or PSD cones) satisfy this, it may not hold for all arbitrary convex constraints.

Additionally, the method requires careful tuning of the Lagrangian multiplier $\lambda$, which must be large enough to penalize violations effectively. Finally, while Epro-SGD is optimal for strongly convex problems, extending this logarithmic projection frequency to general convex functions (where the rate is $O(1/\sqrt{T})$) remains an open research challenge.

Summary updated

BibTeX
@inproceedings{chen2016optimal,
  author = {Jianhui Chen and Tianbao Yang and Qihang Lin and Lijun Zhang and Yi Chang},
  title = {{Optimal Stochastic Strongly Convex Optimization with a Logarithmic Number of Projections}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2016},
  url = {https://openreview.net/forum?id=bhXHddGNQuK},
}
Figure