An introduction to Variational Auto Encoders (VAEs)

栏目: IT技术 · 发布时间: 5年前

An introduction to Variational Auto Encoders (VAEs)

Understanding Variational Autoencoders (VAEs) from theory to practice using PyTorch

An introduction to Variational Auto Encoders (VAEs)

Art work from https://joanielemercier.com/ (Eyjafjallajökull, NY, May 2010 — commissioned by onedotzero)

VAE are latent variable models [1,2]. Such models rely on the idea that the data generated by a model can be parametrized by some variables that will generate some specific characteristics of a given data point. These variables are called latent variables.

One of the key ideas behind VAE is that instead of trying to construct a latent space (space of latent variables) explicitly and to sample from it in order to find samples that could actually generate proper outputs (as close as possible to our distribution), we construct an Encoder-Decoder like network which is split in two parts:

  • The encoder learns to generate a distribution depending on input samples X from which we can sample a latent variable that is highly likely to generate X samples. In other words we learn a set of parameters θ1 that generate a distribution Q(X,θ1) from which we can sample a latent variable z maximizing P(X|z).
  • The decoder part learns to generate an output which belongs to the real data distribution given a latent variable z as an input. In other words, we learn a set of parameters θ2 that generates a function f(z,θ2) that maps the latent distribution that we learned to the real data distribution of the dataset.

An introduction to Variational Auto Encoders (VAEs)

Variational Auto Encoder global architecture

In order to understand the mathematics behind Variational Auto Encoders, we will go through the theory and see why these models works better than older approaches.

This article will cover the following

  • How to define the construct the latent space
  • How to generate data efficiently from latent space sampling.
  • The final architecture of VAEs
  • Some experiments showing interesting properties of VAEs

以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

挑战编程技能

挑战编程技能

Brian P. Hogan / 臧秀涛 / 人民邮电出版社 / 2017-2 / 39.00元

新手程序员在具备了理论基础后,面对实际项目时,往往不知道如何解决问题;有经验的程序员在学习了一门新语言后,也会有很多不知道如何使用的特性。针对程序员的这一普遍困惑,资深软件工程师Brian P. Hogan在这本书中总结了57道练习题,教他们如何锤炼技能。这些练习题的难度会逐渐增加,使得编程训练充满挑战又乐趣多多。一起来看看 《挑战编程技能》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具