Skip to main content
QUICK REVIEW

[Paper Review] Two Methods For Wild Variational Inference

Qiang Liu, Yihao Feng|arXiv (Cornell University)|Nov 30, 2016
Gaussian Processes and Bayesian InferenceComputer Science25 references9 citations
TL;DR

This paper proposes two wild variational inference methods that bypass the need for tractable density functions in inference networks, enabling end-to-end training of general stochastic neural samplers. By leveraging Stein discrepancy and amortized SVGD, the methods automatically learn optimal step sizes for stochastic gradient Langevin dynamics, significantly outperforming hand-designed schedules in both Gaussian mixture and Bayesian logistic regression tasks.

ABSTRACT

Variational inference provides a powerful tool for approximate probabilistic in- ference on complex, structured models. Typical variational inference methods, however, require to use inference networks with computationally tractable proba- bility density functions. This largely limits the design and implementation of vari- ational inference methods. We consider wild variational inference methods that do not require tractable density functions on the inference networks, and hence can be applied in more challenging cases. As an example of application, we treat stochastic gradient Langevin dynamics (SGLD) as an inference network, and use our methods to automatically adjust the step sizes of SGLD, yielding significant improvement over the hand-designed step size schemes

Motivation & Objective

  • To address the limitation in variational inference where tractable density functions are required for inference networks, restricting model flexibility.
  • To enable training of general inference networks with intractable densities, allowing automatic learning of sampling procedures.
  • To develop methods that can adaptively learn optimal step sizes for stochastic gradient Langevin dynamics (SGLD) without manual tuning.
  • To demonstrate that wild variational inference can outperform hand-designed learning rate schedules in complex Bayesian models.

Proposed method

  • Uses kernelized Stein discrepancy (KSD) to minimize a divergence measure between the inference network output and the target distribution without requiring density evaluation of the proposal.
  • Employs amortized Stein variational gradient descent (amortized SVGD) to iteratively adjust inference network parameters by following a direction that reduces KL divergence.
  • Applies U-statistics to estimate KSD in a mini-batch setting, enabling scalable optimization over large datasets.
  • Treats the SGLD update as a differentiable neural network with learnable step sizes, trained via backpropagation through time.
  • Leverages the structure of SGLD as a deep generative model with T layers, where each layer corresponds to one SGLD step.
  • Uses a parameterized step size schedule as a function of the network’s hidden state, trained via gradient-based optimization.

Experimental results

Research questions

  • RQ1Can variational inference be extended to inference networks with intractable density functions, enabling more flexible and adaptive sampling?
  • RQ2Can kernelized Stein discrepancy be used to train neural samplers without requiring explicit density evaluation of the proposal distribution?
  • RQ3Can amortized SVGD effectively learn optimal step size schedules for SGLD in complex posterior distributions?
  • RQ4How does end-to-end learning of SGLD step sizes compare to hand-designed schedules in terms of convergence and accuracy?
  • RQ5Can the learned step size policies generalize to unseen datasets and maintain high performance with fewer iterations?

Key findings

  • Amortized SVGD and KSD minimization outperformed constant and power-decay step size schedules in approximating a 1D Gaussian mixture, achieving significantly better posterior coverage with only 20 SGLD steps.
  • On the Covertype dataset, both proposed methods achieved higher testing accuracy and likelihood than all hand-designed learning rate schedules, approaching the performance of fully converged SGLD and SVGD with fewer iterations.
  • KSD-based training showed rapid initial performance gain followed by saturation, while amortized SVGD exhibited slower early progress but a sharp performance boost in later iterations.
  • The learned step size policies generalized well to unseen test mini-datasets, demonstrating robustness and transferability across data partitions.
  • With T=100 layers, the proposed methods achieved near-optimal performance in both accuracy and likelihood, indicating effective learning of the temporal dynamics of SGLD updates.
  • The results demonstrate that wild variational inference enables automatic, adaptive, and scalable learning of efficient sampling procedures for complex Bayesian models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.