Summary
Variational AutoEncoders (VAEs) are powerful generative models, but the optimal latent space size is difficult to set. This paper proposes a heuristic method called ALD-VAE capable of finding the optimal latent dimension by gradually decreasing the latent size and evaluating the model performance during the training process. The method is compared to grid search and is shown to be faster and achieve the better latent space sizes on four image datasets: MNIST, FashionMNIST, SPRITES and EuroSAT.
Strengths
- This paper proposes an heuristic approach to find the optimal latent dimension for VAEs. During VAE training, the method gradually decrease the latent space size by evaluating the model performances in FID score, Silhouette score, and reconstruction error. When the slopes of all these scores are positive, then the pruning of the latent space size stops and the method returns the optimal latent space size.
- The empirical results shown in Fig. 2 show that the method is able to find the latent space sizes that produce almost the lowest FID scores, the highest Silhouette scores, and the lowest reconstruction errors on four datasets.
Weaknesses
- The algorithm is quite heuristic and straightforward. There is no theoretical justification of the method.
- There are too many hyper-parameters in this method, such as p = 5, n = 5, window w, number of clusters, latent_decrease and so on. The authors need to investigate how sensitive are those parameters and how different values of the hyper-parameters affect the final performance.
- The datasets used in this paper are small datasets, in terms of both number of images and image resolution. The authors need to do experiments on other large-scale high resolution image datasets such as CelebA-HQ, and ImageNet to evaluate the proposed method. The large-scale high resolution image datasets can also be used to evaluate how sensitive are those hyper-parameters.
Questions
- The number of clusters in Silhouette score should also be chosen or optimized. How does the number of clusters affect the Silhouette score?
- During the pruning process, how do you decide which $n$ neurons are pruned? If you randomly pick $n$ neurons and remove them, will you remove the neurons that are more important than the remaining neurons?
- The stopping criteria is that "the slopes of the observed metrics calculated over the last k=20 epochs are all positive". I think this may not be robust. Could it be possible that in future epochs, the FIDs and reconstruction loss be decreasing again and the the Silhouette score be increasing? A related question is that the optimality in Eq. 2 is a multi-objective optimization problem. How to balance the three different objectives?
- There are several important parts not clear. FID'_r and FID'_g are not defined. What are polynomial scores? $p$ in page 5 two lines below Alg. 1 is a scalar 5, but in Eq. 5 is a function.
Rating
5: marginally below the acceptance threshold
Confidence
4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.