Code Monkey home page Code Monkey logo

Comments (1)

arash-vahdat avatar arash-vahdat commented on July 19, 2024 2

In NCP-VAE and VAEBM, we trained new NVAEs from scratch using a Gaussian image decoder (i.e., p(x|z)). This was primarily because for VAEBM, we needed to backpropagate through generated images in the decoder, and this was easy to formulate with a Gaussian decoder using the reparameterization trick. This decoder type was not needed for NCP-VAE as it was completely formulated in the latent space. But, at the time, we didn't know about the implications of the Gaussian decoder.

In the original NVAE paper and later in LSGM, we used the discretized logistic mixture distribution in the decoder. You can read about this distribution in this paper. When writing the LSGM paper, we went back and computed FID for the original publicly available NVAE checkpoints and we were also surprised to see that they obtain a lower FID (29.76) compared to NVAEs trained for NCP-VAE and VAEBM (~40).

Here is why we think the FID score gets better with the discretized logistic mixture: This decoder is a better statistical model for representing pixel intensities in an image and it forms simple conditional dependencies between the RGB channels. In contrast, the Gaussian decoder is a simple model that predicts RGB channels independently. Our experiments show that the discretized logistic mixture requires encoding less information in the latent space to reconstruct input images which in turn translates to having fewer prior holes in the prior distribution. Because of this, it seems that the FID score gets better with this decoder.

I hope this clarifies the confusion. If you have any further questions, please let me know here.

from nvae.

Related Issues (20)

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.