[Paper Review] Joint Stochastic Approximation learning of Helmholtz Machines
This paper proposes Joint Stochastic Approximation (JSA), a novel algorithm for training Helmholtz machines that directly optimizes the marginal log-likelihood and inclusive KL divergence using Robbins-Monro stochastic approximation. By formulating gradient updates as root-finding problems and employing MCMC operators like MTMIS, JSA achieves superior likelihood performance on MNIST compared to RWS, with faster convergence and higher sampling efficiency.
Though with progress, model learning and performing posterior inference still remains a common challenge for using deep generative models, especially for handling discrete hidden variables. This paper is mainly concerned with algorithms for learning Helmholz machines, which is characterized by pairing the generative model with an auxiliary inference model. A common drawback of previous learning algorithms is that they indirectly optimize some bounds of the targeted marginal log-likelihood. In contrast, we successfully develop a new class of algorithms, based on stochastic approximation (SA) theory of the Robbins-Monro type, to directly optimize the marginal log-likelihood and simultaneously minimize the inclusive KL-divergence. The resulting learning algorithm is thus called joint SA (JSA). Moreover, we construct an effective MCMC operator for JSA. Our results on the MNIST datasets demonstrate that the JSA's performance is consistently superior to that of competing algorithms like RWS, for learning a range of difficult models.
Motivation & Objective
- To address the limitation of existing Helmholtz machine learning algorithms that indirectly optimize bounds of the marginal log-likelihood.
- To develop a direct optimization framework for marginal log-likelihood and inclusive KL divergence in deep generative models with discrete hidden variables.
- To integrate stochastic approximation theory (Robbins-Monro) into joint learning of generative and inference models.
- To design efficient MCMC operators—specifically MIS and MTMIS—using the inference model as a proposal distribution.
- To empirically validate JSA’s superiority in likelihood performance and convergence speed on benchmark datasets like MNIST.
Proposed method
- Formulates the joint learning of generative and inference models as a root-finding problem using stochastic approximation, where gradients of marginal log-likelihood and inclusive KL divergence are set to zero.
- Represents the required gradients as expectations, enabling iterative parameter updates via stochastic approximation with diminishing step sizes.
- Uses the inference model $ q_{\bm{\phi}}(\bm{h}|\bm{x}) $ as the proposal distribution for constructing MCMC moves in the SA framework.
- Employs two MCMC operators: standard Metropolis Independence Sampler (MIS) and Multiple-Trial Metropolis Independence Sampler (MTMIS) to improve mixing and convergence.
- Applies MTMIS by drawing 10 trial samples per move and selecting one based on acceptance probability, enhancing sampling efficiency over standard MIS.
- Uses mini-batch SGD with learning rates of 0.0005 and 0.001, selecting the best-performing run based on validation log-likelihood.
Experimental results
Research questions
- RQ1Can stochastic approximation be effectively applied to jointly optimize marginal log-likelihood and inclusive KL divergence in Helmholtz machines?
- RQ2Does using the inference model as a proposal distribution in MCMC improve convergence and likelihood performance in JSA?
- RQ3How does MTMIS compare to MIS in terms of sampling efficiency and convergence speed in the JSA framework?
- RQ4Does JSA achieve better test likelihood than state-of-the-art methods like RWS on discrete belief networks with MNIST?
- RQ5Can JSA handle both continuous and discrete hidden variables, and does it maintain performance on challenging models?
Key findings
- JSA-MTMIS achieves consistently superior test likelihood compared to RWS across all model architectures tested on MNIST, including SBNs with Bernoulli and multinomial hidden units.
- On the 200-200-200-10(C) model, JSA-MTMIS achieves a test log-likelihood of 87.82, outperforming RWS’s 88.43, with a lower bound of 96.58.
- JSA-MIS converges 10 times slower than JSA-MTMIS and RWS due to low sampling efficiency, with only 40-50% acceptance rate.
- JSA-MTMIS achieves 80-90% acceptance rate, significantly higher than JSA-MIS, indicating better mixing and larger moves in the MCMC chain.
- The convergence curves show that JSA-MTMIS matches or exceeds RWS in likelihood gain per epoch, demonstrating faster learning dynamics.
- The method is robust across different model depths and types, including both Bernoulli and multinomial belief networks, with consistent performance gains.
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.