English

Streaming Semidefinite Programs: $O(\sqrt{n})$ Passes, Small Space and Fast Runtime

Data Structures and Algorithms 2023-09-12 v1

Abstract

We study the problem of solving semidefinite programs (SDP) in the streaming model. Specifically, mm constraint matrices and a target matrix CC, all of size n×nn\times n together with a vector bRmb\in \mathbb{R}^m are streamed to us one-by-one. The goal is to find a matrix XRn×nX\in \mathbb{R}^{n\times n} such that C,X\langle C, X\rangle is maximized, subject to Ai,X=bi\langle A_i, X\rangle=b_i for all i[m]i\in [m] and X0X\succeq 0. Previous algorithmic studies of SDP primarily focus on \emph{time-efficiency}, and all of them require a prohibitively large Ω(mn2)\Omega(mn^2) space in order to store \emph{all the constraints}. Such space consumption is necessary for fast algorithms as it is the size of the input. In this work, we design an interior point method (IPM) that uses O~(m2+n2)\widetilde O(m^2+n^2) space, which is strictly sublinear in the regime nmn\gg m. Our algorithm takes O(nlog(1/ϵ))O(\sqrt n\log(1/\epsilon)) passes, which is standard for IPM. Moreover, when mm is much smaller than nn, our algorithm also matches the time complexity of the state-of-the-art SDP solvers. To achieve such a sublinear space bound, we design a novel sketching method that enables one to compute a spectral approximation to the Hessian matrix in O(m2)O(m^2) space. To the best of our knowledge, this is the first method that successfully applies sketching technique to improve SDP algorithm in terms of space (also time).

Keywords

Cite

@article{arxiv.2309.05135,
  title  = {Streaming Semidefinite Programs: $O(\sqrt{n})$ Passes, Small Space and Fast Runtime},
  author = {Zhao Song and Mingquan Ye and Lichen Zhang},
  journal= {arXiv preprint arXiv:2309.05135},
  year   = {2023}
}
R2 v1 2026-06-28T12:17:31.518Z