Quasi Monte Carlo methods enable extremely low-dimensional deep generative models
Miles Martinez, Alex H. Williams
TL;DR
QLVMs tackle the challenge of obtaining interpretable, extremely low-dimensional embeddings for high-dimensional data by replacing encoder-based variational inference with quasi-Monte Carlo marginal likelihood estimation. They sample latent codes from a fixed prior $p(\boldsymbol{z})$ using randomly shifted lattices (e.g., Fibonacci for 2D, Korobov for 3D) and map $\boldsymbol{z}$ through a decoder with a periodic first layer, allowing direct evaluation of $\log p_\theta(\boldsymbol{x})$ via a log-sum-exp bound. Empirically, 2D QLVMs outperform 2D VAEs and 2D IWAEs in marginal log-likelihood and reconstructions across several datasets, while enabling density estimation, clustering, and geodesic visualization in the latent space; however, performance gains diminish on high-complexity data and the method is computationally intensive and scale-limited for higher latent dimensions. Overall, QLVMs offer a transparent, data-generating approach to learning interpretable, low-dimensional embeddings, facilitating exploratory analyses that are difficult to validate in higher-dimensional latent spaces.
Abstract
This paper introduces quasi-Monte Carlo latent variable models (QLVMs): a class of deep generative models that are specialized for finding extremely low-dimensional and interpretable embeddings of high-dimensional datasets. Unlike standard approaches, which rely on a learned encoder and variational lower bounds, QLVMs directly approximate the marginal likelihood by randomized quasi-Monte Carlo integration. While this brute force approach has drawbacks in higher-dimensional spaces, we find that it excels in fitting one, two, and three dimensional deep latent variable models. Empirical results on a range of datasets show that QLVMs consistently outperform conventional variational autoencoders (VAEs) and importance weighted autoencoders (IWAEs) with matched latent dimensionality. The resulting embeddings enable transparent visualization and post hoc analyses such as nonparametric density estimation, clustering, and geodesic path computation, which are nontrivial to validate in higher-dimensional spaces. While our approach is compute-intensive and struggles to generate fine-scale details in complex datasets, it offers a compelling solution for applications prioritizing interpretability and latent space analysis.
