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. We first introduce a unified row-sampling based framework that gives randomized algorithms for spectral approximation, low-rank approximation/projection-cost preservation, and $\ell_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, $\ell_1$ sensitivities, and Lewis weights to quantify both the importance and the recency of a row. 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 $\ell_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. 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 $\ell_1$-subspace embeddings in the sliding window model that use nearly optimal space.
翻译:我们开始在滑动窗口模型中进行数值线性代数研究, 在滑动窗口模型中, 我们的算法基于“ 逆向在线” 的离线抽样分布版本, 如( 峰值) 杠杆评分、 $ell_ 1 敏感度和 Lewis 加权等。 我们首先推出一个统一的行抽样基础框架, 提供光谱近似近似、 低排序近似/ 预测成本保存的随机算法, 以及 $_ 1 微小空间嵌入滑动窗口模型。 我们的结构结果也使第一个样本优化( 接近最佳空间空间, 接近于低度/ 预测成本保存。 我们给出了“ 逆向在线” 组合评分法, 用于( 峰值) 杠杆率评分、 $_ 1 热量 和 刘易斯加权数 来量化行的重要性和正确度。 我们的行采样选算框架 进一步降低( 降价) 和 在线递增 。