Joint Multimodal Learning with Deep Generative Models

Masahiro Suzuki, Kotaro Nakayama, Yutaka Matsuo

Introduction

In our world, information is represented through various modalities. While images are represented by pixel information, these can also be described with text or tag information. People often exchange such information bi-directionally. For instance, we can not only imagine what “a young female with a smile who does not wear glasses” looks like, but also add this caption to a corresponding photograph. To do so, it is important to extract a joint representation that captures high-level concepts among all modalities. Then we can bi-directionally generate modalities through the joint representations. However, each modality typically has a different kind of dimension and structure, e.g., images (real-valued and dense) and texts (discrete and sparse). Therefore, the relations between each modality and the joint representations might become high nonlinearity. To discover such relations, deep neural network architectures have been used widely for multimodal learning (Ngiam et al., 2011; Srivastava & Salakhutdinov, 2012). The common approach with these models to learn joint representations is to share the top of hidden layers in modality specific networks. Among them, generative approaches using deep Boltzmann machines (DBMs) (Srivastava & Salakhutdinov, 2012; Sohn et al., 2014) offer the important advantage that these can generate modalities bi-directionally.

Recently, variational autoencoders (VAEs) (Kingma & Welling, 2013; Rezende et al., 2014) have been proposed to estimate flexible deep generative models by variational inference methods. These models use back-propagation during training, so that it can be trained on large-scale and high-dimensional dataset compared with DBMs with MCMC training. Some studies have addressed to handle such large-scale and high-dimensional modalities on VAEs, but they are forced to model conditional distribution (Kingma et al., 2014; Sohn et al., 2015; Pandey & Dukkipati, 2016). Therefore, it can only generate modalities in one direction. For example, we cannot obtain generated images from texts if we train the likelihood of texts given images. To generate modalities bi-directionally, all modalities should be treated equally under the learned joint representations, which is the same as previous multimodal learning models before VAEs.

As described in this paper, we develop a novel multimodal learning model with VAEs, which we call a joint multimodal variational autoencoder (JMVAE). The most significant feature of our model is that all modalities, x\mathbf{x} and w\mathbf{w} (e.g., images and texts), are conditioned independently on a latent variable z\mathbf{z} corresponding to joint representation, i.e., the JMVAE models a joint distribution of all modalities, p(x,w)p(\mathbf{x},\mathbf{w}). Therefore, we can extract a high-level representation that contains all information of modalities. Moreover, since it models a joint distribution, we can draw samples from both p(xw)p(\mathbf{x}|\mathbf{w}) and p(wx)p(\mathbf{w}|\mathbf{x}). Because, at this time, modalities that we want to generate are usually missing, the inferred latent variable becomes incomplete and generated samples might be collapsed in the testing time when missing modalities are high-dimensional and complicated. To prevent this issue, we propose a method of preparing the new encoders for each modality, p(zx)p(\mathbf{z}|\mathbf{x}) and p(zw)p(\mathbf{z}|\mathbf{w}), and reducing the divergence between the multimodal encoder p(zx,w)p(\mathbf{z}|\mathbf{x},\mathbf{w}), which we call JMVAE-kl. This contributes to more effective bi-directional generation of modalities, e.g., from face images to texts (attributes) and vice versa (see Figure 1).

The main contributions of this paper are as follows:

We introduce a joint multimodal variational autoencoder (JMVAE), which is the first study to train joint distribution of modalities with VAEs.

We propose an additional method (JMVAE-kl), which prevents generated samples from being collapsed when some modalities are missing. We experimentally confirm that this method solves this issue.

We show qualitatively and quantitatively that JMVAE can extract appropriate joint distribution and that it can generate and reconstruct modalities similarly or more properly than conventional VAEs.

We demonstrate that the JMVAE can generate multiple modalities bi-directionally even if these modalities have completely different kinds of dimensions and structures, e.g., high-dimentional color face images and low-dimentional binary attributes.

Related work

The common approach of multimodal learning with deep neural networks is to share the top of hidden layers in modality specific networks. Ngiam et al. (2011) proposed this approach with deep autoencoders (AEs) and found that it can extract better representations than single modality settings. Srivastava & Salakhutdinov (2012) also took this idea but used deep Boltzmann machines (DBMs) (Salakhutdinov & Hinton, 2009). DBMs are generative models with undirected connections based on maximum joint likelihood learning of all modalities. Therefore, this model can generate modalities bi-directionally. Sohn et al. (2014) improved this model to exchange multiple modalities effectively, which are based on minimizing the variation of information and JMVAE-kl in ours can be regarded as minimizing it by variational inference methods (see Section 3.3 and Appendix A). However, it is computationally difficult for DBMs to train high-dimensional data such as natural images because of MCMC training.

Recently, VAEs (Kingma & Welling, 2013; Rezende et al., 2014) are used to train such high-dimensional modalities. Kingma et al. (2014); Sohn et al. (2015) propose conditional VAEs (CVAEs), which maximize a conditional log-likelihood by variational methods. Many studies are based on CVAEs to train various multiple modalities such as handwriting digits and labels (Kingma et al., 2014; Sohn et al., 2015), object images and degrees of rotation (Kulkarni et al., 2015), face images and attributes (Larsen et al., 2015; Yan et al., 2015), and natural images and captions (Mansimov et al., 2015). The main features of CVAEs are that the relation between modalities is one-way and a latent variable does not contain the information of a conditioned modalityAccording to Louizos et al. (2015), this independence might not be satisfied strictly because the encoder in CVAEs still has the dependence., which are unsuitable for our objective.

Pandey & Dukkipati (2016) proposed a conditional multimodal autoencoder (CMMA), which also maximizes the conditional log-likelihood. The difference between CVAEs is that a latent variable is connected directly from a conditional variable, i.e., these variables are not independent. Moreover, this model forces the latent representation from an input to be close to the joint representation from multiple inputs, which is similar to JMVAE-kl. However, the CMMA still considers that modalities are generated in fixed direction. This is the most different part from ours.

Methods

This section first introduces the algorithm of VAEs briefly and then proposes a novel multimodal learning model with VAEs, which we call the joint multimodal variational autoencoder (JMVAE).

Given observation variables x\mathbf{x} and corresponding latent variables z\mathbf{z}, their generating processes are definable as zp(z)=N(0,I)\mathbf{z}\sim p(\mathbf{z})=\mathcal{N}(\mathbf{0},\mathbf{I}) and xpθ(xz)\mathbf{x}\sim p_{\theta}(\mathbf{x}|\mathbf{z}), where θ\theta is the model parameter of pp. The objective of VAEs is maximization of the marginal distribution p(x)=pθ(xz)p(z)dxp(\mathbf{x})=\int p_{\theta}(\mathbf{x}|\mathbf{z})p(\mathbf{z})d\mathbf{x}. Because this distribution is intractable, we instead train the model to maximize the following lower bound of the marginal distribution LVAE(x)\mathcal{L}_{VAE}(\mathbf{x}) as

where qϕ(zx)q_{\phi}(\mathbf{z}|\mathbf{x}) is an approximate distribution of posterior p(zx)p(\mathbf{z}|\mathbf{x}) and ϕ\phi is the model parameter of qq. We designate qϕ(zx)q_{\phi}(\mathbf{z}|\mathbf{x}) as encoder and pθ(xz)p_{\theta}(\mathbf{x}|\mathbf{z}) as decoder. Moreover, in Equation 1, the first term represents a regularization. The second one represents a negative reconstruction error.

To optimize the lower bound L(x)\mathcal{L}(\mathbf{x}) with respect to parameters θ,ϕ\theta,\phi, we estimate gradients of Equation 1 using stochastic gradient variational Bayes (SGVB). If we consider qϕ(zx)q_{\phi}(\mathbf{z}|\mathbf{x}) as Gaussian distribution N(z;μ,diag(σ2))\mathcal{N}(\mathbf{z};{\boldsymbol{\mu}},{\rm diag}({\boldsymbol{\sigma}}^{2})), where ϕ={μ,σ2}\phi=\{{\boldsymbol{\mu}},{\boldsymbol{\sigma}}^{2}\}, then we can reparameterize zqϕ(zx)\mathbf{z}\sim q_{\phi}(\mathbf{z}|\mathbf{x}) to z=μ+σϵ\mathbf{z}={\boldsymbol{\mu}}+{\boldsymbol{\sigma}}\odot{\boldsymbol{\epsilon}}, where ϵN(0,I){\boldsymbol{\epsilon}}\sim\mathcal{N}(\mathbf{0},\mathbf{I}). Therefore, we can estimate the gradients of the negative reconstruction term in Equation 1 with respect to θ\theta and ϕ\phi as θ,ϕEqϕ(zx)[logpθ(xz)]=EN(ϵ;0,I)[θ,ϕlogpθ(zμ+σϵ)]\nabla_{\theta,\phi}E_{q_{\phi}(\mathbf{z}|\mathbf{x})}[\log p_{\theta}(\mathbf{x}|\mathbf{z})]=E_{\mathcal{N}({\boldsymbol{\epsilon}};\mathbf{0},\mathbf{I})}[\nabla_{\theta,\phi}\log p_{\theta}(\mathbf{z}|{\boldsymbol{\mu}}+{\boldsymbol{\sigma}}\odot{\boldsymbol{\epsilon}})]. Because the gradients of the regularization term are solvable analytically, we can optimize Equation 1 with standard stochastic optimization methods.

2 Joint Multimodal variational autoencoders

Next, we consider i.i.d.i.i.d. dataset (X,W)={(x1,w1),...,(xN,wN)}(\mathbf{X},\mathbf{W})=\{(\mathbf{x}_{1},\mathbf{w}_{1}),...,(\mathbf{x}_{N},\mathbf{w}_{N})\}, where two modalities x\mathbf{x} and w\mathbf{w} have different kinds of dimensions and structuresIn our experiment, these depend on dataset, see Section 4.2.. Our objective is to generate two modalities bi-directionally. For that reason, we assume that these are conditioned independently on the same latent concept z\mathbf{z}: joint representation. Therefore, we assume their generating processes as zp(z)\mathbf{z}\sim p(\mathbf{z}) and x,wp(x,wz)=pθx(xz)pθw(wz)\mathbf{x},\mathbf{w}\sim p(\mathbf{x},\mathbf{w}|\mathbf{z})=p_{\theta_{\mathbf{x}}}(\mathbf{x}|\mathbf{z})p_{\theta_{\mathbf{w}}}(\mathbf{w}|\mathbf{z}), where θx\theta_{\mathbf{x}} and θw\theta_{\mathbf{w}} represent the model parameters of each independent pp. Figure 2(a) shows a graphical model that represents generative processes. One can see that this models joint distribution of all modalities, p(x,w)p(\mathbf{x},\mathbf{w}). Therefore, we designate this model as a joint multimodal variational autoencoder (JMVAE).

Considering an approximate posterior distribution as qϕ(zx,w)q_{\phi}(\mathbf{z}|\mathbf{x},\mathbf{w}), we can estimate a lower bound of the log-likelihood logp(x,w)\log p(\mathbf{x},\mathbf{w}) as follows:

Equation 3 has two negative reconstruction terms which are correspondent to each modality. As with VAEs, we designate qϕ(zx,w)q_{\phi}(\mathbf{z}|\mathbf{x},\mathbf{w}) as the encoder and both pθx(xz)p_{\theta_{\mathbf{x}}}(\mathbf{x}|\mathbf{z}) and pθw(wz)p_{\theta_{\mathbf{w}}}(\mathbf{w}|\mathbf{z}) as decoders.

We can apply the SGVB to Equation 3 just as Equation 1, so that we can parameterize the encoder and decoder as deterministic deep neural networks and optimize them with respect to their parameters, θx\theta_{\mathbf{x}}, θw\theta_{\mathbf{w}}, and ϕ\phi. Because each modality has different feature representation, we should set different networks for each decoder, pθx(xz)p_{\theta_{\mathbf{x}}}(\mathbf{x}|\mathbf{z}) and pθw(wz)p_{\theta_{\mathbf{w}}}(\mathbf{w}|\mathbf{z}). The type of distribution and corresponding network architecture depends on the representation of each modality, e.g., Gaussian when the representation of modality is continuous, and a Bernoulli when it is a binary value.

Unlike original VAEs and CVAEs, the JMVAE models joint distribution of all modalities. In this model, modalities are conditioned independently on a joint latent variable. Therefore, we can extract better representation that includes all information of modalities. Moreover, we can estimate both marginal distribution and conditional distribution in bi-directional, so that we can not only obtain images reconstructed themselves but also draw texts from corresponding images and vice versa. Additionally, we can extend JMVAEs to handle more than two modalities such as p(x,w1,w2,...)p(\mathbf{x},\mathbf{w}_{1},\mathbf{w}_{2},...) in the same learning framework.

3 Inference missing modalities

In the JMVAE, we can extract joint latent features by sampling from the encoder qϕ(zx,w)q_{\phi}(\mathbf{z}|\mathbf{x},\mathbf{w}) at testing time. Our objective is to exchange modalities bi-directionally, e.g., images to texts and vice versa. In this setting, modalities that we want to sample are missing, so that inputs of such modalities are set to zero (the left panel of Figure 2(b)). The same is true of reconstructing a modality only from itself. This is a natural way in discriminative multimodal settings to estimate samples from unimodal information (Ngiam et al., 2011). However, if missing modalities are high-dimensional and complicated such as natural images, then the inferred latent variable becomes incomplete and generated samples might collapse.

We propose a method to solve this issue, which we designate as JMVAE-kl. Moreover, we describe the former way as JMVAE-zero to distinguish it. Suppose that we have encoders with a single input, qϕx(zx)q_{\phi_{\mathbf{x}}}(\mathbf{z}|\mathbf{x}) and qϕw(zw)q_{\phi_{\mathbf{w}}}(\mathbf{z}|\mathbf{w}), where ϕx\phi_{\mathbf{x}} and ϕw\phi_{\mathbf{w}} are parameters. We would like to train them by bringing their encoders close to an encoder qϕ(zx,w)q_{\phi}(\mathbf{z}|\mathbf{x},\mathbf{w}) (the right panel of Figure 2(b)). Therefore, the object function of JMVAE-kl becomes

where α\alpha is a factor that regulates the KL divergence terms.

From another viewpoint, maximizing Equation 4 can be regarded as minimizing the variation of information (VI) by variational inference methods (proven and derived in Appendix A). The VI, a measure of the distance between two variables, is written as EpD(x,w)[logp(xw)+logp(wx)]-E_{p_{D}(\mathbf{x},\mathbf{w})}[\log p(\mathbf{x}|\mathbf{w})+\log p(\mathbf{w}|\mathbf{x})], where pDp_{D} is the data distribution. It is apparent that the VI is the sum of two negative conditional log-likelihoods. Therefore, minimizing the VI contributes to appropriate bi-directional exchange of modalities. Sohn et al. (2014) also train their model to minimize the VI for the same objective as ours. However, they use DBMs with MCMC training.

Experiments

This section presents evaluation of the qualitative and quantitative performance and confirms the JMVAE functionality in practice.

As described herein, we used two datasets: MNIST and CelebA (Liu et al., 2015).

MNIST is not a dataset for multimodal setting. In this work, we used this dataset for toy problem of multimodal learning. We consider handwriting images and corresponding digit labels as two different modalities. We used 50,000 as training set and the remaining 10,000 as a test set.

CelebA consists of 202,599 color face images and corresponding 40 binary attributes such as male, eyeglasses, and mustache. In this work, we regard them as two modalities. This dataset is challenging because these have completely different kinds of dimensions and structures. Beforehand, we cropped the images to squares and resized to 64 ×\times 64 and normalized. From the dataset, we chose 191,899 images that are identifiable face by OpenCV and used them for our experiment. We used 90% out of all the dataset contains as training set and the remaining 10% of them as test set.

2 Model architectures

We used the Adam optimization algorithm (Kingma & Ba, 2014) with a learning rate of 10310^{-3} on MNIST and 10410^{-4} on CelebA. The models were implemented using Theano (Team et al., 2016) and Lasagne (Dieleman et al., 2015).

3 Quantitative evaluation

For this experiment, we estimated test log-likelihood to evaluate the performance of model. This estimate roughly corresponds to negative reconstruction error. Therefore, higher is better. From this performance, we can find that not only whether the JMVAE can generate samples properly but also whether it can obtain joint representation properly. If the log-likelihood of a modality is low, representation for this modality might be hurt by other modalities. By contrast, if it is the same or higher than model trained on a single modality, then other modalities contribute to obtaining appropriate representation.

We estimate the test marginal log-likelihood and test conditional log-likelihood on JMVAE. We compare the test marginal log-likelihood against VAEs (Kingma & Welling, 2013; Rezende et al., 2014) and the test conditional log-likelihood against CVAEs (Kingma et al., 2014; Sohn et al., 2015) and CMMAs (Pandey & Dukkipati, 2016). On CelebA, we combine all competitive models with GAN and describe them as VAE-GAN, CVAE-GAN, and CMMA-GAN. For fairness, architectures and parameters of these competitive models were set to be as close as possible to those of JMVAE.

We calculate the importance weighted estimator (Burda et al., 2015) from lower bounds at testing time because we would like to estimate the true test log-likelihood from lower bounds. To estimate the test marginal log-likelihood p(w)p(\mathbf{w}) of the JMVAE, we use two possible lower bounds: sampling from qϕ(zx,w)q_{\phi}(\mathbf{z}|\mathbf{x},\mathbf{w}) or qϕx(zx)q_{\phi_{x}}(\mathbf{z}|\mathbf{x}). We describe the former lower bound as the multiple lower bound and the latter one as the single lower bound. When we estimate the test conditional log-likelihood logp(xw)\log p(\mathbf{x}|\mathbf{w}), we also use two lower bounds, each of which is estimated by sampling from qϕ(zx,w)q_{\phi}(\mathbf{z}|\mathbf{x},\mathbf{w}) (multiple) or qϕw(zw)q_{\phi_{w}}(\mathbf{z}|\mathbf{w}) (single) (see Appendix B for more details). To estimate the single lower bound, we should approximate the single encoder (qϕx(zx)q_{\phi_{x}}(\mathbf{z}|\mathbf{x}) or qϕw(zw)q_{\phi_{w}}(\mathbf{z}|\mathbf{w})) by JMVAE-zero or JMVAE-kl. When the value of log-likelihood with the single lower bound is the same or larger than that with the multiple lower bound, the approximation of the single encoder is good. Note that original VAEs use a single lower bound and that CVAEs and CMMAs use a multiple lower bound.

3.2 MNIST

Our first experiment evaluated the test marginal log-likelihood and compared it with that of the VAE on MNIST dataset. We trained the model with both JMVAE-zero and JMVAE-kl and confirmed these differences. As described in Section 4.3.1, we have two possible ways of estimating the marginal log-likelihood of the JMVAE, i.e., multiple and single lower bounds. The left of Table 1 shows the test marginal log-likelihoods of the VAE and JMVAE. It is apparent that log-likelihood of the JMVAE-zero is the same or slightly better than that of the VAE. In the case of the log-likelihood of JMVAE-kl, the log-likelihood becomes better as α\alpha is small. Especially, JMVAE-kl with α=0.01\alpha=0.01 and single lower bound archives the highest log-likelihood in Table 1. If α\alpha is 1, however, then the test log-likelihood on JMVAE-kl becomes much lower. This is because the influence of the regularization term becomes strong as α\alpha is large.

Next, we evaluated the test conditional log-likelihood and compared it with that of the CVAE and CMMA conditioned on w\mathbf{w}. As in the case of the marginal log-likelihood, we can estimate the JMVAE’s conditional log-likelihood by both the single and multiple lower bound. The single bound can be estimated using JMVAE-zero or JMVAE-kl. The right of Table 1 shows the test conditional log-likelihoods of the JMVAE, CVAE, and CMMA. It is apparent that the CVAE achieves the highest log-likelihood. Even so, in the case of multiple bound, log-likelihoods with both JMVAE-zero and JMVAE-kl (except α=1\alpha=1) outperform that of the CMMA.

It should be noted that the log-likelihood with JMVAE-zero and single bound is significantly low. As described in Section 3.3, this is because a modality w\mathbf{w} is missing as input. By contrast, it is apparent that the log-likelihood with JMVAE-kl is improved significantly from that with JMVAE-zero. It shows that JMVAE-kl solves the issue of missing modalities (we can also find this result in generated images, see Appendix E). Moreover, we find that this log-likelihood becomes better as α\alpha is large, which is opposite to the other results. Therefore, there is a trade-off between whether each modality can be reconstructed properly and whether multiple modalities can be exchanged properly and it can be regulated by α\alpha.

3.3 CelebA

In this section, we used CelebA dataset to evaluate the JMVAE. Table 2 presents the evaluations of marginal and conditional log-likelihood. From this table, it is apparent that values of both marginal and conditional log-likelihood with JMVAEs are larger than those with other competitive methods. Moreover, comparison with Table 1 shows that the improvement on CelebA is greater than that on MNIST, which suggests that joint representation with multiple modalities contributes to improvement of the quality of the reconstruction and generation in the case in which an input modality is large-dimensioned and complicated.

4 Qualitative evaluation

In this section, we first evaluated that the JMVAE can obtain joint representation that includes the information of modalities. Figure 3 shows the visualization of latent representation with the VAE, CVAE, and JMVAE on MNIST. It is apparent that the JMVAE obtains more discriminable latent representation by adding digit label information. Figure 3(b) shows that, in spite of using multimodal information as with the JMVAE, points in CVAE are distributed irrespective of labels because CVAEs force latent representation to be independent of label information, i.e., it is not objective for CVAEs to obtain joint representation.

4.2 Generating faces from attributes and joint representation on CelebA

Next, we confirm that JMVAE-GAN on CelebA can generate images from attributes. Figure 4(a) portrays generated faces conditioned on various attributes. We find that we can generate an average face of each attribute and various random faces conditioned on a certain attributes. Figure 4(b) shows that samples are gathered for each attribute and that locations of each variation are the same irrespective of attributes. From these results, we find that manifold learning of joint representation with images and attributes works well.

4.3 Bi-directional generation between faces and attributes on CelebA

Finally, we demonstrate that JMVAE-GAN can generate bi-directionally between faces and attributes. Figure 6 shows that MVAE-GAN can generate both attributes and changed images conditioned on various attributes from images which had no attribute information. This way of generating an image by varying attributes is similar to the way of the CMMA (Pandey & Dukkipati, 2016). However, the CMMA cannot generate attributes from an image because it only generates images from attributes in one direction.

Conclusion and Future Work

In this paper, we introduced a novel multimodal learning model with VAEs, the joint multimodal variational autoencoders (JMVAE). In this model, modalities are conditioned independently on joint representation, i.e., it models a joint distribution of all modalities. We further proposed the method (JMVAE-kl) of reducing the divergence between JMVAE’s encoder and a prepared encoder of each modality to prevent generated samples from collapsing when modalities are missing. We confirmed that the JMVAE can obtain appropriate joint representations and high log-likelihoods on MNIST and CelebA datasets. Moreover, we demonstrated that the JMVAE can generate multiple modalities bi-directionally on the CelebA dataset.

In future work, we would like to evaluate the multimodal learning performance of JMVAEs using various multimodal datasets such as containing three or more modalities.

References

Appendix A Relation between the objective of JMVAE-kl and the variation of information

The variation of information (VI) can be expressed as EpD(x,w)[logp(xw)+logp(wx)]-E_{p_{\mathcal{D}}(\mathbf{x},\mathbf{w})}[\log p(\mathbf{x}|\mathbf{w})+\log p(\mathbf{w}|\mathbf{x})], where pDp_{\mathcal{D}} is the data distribution. In this equation, we specifically examine the sum of two negative log-likelihoods and do not consider the expectation in this derivation. We can calculate the lower bounds of these log-likelihoods as follows:

where LJMkl(1)\mathcal{L}_{JM_{kl}(1)} is Equation 4 with α=1\alpha=1. Therefore, maximizing Equation 4 is regarded as minimizing the VI on variational inference, i.e., maximizing the lower bounds of negative VI.

Appendix B Test lower bounds

Two lower bounds used to estimate test marginal log-likelihood p(x)p(\mathbf{x}) of the JMVAE are as follows:

We can also estimate test conditional log-likelihood p(xw)p(\mathbf{x}|\mathbf{w}) from these two lower bounds as

where logp(w)=logEp(z)[pθw(wz)]=log1NwiNwpθw(wz(i))\log p(\mathbf{w})=\log E_{p(\mathbf{z})}[p_{\theta_{w}}(\mathbf{w}|\mathbf{z})]=\log\frac{1}{N_{w}}\sum^{N_{w}}_{i}p_{\theta_{w}}(\mathbf{w}|\mathbf{z}^{(i)}) and z(i)p(z)\mathbf{z}^{(i)}\sim p(\mathbf{z}). In this paper, we set Nw=5,000N_{w}=5,000 on MNIST and Nw=10N_{w}=10 on CelebA.

We can obtain a tighter bound on the log-likelihood by kk-fold importance weighted sampling. For example, we obtain an importance weighted bound on logp(x)\log p(\mathbf{x}) from Equation 10 as follows:

Strictly speaking, these two lower bounds are not equal. However, if the number of importance samples is extremely large, the difference of these two lower bounds converges to .

Let the multiple and single kk-hold importance weighted lower bounds as Lsinglek\mathcal{L}^{k}_{single} and Lsinglek\mathcal{L}^{k}_{single}. From the theorem of the importance weighted bound, both Lsinglek\mathcal{L}^{k}_{single} and Lmultiplek\mathcal{L}^{k}_{multiple} converge to logp(x)\log p(\mathbf{x}) as kk\rightarrow\infty.

Appendix C Reconstructed images

Figure 6 presents a comparison of the original image and reconstructed image by the JMVAE on both MNIST and CelebA datasets. It is apparent that the JMVAE can reconstruct the original image properly with either a multiple or single encoder.

Appendix D Test joint log-likelihood on MNIST

Table 3 shows the joint log-likelihood of the JMVAE on MNIST dataset by both JMVAE-zero and JMVAE-kl. It is apparent that the log-likelihood test on both approaches is almost identical (strictly, JMVAE-zero is slightly lower). The test log-likelihood on JMVAE-kl becomes much lower if α\alpha is large.

Appendix E Image generation from conditional distribution on MNIST

Figure 7 presents generation samples of x\mathbf{x} conditioned on single input w\mathbf{w}. It is apparent that the JMVAE with JMVAE-kl generates conditioned digit images properly, although that with JMVAE-zero cannot generate them. As results showed, we also confirmed qualitatively that JMVAE-kl can model qϕx(zx)q_{\phi_{x}}(\mathbf{z}|\mathbf{x}) properly compared to JMVAE-zero.