Efficient Low-Rank Stochastic Gradient Descent Methods for Solving Semidefinite Programs

Jianhui Chen, Tianbao Yang, Shenghuo ZhuAISTATS 2014

Abstract

Semidefinite Programming (SDP) is a powerful tool in machine learning, but its scalability is hindered by the $O(d^3)$ complexity of projecting onto the positive semidefinite (PSD) cone. This paper introduces Low-Rank Stochastic Gradient Descent (LR-SGD), a method that reduces this per-iteration complexity to $O(d^2)$ by utilizing low-rank stochastic gradients. We prove that unbiased low-rank gradients exist for any objective function and demonstrate that LR-SGD maintains optimal convergence rates while significantly outperforming existing methods like PD-SGD in practical large-scale applications.

Introduction: The SDP Bottleneck

Semidefinite Programming is essential for tasks such as distance metric learning and matrix factorization. However, solving SDPs at scale is notoriously difficult. When using standard Stochastic Gradient Descent (SGD), each iteration involves a projection step to ensure the solution remains within the PSD cone. This step requires a full-spectrum eigendecomposition of a $d \times d$ matrix, costing $O(d^3)$ time. For high-dimensional data, this makes standard SGD prohibitively slow.

Methodology: Low-Rank Stochastic Gradient Descent

The authors propose LR-SGD to address this bottleneck. The core innovation is the construction of an unbiased stochastic gradient that is low-rank (typically rank-2 or rank-$k$).

Efficient Projection via Rank-k-Thresholding

Because the update is the previous solution plus a low-rank matrix, the projection onto the PSD cone only requires computing at most $k$ eigenpairs. This reduces the per-iteration complexity to $O(d^2)$. Unlike some competing methods that only satisfy constraints at the end of the process, LR-SGD maintains a feasible PSD solution at every single iteration.

Convergence of the objective value for different learning rates ($\eta$).

Experimental Evaluation

The authors evaluated LR-SGD on high-dimensional datasets including CiteSeer (3,703-dimensional word vectors) and Cora (1,433-dimensional vectors). These tests aimed to verify the theoretical convergence rates and practical speedups of the proposed method.

Key Results and Insights

LR-SGD maintains the optimal convergence rate of standard SGD: $O(1/\sqrt{T})$ for general convex functions and $O(\log T / T)$ for strongly convex functions. A key insight is the trade-off between rank and convergence: while lower ranks are faster per iteration, slightly higher ranks ($k$) embed more information, leading to faster convergence in terms of total iterations.

Comparison of LR-SGD and PD-SGD across various experimental settings, demonstrating LR-SGD's superior convergence speed and lower objective values.

In practical tests on the CiteSeer dataset, LR-SGD achieved lower objective values significantly faster than competing methods like PD-SGD. For example, in metric learning tasks, LR-SGD reached superior solutions in roughly the same time it took competitors to perform half as many iterations. Experimental results also validated that the error of the low-rank approximation behaves predictably, supporting the robustness of the Rank-k-Thresholding approach.

Conclusion

LR-SGD provides a general-purpose optimization strategy for SDPs by breaking the $O(d^3)$ projection bottleneck. Future work will explore automated rank selection and applying the method to a broader variety of real-world SDP problems.

Summary updated

BibTeX
@inproceedings{chen2014efficient,
  author = {Jianhui Chen and Tianbao Yang and Shenghuo Zhu},
  title = {{Efficient Low-Rank Stochastic Gradient Descent Methods for Solving Semidefinite Programs}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2014},
}
Figure