[Paper Review] Random Feature Stein Discrepancies
This paper introduces feature Stein discrepancies (ΦSDs), a new family of computable Stein discrepancies that provably determine sample convergence to a target distribution. By leveraging importance sampling with random features, the authors develop random ΦSDs (RΦSDs) that achieve near-linear O(N^{1+γ}) computation time while maintaining accuracy comparable to quadratic-time kernel Stein discrepancies (KSDs), enabling fast, scalable goodness-of-fit testing and sampler selection.
Computable Stein discrepancies have been deployed for a variety of applications, ranging from sampler selection in posterior inference to approximate Bayesian inference to goodness-of-fit testing. Existing convergence-determining Stein discrepancies admit strong theoretical guarantees but suffer from a computational cost that grows quadratically in the sample size. While linear-time Stein discrepancies have been proposed for goodness-of-fit testing, they exhibit avoidable degradations in testing power -- even when power is explicitly optimized. To address these shortcomings, we introduce feature Stein discrepancies ($Φ$SDs), a new family of quality measures that can be cheaply approximated using importance sampling. We show how to construct $Φ$SDs that provably determine the convergence of a sample to its target and develop high-accuracy approximations -- random $Φ$SDs (R$Φ$SDs) -- which are computable in near-linear time. In our experiments with sampler selection for approximate posterior inference and goodness-of-fit testing, R$Φ$SDs perform as well or better than quadratic-time KSDs while being orders of magnitude faster to compute.
Motivation & Objective
- To address the high computational cost of existing Stein discrepancies, which scale quadratically with sample size.
- To overcome the power degradation of linear-time alternatives like FSSD in higher dimensions.
- To develop a computable, convergence-determining discrepancy measure that is both theoretically sound and practically efficient.
- To enable fast, scalable goodness-of-fit testing and MCMC sampler selection using near-linear time approximations.
Proposed method
- Propose feature Stein discrepancies (ΦSDs) as a new class of integral probability metrics based on Stein operators and feature maps.
- Construct ΦSDs using a finite set of features to ensure they determine convergence of samples to the target distribution.
- Introduce random ΦSDs (RΦSDs) via importance sampling with a proposal distribution to approximate ΦSDs efficiently.
- Establish theoretical bounds showing that RΦSDs achieve O(N^{-1/2})-precision estimates in O(N^{1+γ}) time with high probability.
- Derive the asymptotic null distribution of RΦSDs under i.i.d. sampling for use in hypothesis testing.
- Optimize feature selection to maximize testing power while minimizing computational cost.
Experimental results
Research questions
- RQ1Can a Stein discrepancy be constructed to provably determine sample convergence while remaining computationally efficient?
- RQ2Can linear-time approximations of Stein discrepancies maintain high statistical power, especially in high-dimensional settings?
- RQ3Can importance sampling with random features yield accurate, scalable approximations of Stein discrepancies with theoretical guarantees?
- RQ4How does the performance of RΦSDs compare to quadratic-time KSDs in terms of accuracy and speed for goodness-of-fit testing and sampler selection?
Key findings
- RΦSDs achieve O(N^{-1/2})-precision estimates of the true ΦSD in O(N^{1+γ}) time, enabling near-linear computation.
- With only ten features, RΦSDs outperform or match the performance of quadratic-time KSDs in sampler selection and goodness-of-fit testing.
- RΦSDs maintain high testing power even in higher dimensions, avoiding the degradation seen in prior linear-time methods like FSSD.
- Theoretical analysis confirms that RΦSDs are close to the true ΦSD in relative error with high probability under appropriate proposal distributions.
- The asymptotic null distribution of RΦSDs is derived, enabling valid hypothesis testing under the null of i.i.d. sampling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.