arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.07792cs.DBcs.DScs.LG
收藏

滑动窗口上的最优矩阵素描

Optimal Matrix Sketching over Sliding Windows

Renmin University of China(中国人民大学);Gaoling School of Artificial Intelligence(高瓴人工智能学院);Pazhou Laboratory (Huangpu)(琶洲实验室(黄埔));Fudan University(复旦大学);Alibaba Group(阿里巴巴集团)

Hanyan Yin, Dongxie Wen, Jiajun Li, Zhewei Wei, Xiao Zhang, Zengfeng Huang, Feifei Li

AI总结:

本文提出DS-FD算法,在滑动窗口上实现矩阵素描的最优O(d/ε)空间界,并给出多种窗口模型的匹配上下界,通过实验验证了其正确性与有效性。

摘要:

矩阵素描旨在用较小的素描矩阵 $\boldsymbol{B} \in \mathbb{R}^{\ell\times d}, \ell \ll N$ 逼近由长度为 $N$ 的向量流构成的矩阵 $\boldsymbol{A} \in \mathbb{R}^{N\times d}$,在大规模数据分析和机器学习等领域引起了越来越多的关注。一种著名的确定性矩阵素描方法是 Frequent Directions 算法,它实现了最优的 $O\left(\frac{d}{\varepsilon}\right)$ 空间界,并提供了协方差误差保证 $\varepsilon = \lVert \boldsymbol{A}^\top \boldsymbol{A} - \boldsymbol{B}^\top \boldsymbol{B} \rVert_2/\lVert \boldsymbol{A} \rVert_F^2$。在滑动窗口的背景下,矩阵素描问题变得特别有趣,其目标是逼近由最近 $N$ 个时间单位内的输入向量构成的矩阵 $\boldsymbol{A}_W$。然而,尽管近期已有努力,在滑动窗口上是否可能实现最优的 $O\left(\frac{d}{\varepsilon}\right)$ 空间界仍然是一个悬而未决的问题。\n 在本文中,我们引入了 DS-FD 算法,该算法在行归一化、基于序列的滑动窗口上实现了矩阵素描的最优 $O\left(\frac{d}{\varepsilon}\right)$ 空间界。我们还针对基于时间的和未归一化的滑动窗口给出了匹配的上下空间界,证明了 DS-FD 在各种滑动窗口模型下的通用性和最优性。这最终回答了关于滑动窗口上矩阵素描最优空间界的开放问题。此外,我们使用合成数据集和真实世界数据集进行了广泛的实验,验证了我们的理论主张,从而在理论和实证上确认了我们算法的正确性和有效性。

英文摘要:

Matrix sketching, aimed at approximating a matrix $\boldsymbol{A} \in \mathbb{R}^{N\times d}$ consisting of vector streams of length $N$ with a smaller sketching matrix $\boldsymbol{B} \in \mathbb{R}^{\ell\times d}, \ell \ll N$, has garnered increasing attention in fields such as large-scale data analytics and machine learning. A well-known deterministic matrix sketching method is the Frequent Directions algorithm, which achieves the optimal $O\left(\frac{d}{\varepsilon}\right)$ space bound and provides a covariance error guarantee of $\varepsilon = \lVert \boldsymbol{A}^\top \boldsymbol{A} - \boldsymbol{B}^\top \boldsymbol{B} \rVert_2/\lVert \boldsymbol{A} \rVert_F^2$. The matrix sketching problem becomes particularly interesting in the context of sliding windows, where the goal is to approximate the matrix $\boldsymbol{A}_W$, formed by input vectors over the most recent $N$ time units. However, despite recent efforts, whether achieving the optimal $O\left(\frac{d}{\varepsilon}\right)$ space bound on sliding windows is possible has remained an open question. In this paper, we introduce the DS-FD algorithm, which achieves the optimal $O\left(\frac{d}{\varepsilon}\right)$ space bound for matrix sketching over row-normalized, sequence-based sliding windows. We also present matching upper and lower space bounds for time-based and unnormalized sliding windows, demonstrating the generality and optimality of \dsfd across various sliding window models. This conclusively answers the open question regarding the optimal space bound for matrix sketching over sliding windows. Furthermore, we conduct extensive experiments with both synthetic and real-world datasets, validating our theoretical claims and thus confirming the correctness and effectiveness of our algorithm, both theoretically and empirically.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑