Disentangled representations via score-based variational autoencoders
Benjamin S. H. Lyo, Eero P. Simoncelli, Cristina Savin
TL;DR
Disentangled representations are learned without supervision by integrating diffusion-based generative modeling with variational autoencoders in SAMI. The key idea is to use conditional diffusion as the VAE's generator and to derive an exact ELBO that permits reusing the inference network to guide diffusion; this leads to latent spaces with semantically meaningful axes and smoother trajectories for video. Empirically, SAMI extracts factorized latent factors from synthetic disks and CelebA, achieves competitive sample quality, and can obtain semantic axes from pretrained diffusion models. The work provides theoretical insight into how diffusion priors induce structure in latent representations and suggests new unsupervised axes discovery.
Abstract
We present the Score-based Autoencoder for Multiscale Inference (SAMI), a method for unsupervised representation learning that combines the theoretical frameworks of diffusion models and VAEs. By unifying their respective evidence lower bounds, SAMI formulates a principled objective that learns representations through score-based guidance of the underlying diffusion process. The resulting representations automatically capture meaningful structure in the data: it recovers ground truth generative factors in our synthetic dataset, learns factorized, semantic latent dimensions from complex natural images, and encodes video sequences into latent trajectories that are straighter than those of alternative encoders, despite training exclusively on static images. Furthermore, SAMI can extract useful representations from pre-trained diffusion models with minimal additional training. Finally, the explicitly probabilistic formulation provides new ways to identify semantically meaningful axes in the absence of supervised labels, and its mathematical exactness allows us to make formal statements about the nature of the learned representation. Overall, these results indicate that implicit structural information in diffusion models can be made explicit and interpretable through synergistic combination with a variational autoencoder.
