Coder Social home page Coder Social logo

vaes's Introduction

Variant models of VAE based on Pytorch

1.Variational Auto-Encoder(VAE)

https://arxiv.org/pdf/1312.6114.pdf

$$ \log p _ { \boldsymbol { \theta } } \left( \mathbf { x } ^ { ( i ) } \right) \geq \mathcal { L } \left( \boldsymbol { \theta } , \boldsymbol { \phi } ; \mathbf { x } ^ { ( i ) } \right) = \mathbb { E } _ { q _ { \phi } ( \mathbf { z } | \mathbf { x } ) } \left[ - \log q _ { \phi } ( \mathbf { z } | \mathbf { x } ) + \log p _ { \boldsymbol { \theta } } ( \mathbf { x } , \mathbf { z } ) \right] $$ $$ \mathcal { L } \left( \boldsymbol { \theta } , \boldsymbol { \phi } ; \mathbf { x } ^ { ( i ) } \right) = - D _ { K L } \left( q _ { \boldsymbol { \phi } } \left( \mathbf { z } | \mathbf { x } ^ { ( i ) } \right) | p _ { \boldsymbol { \theta } } ( \mathbf { z } ) \right) + \mathbb { E } _ { q _ { \phi } \left( \mathbf { z } | \mathbf { x } ^ { ( i ) } \right) } \left[ \log p _ { \boldsymbol { \theta } } \left( \mathbf { x } ^ { ( i ) } | \mathbf { z } \right) \right] $$ $$ \widetilde { \mathcal { L } } \left( \boldsymbol { \theta } , \boldsymbol { \phi } ; \mathbf { x } ^ { ( i ) } \right) = - D _ { K L } \left( q _ { \boldsymbol { \phi } } \left( \mathbf { z } | \mathbf { x } ^ { ( i ) } \right) | p _ { \boldsymbol { \theta } } ( \mathbf { z } ) \right) + \frac { 1 } { L } \sum _ { l = 1 } ^ { L } \left( \log p _ { \boldsymbol { \theta } } \left( \mathbf { x } ^ { ( i ) } | \mathbf { z } ^ { ( i , l ) } \right) \right) $$ where $\mathbf { z } ^ { ( i , l ) } = g _ { \phi } \left( \boldsymbol { \epsilon } ^ { ( i , l ) } , \mathbf { x } ^ { ( i ) } \right)$ and $\boldsymbol { \epsilon } ^ { ( l ) } \sim p ( \boldsymbol { \epsilon } )$ $$ \mathcal { L } ( \boldsymbol { \theta } , \boldsymbol { \phi } ; \mathbf { X } ) \simeq \widetilde { \mathcal { L } } \left( \boldsymbol { \theta } , \boldsymbol { \phi } ; \mathbf { X } ^ { M } \right) = \frac { N } { M } \sum _ { i = 1 } ^ { M } \widetilde { \mathcal { L } } \left( \boldsymbol { \theta } , \boldsymbol { \phi } ; \mathbf { x } ^ { ( i ) } \right) $$

2.$\beta$-VAE

https://pdfs.semanticscholar.org/a902/26c41b79f8b06007609f39f82757073641e2.pdf

$$ \mathcal { L } ( \theta , \phi ; \mathbf { x } , \mathbf { z } , \beta ) = \mathbb { E } _ { q _ { \phi } ( \mathbf { z } | \mathbf { x } ) } \left[ \log p _ { \theta } ( \mathbf { x } | \mathbf { z } ) \right] - \beta D _ { K L } \left( q _ { \phi } ( \mathbf { z } | \mathbf { x } ) | p ( \mathbf { z } ) \right) $$

vaes's People

Contributors

guhongyang avatar

Watchers

James Cloos avatar paper2code - bot 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.