Efficient Learning of Generative Models via Finite-Difference Score Matching
Preprint
Abstract
Several machine learning applications involve the optimization of higher-order derivatives (e.g., gradients of gradients) during training, which can be expensive in respect to memory and computation even with automatic differentiation. As a typical example in generative modeling, score matching (SM) involves the optimization of the trace of a Hessian. To improve computing efficiency, we rewrite the SM objective and its variants in terms of directional derivatives, and present a generic strategy to efficiently approximate any-order directional derivative with finite difference (FD). Our approximation only involves function evaluations, which can be executed in parallel, and no gradient computations. Thus, it reduces the total computational cost while also improving numerical stability. We provide two instantiations by reformulating variants of SM objectives into the FD forms. Empirically, we demonstrate that our methods produce results comparable to the gradient-based counterparts while being much more computationally efficient.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- On the Anatomy of MCMC-Based Maximum Likelihood Learning of Energy-Based ModelsProceedings of the AAAI Conference on Artificial Intelligence, 2020
- Optimization Methods for Large-Scale Machine LearningSIAM Review, 2018
- Rotation and scale invariant local binary pattern based on high order directional derivatives for texture classificationDigital Signal Processing, 2014
- New Method for Parameter Estimation in Probabilistic Models: Minimum Probability FlowPhysical Review Letters, 2011
- A Connection Between Score Matching and Denoising AutoencodersNeural Computation, 2011
- Training Products of Experts by Minimizing Contrastive DivergenceNeural Computation, 2002
- Mutual Information, Fisher Information, and Population CodingNeural Computation, 1998
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998