Giter Site home page Giter Site logo

pkulwj1994 / advlatgan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yangco-le/advlatgan

0.0 0.0 0.0 373 KB

Official implementation of NeurIPS 2022 Spotlight paper "Improving Generative Adversarial Networks via Adversarial Learning in Latent Space".

Shell 1.07% Python 98.93%

advlatgan's Introduction

AdvLatGAN: Adversarial Latent Generative Adversarial Networks

Official implementation of NeurIPS 2022 Spotlight paper: "Improving Generative Adversarial Networks via Adversarial Learning in Latent Space".

sampling_shift

A Brief Introduction: This work integrates adversarial techniques on latent space with GAN to improve the generation performance. The generation pipeline suffers from the "too continuous" issue when it tries to match up with the real data distribution, which is supported on disjoint manifolds. Adopting adversarial techniques in latent space, we impose an extra (implicit) transform function on the raw Gaussian sampling in GANs to perform "surgery" on the latent prior. Introducing targeted sampling transform in GAN training alleviates training challenges and empowers more robust network training pipelines, while the sampling transform in inference (generation) time directly improves the generation quality.

Code Organization

The implementation consists of three parts:

  • AdvLatGAN-qua: GAN training algorithm for better quality
  • AdvLatGAN-div: GAN training algorithm for more diverse generation
  • AdvLatGAN-z: post-training latent space sampling improvement

Experiments on -qua and -div are based on different implementations and we separate the code into folders AdvLatGAN-qua&-z and AdvLatGAN-div. AdvLatGAN-qua&-z also includes the code of -z.

Run

To run the code, please refer to the README.md in the subdirectories.

Reference

    @inproceedings{li2022improving,
    title={Improving Generative Adversarial Networks via Adversarial Learning in Latent Space},
    author={Yang Li and Yichuan Mo and Liangliang Shi and Junchi Yan},
    booktitle={Advances in Neural Information Processing Systems (NeurIPS)},
    year={2022}
    }

Acknowledgements

This repository is built upon pytorch-gan-collections, pytorch-gan-metrics and MSGAN.

advlatgan's People

Contributors

yangco-le avatar mo666666 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.