Introduction
Standard Generative Adversarial Networks (GANs) are powerful tools for matching probability distributions. However, their reliance on matching probability density often leads to failures in unsupervised domain alignment when datasets exhibit biased sampling or uneven coverage. In scientific domains like biology, the frequency of specific observations (e.g., cell types) may vary due to experimental artifacts rather than fundamental biological differences.
The Challenge: Density vs. Geometry
In unsupervised domain mapping, models like CycleGAN attempt to find correspondences between two datasets. If Dataset A contains a large cluster of a specific type and Dataset B contains only a few, a standard GAN will "squish" or "stretch" the data to match these frequencies. This distortion compromises the intrinsic geometric properties of the data, leading to incorrect mappings where identity is lost in favor of satisfying the discriminator's density requirements.
Manifold Geometry Matching (MGM) GAN
To address these limitations, we introduce the Manifold Geometry Matching (MGM) GAN. This framework shifts the objective from matching "how many" points are in a region to matching the underlying geometric shape (manifold) of the data. By treating density as a nuisance variable, the model focuses on preserving the structural identity of the data across domains.
Methodology
The MGM GAN incorporates three key innovations to achieve geometry-aware alignment:
- Importance Sampling for Geometry: Using a pre-trained autoencoder, data is mapped to a latent manifold. This space is partitioned into Voronoi cells. Points in high-density regions are downweighted, while sparse regions are upweighted, effectively "flattening" the distribution for the discriminator and forcing it to learn the manifold's shape rather than its crowd size.
- Manifold Geometry Loss ($L_{MG}$): Borrowing from classical manifold alignment, this term explicitly penalizes the generator for altering relative distances between points. If two points are proximal on the original manifold, they must remain proximal in the target domain.
- MGM Architecture: The model integrates importance sampling into a cycle-consistency framework, enabling robust bidirectional mapping between two domains.
Experimental Results
The MGM GAN was evaluated across synthetic, digit, and real-world biological datasets:
- Biased MNIST: In a scenario where digit frequencies were heavily skewed (e.g., one domain oversampled with zeros, the other with ones), MGM GAN achieved near-perfect F-scores (0.98-0.99) in preserving digit identity. Standard CycleGANs failed (scoring 0.27-0.50) as they transformed rare digits into common ones to satisfy the density-based discriminator.
- Biological CyTOF Data: When aligning T cell protein expression across different individuals, MGM GAN improved alignment accuracy, increasing the $R^2$ from 0.82 to 0.97. Crucially, it successfully aligned rare cell populations (like CD25+ cells) that other models misidentified due to their low frequency.
Conclusion
By prioritizing manifold geometry over probability density, MGM GAN provides a more robust solution for unsupervised domain alignment in biased datasets. While the method introduces some complexity regarding partition selection and computational overhead for distance calculations, it significantly improves the preservation of identity and structure in critical scientific data applications.
Summary updated