Structure-preserving GANs

Jeremiah Birrell, Markos A. Katsoulakis, Luc Rey-Bellet, Wei Zhu

Abstract

This paper introduces Structure-preserving GANs, a theoretically grounded framework that significantly boosts data efficiency by baking domain-specific symmetries (such as rotation or reflection) directly into the model architecture. By proving that invariant discriminators must be paired with equivariant generators to avoid "mode collapse," the authors achieve up to an order of magnitude improvement in image quality and diversity, especially when training data is scarce.

The Challenge: Blank Slate GANs

Standard Generative Adversarial Networks (GANs) are essentially "blank slates." They attempt to learn a data distribution without any prior knowledge of its underlying geometry. However, many real-world datasets possess intrinsic structures. For example, in medical pathology slides or satellite imagery, an object’s meaning doesn't change if it is rotated or reflected—a property known as group symmetry.

Standard GANs waste a massive amount of model capacity and training data "re-learning" these symmetries from scratch. This makes them notoriously data-hungry and prone to overfitting when samples are limited. The authors aim to bridge the gap between abstract mathematical theory (variational representations of divergences) and practical deep learning to create GANs that are "aware" of these symmetries from the start.

Structure-Preserving Methodology

The authors propose a unified framework for Structure-preserving GANs based on three main pillars:

  1. Invariant Discriminators: They mathematically prove that if a target distribution has a certain symmetry, the discriminator’s search space can be restricted to functions that are invariant to that symmetry. This acts as a powerful, unbiased form of regularization.
  2. Equivariant Generators: A key theoretical contribution is the "Equivariant Generator Theorem." The authors prove that if you use an invariant discriminator, you must use a generator that is equivariant (i.e., if you rotate the input noise or latent space appropriately, the output rotates accordingly).
  3. Symmetrization Layers: They identify a common flaw in previous empirical attempts: standard initial layers often destroy symmetry before it can be processed. They introduce a specific symmetrization layer to ensure the noise source itself respects the required symmetry.

The Necessity of Symmetry Pairing

You cannot simply "fix" the discriminator. If the discriminator is "blind" to rotation (invariant) but the generator is not "aware" of it (equivariant), the generator will find a shortcut by only producing images in a single orientation. This leads to a catastrophic mode collapse, which the authors prove theoretically. Restricting the discriminator isn't just a heuristic; it's a mathematically sound way to reduce the "distance" the model has to bridge, which is why the model performs so much better in "small data" regimes.

Experimental Results

The framework was validated across several diverse datasets, including a toy 2D t-distribution, RotMNIST (randomly rotated digits), and real-world medical imaging datasets (ANHIR & LYSTO) which are invariant to both rotation and reflection.

The quantitative improvements are striking, particularly when training data is limited. On the RotMNIST dataset, using only 1% of the training data (600 samples), the proposed model achieved a Fréchet Inception Distance (FID) of 98, compared to 295 for a standard CNN-based GAN.

Comparison of generated digits: (a) baseline vs (b) the proposed framework. The latter shows much higher clarity and variety in orientation.

On the ANHIR medical imaging dataset, the structure-preserving approach reached an FID of 157, while the baseline model lagged at 485. Qualitatively, baseline models often produce blurry or orientationally biased results, whereas the structure-preserving GANs produce sharp, diverse samples that respect the underlying symmetry of the data.

Generated medical pathology patches using the proposed Equivariant Generator and Invariant Discriminator (Eqv G + Inv D), demonstrating high sample fidelity.

Limitations and Future Work

  • Prior Knowledge Required: The framework requires the user to know the symmetries of the data beforehand. It does not currently "discover" symmetries automatically from raw data.
  • Architectural Complexity: Implementing equivariant layers can be more complex and computationally demanding than standard convolutions, though the authors argue this is offset by the massive gains in data efficiency.
  • Future Directions: The authors suggest extending this formalism to coarse-graining in molecular dynamics and other scientific fields where physical constraints (like conservation laws) can be treated as "structures" to be preserved.

Summary updated

BibTeX
@inproceedings{birrell2022structure,
  author = {Jeremiah Birrell and Markos A. Katsoulakis and Luc Rey-Bellet and Wei Zhu},
  title = {{Structure-preserving GANs}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=y2vMB0VuhJ},
}
Figure