Diversity in deep generative models and generative AI
Gabriel Turinici
TL;DR
The paper addresses limited diversity in decoder-based generative models by proposing a kernel-based measure quantization framework that enforces diversity across the latent samples. It optimizes the latent coordinates by minimizing a kernel-based distance between the empirical latent measure $(1/J)\sum_{j=1}^J \delta_{X_j}$ and the target $\mu_L$ or $\mathcal{N}(0_L, Id_L)$ using the kernel $h(x)=\sqrt{\|x\|^2 + a^2}-a$ and the Adam optimizer. Two algorithms are developed: an ideal-target sampling when the latent distribution is close to $\mathcal{N}(0_L, Id_L)$ and an empirical-target sampling that uses the actual latent distribution $\mu_L$, both demonstrated on a VAE with MNIST to reduce sample repetitions and improve diversity. The approach provides a scalable, generalizable mechanism to mitigate mode-like repetition in decoder-based generative AI (GANs/VAEs/Transformers) and can be adapted to other target measures beyond the normal distribution.
Abstract
The decoder-based machine learning generative algorithms such as Generative Adversarial Networks (GAN), Variational Auto-Encoders (VAE), Transformers show impressive results when constructing objects similar to those in a training ensemble. However, the generation of new objects builds mainly on the understanding of the hidden structure of the training dataset followed by a sampling from a multi-dimensional normal variable. In particular each sample is independent from the others and can repeatedly propose same type of objects. To cure this drawback we introduce a kernel-based measure quantization method that can produce new objects from a given target measure by approximating it as a whole and even staying away from elements already drawn from that distribution. This ensures a better diversity of the produced objects. The method is tested on classic machine learning benchmarks.
