Spectral density estimation
Library · Source module
Spectral density estimation
Two random estimates of the empirical spectral measure \nu_{\mathbf{A}} of a Hermitian \mathbf{A} from a test matrix \mathbf{\Omega} whose m columns are the probes. The probe spectral measure is the average of the probes' spectral measures (probe densities) \mu_j = \mu_{\mathbf{A},\boldsymbol{\omega}_j}, scaled by 1/(\lvert n\rvert m): its integral of f is the Girard–Hutchinson estimate of \operatorname{tr} f(\mathbf{A})/\lvert n\rvert, and for isotropic probes it is \nu_{\mathbf{A}} in expectation. The SLQ spectral-density estimate is the same average of the q-point Gauss rules of the probe densities, what q Lanczos steps per probe compute: atoms at each probe's Ritz values. It is not the Gauss rule of the probe spectral measure: it has up to mq nodes and matches 2q moments of it. Neither is a probability measure in general; their masses are \|\mathbf{\Omega}\|_{\mathsf{F}}^2/(\lvert n\rvert m). [ChenTrogdonUbaru2021]; [UbaruChenSaad2017].
The probe spectral measure integrates f to the Girard–Hutchinson estimate of \operatorname{tr} f(\mathbf{A})/\lvert n\rvert, so its distribution function at \mathbf{x} is a Girard–Hutchinson estimate of a spectral projector; it is unbiased for isotropic probes. The SLQ estimate is the average of the Lanczos rules, matches 2q moments of the probe spectral measure and equals it for q \ge \lvert n\rvert. If the distribution functions of the probe spectral measure and of the empirical spectral measure are close at the eigenvalues, a finite Abel summation bounds the error on every Lipschitz test function at once. The random tails are in NLAlib/Estimation/Spectral/SpectralDensitySubgaussian.lean (independent sub-Gaussian entries) and NLAlib/Estimation/Spectral/SpectralDensitySphere.lean (probes uniform on the sphere).
Main definitions
* NLAlib.probeSpectralMeasure: the average of the probe densities. * NLAlib.slqMeasure: the average of their Gauss rules.
Main results
* NLAlib.isFiniteMeasure_probeSpectralMeasure, NLAlib.isFiniteMeasure_slqMeasure: both are finite measures. * NLAlib.integral_probeSpectralMeasure, NLAlib.integral_slqMeasure: the integrals are the Girard–Hutchinson and SLQ trace estimates, divided by \lvert n\rvert. * Matrix.IsHermitian.slqMeasure_eq_sum_lanczosQuadrature: the SLQ measure is what the Lanczos algorithm computes. * NLAlib.probeSpectralMeasure_real: the probe spectral measure of a set is a Girard–Hutchinson estimate. * NLAlib.matchesMoments_probeSpectralMeasure_slqMeasure, Matrix.IsHermitian.slqMeasure_eq_probeSpectralMeasure_of_card_le: moment matching and exactness. * NLAlib.integral_integral_probeSpectralMeasure: unbiasedness for isotropic probes. * Matrix.IsHermitian.abs_integral_empiricalSpectralMeasure_sub_integral_probeSpectralMeasure_le: the deterministic bound over Lipschitz test functions.
Declarations
- Matrix.IsHermitian.abs_empiricalSpectralMeasure_real_Iic_sub_probeSpectralMeasure_real_Iic_le
- Matrix.IsHermitian.abs_integral_empiricalSpectralMeasure_sub_integral_probeSpectralMeasure_le
- Matrix.IsHermitian.abs_integral_probeSpectralMeasure_sub_integral_slqMeasure_le_of_lipschitzOnWith
- Matrix.IsHermitian.abs_one_sub_probeSpectralMeasure_real_univ_le
- Matrix.IsHermitian.probeSpectralMeasure_real_univ
- Matrix.IsHermitian.slqMeasure_eq_probeSpectralMeasure_of_card_le
- Matrix.IsHermitian.slqMeasure_eq_sum_lanczosQuadrature
- Matrix.IsHermitian.slqMeasure_real_univ
- NLAlib.ae_mem_Icc_probeSpectralMeasure
- NLAlib.ae_mem_Icc_slqMeasure
- NLAlib.ae_mem_spectrum_probeSpectralMeasure
- NLAlib.integrable_probeSpectralMeasure
- NLAlib.integrable_slqMeasure
- NLAlib.integral_integral_probeSpectralMeasure
- NLAlib.integral_probeSpectralMeasure
- NLAlib.integral_slqMeasure
- NLAlib.isFiniteMeasure_probeSpectralMeasure
- NLAlib.isFiniteMeasure_slqMeasure
- NLAlib.matchesMoments_probeSpectralMeasure_slqMeasure
- NLAlib.probeSpectralMeasure
- NLAlib.probeSpectralMeasure_real
- NLAlib.slqMeasure