Abstract
This paper introduces Turing GANs (T-GANs), a novel training framework that reframes the adversarial game as a literal Turing test. By forcing the discriminator to distinguish between pairs of (real, fake) and (fake, real) samples, the generator gains access to signals from real data during its update phase. This approach leads to significantly faster convergence and stable training on high-resolution images (up to 256x256) without the need for exhaustive hyperparameter tuning or complex architectural modifications.
Introduction
Standard Generative Adversarial Networks (GANs) often suffer from training instability, especially as image resolution increases. A key structural bottleneck in traditional GANs is that the generator is updated based solely on the discriminator's "memory" of real samples. During the generator's training phase, it only processes fake samples; it lacks a direct signal comparing its output to actual ground-truth data in that specific moment. This "blindness" makes it difficult for the generator to learn efficiently, often requiring meticulous hyperparameter adjustment or techniques like progressive growing to avoid mode collapse.
Methodology: The Turing Test Framework
The authors propose a "Turing Test" mode for training. Instead of the discriminator evaluating a single image to decide if it is "real or fake," it evaluates a pair of images $(x_r, x_f)$—one real and one fake.
Joint Distributions and Objectives
The framework defines two joint distributions:
- $P(x_r, x_f)$: A real sample followed by a fake sample.
- $Q(x_r, x_f)$: A fake sample followed by a real sample.
The goal is to minimize the distance between these two joint distributions. In an optimal state, the generator produces samples so realistic that a discriminator cannot determine whether the real image is the first or the second in the pair.
Discriminator Architecture
To implement this, the authors design a discriminator $T(x_r, x_f)$ that takes two inputs. A simple but effective version used is $T(x_r, x_f) = D(E(x_r) - E(x_f))$, where $E$ is an encoder and $D$ is a multilayer perceptron. This architecture forces the model to perform a pairwise comparison of features. This approach is versatile and can be integrated into both Standard GANs (T-SGAN) and Wasserstein GANs (T-WGAN).
Experimental Results
The researchers evaluated T-GANs on CelebA HQ (at 64x64, 128x128, and 256x256 resolutions) and CIFAR-10.
- Training Efficiency: On CelebA 64x64, T-GANs achieved a 2x speedup, reaching the same performance level in 10k iterations that standard GANs required 20k iterations to achieve.
- Image Quality: In 128x128 tests, T-SGAN and T-WGAN achieved Fréchet Inception Distances (FID) of 46.92 and 48.88 respectively, significantly outperforming SGAN-SN (65.78) and RSGAN-SN (98.87).
- High-Res Stability: While many GAN variants fail at 256x256 without heavy tuning, T-GANs produced high-quality, sharp facial images with stable convergence simply by proportionally increasing model size.
Discussion and Insights
By using pairs, the generator's loss function includes terms involving real samples, providing a stable "anchor" for the generator. This work generalizes the idea of Relativistic GANs (RSGANs) into a more flexible framework for comparing joint distributions. Furthermore, under the T-WGAN formulation, the target for the discriminator and generator becomes exactly symmetrical, simplifying the min-max game.
Conclusion
T-GANs offer a robust alternative to standard GAN training by leveraging pairwise comparisons. While there is a slight computational overhead due to processing pairs, the gains in training speed, stability, and image quality—especially at high resolutions—make it a compelling framework for generative modeling. Future work may explore alternative methods for mixing image pairs within the discriminator to further enhance performance.
Summary updated