Reproduce “Least Squares Generative Adversarial Networks” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xudong Mao, Qing Li, Haoran Xie, Raymond Y.K. Lau, Zhen Wang, Stephen Paul Smolley

Least Squares Generative Adversarial Networks (LSGANs) replace the traditional sigmoid cross-entropy loss with a least squares loss function, which mitigates vanishing gradients and improves training stability. This approach enables the generation of higher-quality images across various scene datasets and avoids mode collapse in multimodal distributions, also effectively generating conditional samples for thousands of classes.

Key insights

  • The least squares loss provides continuous, non-vanishing gradients to the generator, even for samples far from the real data manifold, facilitating better updates.
  • Minimizing the LSGAN objective function is theoretically shown to be equivalent to minimizing the Pearson ext{The Layton framework introduces a Latent Consistency Tokenizer that efficiently represents 1024x1024 pixel images with only 256 discrete tokens, achieving a 16x compression while maintaining high fidelity. It leverages pre-trained Latent Diffusion Models and consistency models for decoding, leading to state-of-the-art image reconstruction and text-to-image generation.
  • originalProblem
  • Early deep generative models suffered from limitations such as intractable functions, intractable inference problems, or the generation of blurry images.
  • Traditional GANs faced two main challenges: limited quality of generated images due to vanishing gradients in the sigmoid cross-entropy loss, and instability of the learning process (e.g., mode collapse).

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.