Score matching efficiency varies with approximation type and diffusion flow

Approximation Families and the Statistical Efficiency of Denoising Score Matching

Machine Learning

Summary

This paper looks at a way to estimate probability distributions called score matching, focusing on how the choice of mathematical tools affects accuracy. The authors compare two different settings—one using polynomials and another using trigonometric polynomials—under different diffusion processes that smooth data. They find that in one case, the error can grow quickly with complexity, while in the other case, the methods remain stable and accurate. This helps understand when score matching works well and when it can be unreliable.

What this means in practice

  • For machine learning engineers: Choose stable approximation families and diffusion methods for accurate and efficient score matching in generative modeling tasks.
  • For statistical data analysts: Use operator-informed score matching with trigonometric polynomial bases on periodic data to achieve better density estimation performance.

Authors

Brian Miyatake

Abstract

We study score matching over finite-dimensional approximation spaces generated by gradients of eigenfunctions of the infinitesimal generator of a forward diffusion. We compare polynomial approximation under one-dimensional Ornstein-Uhlenbeck flow with trigonometric-polynomial approximation under heat flow on the torus. In the Ornstein-Uhlenbeck setting, we show that for every non-Gaussian initial distribution uniformly comparable to the standard Gaussian, the asymptotic score-estimation variance grows exponentially along a subsequence of polynomial degrees. Averaging the score-matching loss under the diffusion semigroup, which we call operator-informed score matching (OISM), reduces the variance at each fixed degree but does not eliminate this exponential instability at sufficiently small times. A local minimax lower bound shows that the same high-degree dependence arises when estimating the polynomial projection of the score, rather than being an artifact of OISM. In contrast, under heat flow on the torus, OISM over trigonometric polynomials admits finite-sample control of the score error along the forward diffusion and yields the classical minimax rate for estimating sufficiently smooth densities under expected Kullback-Leibler loss.