Dynamic Trace Estimation
Prathamesh Dharangutte, Christopher Musco
Abstract
We study a dynamic version of the implicit trace estimation problem. Given access to an oracle for computing matrix-vector multiplications with a dynamically changing matrix A, our goal is to maintain an accurate approximation to A's trace using as few multiplications as possible. We present a practical algorithm for solving this problem and prove that, in a natural setting, its complexity is quadratically better than the standard solution of repeatedly applying Hutchinson's stochastic trace estimator. We also provide an improved algorithm assuming slightly stronger assumptions on the dynamic matrix A. We support our theory with empirical results, showing significant computational improvements on three applications in machine learning and network science: tracking moments of the Hessian spectral density during neural network optimization, counting triangles, and estimating natural connectivity in a dynamically changing graph.
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 ab09ec5c-247d-4a83-bf38-108df61aec01Cited by top-tier papers7
- Public Transport Planning: When Transit Network Connectivity Meets Commuting DemandSheng Wang, Yuan Sun, Christopher Musco, Zhifeng BaoSIGMOD 2021 · 21 citations
- Towards Resilient Safety-driven Unlearning for Diffusion Models against Downstream Fine-tuningBoheng Li, Renjie Gu, Junjie Wang, Leyi Qi et al.NeurIPS 2025 · 15 citations
- Sublinear time spectral density estimationVladimir Braverman, Aditya Krishnan, Christopher MuscoSTOC 2022 · 9 citations
- Query lower bounds for log-concave samplingSinho Chewi, Jaume de Dios Pont, Jerry Li, Chen Lu et al.FOCS 2023 · 2 citations
- Matrix-Free Two-to-Infinity and One-to-Two Norms EstimationAskar Tsyganov, Evgeny Frolov, Sergey Samsonov, Maxim RakhubaAAAI 2026 · 2 citations
Builds on3
- HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural NetworksZhen Dong, Zhewei Yao, Daiyaan Arfeen, Amir Gholami et al.NeurIPS 2020 · 434 citations
- ADAHESSIAN: An Adaptive Second Order Optimizer for Machine LearningZhewei Yao, Amir Gholami, Sheng Shen, Mustafa Mustafa et al.AAAI 2021 · 358 citations
- Public Transport Planning: When Transit Network Connectivity Meets Commuting DemandSheng Wang, Yuan Sun, Christopher Musco, Zhifeng BaoSIGMOD 2021 · 21 citations
Related papers
- Optimal Query Complexities for Dynamic Trace EstimationDavid P. Woodruff, Fred Zhang, Richard ZhangNeurIPS 2022 · 13 citations
- Optimal Sketching for Trace EstimationShuli Jiang, Hai Pham, David P. Woodruff, Qiuyi (Richard) ZhangNeurIPS 2021 · 28 citations
- Fast Computation for the Forest Matrix of an Evolving GraphHaoxin Sun, Xiaotian Zhou, Zhongzhi ZhangKDD 2024 · 2 citations
- Approximate Euclidean lengths and distances beyond Johnson-LindenstraussAleksandros Sobczyk, Mathieu LuisierNeurIPS 2022 · 3 citations
- Schatten Norms in Matrix Streams: Hello Sparsity, Goodbye DimensionVladimir Braverman, Robert Krauthgamer, Aditya Krishnan, Roi SinoffICML 2020 · 14 citations
