VAEs in multiclass setting
Are there VAE variants that can work with data from multiple classes? I imagine clusters in the latent space. Is this a thing? Is it possible? I’m looking for generative models that can generate different collections. Maybe I should keep it simple and tune a model for each collection? I don’t know where to start from…
Posted Dec 12, 2021, 8:23 PM UTC
12
VAEs work on the assumption that there are learnable latent representations that individually vary along with a single feature in the data set used to train them. If you were using two similar datasets like dogs and cats, then we could imagine a single feature representing whether it is a dog or cat, and other features representing things like size, color, age, etc of the animal. However if we are working with very different things like the MNIST digit data set and a set of human celebrity faces, its hard to imagine what the latent feature representations would be as they vary.
Ultimately the way you train it depends on what your goals are. Are you trying to see if there are latent representations that are differentiable even when training with two different data sets? I would look into differentiability in VAEs and try to figure out what your goals are.
Hey, sorry for the late reply! Imagine something like CIFAR-10 - images with similar style or genre (photos) but different content (airplane, car, dog...). What I'm trying to achieve is something along the lines of "start generating pictures of airplanes" or "start generating pictures of cars". So I was wondering whether the latent representations would group together pictures of airplanes and separately as another group - pictures of cars. So I'd be able to generate from a part of the space that's typical for a specific group of photos.