Adversarial Learning with Local Coordinate Coding

Jiezhang Cao, Yong Guo, Qingyao Wu, Chunhua Shen, Junzhou Huang, Mingkui Tan

Abstract

Standard Generative Adversarial Networks (GANs) often struggle because they sample from generic noise distributions that ignore the underlying geometry of real data. This paper introduces LCC-GANs, which use Local Coordinate Coding to sample directly from a learned latent manifold. By exploiting local geometry, LCC-GANs can generate high-quality, diverse images even with very low-dimensional input vectors.

Introduction: The Dimensionality Gap in GANs

Most GANs generate images by transforming a "prior" distribution—usually simple Gaussian or uniform noise—into data. However, this prior is independent of the actual data distribution, leading to two major hurdles:

  1. Loss of Semantic Structure: Simple noise doesn't capture the "manifold" (the low-dimensional surface) where real data actually lives. This can lead to distorted images or "mode collapse," where the generator produces very little variety.
  2. The Dimensionality Gap: It is often unclear how many dimensions the input noise should have. In practice, GANs are sensitive to this; too few dimensions lead to poor diversity, while too many can make the model difficult to generalize.

The authors aim to bridge this gap by sampling from a distribution that incorporates the local geometry of the data.

Methodology: LCC-GANs

The proposed framework, Adversarial Learning with Local Coordinate Coding (LCC-GANs), involves a three-step process to ensure the generator receives semantically meaningful inputs.

  1. Learning the Manifold: An AutoEncoder (AE) maps real data into a latent space, ensuring embeddings capture essential semantic information.
  2. Local Coordinate Coding (LCC): The latent space is represented by a set of "anchor points" (bases). Any point on the manifold is approximated as a linear combination of its nearby anchor points.
  3. LCC Sampling: During training, the model selects an anchor point, finds its $d$-nearest neighbors, and constructs a new sample by combining these neighbors using weights drawn from a standard distribution.

Key Insights: The Power of Locality

The core "aha moment" of this research is that a complex, non-linear generator can be locally approximated by a linear function if the sampling is restricted to a small neighborhood on the manifold. This local linearity makes the learning process significantly more stable.

Illustration of local linearity on a manifold, showing how a function can be approximated by local linear patches.

Furthermore, the paper provides a theoretical proof showing that the generalization error of a GAN depends on the intrinsic dimension of the data manifold (the actual degrees of freedom) rather than the size of the noise vector. This explains why LCC-GANs are highly efficient at low dimensions, producing sharp images with as few as 5 or 10 dimensions where standard GANs typically fail.

Experimental Results

The researchers evaluated LCC-GANs on benchmarks including MNIST, Oxford-102, LSUN, and CelebA.

  • Superior Quality at Low Dimensions: On the Oxford-102 dataset, an LCC-GAN with only 10 dimensions achieved an Inception Score (IS) of 2.71, outperforming a standard Vanilla GAN using 100 dimensions (IS of 2.66).
  • Diversity: Using the MS-SSIM metric, LCC-GANs consistently outperformed Vanilla GANs, WGANs, and Progressive GANs, indicating higher output variety.
  • Visual Clarity: Qualitative results on LSUN and CelebA show that LCC-GANs produce much sharper textures and more coherent structures (e.g., facial symmetry) compared to baselines when input dimensionality is restricted.

Conclusion and Future Work

While LCC-GANs offer significant improvements in stability and efficiency, the current approach requires a two-stage training process involving an initial AutoEncoder. Performance also relies on the selection of high-quality anchor points. Future work may explore integrated manifold learning techniques and more efficient clustering methods to scale the approach to even larger and more complex datasets.

Summary updated

BibTeX
@inproceedings{cao2018adversarial,
  author = {Jiezhang Cao and Yong Guo and Qingyao Wu and Chunhua Shen and Junzhou Huang and Mingkui Tan},
  title = {{Adversarial Learning with Local Coordinate Coding}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
}
Figure