Skip to main content
QUICK REVIEW

[Paper Review] Learning Inverse Mapping by Autoencoder based Generative Adversarial Nets

Junyu Luo, Yong Xu|arXiv (Cornell University)|Mar 29, 2017
Generative Adversarial Networks and Image SynthesisComputer Science10 references5 citations
TL;DR

This paper proposes AEGAN, an autoencoder-based method that trains an inverse generator (IG) as an encoder and a pre-trained GAN generator as a decoder to learn the inverse mapping from image space to latent space. By minimizing the reconstruction loss between generated images from the same latent code, AEGAN overcomes training instability and poor correlation issues in existing inverse GAN models, achieving state-of-the-art performance in image search and super-resolution without supervision.

ABSTRACT

The inverse mapping of GANs'(Generative Adversarial Nets) generator has a great potential value.Hence, some works have been developed to construct the inverse function of generator by directly learning or adversarial learning.While the results are encouraging, the problem is highly challenging and the existing ways of training inverse models of GANs have many disadvantages, such as hard to train or poor performance.Due to these reasons, we propose a new approach based on using inverse generator ($IG$) model as encoder and pre-trained generator ($G$) as decoder of an AutoEncoder network to train the $IG$ model. In the proposed model, the difference between the input and output, which are both the generated image of pre-trained GAN's generator, of AutoEncoder is directly minimized. The optimizing method can overcome the difficulty in training and inverse model of an non one-to-one function.We also applied the inverse model of GANs' generators to image searching and translation.The experimental results prove that the proposed approach works better than the traditional approaches in image searching.

Motivation & Objective

  • To address the challenge of training stable and accurate inverse models for GAN generators, which are inherently non-one-to-one and non-invertible.
  • To overcome limitations in existing methods—such as poor reconstruction quality, reliance on labeled data, or slow optimization—by using an autoencoder framework.
  • To enable effective image retrieval and image-to-image translation using the learned inverse mapping without requiring supervised fine-tuning.
  • To demonstrate that the inverse generator produces semantically rich latent representations comparable to word embeddings, useful for downstream vision tasks.

Proposed method

  • AEGAN uses a pre-trained GAN generator as the decoder and trains an inverse generator (IG) as the encoder in an autoencoder architecture.
  • The model minimizes the L2 loss between the generated images from the same latent code: $ \| G(IG(x)) - x \|_2^2 $, where $ x $ is a real image and $ G $ is the pre-trained generator.
  • The training avoids direct optimization of the latent code $ z $, sidestepping the need for iterative gradient descent used in prior methods.
  • The encoder (IG) is trained end-to-end with the generator fixed, enabling inversion from real images to their corresponding latent codes.
  • The method does not require joint training of generator and discriminator, allowing inversion to be learned from a pre-trained GAN.
  • The approach is applied to image search and super-resolution by leveraging the semantic-rich latent codes produced by the IG.

Experimental results

Research questions

  • RQ1Can an autoencoder-based framework improve the stability and quality of inverse GAN modeling compared to adversarial or optimization-based approaches?
  • RQ2Does the learned inverse mapping preserve high-level semantic features useful for image retrieval and transformation tasks?
  • RQ3Can the inverse generator produce latent codes that are robust to image corruptions like blur or color shifts, enabling unsupervised super-resolution?
  • RQ4How does the performance of AEGAN compare to traditional hashing methods (e.g., dHash) in image similarity search without supervision?
  • RQ5To what extent can the inverse model be used to enable semi-supervised image-to-image translation?

Key findings

  • AEGAN achieves a dHash similarity of 0.8266 with original images, outperforming direct training (0.7944) and BiGAN (0.6594), indicating superior reconstruction quality.
  • In image search, AEGAN achieves a label similarity of 0.7918, significantly higher than dHash (0.7483), demonstrating better semantic alignment.
  • The method successfully reconstructs blurred images into sharp versions without any fine-tuning, showing robustness and generalization in super-resolution.
  • The inverse generator captures key facial features such as face angle, expression, and hairstyle, enabling accurate retrieval even under appearance variations.
  • AEGAN enables unsupervised image-to-image translation by training only the encoder part conditionally, while the generator remains pre-trained.
  • The approach is universally applicable and does not require labeled data, making it suitable for large-scale, open-domain vision applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.