L EARNING L ATENT S UPERSTRUCTURES
IN
V ARIA TIONAL
A UTOENCODERS
FOR
D EEP
M ULTIDIMENSIONAL C LUSTERING
Anonymous authors
Paper under double-blind review
A BSTRACT
We investigate a variant of variational autoencoders where there is a superstructure of discrete latent variables on top of the latent features.
In general, our superstructure is a tree structure of multiple super latent variables and it is automatically learned from data.
When there is only one latent variable in the superstructure, our model reduces to one that assumes the latent features to be generated from a
Gaussian mixture model.
We call our model the latent tree variational autoencoder (LTVAE).
Whereas previous deep learning methods for clustering produce only one partition of data, LTVAE produces multiple partitions of data, each being given by one super latent variable.
This is desirable because high dimensional data usually have many different natural facets and can be meaningfully partitioned in multiple ways.
I NTRODUCTION
Clustering is a fundamental task in unsupervised machine learning, and it is central to many datadriven application domains.
Cluster analysis partitions all the data into disjoint groups, and one can understand the structure of the data by examining examples in each group.
Many clustering methods have been proposed in the literature (Aggarwal & Reddy, 2013), such as k -means (MacQueen et al., 1967), Gaussian mixture models (Christopher, 2016) and spectral clustering (Von Luxburg, 2007).
Conventional clustering methods are generally applied directly on the original data space.
However, it is challenging to perform cluster analysis on high dimensional and unstructured data (Steinbach et al., 2004), such as images.
It is not only because the dimensionality is high, but also because the original data space is too complex to interpret, e.g. there are semantic gaps between pixel values and objects in images.
Recently, deep learning based clustering methods have been proposed that simultanously learn nonlinear embeddings through deep neural networks and perform cluster analysis on the embedding space.
The representation learning process learns effective high-level representations from high dimensional data and helps the cluster analysis.
This is typically achieved by unsupervised deep learning methods, such as restricted Boltzmann machine (RBM) (Hinton et al., 2006; Hinton &
Salakhutdinov, 2006), autoencoders (AE) (Vincent et al., 2008; 2010), variational autoencoders (VAE) (Kingma & Welling, 2014), etc.
Previous deep learning based clustering methods (Xie et al., 2016; Guo et al., 2017; Jiang et al., 2017; Yang et al., 2017) assume one single partition over the data and that all attributes deﬁne that partition.
In real-world applications, however, the assumptions are usually not true.
High-dimensional data are often multifaceted and can be meaningfully partitioned in multiple ways based on subsets of attributes (Chen et al., 2012).
For example, a student population can be clustered in one way based on course grades and in another way based on extracurricular activities.
Movie reviews can be clustered based on both sentiment (positive or negative) and genre (comedy, action, war, etc.).
It is challenging to discover the multi-facet structures of data, especially for high-dimensional data.
To resolve the above issues, we propose an unsupervised learning method, latent tree variational autoencoder (LTVAE) to learn latent superstructures in variational autoencoders, and simultaneously perform representation learning and structure learning.
LTVAE is a generative model, where the data is assumed to be generated from latent features through neural networks, while the latent features themselves are generated from tree-structured Bayesian networks with another level of latent variables as shown in Fig.
Each of those latent variables deﬁnes a facet of clustering.
The proposed method automatically selects subsets of latent features for each facet, and learns the dependency structure among different facets.
This is achieved through systematic structure learning.
Consequently, LTVAE is able to discover complex structures of data rather than one partition.
We also propose efﬁcient learning algorithms for LTVAE with gradient descent and Stepwise EM through message passing.
The rest of the paper is organized as follows.
The related works are reviewed in Section 2.
We introduce the proposed method and learning algorithms in Section 3.
In Section 4, we present the empirical results.
The conclusion is given in Section 5.
R ELATED W ORKS
Clustering has been extensively studied in the literature in many aspects (Aggarwal & Reddy, 2013).
More complex clustering methods related to structure learning using Bayesian nonparametrics have been proposed, like Dirichlet Process (Blei et al., 2006), Hierarchical Dirichlet Process (HDP) (Teh et al., 2006).
However, those are with conventional clustering methods that apply on raw data.
Recently, deep learning based clustering methods have drawn more and more attention.
A simple two-stage approach is to ﬁrst learn low-dimensional embeddings using unsupervised feature learning methods, and then perform cluster analysis on the embeddings. However, without any supervision, the representation learning do not necessarily reveal the true cluster structure of the data. DEC (Xie et al., 2016) is a method that simultaneously learns feature representations and cluster assignments through deep autoencoders. It gradually improves the clustering by driving the deep network to learn a better mapping.
Improved Deep Embedded Clustering (Guo et al., 2017) improves DEC by keeping the decoder network and adding reconstruction loss to the original clustering loss in DEC.
Variational deep embedding (Jiang et al., 2017) is a generative method that models the data generative process using a Gaussian mixture model combined with a VAE, and also performs joint learning of representations and clustering. Similarly, GMVAE (Dilokthanakul et al., 2016) performs joint learning of a GMM and a VAE, but instead generates the mixture components through neural networks. Deep clustering network (DCN) (Yang et al., 2017) is another one that jointly learns an autoencoder and performs k-means clustering. These joint learning methods consistently achieve better clustering results than conventional ones.
The method proposed in (Yang et al., 2016) uses convolutional neural networks and jointly learns the representations and clustering in a recurrent framework.
All these methods assume ﬂat partitions over the data, and do not attempt the structure learning issue.
An exception is hierarchical nonparametric variational autoencoders proposed in (Goyal et al., 2017).
It uses nCRP as the prior for VAE to allow inﬁnitely deep and branching tree hierarchy structure and focuses on learning hierarchy of concepts.
Different from it, our work focuses on multifacets of clustering.
T HE P ROPOSED M ETHOD
In this section, we present the proposed latent tree variational autoencoder and the learning algorithms for joint representation learning and structure learning for multidimensional clustering.
3. L ATENT T REE V ARIATIONAL A UTOENCODER
Deep generative models assume that data x is generated from latent continuous variable z through some random process.
The process consists of two steps: (1) a value z is generated from some prior distribution p ( z ) ; (2) the observation x is generated from the conditional distribution p θ ( x | z ) , which is parameterized through deep neural networks.
Thus, it deﬁnes the joint distribution between observation x and latent variable z : [Equation]
[Equation]
This process is hidden from our view, and we learn this process by maximizing the marginal loglikelihood p ( x ) over the parameters θ and latent variable z from data.
After the learning, the latent variable z can be regarded as the deep representations of x since it captures the most relevant information of x . Thus, the learning process is also called representation learning. 𝑧
[Figure]
Generation Network 𝑌 $ 𝑌 % 𝑍 " 𝑌 " 𝑌 $ 𝑍 $ 𝑍 " ,𝑌 " 𝑍 & ,𝑌 " 𝑌 " ,𝑌 $ 𝑍 ’ ,𝑌 $ 𝑃(𝑍 " |𝑌 " ) 𝑃(𝑍 $ |𝑌 " ) 𝑃(𝑍 & |𝑌 $ ) 𝑃(𝑌 $ |𝑌 " ) 𝑃(𝑌 " ) 𝑃(𝑍 " =𝑧 " |𝑌 " ) 𝑃(𝑍 & =𝑧 & |𝑌 " )𝑃(𝑍 ’ =
𝑧 ’ |𝑌 $ ) 𝑃(𝑌 $ |𝑌 " )𝑃(𝑌 " )
Clique Tree 𝑍 & 𝑍 ’ 𝑃(𝑍 ’ |𝑌 $ ) 𝑍 $ ,𝑌 " 𝑃(𝑍 " =𝑧 " |
[Figure]
In order to learn the latent structure of z , for example multidimensional cluster structure, we introduce a set of latent variables Y 1 , ..., Y l on top of z .
A single z or multiple z ’s form a node z b .
Suppose variables in z form B nodes of z 1 , · · · , z B .
Each latent variable Y may be only connected to a subset of nodes, and the dependency of each z b and its parent Y is characterized by a conditional
Gaussian distribution.
Furthermore, the latent variables Y 1 , ..., Y l are connected to each other, and the dependency of a latent variable Y on its parent Y (cid:48) is characterized by a conditional distribution
P ( Y | Y (cid:48) ) .
This essentially forms a Bayesian network.
And if we restrict the network to be treestructured, the z and Y together form a latent tree model (Zhang, 2004;
Poon et al., 2010; 2013;
Mourad et al., 2013; Pearl, 2014; Zhang & Poon, 2017) with z being the observed variables and
Y being the latent variables.
For multidimensional clustering, each latent variable Y is taken to be a discrete variable, where each discrete state y of Y deﬁnes a cluster.
Each latent variable Y thus deﬁnes a facet partition over the data based on subset of attributes and multiple Y ’s deﬁne multiple facets.
Given a value y of Y , z b follows a conditional Gaussian distribution P ( z b | y )
=
N ( µ y , Σ y ) with mean vector µ y and covariance matrix Σ y .
Thus, each z b and its parent constitute a Gaussian mixture model (GMM).
Suppose the parent of a node is denoted as π ( · ) , the maginal distribution of z is deﬁned as follows
[Equation]
which sums over all possible combinations of Y states.
As a matter of fact, a GMM is a Gaussian
LTM that has only one latent variable connecting to all observed variables.
Let the latent structure of Y be S , deﬁning the number of latent variables in Y , the number of discrete states in each variable Y and the connectivity structure among all variables in z and Y .
And let the parameters for all conditional probabilities in the latent structure be Θ .
Both the latent structure S and the latent parameters Θ are unknown.
We aim to jointly learn data representations and the latent structure.
The proposed LTVAE model is shown in Fig.
The latent structure S are automatically learned from data and will be discussed in a later section.
Due to the existence of the generation network, the inference of the model is intratable.
Instead, we do amortized variational inference for the latent variable z by introducing an inference network (Kingma & Welling, 2014) and deﬁne an approximate posterior q φ ( z | x ) .
The evidence lower bound (ELBO)
L ELBO of the marginal loglikelihood of the data given ( S , Θ) is:
[Equation]
where log (cid:80) y p S ( z , y ; Θ) is the marginal loglikelihood of the latent variable z under the latent tree model, and H [ · ] is the entropy.
The conditional generative distribution p θ ( x | z ) could be a Gaussian distribution if the input data is real-valued, or a Bernoulli distribution if binary, parameterized by the generation network.
Using Monte Carlo sampling, the ELBO can be asymptotically estimated by
[Equation]
where z ( i ) ∼ q φ ( z | x ) .
The term H [ q φ ( z | x )] can be computed analytically if we choose the form of q φ ( z | x ) to be a Gaussian distribution
N ( z ; µ x , σ x ) : H [ q φ ( z | x )]
= J 2 log(2 π )
+ 12 (cid:80)
Jj =1 (1+log σ 2 j ) , where J is the dimensionality of z .
Furthermore, the marginal loglikelihood log (cid:80) y
p S ( z ( i ) , y ; Θ) can be computed efﬁciently through message passing.
Message passing is an efﬁcient algorithm for inference in Bayesian networks (Koller & Friedman, 2009; Poon et al., 2013).
In message passing, we ﬁrst build a clique tree using the factors in the deﬁned probability density.
Because of the tree structure, each z b along with its parent form a clique with the potential ψ ( z b , y ) being the corresponding conditional distribution.
This is illustrated in Fig.
With the sampled z ( i ) , we can compute the message ψ (cid:48)
( y ) by absorbing the evidence from z .
During collecting message phase, the message ψ (cid:48) ( y ) are sent towards the pivot.
After receiving all messages, the pivot distributes back messages towards all z .
Both the posterior of Y and the marginal loglikelihood of z ( i ) thus can be computed in the ﬁnal normalization step.
3. P ARAMETER L EARNING THROUGH G RADIENT D ESCENT AND S TEPWISE EM WITH M ESSAGE P ASSING
In this section, we propose efﬁcient learning algorithms for LTVAE through gradient descent and stepwise EM with message passing.
Given the latent tree model ( S , Θ) , the parameters of neural networks can be efﬁciently optimized through stochastic gradient descent (SGD).
However, in order to learn the model, it is important to efﬁciently compute the gradient of the marginal loglikelihood log p S ( z ; Θ) from the latent tree model, the third term in Eq.
Here, we propose an efﬁcient method to compute gradient through message passing.
Let z b be the variables that we want to compute gradient with respect to, and let
Y b be the parent node.
The marginal loglikelihood of full z can be written as
[Equation]
where f ( y b ) is the collection of all the rest of the terms not containing z b . The gradient g z b of the marginal loglikelihood log p S ( z ; Θ) w.r.t z b thus can be computed as
[Equation]
where p ( y b | z ) is the posterior probability of y b and can be computed efﬁciently with message passing as described in the previous section.
Since z = [ z 1 , ..., z B ] , we have
[Equation]
With the efﬁcient computation of the third term in Eq.
4 and its gradient w.r.t z through message passing, the parameters of inference network and generation network can be efﬁciently optimized through SGD.
In order to jointly learn the parameters of the latent tree Θ , we propose Stepwise EM algorithm based on mini-batch of data.
Speciﬁcally, we maximize the third term in Eq.
4, i.e. the marginal loglikelihood of z under the latent tree.
In the Stepwise E-step, we compute the distributions
P ( y, y (cid:48) | z , θ ( t − 1) ) and P ( y
| z , θ ( t − 1) ) for each latent node Y and its parent Y (cid:48) .
In the Stepwise
M-step, we estimate the new parameter θ ( t ) .
Let s ( z , y ) be a vector the sufﬁcient statistics for a single data case.
Let ¯ s = E p S
( y | z ;Θ) [ s ( z , y )] be the expected sufﬁcient statistics for the data case, where the expectation is w.r.t the posterior distribution of y with current parameter.
And let µ = (cid:80) Ni
=
¯ s i be the sum of the expected sufﬁcient statistics.
The update of the parameter Θ is performed as follows:
[Equation]
𝑍 " 𝑌 " 𝑌 $ 𝑍 $ 𝑍 % 𝑍 & 𝑍 " 𝑌 " 𝑍 $ 𝑍 % 𝑍 &   (a) Node insertion (b) Stateinsertion 𝑍 " 𝑌 " 𝑍 $ 𝑍 % 𝑍 & 𝑍 " 𝑌 " 𝑍 $ 𝑍 % 𝑍 & 𝑍 " 𝑌 " 𝑌 $ 𝑍 $ 𝑍 % 𝑍 &  𝑍 ’ 𝑍 " 𝑌 " 𝑌 $ 𝑍 $ 𝑍 % 𝑍 &  𝑍 ’ (d) Node relocation 𝑍 " 𝑌 " 𝑍 $ 𝑍 % 𝑍 & 𝑍 " ,𝑍 $ 𝑌 " 𝑍 % 𝑍 & (c) Pouching where η is the learning rate and l is the complete data loglikelihood.
Each iteration of update of LTVAE thus is composed of one iteration of gradient descent update for the neural network parameters and one iteration of Stepwise EM update for the latent tree model parameters with a mini-batch of data.
3. S TRUCTURE L EARNING
For the latent structure S , there are four aspects need to determine: the number of latent variables, the cardinalities of latent variables, the connectivities among variables.
We aim at ﬁnding the model m ∗ that maximizes the BIC score (Schwarz et al., 1978; Koller & Friedman, 2009):
[Equation]
where θ ∗ is the MLE of the parameters and d ( m ) is the number of independent parameters.
The ﬁrst term is known as the likelihood term.
It favors models that ﬁt data well.
The second term is known as the penalty term.
It discourages complex models.
Hence, the BIC score provides a tradeoff between model ﬁt and model complexity.
To this end, we perform systematic searching to ﬁnd a structure with a high BIC score.
We use the hill-climing algorithm to search for m ∗ as in (Poon et al., 2010; 2013), and deﬁne 7 search operators: node introduction (NI) and node deletion (ND) to introduce new latent nodes and delete existing nodes, state introduction (SI) and state deletion (SD) to add a new state and delete a state for existing nodes, node relocation (NR) to change links of existing nodes, pouching (PO) and unpouching (UP) operators to combine nodes into a single node and separate variables from a node..
The structure search operators are shown in Fig.
Each operator produces a set of candidates from existing structure, and the best candidate is picked if it improves the previous one.
To reduce the number of possible search candidates, we ﬁrst perform
SI, NI and PO to expand the structure and pick the best model.
Then we perform NR to adjust the best model.
Finally, we perform UP, ND and SD to simplify the current best structure and pick the best one.
Acceleration techniques (Poon et al., 2013) are adopted that make the algorithm efﬁcient enough.
The structure learning is performed iteratively together with the parameter learning of neural networks.
The overall learning algorithm is illustrated in Algorithm 1.
Starting from a pretrained model, we iteratively improve the structure and parameters of latent tree model while learning the representations of data through neural network in a greedy manner.
Using current structure S t as the initial structure, we search for a better model.
With new latent tree model, we optimize for a better representation until convergence.
E XPERIMENTS 4. S YNTHETIC -D ATA D EMONSTRATION
We ﬁrst demonstrate the effectiveness of the proposed method through synthetic data.
Assume that the data points have two facets Y 1 and Y 2 , where each facet controlls a subset of attributes (e.g. two-dimensional domain) and deﬁnes one partition over the data.
This four-dimensional domain
Input: data D , z dim, neural networks, E θ, φ, S 0 , Θ 0 ← pretrain( D ) repeatfor e = 1 to E do for each minibatch X in D do
Compute q φ ( z | µ x , σ x )
Sample z ( i ) ∼ q ( z | µ x , σ x )
Compute log p S ( z ; Θ) and ∂ log p S ( z ) ∂ z from Eq.
5 and 7 Compute ELBO from Eq.θ, φ ← Back-propagation and SGD step Θ ← StepwiseEM
( z ( i ) ) end for end for
D z ← µ D repeat
S ∗ , Θ ∗ ← SearchWith( S t − 1 , Θ t − 1 , { SI, NI, PO } )
S ∗ , Θ ∗ ← SearchWith( S ∗ , Θ ∗ { NR } )
S t , Θ t ← SearchWith( S ∗ , Θ ∗ , { UP, ND, SD } ) until BIC ( S t , Θ t |D z ) ≤ BIC ( S t − 1 , Θ t − 1 |D z ) until stopping criteria return θ, φ, S , Θ
[Figure]
z = { z 1 , z 2 , z 3 , z 4 } is a latent representation which we do not observe.
What we observe is x ∈ Rthat is obtained via the following non-linear transformation:
[Equation]
where W ∈ R 10 × 4 and U ∈ R 100 × 10 are matrices whose entries follow the zero-mean unit-variance i.i.d.
Gaussian distribution, σ ( · ) is a sigmoid function to introduce nonlinearity.
The generative model is shown in Fig.
4 (a).
We deﬁne two clusters in facet Y 1 and two clusters in facet Y 2 , and generate 5,000 samples of x .
Under the above generative model, recovering the two facets Y 1 and
Y 2 structure and the latent z domain from the observation of x seems very challenging.
All previous
DNN-based methods (AE+GMM, DEC, DCN, etc.) are only able to discover one-facet of clustering (i.e. one partition over the data), and none of these is applicable to solve such a multidimensional clustering problem.
Fig.
4 (b) shows the results of the proposed method.
As one can see, the LTVAE successfully discovers the true superstructure of Y 1 and Y 2 .
The 2-d plot of z 1 and z 2 shows the separable latent space clusters under facet Y 1 , and it matches the ground-truth cluster assignments.
Additionally, the 2-d plot of z 3 and z 4 shows another separable clusters under facet Y 2 , and it also matches the ground-truth cluster assignments well in the other facet. [Table] [Table]
4. R EAL -D ATA E XPERIMENT S ETUP
We evaluate the proposed LTVAE model on two image datasets and two other datasets, and compare it against other deep learning based clustering algorithms, including two-stage methods, AE+GMM and VAE+GMM, which ﬁrst learn AE/VAE (Kingma & Welling, 2014) models then construct a
GMM on top of them, and joint learning methods, DEC (Xie et al., 2016) and DCN (Yang et al., 2017).
The datasets include MNIST, STL-10, Reuters (Xie et al., 2016; Jiang et al., 2017) and the Heterogeneity Human Activity Recognition (HHAR) dataset.
When evaluating the clustering performance, for fair of comparison, we follow previous works (Xie et al., 2016; Yang et al., 2017) and use the network structures of d − 500 − 500 − 2000 − 10 for the encoder network and 10 − 2000 − 500 − 500 − d for the decoder network for all datasets, where d is the data-space dimension, which varies among datasets.
All layers are fully-connected.
We follow the pretraining procedure as in (Xie et al., 2016).
We ﬁrst perform greedy layer-wise pretraining in denoising autoencoder manner, then stack all layers to form deep autoencoder.
The deep autoencoder is further ﬁnetuned to minimize the reconstruction loss.
The weights of the deep autoencoder are used to intialize the weights of encoder and decoder networks of above methods.
After the pretraining, we optimze the objectives of those methods.
For DEC and DCN, we use the same hyperparameter settings as the original papers.
When initializing the cluster centroids for DEC and DCN, we perform 10 random restarts and pick the results with the best objective value for k -means/GMM.
For the proposed LTVAE, we use Adam optimzer (Kingma & Ba, 2015) with initial learning rate of 0.002 and mini-batch size of 126.
For Stepwise EM, we set the learning rate to be 0.01.
As in Algorithm 1, we set E = 5 , i.e. we update the latent tree model every 5 epochs.
When optimizing the candidate models during structure search, we perform 10 random restarts and train with EM for 200 iterations.
4. T EST L OGLIKELIHOOD
We ﬁrst show that, by using the marginal loglikelihood deﬁned by the latent tree model as the prior, LTVAE better ﬁts the data than conventional VAE.
While alternative quantitative criteria have been proposed (Bounliphone et al., 2016; Im et al., 2016; Salimans et al., 2016) for generative models, log-likelihood of held-out test data remains one of the most important measures of a generative model’s performance (Kingma & Welling, 2014; Burda et al., 2016; Wu et al., 2017; Goyal et al., 2017).
For comparison, we evaluate the lower bound of loglikelihood as in
Eq. 4 and the approximate true loglikelihood L 5000 using importance sampling (Burda et al., 2016):
L k ( x ) = log 1 k (cid:80) ki
=1 p θ ( x , z ( i ) )
q φ ( z ( i ) | x ) , where z ( i ) ∼ q φ ( z | x ) .
The results for MNIST dataset is shown in
Table 6.
The proposed LTVAE obtains a higher test data loglikelihood and ELBO, implying that it can better model the underlying complex data distribution embedded in the image data.
4. M ULTIFACET C LUSTERING
The most important features of the proposed model are that it can perform variable selection for model-based clustering, leading to multiple facets clustering.
We use the standard unsupervised evaluation metric and protocols for evaluations and comparisons to other algorithms (Yang et al., 2010).
For baseline algorithms we set the number of clusters to the number of ground-truth categories.
While for LTVAE, it automatically determines the number of facets and latent superstructure through structure learning.
We evaluate performance with unsupervised clustering accuracy (ACC) :
[Equation]
where l i is the groundtruth label,
c i is the cluster assignment produced by the algorithm, and m ranges over all possible mappings between clusters and labels.
Table 5 show the quantitative clustering results compared with previous works.
With z dimension of small value like 10, LTVAE usually discovers only one facet.
It can be seen the, for MNIST dataset LTVAE achieves clustering accuracy of 86.32%, better than the results of other methods.
This is also the case for STL-10,
Reuters and HHAR.
More importantly, the proposed LTVAE does not just give one partition over the data.
Instead, it explains the data in multi-faceted ways.
Unlike previous clustering experiments, for this experiment, we choose the z dimension to be 20.
Fig.
5 shows the two facet clustering results for MNIST.
It can be seen that facet 1 gives quite clean clustering over the identity of the digits and the ten digits are well separated.
On the other hand, facet 2 gives a more grand partition based on the shape and pose.
Note how up-right “4” and “9” are similar, and how tilted “4”,“7” and “9” are similar.
The facet meanings are more evident in Fig.
5 (c).
Fig.
6 shows four facets discovered for the STLdataset.
Although it is hard to characterize precisely how the facets differ from each other, there are visible patterns.
For example, the cats, monkeys and birds in facet 2 have clearly visible eyes, while this is not always true in facet 1.
The deers in facet 2 are all showing their antlers/ears, while this is not true in facet 3.
In facet 2 we see frontal views of cars, while in facets 1 and 3 we see side view of cars.
In facet 1, each cluster consists of the same types of objects/animal.
In facet 3/4, images in the same cluster do not necessarily show the same type of objects/animals.
However, they have similar overall feel.
4. I MAGE G ENERATION
Since the structure of the data in latent space is automatically learned through the latent tree, we can sample the data in a more structured way.
One way is through ancestral sampling, where we ﬁrst sample the root of the latent tree and then hierarchically sample the children variables to get z , from which the images can be generated through generation network.
The other way is to pick one component from the Gaussian mixture and sample z from that component.
This produces samples from a particular cluster.
Fig.
7 shows the samples generated in this way.
As it can be seen, digits sampled from each component has clear semantic meaning and belong to the same category.
Whereas, the samples generated by VAE does not have such structure.
C ONCLUSIONS
In this paper, we propose an unsupervised learning method, latent tree variational autoencoder (LTVAE), which simultaneously performs representation learning and multidimensional clustering.
Different from previous deep learning based clustering methods, LTVAE learns latent embeddings from data and discovers multi-facet clustering structure based on subsets of latent features rather than one partition over data.
Experiments show that the proposed method achieves state-of-the-art clustering performance and reals reasonable multifacet structures of the data. A S UPERSTRUCTURES B C ONDITIONAL I MAGE GENERATION
C C OMPUTATIONAL TIME
We compare the computational time of the proposed LTVAE w/ structure learning and that w/ ﬁxed structure.
[Table]
D S IMILARITY BETWEEN LEARNED FACETS
Different facets learned by LTVAE might have some overlaps among each other.
Here we make quantitative comparison among different facets based on the cluster assignments in each facet.
We evaluate the similarity between two clusterings Y 1 and Y 2 using normalized mutual information
NMI ( Y 1 ; Y 2 ) .
The NMI is given by
[Equation]
where I ( Y 1 ; Y 2 ) is the mutual information between Y 1 and Y 2 and H ( V ) is the entropy of a variable
V .
These quantities can be computed from P ( Y 1 ; Y 2 ) , which in turn is estimated by P ( Y 1 ; Y 2 ) =
N (cid:80) Ni
=1 P ( Y 1 | d i ) P
{+( Y 
+}
| d i ) , where d 1 , · · · , d N are the samples in the test data.
[Table]
[Table]
E
T ESTSET LOGLIKELIHOOD
We show the testset loglikelihood for VAE and LTVAE over multiple runs on various datasets.
[Table]