Optimal Matrix Sketching over Sliding Windows
Hanyan Yin, Dongxie Wen, Jiajun Li, Zhewei Wei, Xiao Zhang, Zengfeng Huang, Feifei Li
Abstract
Matrix sketching, aimed at approximating a matrix A ∈ R
N×d
consisting of vector streams of length N with a smaller sketching matrix
B
∈ R
ℓ×d , ℓ
≪ 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 FreqentDirections algorithm, which achieves the optimal [EQUATION] space bound and provides a covariance error guarantee of ε = ||
A
⊤
A
B
⊤ B || 2 /||
A
|| 2
F.
The matrix sketching problem becomes particularly interesting in the context of sliding windows, where the goal is to approximate the matrix
A W
, formed by input vectors over the most recent N time units. However, despite recent efforts, whether achieving the optimal [EQUATION] 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 [EQUATION] 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 DS-FD across various sliding window models. This conclusively answers the open question regarding the optimal space bound for matrix sketching over sliding windows. 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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 90032cff-e011-4f3e-b4fd-ab336c6691cfCited by top-tier papers2
- Revisiting Matrix Sketching in Linear Bandits: Achieving Sublinear Regret via Dyadic Block SketchingDongxie Wen, Hanyan Yin, Xiao Zhang, Peng Zhao et al.ICLR 2026 · 1 citation
- AeroSketch: Near-Optimal Time Matrix Sketch Framework for Persistent, Sliding Window, and Distributed StreamsHanyan Yin, Dongxie Wen, Jiajun Li, Zhewei Wei et al.SIGMOD 2026
Builds on5
- Near Optimal Linear Algebra in the Online and Sliding Window ModelsVladimir Braverman, Petros Drineas, Cameron Musco, Christopher Musco et al.FOCS 2020 · 24 citations
- Sketchy: Memory-efficient Adaptive Regularization with Frequent DirectionsVladimir Feinberg, Xinyi Chen, Y. Jennifer Sun, Rohan Anil et al.NeurIPS 2023 · 21 citations
- At-the-time and Back-in-time Persistent SketchesBenwei Shi, Zhuoyue Zhao, Yanqing Peng, Feifei Li et al.SIGMOD 2021 · 15 citations
- Krylov Methods are (nearly) Optimal for Low-Rank ApproximationAinesh Bakshi, Shyam NarayananFOCS 2023 · 14 citations
- A Framework for Private Matrix Analysis in Sliding Window ModelJalaj Upadhyay, Sarvagya UpadhyayICML 2021 · 14 citations
Related papers
- Approximate Matrix Multiplication over Sliding WindowsZiqi Yao, Lianzhi Li, Mingsong Chen, Xian Wei et al.KDD 2024 · 2 citations
- Revisiting Co-Occurring Directions: Sharper Analysis and Efficient Algorithm for Sparse MatricesLuo Luo, Cheng Chen, Guangzeng Xie, Haishan YeAAAI 2021 · 4 citations
- Approximate Multiplication of Sparse Matrices with Limited SpaceYuanyu Wan, Lijun ZhangAAAI 2021 · 4 citations
- Distributed Least Squares in Small Space via Sketching and Bias ReductionSachin Garg, Kevin Tan, Michal DerezinskiNeurIPS 2024 · 5 citations
- Tight Bounds for the Subspace Sketch Problem with ApplicationsYi Li, Ruosong Wang, David P. WoodruffSODA 2020 · 5 citations
