Manifold regularization with GANs for semi-supervised learning

Bruno Lecouat, Chuan Sheng Foo, Houssam Zenati, Vijay ChandrasekhararXiv 2018

Abstract

This paper introduces a novel framework for semi-supervised learning (SSL) that leverages Generative Adversarial Networks (GANs) to approximate the underlying data manifold. By enforcing prediction smoothness along the manifold discovered by the GAN generator, the authors achieve state-of-the-art results on standard image benchmarks. This approach not only improves classification accuracy with limited labeled data but also enhances the visual quality of the GAN’s generated images.

Introduction

Deep learning typically requires vast amounts of manually labeled data to perform effectively. Semi-supervised learning (SSL) aims to mitigate this requirement by learning from a small pool of labeled data combined with a much larger pool of unlabeled data. A classic strategy in SSL is manifold regularization, which assumes that high-dimensional data (such as images) lies on a lower-dimensional manifold. The underlying principle is simple: if two points are close to each other on this manifold, they should likely share the same label.

The primary challenge lies in accurately estimating this manifold for complex, high-dimensional datasets. Previous methods involving graphs or encoders are often computationally expensive or struggle with image data. This paper proposes using GANs as a differentiable tool to approximate and navigate these manifolds.

Methodology

The authors utilize the GAN generator as a map of the data manifold. Since the generator learns to map a simple latent space ($z$) to the complex distribution of real images ($x$), it essentially provides the "coordinates" of the data manifold.

The core technical contribution is a Monte Carlo approximation of the Laplacian norm. The process involves:

  1. Sampling a point in the GAN's latent space.
  2. Perturbing that point slightly to identify a "neighbor" on the manifold.
  3. Penalizing the classifier if its predictions change drastically between these two manifold-adjacent points.

To address noise in the GAN's mapping, the authors developed a "normalized" version of the regularizer. This version focuses on the direction of the manifold while using a tunable step size ($\epsilon$), preventing over-smoothing in areas where the GAN's manifold might be imperfect or disjointed.

Visualization of manifold regularization on toy datasets (Two Circles and Two Moons), showing decision boundaries and manifold gradients.

Experimental Evaluation

The proposed method was evaluated on standard benchmarks including CIFAR-10, SVHN (Street View House Numbers), and MNIST, as well as toy datasets for visualization.

On CIFAR-10 with only 1,000 labels, the method reduced the error rate from 21.83% to 16.37%. On SVHN with 500 labels, the error rate dropped significantly from 18.44% to 5.67%. These results are highly competitive with non-GAN state-of-the-art approaches like Mean Teacher and Virtual Adversarial Training (VAT), particularly in low-label regimes.

Effect of the step size parameter $\epsilon$ on image perturbations along the manifold. As $\epsilon$ increases, the semantic changes in the generated images become more pronounced.

Key Insights and Results

  • GANs as Geometric Tools: Beyond image generation, GANs act as differentiable maps of data density, allowing for calculus-based regularization directly on the data manifold.
  • Directional Robustness: Ignoring the raw gradient magnitude in favor of the manifold direction makes the regularization much more robust to the "stretching" or noise inherent in GAN mappings.
  • A Virtuous Cycle: Adding manifold regularization to the discriminator (acting as the classifier) improved the generator's performance. On CIFAR-10, the Inception Score jumped from 6.28 to 6.77, indicating higher-quality image generation.
  • Implementation Simplicity: Unlike methods requiring complex encoder networks, this approach works with standard GAN architectures, making it easier to deploy.

Limitations and Future Work

The primary limitation is the dependency on GAN quality; if the generator produces poor samples, the regularization can negatively impact performance. Currently, the method regularizes based on generated samples. Future research could explore efficient ways to project real unlabeled images onto the GAN manifold to apply smoothing directly to the training data points. Additionally, the framework could be extended to semi-supervised regression tasks.

Summary updated

BibTeX
@misc{lecouat2018manifold,
  author = {Bruno Lecouat and Chuan Sheng Foo and Houssam Zenati and Vijay Chandrasekhar},
  title = {{Manifold regularization with GANs for semi-supervised learning}},
  year = {2018},
  eprint = {1807.04307},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.04307},
}
Figure