Conditional generative models—like cGANs or cVAEs—have become staples in machine learning, allowing us to generate images based on specific labels like "age" or "lighting." However, a persistent challenge remains: how do we generate samples for unobserved intermediate labels? If you have data for "Age 20" and "Age 50," how does the model decide what "Age 35" looks like? Most current methods simply interpolate label vectors and hope the neural network produces something sensible, but they lack a rigorous theoretical guarantee that these transitions are smooth or mathematically sound.
In their paper, "Wasserstein Geodesic Generator for Conditional Distributions," Young-geun Kim and colleagues propose a new framework that treats the space of distributions as a metric space, using Optimal Transport (OT) to find the "shortest path" between them.
TL;DR
The authors introduce the Wasserstein Geodesic Generator (WGG), a novel framework that uses Optimal Transport to learn smooth, theoretically grounded transitions between conditional distributions. By characterizing the space of distributions as a metric space, WGG enables high-quality synthesis for unobserved intermediate domains, significantly outperforming standard baselines in both visual quality and statistical accuracy.
What Problem Does This Paper Address?
The core issue is interpolation in conditional generation. While we can train models on discrete "buckets" of data (e.g., specific lighting angles or age groups), we often want to generate samples that fall between these buckets.
Existing methods typically concatenate a domain label to a latent variable. While this works for observed labels, it doesn't guarantee that the path between two distributions (say, a face lit from the left vs. the right) is a "geodesic"—the shortest, most natural path in the space of probability distributions. Without this, intermediate generations often suffer from blurriness, artifacts, or physically implausible transitions. Furthermore, there hasn't been a solid theoretical framework to describe these paths in the space of conditional distributions.
Methods
The authors bridge this gap by combining generative modeling with Optimal Transport theory. Their approach, the Wasserstein Geodesic Generator (WGG), consists of three primary components:
- Theoretical Groundwork: They derive a tractable upper bound for the Wasserstein distance between conditional distributions. To make this optimization feasible, they introduce a new mathematical concept called conditional sub-coupling.
- The "Vertex and Edge" Framework: They treat observed conditional distributions as "vertices" in the Wasserstein space. The model learns these vertices using an Encoder ($Enc$) and a Generator ($Gen$).
- Optimal Transport Maps: To connect these vertices, they use a Transport Map ($T$) that learns the "edges"—the optimal way to move mass from one distribution to another.
- Geodesic Generation: To generate a sample for an unobserved intermediate domain, the model doesn't just "guess." It takes a sample from an observed domain, transports it toward the target domain using the learned OT map, and performs interpolation in the latent space.
The training involves a multi-part loss function including reconstruction error, a latent matching penalty (using Jensen-Shannon divergence), and a cycle-consistency loss to ensure the transport maps are reversible and stable.
Datasets
The researchers evaluated their model using the Extended Yale Face Database B (Extended Yale-B).
- Content: Approximately 15,000 face images of 29 subjects.
- Labels: 64 distinct light conditions (defined by azimuth and elevation of the light source).
- Task: The model was trained on specific lighting angles and tasked with generating faces for intermediate, unobserved lighting conditions.
Key Insights and Ideas
- McCann’s Interpolant: The authors leverage the idea that the "constant-speed geodesic" between two distributions is the most natural path for interpolation. This provides a geometric justification for why their generated intermediate samples look more realistic.
- Isometric Mapping: They prove that under certain conditions, the encoder and generator pair creates a distance-preserving (isometric) mapping between the data space and the latent space, ensuring that the geometry of the faces is respected during transport.
- Wasserstein Barycenters: The paper extends the two-domain interpolation to multiple domains. They show that their method approximates the Wasserstein barycenter—essentially the "mathematical average" of multiple distributions—which is highly useful for complex data augmentation.
- Independence of Representations: A key insight is that for the best results, the latent representation should be independent of the domain label (e.g., the "identity" of the face should stay the same regardless of the "lighting" label).
Key Results
The WGG demonstrated significant improvements over state-of-the-art baselines like cAAE, CycleGAN, and StarGAN:
- Quantitative Accuracy: On the Yale-B dataset, WGG achieved a Fréchet Inception Distance (FID) score of 74.2. For comparison, StarGAN scored 109.7 and CycleGAN scored 174.3. (Lower FID indicates the generated distribution is closer to the real one).
- Qualitative Sharpness: Visually, the WGG produced much clearer features. While baselines often produced blurry eyes or mouths when interpolating, WGG maintained sharp details.
- Physical Plausibility: The model successfully learned to "cast shadows" that reflected the 3D structure of the nose and mouth as the lighting angle changed, a feat that standard interpolation methods struggled to replicate.
Limitations and Future Work
While powerful, the WGG framework has a few areas for further exploration:
- Homogeneity Assumption: The proof that the model generates the true conditional distribution relies on the "homogeneous representations" assumption (that latent features are independent of labels). If the domains are extremely different (e.g., trying to interpolate between a cat and a car), this assumption might break down.
- Computational Complexity: Training three separate networks (Encoder, Generator, Transport Map) plus auxiliary discriminators is computationally intensive, requiring significant GPU hours.
- Continuous Labels: While the model handles continuous lighting labels well, extending this to more abstract or high-dimensional label spaces (like complex text descriptions) remains a challenge for future research.
Summary updated