[Paper Review] Metric-Free Natural Gradient for Joint-Training of Boltzmann Machines
This paper proposes Metric-Free Natural Gradient (MFNG), a second-order optimization method for joint-training Deep Boltzmann Machines that avoids explicit storage of the Fisher information metric by using efficient matrix-vector products via a conjugate gradient solver. MFNG achieves faster per-epoch convergence than Stochastic Maximum Likelihood with centering, though wall-clock training remains slower due to computational overhead.
This paper introduces the Metric-Free Natural Gradient (MFNG) algorithm for training Boltzmann Machines. Similar in spirit to the Hessian-Free method of Martens [8], our algorithm belongs to the family of truncated Newton methods and exploits an efficient matrix-vector product to avoid explicitely storing the natural gradient metric $L$. This metric is shown to be the expected second derivative of the log-partition function (under the model distribution), or equivalently, the variance of the vector of partial derivatives of the energy function. We evaluate our method on the task of joint-training a 3-layer Deep Boltzmann Machine and show that MFNG does indeed have faster per-epoch convergence compared to Stochastic Maximum Likelihood with centering, though wall-clock performance is currently not competitive.
Motivation & Objective
- To address the challenge of training Deep Boltzmann Machines (DBMs) jointly via maximum likelihood, which is difficult due to ill-conditioned Hessian matrices.
- To develop a practical second-order optimization method that leverages natural gradient principles without explicitly storing the Fisher information metric.
- To improve convergence speed in joint-training by exploiting the geometry of the parameter manifold through efficient matrix-vector products.
- To evaluate the method on a 3-layer DBM and compare its convergence behavior to standard Stochastic Maximum Likelihood with centering.
Proposed method
- The method derives the natural gradient as the inverse of the Fisher information matrix applied to the negative log-likelihood gradient, where the metric is the expected Hessian of the log-partition function.
- It avoids explicit storage of the metric $ L $ by using a Hessian-Free-style approach that computes $ L^{-1} \mathbb{E}_q[\nabla \log p_\theta] $ via iterative linear solvers such as MINRES.
- The algorithm uses persistent Markov chains from Stochastic Maximum Likelihood (SML) to estimate the negative log-likelihood gradient and its expectations efficiently.
- The natural gradient is computed using the covariance of the energy function's partial derivatives under the model distribution, which corresponds to the Fisher information matrix.
- A diagonal regularization is applied to the metric $ L $ to stabilize the inversion process, and the linear system is solved with a fixed tolerance of $ 10^{-5} $.
- The method is designed to be invariant to parameterization and to maintain constant progress along the probability manifold by accounting for curvature.
Experimental results
Research questions
- RQ1Can a metric-free natural gradient method achieve faster per-epoch convergence than first-order methods in joint-training of DBMs?
- RQ2Does avoiding explicit storage of the Fisher information metric enable scalable second-order optimization in models with complex posteriors?
- RQ3How does MFNG compare to SML with centering in terms of convergence speed and optimization stability?
- RQ4Can the computational cost of MFNG be reduced through hyperparameter tuning or preconditioning strategies?
- RQ5Is MFNG particularly beneficial for models with ill-conditioned Hessians or complex posterior distributions?
Key findings
- MFNG achieves faster per-epoch convergence compared to Stochastic Maximum Likelihood with centering on a 3-layer Deep Boltzmann Machine.
- The wall-clock training time of MFNG is currently not competitive with SML due to high computational overhead in solving the linear system.
- The linear system solver (MINRES) typically converges in around 15 iterations with a fixed tolerance of $ 10^{-5} $.
- The method avoids explicit storage of the Fisher information metric $ L $, relying instead on efficient matrix-vector products via iterative linear solvers.
- The natural gradient is derived as the solution to $ L^{-1} \mathbb{E}_q[\nabla \log p_\theta] $, where $ L $ is the expected Hessian of the log-partition function.
- Preconditioning, such as using the Jacobi method, could improve convergence speed and is a promising direction for future optimization.
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.