Deep Regression Bayesian Network
and Its Applications
Deep directed generative models have attracted much attention recently due to their generative modeling nature and powerful data representation ability. In this paper, we review different structures of deep directed generative models and the learning and inference algorithms associated with the structures. We focus on a specific structure that consists of layers of Bayesian Networks due to the property of capturing inherent and rich dependencies among latent variables. The major difficulty of learning and inference with deep directed models with many latent variables is the intractable inference due to the dependencies among the latent variables and the exponential number of latent variable configurations. Current solutions use variational methods often through an auxiliary network to approximate the posterior probability inference. In contrast, inference can also be performed directly without using any auxiliary network to maximally preserve the dependencies among the latent variables. Specifically, by exploiting the sparse representation with the latent space, max-max instead of max-sum operation can be used to overcome the exponential number of latent configurations. Furthermore, the max-max operation and augmented coordinate ascent are applied to both supervised and unsupervised learning as well as to various inference. Quantitative evaluations on benchmark datasets of different models are given for both data representation and feature learning tasks.
Deep learning has become a major enabling technology for computer vision. By exploiting its multi-level representation and the availability of the big data, deep learning has led to dramatic performance improvements for certain tasks. Among different deep learning architectures, the Convolutional Neural Networks (CNNs) have achieved the most significant development and are being widely employed in computer vision in recent years. CNNs, however, are typically discriminative models and they are built mainly for discriminative tasks, such as classification. For generative modeling, the model needs capture the underlying data distribution as well as the mechanisms used to generate data, including the uncertainties in the data and in the data generation process. CNNs are therefore not directly suitable for generative modeling. The latest development in Generative Adversarial Nets (GANs)  can perform effective data generation. Based on combining a discriminative CNN with a generative de-convolutional neural network (DCNN), GANs produce remarkable performance in generating realistic data. Since GANs employ a simple standardized random vector to model data uncertainty; they remain mostly deterministic and cannot fully model the uncertainties in data.
In this paper we focus on a fully probabilistic deep directed generative models for deep learning under uncertainty that can simultaneously perform data generation and classification tasks. Based on probability theories, deep probabilistic generative models offer a probabilistically grounded framework to represent, learn, and to predict under uncertainty. There exists several types of probabilistic deep generative models, most notably the Deep Boltzmann Machines (DBMs)  (Fig. 1 (c)) and the Deep Belief Networks (DBNs)  (Fig. 1 (b)). While generative in nature, these models, for the sake of simplicity in inference, typically assume latent variables are independent given data. Such an assumption weakens their data modeling and representation power. In contrast, deep directed generative model consists of layers of Bayesian Networks as shown in (Fig. 1 (a)). Compared to DBMs and DBNs, the deep directed generative model enjoys several advantages due to its unique way in capturing dependencies. First, it specifically models the data generation process and allows straightforward ancestry sampling, where a node is sampled following a topological order, starting from its ancestors until its descendants. Second, there is no intractable partition function that has plagued the undirected models. Last but most importantly, latent nodes in the deep directed generative models are dependent on each other given inputs (because of the “explaining away” principle) while it is not the case for DBN and DBM. This characteristic of the deep directed generative models endows them powerful ability in modeling the complex pattern in data.
Learning and inference in deep directed generative models is challenging, mainly due to the intractable computation of the posterior probability of the latent variables and the exponential number of latent configurations (for binary latent variables). Various approximations such as variational inference algorithms [26, 2, 10, 15, 21, 8] have been proposed to address these challenges. They all use an auxiliary feed forward network to approximately solve the intractable posterior probability inference problem. These approximations typically assume the joint latent variable distribution given data can be factorized. The factorized distribution, while simplifying the learning and inference, sacrifices the dependencies among the latent variables for efficiency. They inevitably enlarge the distance to the true posterior and weakens the representation power of the model. This negates a major advantage of the directed graphical models. Moreover, the existing methods avoid the exponential number of latent configurations as they mostly deal with real latent nodes.
Alternatively, the posterior inference can be solved directly, without resorting to any other network. Furthermore, efficient learning and inference methods can be designed to maximally preserve the dependencies among the latent variables. Specifically, for learning, data marginal log-likelihood can be maximized directly through a max-max operation to overcome the exponential number of latent configurations. For inference, posterior probability inference can be performed through the pseudo-likelihood, which also preserves dependencies of latent variables. Furthermore, improved MAP inference can be achieved by combining coordinate ascent method with variational method.
The rest of the paper is structured as follows. In Section II we review related deep probabilistic generative models. In Section III we discuss the structure of a special kind of deep directed models, deep regression Bayesian networks (DRBNs). The learning and inference algorithms for DRBN are discussed in Section IV and V respectively. Experimental evaluation of related models on data representation and classification is presented in Section VI and VII, and the paper is concluded in Section VIII.
Ii Related Work
In general, there are three types of deep probabilistic generative models: fully directed, hybrid, and fully undirected. The DBN (Fig. 1 (b)) has a hybrid structure, where the top two layers are connected with undirected links and all other layers are connected with directed links. The DBM (Fig. 1 (c)) has a fully undirected structure such that every two consecutive layers are connected using undirected links. In this paper, we focus on the fully directed deep generative models due to their unique representation power. Depending on the structure and the type of variables, the directed generative models have several variants. The most commonly used structure consists of multiple layers (Fig. 1 (a)), in which only the bottom layer represents the visible variables. The connections are directed from the upper layer to the lower layer, and no connection within each layer is allowed.
Depending on the types of variables, deep directed generative models can be categorized into deep sigmoid belief networks (SBNs) [24, 31, 21], deep Poisson factor analysis (DPFA) , deep factor analysers (DFAs) , and deep Gaussian mixture models (DGMMs) . The deep SBN contains binary latent and visible variables, and the conditional probability is defined using a sigmoid function. The DPFA models discrete variables (e.g., counts of words in documents) using binary latent variables. Dirichlet prior and gamma prior are placed to describe a Poisson distribution of input data. The DFA consists of continuous latent and mixtured types of variables. The DGMM is an extension of the Gaussian mixture model, while each latent node represents a linear operation to compute the mean and covariance matrix for the Gaussian distribution.
In this paper, we focus on deep directed generative model with binary latent variables. Compared to earlier SBN work [24, 31, 21], the deep directed generative models represent an extension in both representation and learning and inference methods. In terms of representation, it allows representing different input and output types (discrete, continuous, and hybrid), while SBN only uses binary input. For learning, DRBN allows both unsupervised and supervised layer-wise and global learning, while SBN work only includes layerwise unsupervised learning. For inference, DRBN allows of different algorithms such as the pseudo-likelihood method for posterior probability inference and augmented coordinate ascent method for MAP inference, while literatures for SBN generally use variational methods for inference.
For deep directed generative models, computing the posterior becomes intractable due to dependencies among the latent variables. To address this issue, one approach is to design a special prior to make the latent variables conditionally independent such as the complementary prior  for DBNs, wherein the posterior probability for each latent variable can be computed individually. Another popular approach is to replace the true posterior distribution with a factorized distribution as an approximation, known as variational methods. The mean field theory  for learning sigmoid belief networks (SBNs) makes the latent variables totally independent. A set of variational parameters is learned to minimize the Kullback-Leibler (KL) divergence between the true posterior and the approximate one. Another approximate inference algorithm is the Markov chain Monte Carlo (MCMC) method, which can be used to estimate the posterior probability of both latent variables and parameters. One example is the learning and inference for deep latent Gaussian models .
To extend the traditional variational methods, recent works typically use an auxiliary network to address the computational challenge with posterior probability inference. Specifically, the wake-sleep algorithm  augments the SBNs with a feed-forward recognition network for efficient inference. Mnih and Gregor  propose a variational inference network with discrete latent variables to perform efficient inference. Rezende et al.  and Kingma and Welling  introduced a recognition model to efficiently approximate posterior probability inference. The deep generative model can be learned by jointly optimization of the parameters for both generative and the recognition models. Ranganath et al.  introduces a new method to reduce the variance of the noisy gradients for varational based deep model learning. The overall structure of  is similar to , by building connections between the recognition model and generative model rather than learning them independently.
All these approaches use a feed forward model to perform posterior probability inference. The feed forward models all assume the posterior probability can be factorized. The posterior probability inference is hence approximate. In contrast, posterior probability inference can be done via coordinate ascent without the help of any auxiliary network or variational distribution, therefore during learning we do not need to assume conditional independence among the latent variables. Moreover, by initializing the coordinate ascent method with the inference result from a variational method, augmented coordinate ascent method can produce better reconstruction results than the existing variational models.
One of the latest development in deep generative modeling is the Generative Adversarial Nets (GAN) [8, 10], which employs both a discriminator and a generator. The generator is a deep generative model, which is trained to generate realistic synthetic data. The discriminator is a neural network trained to discriminate synthetic data from real data. The two networks compete against with each other until the discriminator is maximally confused. Specifically, Han et al.  uses a nonlinear factor analyzer as the generator network. By performing the alternating back-propagation, the generator network can be learned to generate realistic images, sequences and sounds. Despite its impressive generative performance, GANs are essentially a deterministic model as the data uncertainty is modeled by a standard random vector. They hence cannot effectively capture the probabilistic distribution of the data. Furthermore, GANs can only perform data generation tasks and cannot perform classification tasks. By combining a variational autoencoder with a generative adversarial network, Larson et al.  introduced a novel metric for similarity measurement when reconstructing the training samples during parameter updating, which achieves better generalization performance. Variational autoencoders and GANs are further combined in , with a clear theoretical justification and the ability for arbitrary complex inference.
Iii Deep Regression Bayesian Networks
Iii-a Regression Bayesian Networks
To construct a deep directed generative model, Bayesian Network (BN) is used as the building block. A BN is parameterized by the conditional probability for each node, given its parents. The number of parameters for each node increases exponentially with the number of parents of each node. In order to scale up to models with a large number of latent variables, Regression BNs (RBNs) are employed to limit the number of parameters linearly with the number of connections .
The RBN consists of two layers: one visible layer of dimension and one latent layer of dimension , as shown in Fig. 2 (a). Every latent variable connects to every visible variable with a directed edge. For continuous data vector and binary latent variables in which each node takes value or , the prior and conditional probabilities of the model are defined as,
where is the sigmoid function; represents the Gaussian distribution with mean and variance . is the weight matrix, is the weight of the link connecting nodes and , where , . and are the bias parameters for and respectively, and are the conditional variances for . This generative model can be viewed as a diagonal Gaussian mixture model with the number of components exponential in the number of latent variables. For binary data, the prior probability of the latent node remains the same and the conditional probability is,
Through the parameterization in Eq. 2, the mean of a Bernoulli node is the sigmoid function of linear combination of all nodes in the previous layer. RBN can be seen as a probabilistic generalization to Neural Network, where the value of nodes in the current layer is the nonlinear transformation (e.g. via a sigmoid activation) of the linear combination of all nodes in the previous layer. With the prior and conditional distributions, the joint distribution for and is,
Similarly, we can produce the joint probability for RBN with binary input by combining Eq. 3 with Eq. 1. The energy function in Eq. 6 is very similar to the energy function for the Gaussian-Bernoulli Restricted Boltzmann Machine (GRBM)  in Eq. 7.
Comparing the two equations, it is clear that the energy function for RBN has an extra term (the last term of Eq. (6)). This extra term explicitly captures the relationship among latent variables. This represents a major representation difference between RBNs and RBMs.
Iii-B Deep Regression Bayesian Networks
By stacking multiple RBNs, we are able to construct a deep directed generative model with latent layers, called Deep Regression Bayesian Networks (DRBNs) (Fig. 2 (b)). Let denote the binary latent variables in layer , and . Denote the parameters between layer and as . Top layer parameters are . The prior probability for a variable of the top layer is,
The conditional probability for the remaining layers is,
By fully capturing the joint probability distribution of input data and latent variables, DRBN can accurately capture three types of dependencies among different variables, namely dependencies among input variables, dependencies among hidden variables, and interactions between hidden and input variables. Because of its explicit capture of these dependencies, compared with DBNs and DBMs, DRBNs can better capture the data distribution. Compared with the GANs, DRBNs explicitly capture the underlying probabilistic data distribution and can perform both data modeling and prediction tasks.
Iii-C Comparison with Deep Neural Networks
Compared with Deep Neural Networks (DNNs), DRBNs consist of layers of Regression BNs. Each hidden layer of BN hence captures the distribution of the input data at different levels. In contrast, DNNs consist of layer of perceptions and each hidden layer summarizes the sufficient statistics (such as the mean) of the input at different levels. Hence, the main difference between DRBNs and DNNs is that DRBN captures the probabilistic distribution of the data, while DNN captures mean statistics of the data. Based on this understanding, DRBN represents a generalization to DNN and DRBN becomes DNN if the conditional variance for each latent node becomes zero. DRBN is therefore more powerful in data representation, in particular in representing the uncertainties in the data. On the other hand, the power in representation also leads to challenges in DRBN learning and inference and in its ability to scale up. DNNs are much better than DRBNs in efficient inference and learning, and in scaling up to large model. This explains why so far DNNs remain the dominant deep model architecture. But the promise of DRBN in data representation deserves further research to address its challenges.
Iv DRBN Learning
Iv-a Unsupervised Learning
We first discuss the unsupervised RBN learning and then extend it to DRBN learning. The goal of unsupervised parameter learning for an RBN is to estimate the parameters given a set of data samples . To maximally preserve the dependencies among the latent variables, it would be better to directly maximize the marginal log-likelihood instead of its surrogate (such as its lower bound), i.e.,
Maximizing the marginal likelihood has two computational challenges: (1) computing the posterior probability is intractable even for one configuration due to the dependencies among elements of ; (2) there are exponential number of terms in the summation over . To address these two challenges, can be estimated by replacing the max-sum operation in Eq. 11 with the max-max operation below, i.e.,
The rational for replacing the max-sum with max-max operation is based on the empirical observation that the distribution of is very sparse, with its energy concentrated on a few configurations of near its maximum. The max-max operation may be achieved iteratively in two steps. First, for each training sample , we obtain that maximizes , given current parameters , i.e.,
Second, given , can be estimated by maximizing , i.e.,
The two steps iterate until convergence. Eq. 13 can be solved through the augmented coordinate ascent method to be discussed in section V-B. Eq. 14 can be solved in closed form solution for continuous input or through stochastic gradient ascent for binary input.
Learning a DRBN with multiple latent layers consists of two steps: layerwise pre-training and global fine-tuning. Layerwise pre-training is a bottom-up procedure. When learning the parameters for the th layer, the parameters below are frozen, and the input to the th layer is , which is obtained though . Given its input, can be learned the same way using the RBN learning method. The layerwise learning does not consider the interactions among the layers. A global fine-tuning can then be performed. Initialized by the parameters learnt by layer-wise learning, the global fine tuning procedure simultaneously refines the parameters at different layers such that parameters in the higher layers can influence those in the lower layers. Specifically, global fine tuning updates the parameters in all layers by maximizing the marginal likelihood of the data, i.e.,
Iv-B Supervised Learning
For applications where labels is given for each sample as shown in Fig. 1, supervised learning can be performed. For classification tasks, discriminative supervised learning can be performed. The objective function is modified to maximize the log posterior probability of the labels,
We encounter the same computational challenges in solving Eq. 15. This challenge can be alleviated by replacing the max-sum operation with the max-max operation (Eq. 16),i.e., which can be solved similarly through the two-step iteration process.
Like unsupervised learning, Eq. 16 can be applied to both layerwise and global DRBN learning. In order to achieve a good initialization of parameters, the generative model is first trained in an unsupervised manner. The objective function is then changed to the supervised one, and parameters are tuned in a supervised manner.
V DRBN Inference
Given a DRBN with known parameters, there are three types of inferences: posterior probability inference, MAP inference, and likelihood inference. In this section, we discuss efficient methods for the three types of inferences.
V-a Posterior Probability Inference
The posterior inference is to compute the posterior probability of the latent variables given the input data, i.e., to compute . Because of the dependencies among , directly computing is computationally intractable when the dimension of is high. The pseudo-likelihood method offers an efficient solution to this problem by replacing the conditional likelihood with a more tractable objective. The pseudo-likelihood method considers the following approximation,
where . In this approximation, conditioning is added over additional variables. The conditional pseudo-likelihood can be factorized into local conditional probabilities, which can be computed in parallel. The pseudo-likelihood approximation, however, requires an initialization of .
V-B MAP Inference
MAP inference is to estimate the most likely hidden layer configuration , given an input , i.e., . Directly performing MAP inference is computationally intractable as we need enumerate all possible hidden layer configurations. Coordinate ascent method was introduced to overcome this challenge, by iteratively maximizing one latent variable at a time. From an initial state of the latent vector , the coordinate ascent method updates one latent variable by fixing all other variables iteratively,
This iterative updating rule guarantees that the posterior probability will only increase until convergence due to the inequality: . As a greedy approach, the coordinate ascent method may get stuck in a local optimum. Thus, the initialization for Eq. 18 is crucial to ensure a configuration with high quality. To address this issue, the variational inference approach may be employed to learn an inference network  from the DRBN. The inference result from the inference network is used as initialization for the coordinate ascent, yielding the augmented coordinate ascent method.
The inference network method  approximates the posterior using only one set of parameters for all data samples by defining a feed-forward network for . Inference network also assumes independencies among latent variables given input data,
Each individual probability is defined using a sigmoid function,
The parameters are learned by minimizing the average KL divergence over all the training samples. Similarly, the optimization is through the expected log-likelihood due to the intractable ,
The coordinate ascent method requires to compute for each . Naive computation can become prohibitive, given a large number of hidden variables. Taking discrete input data as illustration, according to Eq. 4, the computation of joint probability requires times of multiplication of the exponential terms. This can become very expensive when and are large. Since each time, only one element of is changed and the probabilities for other elements remain the same. An efficient procedure to recursively compute can be written as,
where the probability ratio can be further written as,
The first two terms in Eq. 23 are constant for a given . They need be computed only once. For the last term, either numerator or denominator can be retrieved from the last iteration, depending on the last value of . This means we only need compute either the numerator or denominator in each iteration. This cuts the computational time by half compared to the naive computation. Furthermore, the term within the exponential term can be retrieved and updated from last iteration by one addition or subtraction. Then the probability ratio in Eq. 23 can be obtained by times of multiplication. As a result, computation time for each iteration is constant, involving one addition or subtraction and times of multiplication. The overall complexity of the coordinate ascent method is , which is linear in the size of the input data, the number of latent variables , and the number of iterations .
V-C Likelihood Inference
The likelihood inference is to compute the marginal probability of the visible variables, i.e., . Since
By replacing the sum operation above with the max operation, we have
It again can be computed by first computing using the augmented coordinate ascent method. This can then be followed by computing , which can be easily computed.
Vi Algorithm Evaluation
As discussed in Section II, DRBN’s learning method is different from variational methods, which use a factorized variational distribution to approximate the true posterior probability inference. In contrast, DRBN directly maximizes the marginal log-likelihood through a max-max operation To demonstrate the advantage of such a learning algorithm, we performed experiments to compare three learning methods: max-max learning, variational learning , and the exact learning method in terms of their ability in data representation under different number of latent nodes.
For this experiment, we trained the RBN networks on 60,000 training samples of MNIST dataset  (binarized according to ). During learning, we respectively use the max-max operation, the variational method , and the exact method (only for small network) to approximate the marginal log-likelihood. For a fair comparison, the hyper-parameters for each method are optimally tuned.
After learning, the mean log-likelihood of all training samples for RBNs learned with the three methods are summarized in Table I. It is clear from this table that the max-max method produces an average log-likelihood very close to the exact method, and is much better than the variational method. This demonstrates the improved accuracy of the max-max method in data representation over the variational methods for a small network.
We further evaluate these methods for larger networks, For network with a large number of hidden nodes, the exact method cannot be completed as the summation over becomes computationally intractable. We hence only give the mean data log-likelihood in Fig. 3 for the max-max method and the variational method under different number of hidden nodes. The estimate mean data log-likelihood is computed the same way as in Table I. We also include the mean log-likelihood of exact learning method for small RBN with 5 and 10 hidden nodes. From the curves in this figure, we can see that data log-likelihood evaluated on RBN learned with max-max method is consistently higher than the variational method, especially when the network is small. This not only further demonstrates the advantage of the max-max learning method over the variational learning method but also proves the validity of replacing max-sum operation by the max-max operation.
To demonstrate the effectiveness of the DRBN models, we will apply DRBN to different computer vision tasks to demonstrate its capability for both data representation and feature learning for classification.
Vii-a Data Representation
First, we quantitatively compare DRBN with other generative models in terms of peak signal-to-noise ratio (PSNR) in several image restoration and denoising tasks. Then, we evaluate the generative representation power of different models in terms of generating synthetic data.
The first task is image restoration, which is to restore an image from its corrupted version. It is shown that a higher likelihood of patches leads to better denoising on whole images . Therefore, we train a DRBN model on the 88 patches from the Berkeley data set , which contains 200 training and 100 testing images. One million training and 50,000 testing patches are randomly sampled from 200 training and 100 test images, respectively. A DRBN with two latent layers is used, with each layer containing 50 latent variables respectively. The total training epochs are 100. With a learnt DRBN as prior model, we use the Expected Patch Log Likelihood (EPLL)  framework to perform image restoration. The EPLL of an image is defined as,
where represents all the overlapping patches in the image. Given a corrupted image , the cost we use in order to reconstruct the image with patch prior is,
It is difficult to directly optimize the complicated cost function. We employ the Half Quadratic Slitting method  with set to , following the settings in . To perform image inpainting, we superimposed some sentences on the clean image as the noise. During optimization, both the coordinate ascent method (CA) and the augmented coordinate ascent method (AugCA) were used to perform MAP inference for each patch. Typically the CA and AugCA converge after 3 iterations, and initialization affects the final configuration of latent variables but not posterior likelihood. We compared DRBN to three state-of-the-art approaches with generic priors: Field of Experts (FoE) , KSVDG , and the Gaussian mixture model  with full covariance matrix. The quantitative results on the 100 test images are given in Table II. DRBN outperforms all other approaches in terms of PSNR values.
An example is given in Fig. 4. The images represent an (a) original image, (b) corrupted image, (c) restored image using GMM as prior model, (d) restored image using DRBN as prior model. The PSNR values for (c) and (d) are 26.31 and 29.80, respectively. It can be seen that using the GMM prior, some parts of the letters in the corrupted image remain in the restored image, especially if the background color is white. DRBN model completely removes the letters, and the PSNR values show significant improvement.
The second task for image representation is face restoration, where we use DRBN to restore a given cropped image. For this task, we put two kinds of noise on the face images from Multi-PIE data set: random noise and block occlusion, 40% of the pixels are corrupted by random noise with a standard deviation of 0.4, following the same procedure as . For the latter, 1212 blocks are superimposed on a random part of the 3232 faces with Gaussian random noise, following the same procedure as . The same MAP inference method, namely CA and AugCA is applied. Also, result from inference network (IN)  is compared with CA and AugCA. The baseline methods include the robust Boltzmann machine (RoBM) , Gaussian-Bernoulli RBM (GRBM) , and robust PCA (RPCA) . PSNR is employed to quantitatively evaluate different methods. The result is given in Table III. The AugCA method outperforms all the other methods in terms of PSNR values. In the cross-subject setting, RBN generalizes well to unseen subjects. Some examples of the reconstructed faces are given in Fig. 5.
|Method||Random Noise||Block Occlusion|
|RBN (IN) ||27.89||26.21|
Next we demonstrate DRBN’s image reconstruction ability. Different from the image restoration task presented in Fig. 5, which restores images using trained DRBN models from a given corrupted image, for image reconstruction, given an image , we first perform MAP inference to obtain the most likely latent representation and then obtain the reconstructed image via .
Fig. 6 presents some examples. For Multi-PIE data set , we trained RBN with 200 latent variables, all face images are cropped and resized to 3232. Similarly, we trained different RBN on MNIST , UnityEye  and CAS-PEAL  dataset, respectively. When training RBN on MNIST dataset, the number of hidden nodes is 50 for one hidden layer with the learning rate set to . For both UnityEye and CAS-PEAL dataset, total hidden nodes are 200, image size are 6036 and 3030 accordingly. From the images in Fig. 6 we can see that DRBN is able to effectively capture data distribution and can produce good image reconstruction.
The last task for assessing DRBN’s data representation capability is through image generation. For this task, we use pretrained DRBN model in the image reconstruction task. To generate faithful images, we sample the latent variables from its prior probabilities. Given the values of the hidden nodes, images can be generated from sampling the conditional probability of visible nodes given latent variables. Examples of generated images from Multi-PIE and CAS-PEAL data sets are shown in Fig. 7.
Vii-B Feature Learning for Regression
In this section, we applied the discriminative supervised learning for feature learning using DRBN. Given the learnt DRBN model, features in top layer can be extracted via MAP inference. The extracted features will then be used for regression tasks. We study head pose estimation and eye gaze estimation task with regression respectively.
The head pose estimation task is to predict three head pose angles (roll, pitch, and yaw) through a regression function. The Boston University head pose data set is used, the cropped faces are resized to 1515 pixels. Two latent layers are used, with 50 latent variables each. The MAP configuration of the top layer is obtained through both IN, CA and AugCA method, and is used as the features for a linear regression model. We compare the DRBN to three state-of-art model-based algorithms, namely 3D deformable head pose estimation (3D-Deform) , deformable model fitting (DMF) , and monocular head pose estimation (MHPE)  and one learning-based algorithm, distance vector field with convolutional neural networks (DVF+CNN) , with the mean absolute errors (MAEs) reported in Table IV. The DRBN achieves comparable performance comparing to these competing algorithms. Note that the resolution of the face image used in DRBN is much smaller (1515) than other models (typically 320240), and no 3D information is used. This indicates the potential of using DRBN for head pose estimation in extremely low resolution images.
|DRBN (IN) ||4.8||3.8||3.7|
For the task of eye gaze estimation, we choose the MPII data set  because it covers a wide range of recording locations and times, illuminations, and eye appearances. The data set contains 213,659 images from 15 subjects. The goal of our experiment is to map the eye images to the pitch and yaw eye gaze angles. The size of the cropped eye image is 3660, yielding a 2,160-dimension vector. The DRBN has a 2160-200-200 structure. To evaluate different models, we use the within-dataset leave-one-subject-out evaluation, in which the eye images from one subject are used for testing, and all the other images are used for training. The regression accuracies of different inference algorithms for each angle are given in Table V. As competing algorithms, we include the convolutional neural network (CNN) , k-Nearest Neighbors (kNN) , adaptive linear regression (ALR) , and support vector regression (SVR) . The DRBN achieves comparable performance in terms of the mean average errors, demonstrating its effectiveness to capture the inherent patterns in the eye images. The experiment results show that DRBNs are able to learn high quality features for regression tasks.
Experimental results in sections VII-A and VII-B show that DRBN can perform both generative and discriminative tasks, even though its discriminative performance may not match state of the art CNN models.
In this paper, we review different structures of deep directed generative models and their learning and inference algorithms. We focus on a specific version of deep generative models, Deep Regression Bayesian Networks (DRBN). Compared to other deep learning models, DRBN can better capture the data distribution because of its explicitly capturing the dependencies among the latent variables. Various algorithms are reviewed and compared, including the efficient inference and learning methods of replacing the max-sum operation with max-max operation and the augmented coordinate ascent method for MAP inference. Extensive experiments on benchmark datasets for both data generation and classification tasks are presented, including image restoration, face reconstruction, head pose estimation, and eye gaze estimation. They experiments demonstrate the competitive performance of DRBNs for both data representation and feature learning tasks.
-  S. Asteriadis, K. Karpouzis, and S. Kollias. Visual focus of attention in non-calibrated environments using gaze estimation. Int. J. Comput. Vis., 107(3):293–316, May 2014.
-  Philip Bachman. An architecture for deep, hierarchical generative models. In Proc. Adv. Neural Inf. Process. Syst., 2016.
-  B. Liu D. Zhou, X. Zhang and W. Gao. Introduction of the jdl large-scale facial database. In The 4th Chinese Conference on Biometrics Recognition (Sinobiometrics’03), 2003.
-  L. Morency P. Robin-son E. Wood, T. Baltrušaitis and A. Bulling., editors. Learning an appearance-based gaze estimator from one million synthesised images. In Proc. ACM Symposium on Eye Tracking Research and Applications, 2016.
-  Michael Elad and Michal Aharon. Image denoising via sparse and redundant representations over learned dictionaries. IEEE Trans. Image Process., 15(12):3736–3745, Dec. 2006.
-  Z. Gan, C. Chen, R. Henao, D. Carlson, and L. Carin. Scalable deep poisson factor analysis for topic modeling. In Proc. Int. Conf. Mach. Learn., pages 1823–1832, Lille, France, 2015.
-  Donald Geman and Chengda Yang. Nonlinear image recovery with half-quadratic regularization. IEEE Trans. Image Process., 4(7):932–946, Jul. 1995.
-  Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Proc. Adv. Neural Inf. Process. Syst., pages 2672–2680, Montreal, Canada, 2014.
-  Ralph Gross, Iain Matthews, Jeffrey Cohn, Takeo Kanade, and Simon Baker. Multi-pie. Image Vis. Comput., 28(5):807–813, May 2010.
-  Tian Han, Yang Lu, Song-Chun Zhu, and Ying Nian Wu. Alternating back-propagation for generator network. In Association for the Advancement of Artificial Intelligence, 2017.
-  Geoffrey Hinton, Simon Osindero, and Yee-Whye Teh. A fast learning algorithm for deep belief nets. Neural Comput., 18(7):1527–1554, Jul. 2006.
-  Geoffrey Hinton and Ruslan Salakhutdinov. Reducing the dimensionality of data with neural networks. Science, 313(5786):504–507, Jul. 2006.
-  Geoffrey E Hinton, Peter Dayan, Brendan J Frey, and Radford M Neal. The “wake-sleep” algorithm for unsupervised neural networks. Science, 268(5214):1158–1161, May 1995.
-  Matthew D Hoffman. Learning deep latent gaussian models with markov chain monte carlo. In International Conference on Machine Learning, pages 1510–1519, 2017.
-  Diederik P Kingma and Max Welling. Auto-encoding variational Bayes. In Proc. Int. Conf. Learn. Representations, Banff, Canada, 2014.
-  Anders Boesen Lindbo Larsen, Søren Kaae Sønderby, Hugo Larochelle, and Ole Winther. Autoencoding beyond pixels using a learned similarity metric. In 33rd International Conference on Machine Learning (ICML 2016), 2016.
-  Bottou L. Bengio Y. LeCun, Y. and P. Haffner. Gradient-based learning applied to document recognition. In Proceedings of the IEEE, 1998.
-  Feng Lu, Yusuke Sugano, Takahiro Okabe, and Yoichi Sato. Adaptive linear regression for appearance-based gaze estimation. IEEE Trans. Pattern Anal. Mach. Intell., 2014.
-  David Martin, Charless Fowlkes, Doron Tal, and Jitendra Malik. A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics. In Proc. 8th IEEE Int. Conf. Comput. Vis., volume 2, pages 416–423, Vancouver, Canada, 2001.
-  Lars Mescheder, Sebastian Nowozin, and Andreas Geiger. Adversarial variational bayes: Unifying variational autoencoders and generative adversarial networks. arXiv preprint arXiv:1701.04722, 2017.
-  Andriy Mnih and Karol Gregor. Neural variational inference and learning in belief networks. In Proc. 31st Int. Conf. Mach. Learn., Beijing, China, 2014.
-  L. Morency, J. Whitehill, and J. Movellan. Monocular head pose estimation using generalized adaptive view-based appearance model. Image Vis. Comput., 28(5):754–761, May 2010.
-  Iain Murray and Ruslan R Salakhutdinov. Evaluating probabilities under high-dimensional latent variable models. In Proc. Adv. Neural Inf. Process. Syst., pages 1137–1144, Vancouver, Canada, 2009.
-  Radford M Neal. Connectionist learning of belief networks. Artif. Intell., 56(1):71–113, Jul. 1992.
-  Rajesh Ranganath, Sean Gerrish, and David Blei. Black box variational inference. In Artificial Intelligence and Statistics, pages 814–822, 2014.
-  Danilo J Rezende, Shakir Mohamed, and Daan Wierstra. Stochastic backpropagation and approximate inference in deep generative models. In Proc. 31st Int. Conf. Mach. Learn., pages 1278–1286, Beijing, China, 2014.
-  Frank Rijmen. Bayesian networks with a logistic regression model for the conditional probabilities. Int. J. Approx. Reason., 48(2):659–666, Jun. 2008.
-  Stefan Roth and Michael J Black. Fields of experts: A framework for learning image priors. In Proc. IEEE Conf. Comput. Vis. Pattern Recognit., 2005.
-  Ruslan Salakhutdinov and Geoffrey E Hinton. Deep Boltzmann machines. In Proc. Conf. Artif. Intell. Statist., pages 448–455, Clearwater Beach, FL, 2009.
-  J. Saragih, S. Lucey, and J. Cohn. Deformable model fitting by regularized landmark mean-shift. Int. J. Comput. Vis., 91(2):200–215, Jan. 2011.
-  Lawrence K Saul, Tommi Jaakkola, and Michael I Jordan. Mean field theory for sigmoid belief networks. J. Artif. Intell. Res., 4(61):76, Jan. 1996.
-  Timo Schneider, Boris Schauerte, and Rainer Stiefelhagen. Manifold alignment for person independent appearance-based gaze estimation. In Proc. 22nd Int. Conf. Pattern Recognit., pages 1167–1172, Stockholm, Sweden, 2014.
-  Yusuke Sugano, Yasuyuki Matsushita, and Yoichi Sato. Learning-by-synthesis for appearance-based 3D gaze estimation. In Proc. IEEE Conf. Comput. Vis. Pattern Recognit., pages 1821–1828, Columbus, OH, 2014.
-  Yichuan Tang, Geoffrey E Hinton, and Ruslan Salakhutdinov. Deep mixtures of factor analysers. In Proc. 29th Int. Conf. Mach. Learn., pages 505–512, Edinburgh, Scotland, 2012.
-  Yichuan Tang, Ruslan Salakhutdinov, and Geoffrey Hinton. Robust Boltzmann machines for recognition and denoising. In Proc. 25th IEEE Conf. Comput. Vis. Pattern Recognit., pages 2264–2271, Providence, RI, 2012.
-  Aaron van den Oord and Benjamin Schrauwen. Factoring variations in natural images with deep Gaussian mixture models. In Proc. Adv. Neural Inf. Process. Syst., pages 3518–3526, Montreal, Canada, 2014.
-  F. Vicente, Z. Huang, X. Xiong, F. De la Torre, W. Zhang, and D. Levi. Driver gaze tracking and eyes off the road detection system. IEEE Trans. Intell. Transp. Syst., 2015.
-  John Wright, Arvind Ganesh, Shankar Rao, Yigang Peng, and Yi Ma. Robust principal component analysis: Exact recovery of corrupted low-rank matrices via convex optimization. In Proc. Adv. Neural Inf. Process. Syst., pages 2080–2088, Vancouver, Canada, 2009.
-  Xucong Zhang, Yusuke Sugano, Mario Fritz, and Andreas Bulling. Appearance-based gaze estimation in the wild. In Proc. IEEE Conf. Comput. Vis. Pattern Recognit., pages 4511–4520, Boston, MA, 2015.
-  Daniel Zoran and Yair Weiss. From learning models of natural image patches to whole image restoration. In Proc. IEEE Int. Conf. Comput. Vis., pages 479–486, Barcelona, Spain, 2011.