[Paper Review] Sliced Score Matching: A Scalable Approach to Density and Score Estimation
Introduces sliced score matching (SSM), a scalable variant of score matching that projects high-dimensional scores onto random directions to avoid expensive Hessian computations, enabling deep unnormalized models and high-dimensional data.
Score matching is a popular method for estimating unnormalized statistical models. However, it has been so far limited to simple, shallow models or low-dimensional data, due to the difficulty of computing the Hessian of log-density functions. We show this difficulty can be mitigated by projecting the scores onto random vectors before comparing them. This objective, called sliced score matching, only involves Hessian-vector products, which can be easily implemented using reverse-mode automatic differentiation. Therefore, sliced score matching is amenable to more complex models and higher dimensional data compared to score matching. Theoretically, we prove the consistency and asymptotic normality of sliced score matching estimators. Moreover, we demonstrate that sliced score matching can be used to learn deep score estimators for implicit distributions. In our experiments, we show sliced score matching can learn deep energy-based models effectively, and can produce accurate score estimates for applications such as variational inference with implicit distributions and training Wasserstein Auto-Encoders.
Motivation & Objective
- Motivate and address the difficulty of Hessian-based trace computations in score matching for unnormalized models.
- Propose sliced score matching to enable scalable density and score estimation in high dimensions.
- Establish theoretical guarantees of consistency and asymptotic normality for SSM estimators.
- Demonstrate applicability of SSM to learning deep energy-based models and estimating scores for implicit distributions.
- Explore connections to related methods and practical variants (e.g., variance reduction).
Proposed method
- Define the sliced score matching objective by projecting scores onto random directions and matching along those projections.
- Show the equivalence (up to a constant) between the sliced objective and a tractable form involving Hessian-vector products, enabling efficient computation.
- Provide unbiased estimators for the sliced objective using M projection vectors per data point, with a variance-reduced variant (SSM-VR).
- Use Hutchinson’s trick intuition to connect the method to trace estimation and reduce variance.
- Extend the approach to score estimation for data-generating processes by training a score-model h(x;θ) and minimizing the sliced objective.
- Discuss implementation advantages in modern auto-diff frameworks (e.g., TensorFlow, PyTorch).
Experimental results
Research questions
- RQ1Can sliced score matching provide consistent and asymptotically normal parameter estimates for unnormalized models in high dimensions?
- RQ2Is SSM scalable to deep models and high-dimensional data while maintaining competitive estimation accuracy compared to existing score matching variants?
- RQ3Can sliced score matching be applied to estimate scores of implicit distributions and support applications like VAEs with implicit encoders and WAEs?
- RQ4How does SSM relate to and differ from other scalable score estimation approaches (e.g., NCE, Hutchinson’s trick, kernel-based estimators)?
Key findings
- SSM yields consistent and asymptotically normal estimators under standard regularity conditions.
- Using a small number of projection vectors M (often M=1) provides a favorable trade-off between variance and computational cost.
- SSM-VR improves empirical performance by reducing variance and can outperform baseline scalable score matching variants.
- SSM enables training of deep energy-based models with tractable computation via Hessian-vector products instead of full Hessian traces.
- SSM can be used to obtain accurate score estimates needed for variational inference with implicit distributions and for training Wasserstein Auto-Encoders.
- In experiments on density estimation with deep kernel exponential families and NICE flow models, SSM is competitive and often more scalable than existing score matching methods.
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.