We consider the problem of minimizing the number of matrix-vector queries needed for accurate trace estimation in the dynamic setting where our underlying matrix is changing slowly, such as during an optimization process. Specifically, for any $m$ matrices $A_1,...,A_m$ with consecutive differences bounded in Schatten-$1$ norm by $α$, we provide a novel binary tree summation procedure that simultaneously estimates all $m$ traces up to $ε$ error with $δ$ failure probability with an optimal query complexity of $\widetilde{O}\left(m α\sqrt{\log(1/δ)}/ε+ m\log(1/δ)\right)$, improving the dependence on both $α$ and $δ$ from Dharangutte and Musco (NeurIPS, 2021). Our procedure works without additional norm bounds on $A_i$ and can be generalized to a bound for the $p$-th Schatten norm for $p \in [1,2]$, giving a complexity of $\widetilde{O}\left(m α\left(\sqrt{\log(1/δ)}/ε\right)^p +m \log(1/δ)\right)$.
By using novel reductions to communication complexity and information-theoretic analyses of Gaussian matrices, we provide matching lower bounds for static and dynamic trace estimation in all relevant parameters, including the failure probability. Our lower bounds (1) give the first tight bounds for Hutchinson's estimator in the matrix-vector product model with Frobenius norm error even in the static setting, and (2) are the first unconditional lower bounds for dynamic trace estimation, resolving open questions of prior work.
二分搜索在具有最佳$\log n$查询数的排序数组中查找给定元素。然而,即使数组只是轻微无序或对其元素的访问容易出错,二分搜索也会失败。我们研究了最坏情况下的查询复杂性的搜索算法,是强大的不精确的查询,并适应扰动的元素的顺序。我们给(几乎)严格的结果,量化查询错误和测量阵列混乱的各种参数。特别是,我们展示的设置中的查询复杂性的$\log n + ck$,$(1+\varepsilon)\log n + ck$,和$\sqrt{cnk}+o(nk)$是最好的可能参数值$k$,任何$\varepsilon>0$,和常数$c$。