Optimal Monte Carlo Trace Estimator
Few votes (2) and no answers. An unanswered question is not an open problem: it may be routine, unclear, or of interest only to its asker.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
For a psd real symmetric \(d\times d\) matrix \(A\) and a function \(f: \mathbb{R}^d \to \mathbb{R}\), with \(f(x) := x^T A x\) we have that with \(p(x) = \mathcal{N}(0_d, I_d)\) (i.e. standard multivariate Normal), the well-known equality
$$\mathbb{E}_{x \sim p(x)}[f(x)] = \textrm{tr}(A).$$
This is Hutchinson's estimator and used in a variety of applications where only matrix-vector products with \(A\) are available.
In deriving an importance sampling approach of the form
$$\mathbb{E}_{x \sim p(x)}[f(x)] = \mathbb{E}_{x \sim q(x)}\left[\frac{p(x)}{q(x)} f(x)\right],$$
I am interested in finding the optimal \(q(x)\) in terms of variance reduction. This optimal solution is known to be (see Art Owen's book, chapter 9) of the form
$$q^*(x) = \frac{|f(x)|}{\mathbb{E}_{x\sim p}[|f(x)|]} \, p(x),$$
where here the absolute-sign can be dropped due to \(f(x) > 0\) for all \(x \in \mathbb{R}^d\). Then we …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.