Near Optimal Linear Algebra in the Online and Sliding Window Models

被引:25
作者
Braverman, Vladimir [1 ]
Drineas, Petros [2 ]
Musco, Cameron [3 ]
Musco, Christopher [4 ]
Upadhyay, Jalaj [5 ]
Woodruff, David P. [6 ]
Zhou, Samson [6 ]
机构
[1] Johns Hopkins Univ, Baltimore, MD 21218 USA
[2] Purdue Univ, W Lafayette, IN 47907 USA
[3] Univ Massachusetts Amherst, Amherst, MA USA
[4] NYU, New York, NY 10003 USA
[5] Apple, Cupertino, CA USA
[6] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
来源
2020 IEEE 61ST ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS 2020) | 2020年
关键词
streaming algorithms; online algorithms; sliding window model; numerical linear algebra;
D O I
10.1109/FOCS46700.2020.00055
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We initiate the study of numerical linear algebra in the sliding window model, where only the most recent W updates in a stream form the underlying data set. Although many existing algorithms in the sliding window model use or borrow elements from the smooth histogram framework (Braverman and Ostrovsky, FOCS 2007), we show that many interesting linear-algebraic problems, including spectral and vector induced matrix norms, generalized regression, and low-rank approximation, are not amenable to this approach in the row-arrival model. To overcome this challenge, we first introduce a unified row-sampling based framework that gives randomized algorithms for spectral approximation, low-rank approximation/projection-cost preservation, and l(1)-subspace embeddings in the sliding window model, which often use nearly optimal space and achieve nearly input sparsity runtime. Our algorithms are based on "reverse online" versions of offline sampling distributions such as (ridge) leverage scores, l(1) sensitivities, and Lewis weights to quantify both the importance and the recency of a row; our structural results on these distributions may be of independent interest for future algorithmic design. Although our techniques initially address numerical linear algebra in the sliding window model, our row-sampling framework rather surprisingly implies connections to the well-studied online model; our structural results also give the first sample optimal (up to lower order terms) online algorithm for low-rank approximation/projection-cost preservation. Using this powerful primitive, we give online algorithms for column/row subset selection and principal component analysis that resolves the main open question of Bhaskara et al. (FOCS 2019). We also give the first online algorithm for l(1)-subspace embeddings. We further formalize the connection between the online model and the sliding window model by introducing an additional unified framework for deterministic algorithms using a merge and reduce paradigm and the concept of online coresets, which we define as a weighted subset of rows of the input matrix that can be used to compute a good approximation to some given function on all of its prefixes. Our sampling based algorithms in the row-arrival online model yield online coresets, giving deterministic algorithms for spectral approximation, low-rank approximation/projection-cost preservation, and l(1)-subspace embeddings in the sliding window model that use nearly optimal space.
引用
收藏
页码:517 / 528
页数:12
相关论文
共 35 条
  • [1] On Sketching Quadratic Forms
    Andoni, Alexandr
    Chen, Jiecao
    Krauthgamer, Robert
    Qin, Bo
    Woodruff, David P.
    Zhang, Qin
    [J]. ITCS'16: PROCEEDINGS OF THE 2016 ACM CONFERENCE ON INNOVATIONS IN THEORETICAL COMPUTER SCIENCE, 2016, : 311 - 319
  • [2] [Anonymous], 2006, P ACM SIGMOD INT C M
  • [3] Babcock Brian, 2002, PODS, P1, DOI DOI 10.1145/543613.543615
  • [4] Dispersion for Data-Driven Algorithm Design, Online Learning, and Private Optimization
    Balcan, Maria-Florina
    Dick, Travis
    Vitercik, Ellen
    [J]. 2018 IEEE 59TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS), 2018, : 603 - 614
  • [5] Residual Based Sampling for Online Low Rank Approximation
    Bhaskara, Aditya
    Lattanzi, Silvio
    Vassilvitskii, Sergei
    Zadimoghaddam, Morteza
    [J]. 2019 IEEE 60TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS 2019), 2019, : 1596 - 1614
  • [6] Blum A, 2003, SIAM PROC S, P202
  • [7] Boutsidis C., 2015, P 26 ANN ACM SIAM S, P887
  • [8] Braverman V., 2018, CORR ABS180503765
  • [9] Smooth histograms for sliding windows
    Braverman, Vladimir
    Ostrovsky, Rafail
    [J]. 48TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 2007, : 283 - +
  • [10] Chen J., 2016, CORR ABS161100129