Fast Bayesian Network Structure Search Using Gaussian Processes

Total Page:16

File Type:pdf, Size:1020Kb

Fast Bayesian Network Structure Search Using Gaussian Processes Fast Bayesian Network Structure Search Using Gaussian Processes Blake Anderson and Terran Lane University of New Mexico, Albuquerque NM 87131, USA Abstract. In this paper we introduce two novel methods for performing Bayesian network structure search that make use of Gaussian Process re- gression. Using a relatively small number of samples from the posterior distribution of Bayesian networks, we are able to find an accurate func- tion approximator based on Gaussian Processes. This allows us to remove our dependency on the data during the search and leads to massive speed improvements without sacrificing performance. We use our function ap- proximator in the context of Hill Climbing, a local-score based search algorithm, and in the context of a global optimization technique based on response surfaces. We applied our methods to both synthetic and real data. Results show that we converge to networks of equal score to those found by traditional Hill Climbing, but at a fraction of the total time. 1 Introduction Bayesian networks compactly represent a joint probability distribution by ex- ploiting a set of independence assumptions between the set of random variables. A Bayesian network is a probabilistic graphical model where the random vari- ables are represented as nodes and the conditional dependencies of the random variables are represented as edges. They are frequently used in bioinformatics, image processing, medical applications, and many other problem domains [1]. An important problem associated with Bayesian networks is model selection: given a dataset, find a structure that maximizes the posterior probability with re- spect to the data. Unfortunately, the space of all structures is super-exponential in the number of random variables and finding the optimal structure is known to be NP-complete [2]. Many methods have been devised to overcome the obstacle of searching through such a large space. These methods usually employ greedy methods to cut down on the size of the space [3] and rely on the decomposability of local scoring metrics such as the BDeu score [4]. With decomposable metrics, the chosen modification can be evaluated separately from the rest of the network. In traditional score-based search algorithms, the evaluation of the modification still requires looking at the entire dataset. Even with clever caching techniques, as the size of the dataset increases, the overhead incurred by scanning the data becomes very expensive. We present two novel solutions to this problem. The first dramatically speeds up current score-based search algorithms without sacrificing performance by us- ing a Gaussian Process to approximate the search landscape. With Gaussian Process regression, we aim to approximate a function, f : G! R, capable of computing reasonable BDeu scores given the structure of the Bayesian network, G. We begin constructing our function by sampling a constant number of struc- tures from the super-exponential structure space. We calculate the exact BDeu score for each structure of this sample, giving us a set of structure/value pairs. We then use a Gaussian Process regressor with a graph kernel to learn a model of the function from structures to scores. Given this model, we can discard the training data during the iterations of the search algorithm. Our Gaussian Pro- cess based function approximator can easily be used in a wide variety of search algorithms to speed up the process of determining which step in the space to take. We illustrate this point by implementing the Hill Climbing algorithm [5] using our method and showing the corresponding speed-ups. Our second approach is related to the response surface framework from op- timization theory [6], in which one draws a sample of points from the objective function and then fits a regression model to that sample. Then one optimizes the response surface, which is typically more tractable to work with than the objective function. Using the mean-squared error of the response surface, we can locate the point on the surface that has the highest probability of having a better score than the current minimum Bayesian network score. We then find the true score of this point, update the response surface, and iterate. Response surfaces allow us to quickly find a global optimum using a sparse number of samples. The use of a function approximator to model a Bayesian network scoring metric has been recently explored [7]. There, the authors construct a metagraph of Bayesian networks, and then use the eigenvectors of the metagraph to in- terpolate the scores of unknown networks, given the scores of a small number of sampled points. However, Yackley et al. show only that they can accurately approximate the true scoring function; they do not actually apply their function approximator to search. We go beyond that work by demonstrating the use of such approximators to dramatically speed up structure search. There has been little work done to exploit Gaussian Processes to improve the different aspects of Bayesian networks. Gaussian Process networks is the only true prior instance of combining these two fields that we are aware of [8]. Most Bayesian networks based on continuous variables use Gaussian distributions to model continuous random variables. Gaussian Process networks were developed to cope with the problem that these networks can only learn linear dependencies in the data. A Gaussian Process prior was developed for the random variables which had the advantage of being able to learn functional dependencies between the data. The prior also allowed the marginal probability of the data to be computed in closed form. 2 Background 2.1 Bayesian Network Structure Search Let U = fX1;:::;Xng be a set of random variables. A Bayesian network is a probabilistic graphical model that compactly encodes the joint probability dis- tribution among these random variables. Let B = hG;Θi be a Bayesian network described by graph, G, and conditional probability distributions, Θ. G is a di- rected acyclic graph where the nodes represent the random variables of U and the edges represent statistical dependencies among the nodes. We can compactly represent the joint probability distribution because each node, Xi, is statistically independent of all other nodes in the graph given its parent set, Pa(Xi), with respect to G. Θi is the conditional probability distribution for Xi, which encodes the node's dependence on its parents. Given the independence assumption, we can write the joint probability distribution as n Y PB(X1;:::;XnjΘi) = PB(XijPa(Xi);Θi) (1) i=1 We are interested in learning a B = hG;Θi that maximizes some score of the structure, given a dataset D = fx1;:::; xng, where each x is a vector of the values for Xi in the dataset. Typical scoring functions include BDeu [4], BIC [9], and MDL [10]. For simplicity, in this paper we use BDeu, though the basic framework here is independent of the scoring function. Due to the independence assumptions of Bayesian networks, certain scoring functions are decomposable, meaning that the score of one family can be com- puted independently from the scores of the rest of the network. This property is used extensively by search algorithms, as they are able to compute the score of each change they consider efficiently. Structure learning is generally accom- plished using a decomposable scoring function, such as BDeu, and local search strategies. Perhaps the simplest local search strategy is Hill Climbing. This method starts with an empty graph, and then tries to find the one-step change, adding, reversing, or deleting an edge, that increases the BDeu score of the Bayesian net- work the most. There are several related approaches that improve upon this sim- ple idea. These include Repeated Hill Climbing, which just has random restarts, and Look-Ahead Hill Climbing, which chooses a set of the best changes and tries to avoid local minima by looking ahead a certain number of steps to determine which is the best choice. 2.2 Gaussian Process Regression A Gaussian Process represents a collection of random variables, in which any finite subset has a joint Gaussian distribution [11]. The entire Gaussian Process can be thought of as an infinite dimensional Gaussian N (µ, K) (2) where µ is the mean function and K is the covariance function. The mean function is typically taken to be zero without loss of generality. The squared exponential is a typical covariance function for real-valued vectors 0 2 1 0 2 2 K(x; x ) = σ exp − jx − x j + σ δ 0 (3) f 2l2 n xx 2 2 where σn, σf , and l are hyperparameters and δ is the Kronecker delta. The hyperparameters are usually set by maximizing the marginal likelihood through optimization techniques such as gradient descent. Regression begins by building up the covariance matrix with all of the train- ing data, D = fX; fg. X consists of all the instances, x, in the dataset, and f is the vector of labels for each x. The covariance matrix is built such that each entry of the matrix is K(x; x0). Using this information, we can construct the joint probability distribution between our training data f µ KK∗ = N ; T (4) f∗ µ∗ K∗ K∗∗ where K is the covariance matrix between datapoints in the training data, K∗∗ is the covariance matrix between datapoints in the testing data, K∗ is the co- variance matrix between the training and testing data, and f∗ is the vector of predicted values. If we condition the joint probability distribution on the observed training data and assume noise-free observations, we have −1 −1 T f∗jX∗; X; f ∼ N K∗K f; K∗∗ − K∗K K∗ (5) Therefore, we use the Gaussian Process to arrive at an estimate of our true −1 function.
Recommended publications
  • Scalable Nonparametric Bayesian Inference on Point Processes with Gaussian Processes
    Scalable Nonparametric Bayesian Inference on Point Processes with Gaussian Processes Yves-Laurent Kom Samo [email protected] Stephen Roberts [email protected] Deparment of Engineering Science and Oxford-Man Institute, University of Oxford Abstract 2. Related Work In this paper we propose an efficient, scalable Non-parametric inference on point processes has been ex- non-parametric Gaussian process model for in- tensively studied in the literature. Rathbum & Cressie ference on Poisson point processes. Our model (1994) and Moeller et al. (1998) used a finite-dimensional does not resort to gridding the domain or to intro- piecewise constant log-Gaussian for the intensity function. ducing latent thinning points. Unlike competing Such approximations are limited in that the choice of the 3 models that scale as O(n ) over n data points, grid on which to represent the intensity function is arbitrary 2 our model has a complexity O(nk ) where k and one has to trade-off precision with computational com- n. We propose a MCMC sampler and show that plexity and numerical accuracy, with the complexity being the model obtained is faster, more accurate and cubic in the precision and exponential in the dimension of generates less correlated samples than competing the input space. Kottas (2006) and Kottas & Sanso (2007) approaches on both synthetic and real-life data. used a Dirichlet process mixture of Beta distributions as Finally, we show that our model easily handles prior for the normalised intensity function of a Poisson data sizes not considered thus far by alternate ap- process. Cunningham et al.
    [Show full text]
  • Deep Neural Networks As Gaussian Processes
    Published as a conference paper at ICLR 2018 DEEP NEURAL NETWORKS AS GAUSSIAN PROCESSES Jaehoon Lee∗y, Yasaman Bahri∗y, Roman Novak , Samuel S. Schoenholz, Jeffrey Pennington, Jascha Sohl-Dickstein Google Brain fjaehlee, yasamanb, romann, schsam, jpennin, [email protected] ABSTRACT It has long been known that a single-layer fully-connected neural network with an i.i.d. prior over its parameters is equivalent to a Gaussian process (GP), in the limit of infinite network width. This correspondence enables exact Bayesian inference for infinite width neural networks on regression tasks by means of evaluating the corresponding GP. Recently, kernel functions which mimic multi-layer random neural networks have been developed, but only outside of a Bayesian framework. As such, previous work has not identified that these kernels can be used as co- variance functions for GPs and allow fully Bayesian prediction with a deep neural network. In this work, we derive the exact equivalence between infinitely wide deep net- works and GPs. We further develop a computationally efficient pipeline to com- pute the covariance function for these GPs. We then use the resulting GPs to per- form Bayesian inference for wide deep neural networks on MNIST and CIFAR- 10. We observe that trained neural network accuracy approaches that of the corre- sponding GP with increasing layer width, and that the GP uncertainty is strongly correlated with trained network prediction error. We further find that test perfor- mance increases as finite-width trained networks are made wider and more similar to a GP, and thus that GP predictions typically outperform those of finite-width networks.
    [Show full text]
  • Gaussian Process Dynamical Models for Human Motion
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. 30, NO. 2, FEBRUARY 2008 283 Gaussian Process Dynamical Models for Human Motion Jack M. Wang, David J. Fleet, Senior Member, IEEE, and Aaron Hertzmann, Member, IEEE Abstract—We introduce Gaussian process dynamical models (GPDMs) for nonlinear time series analysis, with applications to learning models of human pose and motion from high-dimensional motion capture data. A GPDM is a latent variable model. It comprises a low- dimensional latent space with associated dynamics, as well as a map from the latent space to an observation space. We marginalize out the model parameters in closed form by using Gaussian process priors for both the dynamical and the observation mappings. This results in a nonparametric model for dynamical systems that accounts for uncertainty in the model. We demonstrate the approach and compare four learning algorithms on human motion capture data, in which each pose is 50-dimensional. Despite the use of small data sets, the GPDM learns an effective representation of the nonlinear dynamics in these spaces. Index Terms—Machine learning, motion, tracking, animation, stochastic processes, time series analysis. Ç 1INTRODUCTION OOD statistical models for human motion are important models such as hidden Markov model (HMM) and linear Gfor many applications in vision and graphics, notably dynamical systems (LDS) are efficient and easily learned visual tracking, activity recognition, and computer anima- but limited in their expressiveness for complex motions. tion. It is well known in computer vision that the estimation More expressive models such as switching linear dynamical of 3D human motion from a monocular video sequence is systems (SLDS) and nonlinear dynamical systems (NLDS), highly ambiguous.
    [Show full text]
  • Modelling Multi-Object Activity by Gaussian Processes 1
    LOY et al.: MODELLING MULTI-OBJECT ACTIVITY BY GAUSSIAN PROCESSES 1 Modelling Multi-object Activity by Gaussian Processes Chen Change Loy School of EECS [email protected] Queen Mary University of London Tao Xiang E1 4NS London, UK [email protected] Shaogang Gong [email protected] Abstract We present a new approach for activity modelling and anomaly detection based on non-parametric Gaussian Process (GP) models. Specifically, GP regression models are formulated to learn non-linear relationships between multi-object activity patterns ob- served from semantically decomposed regions in complex scenes. Predictive distribu- tions are inferred from the regression models to compare with the actual observations for real-time anomaly detection. The use of a flexible, non-parametric model alleviates the difficult problem of selecting appropriate model complexity encountered in parametric models such as Dynamic Bayesian Networks (DBNs). Crucially, our GP models need fewer parameters; they are thus less likely to overfit given sparse data. In addition, our approach is robust to the inevitable noise in activity representation as noise is modelled explicitly in the GP models. Experimental results on a public traffic scene show that our models outperform DBNs in terms of anomaly sensitivity, noise robustness, and flexibil- ity in modelling complex activity. 1 Introduction Activity modelling and automatic anomaly detection in video have received increasing at- tention due to the recent large-scale deployments of surveillance cameras. These tasks are non-trivial because complex activity patterns in a busy public space involve multiple objects interacting with each other over space and time, whilst anomalies are often rare, ambigu- ous and can be easily confused with noise caused by low image quality, unstable lighting condition and occlusion.
    [Show full text]
  • Financial Time Series Volatility Analysis Using Gaussian Process State-Space Models
    Financial Time Series Volatility Analysis Using Gaussian Process State-Space Models by Jianan Han Bachelor of Engineering, Hebei Normal University, China, 2010 A thesis presented to Ryerson University in partial fulfillment of the requirements for the degree of Master of Applied Science in the Program of Electrical and Computer Engineering Toronto, Ontario, Canada, 2015 c Jianan Han 2015 AUTHOR'S DECLARATION FOR ELECTRONIC SUBMISSION OF A THESIS I hereby declare that I am the sole author of this thesis. This is a true copy of the thesis, including any required final revisions, as accepted by my examiners. I authorize Ryerson University to lend this thesis to other institutions or individuals for the purpose of scholarly research. I further authorize Ryerson University to reproduce this thesis by photocopying or by other means, in total or in part, at the request of other institutions or individuals for the purpose of scholarly research. I understand that my dissertation may be made electronically available to the public. ii Financial Time Series Volatility Analysis Using Gaussian Process State-Space Models Master of Applied Science 2015 Jianan Han Electrical and Computer Engineering Ryerson University Abstract In this thesis, we propose a novel nonparametric modeling framework for financial time series data analysis, and we apply the framework to the problem of time varying volatility modeling. Existing parametric models have a rigid transition function form and they often have over-fitting problems when model parameters are estimated using maximum likelihood methods. These drawbacks effect the models' forecast performance. To solve this problem, we take Bayesian nonparametric modeling approach.
    [Show full text]
  • Gaussian-Random-Process.Pdf
    The Gaussian Random Process Perhaps the most important continuous state-space random process in communications systems in the Gaussian random process, which, we shall see is very similar to, and shares many properties with the jointly Gaussian random variable that we studied previously (see lecture notes and chapter-4). X(t); t 2 T is a Gaussian r.p., if, for any positive integer n, any choice of coefficients ak; 1 k n; and any choice ≤ ≤ of sample time tk ; 1 k n; the random variable given by the following weighted sum of random variables is Gaussian:2 T ≤ ≤ X(t) = a1X(t1) + a2X(t2) + ::: + anX(tn) using vector notation we can express this as follows: X(t) = [X(t1);X(t2);:::;X(tn)] which, according to our study of jointly Gaussian r.v.s is an n-dimensional Gaussian r.v.. Hence, its pdf is known since we know the pdf of a jointly Gaussian random variable. For the random process, however, there is also the nasty little parameter t to worry about!! The best way to see the connection to the Gaussian random variable and understand the pdf of a random process is by example: Example: Determining the Distribution of a Gaussian Process Consider a continuous time random variable X(t); t with continuous state-space (in this case amplitude) defined by the following expression: 2 R X(t) = Y1 + tY2 where, Y1 and Y2 are independent Gaussian distributed random variables with zero mean and variance 2 2 σ : Y1;Y2 N(0; σ ). The problem is to find the one and two dimensional probability density functions of the random! process X(t): The one-dimensional distribution of a random process, also known as the univariate distribution is denoted by the notation FX;1(u; t) and defined as: P r X(t) u .
    [Show full text]
  • Gaussian Markov Processes
    C. E. Rasmussen & C. K. I. Williams, Gaussian Processes for Machine Learning, the MIT Press, 2006, ISBN 026218253X. c 2006 Massachusetts Institute of Technology. www.GaussianProcess.org/gpml Appendix B Gaussian Markov Processes Particularly when the index set for a stochastic process is one-dimensional such as the real line or its discretization onto the integer lattice, it is very interesting to investigate the properties of Gaussian Markov processes (GMPs). In this Appendix we use X(t) to define a stochastic process with continuous time pa- rameter t. In the discrete time case the process is denoted ...,X−1,X0,X1,... etc. We assume that the process has zero mean and is, unless otherwise stated, stationary. A discrete-time autoregressive (AR) process of order p can be written as AR process p X Xt = akXt−k + b0Zt, (B.1) k=1 where Zt ∼ N (0, 1) and all Zt’s are i.i.d. Notice the order-p Markov property that given the history Xt−1,Xt−2,..., Xt depends only on the previous p X’s. This relationship can be conveniently expressed as a graphical model; part of an AR(2) process is illustrated in Figure B.1. The name autoregressive stems from the fact that Xt is predicted from the p previous X’s through a regression equation. If one stores the current X and the p − 1 previous values as a state vector, then the AR(p) scalar process can be written equivalently as a vector AR(1) process. Figure B.1: Graphical model illustrating an AR(2) process.
    [Show full text]
  • FULLY BAYESIAN FIELD SLAM USING GAUSSIAN MARKOV RANDOM FIELDS Huan N
    Asian Journal of Control, Vol. 18, No. 5, pp. 1–14, September 2016 Published online in Wiley Online Library (wileyonlinelibrary.com) DOI: 10.1002/asjc.1237 FULLY BAYESIAN FIELD SLAM USING GAUSSIAN MARKOV RANDOM FIELDS Huan N. Do, Mahdi Jadaliha, Mehmet Temel, and Jongeun Choi ABSTRACT This paper presents a fully Bayesian way to solve the simultaneous localization and spatial prediction problem using a Gaussian Markov random field (GMRF) model. The objective is to simultaneously localize robotic sensors and predict a spatial field of interest using sequentially collected noisy observations by robotic sensors. The set of observations consists of the observed noisy positions of robotic sensing vehicles and noisy measurements of a spatial field. To be flexible, the spatial field of interest is modeled by a GMRF with uncertain hyperparameters. We derive an approximate Bayesian solution to the problem of computing the predictive inferences of the GMRF and the localization, taking into account observations, uncertain hyperparameters, measurement noise, kinematics of robotic sensors, and uncertain localization. The effectiveness of the proposed algorithm is illustrated by simulation results as well as by experiment results. The experiment results successfully show the flexibility and adaptability of our fully Bayesian approach ina data-driven fashion. Key Words: Vision-based localization, spatial modeling, simultaneous localization and mapping (SLAM), Gaussian process regression, Gaussian Markov random field. I. INTRODUCTION However, there are a number of inapplicable situa- tions. For example, underwater autonomous gliders for Simultaneous localization and mapping (SLAM) ocean sampling cannot find usual geometrical models addresses the problem of a robot exploring an unknown from measurements of environmental variables such as environment under localization uncertainty [1].
    [Show full text]
  • Mean Field Methods for Classification with Gaussian Processes
    Mean field methods for classification with Gaussian processes Manfred Opper Neural Computing Research Group Division of Electronic Engineering and Computer Science Aston University Birmingham B4 7ET, UK. opperm~aston.ac.uk Ole Winther Theoretical Physics II, Lund University, S6lvegatan 14 A S-223 62 Lund, Sweden CONNECT, The Niels Bohr Institute, University of Copenhagen Blegdamsvej 17, 2100 Copenhagen 0, Denmark winther~thep.lu.se Abstract We discuss the application of TAP mean field methods known from the Statistical Mechanics of disordered systems to Bayesian classifi­ cation models with Gaussian processes. In contrast to previous ap­ proaches, no knowledge about the distribution of inputs is needed. Simulation results for the Sonar data set are given. 1 Modeling with Gaussian Processes Bayesian models which are based on Gaussian prior distributions on function spaces are promising non-parametric statistical tools. They have been recently introduced into the Neural Computation community (Neal 1996, Williams & Rasmussen 1996, Mackay 1997). To give their basic definition, we assume that the likelihood of the output or target variable T for a given input s E RN can be written in the form p(Tlh(s)) where h : RN --+ R is a priori assumed to be a Gaussian random field. If we assume fields with zero prior mean, the statistics of h is entirely defined by the second order correlations C(s, S') == E[h(s)h(S')], where E denotes expectations 310 M Opper and 0. Winther with respect to the prior. Interesting examples are C(s, s') (1) C(s, s') (2) The choice (1) can be motivated as a limit of a two-layered neural network with infinitely many hidden units with factorizable input-hidden weight priors (Williams 1997).
    [Show full text]
  • When Gaussian Process Meets Big Data
    IEEE 1 When Gaussian Process Meets Big Data: A Review of Scalable GPs Haitao Liu, Yew-Soon Ong, Fellow, IEEE, Xiaobo Shen, and Jianfei Cai, Senior Member, IEEE Abstract—The vast quantity of information brought by big GP paradigms. It is worth noting that this review mainly data as well as the evolving computer hardware encourages suc- focuses on scalable GPs for large-scale regression but not on cess stories in the machine learning community. In the meanwhile, all forms of GPs or other machine learning models. it poses challenges for the Gaussian process (GP) regression, a d n well-known non-parametric and interpretable Bayesian model, Given n training points X = xi R i=1 and their { ∈ n } which suffers from cubic complexity to data size. To improve observations y = yi = y(xi) R , GP seeks to { ∈ }i=1 the scalability while retaining desirable prediction quality, a infer the latent function f : Rd R in the function space variety of scalable GPs have been presented. But they have not (m(x), k(x, x′)) defined by the7→ mean m(.) and the kernel yet been comprehensively reviewed and analyzed in order to be kGP(., .). The most prominent weakness of standard GP is that well understood by both academia and industry. The review of it suffers from a cubic time complexity (n3) because of scalable GPs in the GP community is timely and important due O to the explosion of data size. To this end, this paper is devoted the inversion and determinant of the n n kernel matrix × to the review on state-of-the-art scalable GPs involving two main Knn = k(X, X).
    [Show full text]
  • Stochastic Optimal Control Using Gaussian Process Regression Over Probability Distributions
    Stochastic Optimal Control Using Gaussian Process Regression over Probability Distributions Jana Mayer1, Maxim Dolgov2, Tobias Stickling1, Selim Özgen1, Florian Rosenthal1, and Uwe D. Hanebeck1 Abstract— In this paper, we address optimal control of non- In this paper, we will refer to the term value function without linear stochastic systems under motion and measurement uncer- loss of generality. tainty with finite control input and measurement spaces. Such A solution to a stochastic control problem can be found problems can be formalized as partially-observable Markov decision processes where the goal is to find policies via dy- using the dynamic programming (DP) algorithm that is based namic programming that map the information available to the on Bellman’s principle of optimality [1]. This algorithm relies controller to control inputs while optimizing a performance on two key principles. First, it assumes the existence of criterion. However, they suffer from intractability in scenarios sufficient statistics in form of a probability distribution that with continuous state spaces and partial observability which encompasses all the information up to the moment of policy makes approximations necessary. Point-based value iteration methods are a class of global approximate methods that regress evaluation. And second, it computes the policy by starting at the value function given the values at a set of reference points. the end of the planning horizon and going backwards in time In this paper, we present a novel point-based value iteration to the current time step and at every time step choosing a approach for continuous state spaces that uses Gaussian pro- control input that minimize the cumulative costs maintained cesses defined over probability distribution for the regression.
    [Show full text]
  • The Variational Gaussian Process
    Published as a conference paper at ICLR 2016 THE VARIATIONAL GAUSSIAN PROCESS Dustin Tran Harvard University [email protected] Rajesh Ranganath Princeton University [email protected] David M. Blei Columbia University [email protected] ABSTRACT Variational inference is a powerful tool for approximate inference, and it has been recently applied for representation learning with deep generative models. We de- velop the variational Gaussian process (VGP), a Bayesian nonparametric varia- tional family, which adapts its shape to match complex posterior distributions. The VGP generates approximate posterior samples by generating latent inputs and warping them through random non-linear mappings; the distribution over random mappings is learned during inference, enabling the transformed outputs to adapt to varying complexity. We prove a universal approximation theorem for the VGP, demonstrating its representative power for learning any model. For inference we present a variational objective inspired by auto-encoders and perform black box inference over a wide class of models. The VGP achieves new state-of-the-art re- sults for unsupervised learning, inferring models such as the deep latent Gaussian model and the recently proposed DRAW. 1 INTRODUCTION Variational inference is a powerful tool for approximate posterior inference. The idea is to posit a family of distributions over the latent variables and then find the member of that family closest to the posterior. Originally developed in the 1990s (Hinton & Van Camp, 1993; Waterhouse et al., 1996; Jordan et al., 1999), variational inference has enjoyed renewed interest around developing scalable optimization for large datasets (Hoffman et al., 2013), deriving generic strategies for easily fitting many models (Ranganath et al., 2014), and applying neural networks as a flexible parametric family of approximations (Kingma & Welling, 2014; Rezende et al., 2014).
    [Show full text]