Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
0 answers
174 views

Maximum Mean Discrepancy (MMD) implementation as a metric to measure GAN performance [closed]

I am trying to evaluate the performance of the GAN model, I have trained. I found that there exist two major choices FID (Fréchet inception distance) and MMD (Maximum Mean Discrepancy) for comparing ...
Rajesh Nakka's user avatar
0 votes
1 answer
89 views

In factor VAE, do you freeze the discriminator weights during the back propagation step for the FVAE loss?

In factor vae, Disentangling by Factorising, there are two losses that are minimized. One is the VAE loss (eq. 2 in the paper) that includes (1) reconstruction loss, (2) KL divergence and (3) Total ...
S R's user avatar
  • 33
0 votes
1 answer
114 views

VAE active units

According to Burda et al (2015) number of active units is computed as: $ Cov_x(E_{z \sim q_\phi(z|x)}) > \delta $ for some particular delta. In the paper it is set to 0.02 empirically. But this ...
Pavel Podlipensky's user avatar
2 votes
1 answer
1k views

How to generate new data with a VAE?

I have built the following function which takes as input some data and runs a VAE on them: ...
quant's user avatar
  • 531
4 votes
1 answer
1k views

How to rewrite DreamBooth loss in terms of $\epsilon$-prediction?

I'm trying to make the loss used in DreamBooth paper explicit, writing it in terms of the noise, as it is commonly written in the original diffusion article [1], instead of the image reconstruction ...
Ciodar's user avatar
  • 505
3 votes
2 answers
2k views

Can the dimension of the latent space in VAEs, be larger than the dimension of the data?

I am experimenting with VAEs. There, there is a parameter that you need pass when you create the NN, which is the dimension of the latent space. In the typical ...
quant's user avatar
  • 531
2 votes
1 answer
967 views

Initialization of GAN discriminator

The question is pretty straightforward: how are GAN and WGAN discriminators typically initialized? I couldn't find much info on this. E.x. for GANs, I imagine you would theoretically want the ...
karolyzz's user avatar
  • 143
2 votes
0 answers
105 views

Restricted Boltzmann Machine: W matrix visualization results after training MNIST images and Pseudo-log-likelihood

I am implementing RBM from scratch using Tensorflow and after training my RBM on the MNIST dataset for 200 epochs using Persistent CD with two steps of contrastive divergence, I learn the weights W ...
ef24's user avatar
  • 21
1 vote
0 answers
220 views

Synthetic data generation - GANs vs Simulator?

For synthetic data generation, does the GAN perform better than a simulator? If so, what are the limitations of the simulator? If we consider Conditional GANs, we could generate data based on the ...
EngGu's user avatar
  • 111
0 votes
0 answers
418 views

I need help understanding the meaning of the loss values of a WGAN with Gradient Penalty

I am currently working on training a Auxiliary Classifier Wasserstein GAN with Gradient Penalty. I based my implementation off of https://keras.io/examples/generative/wgan_gp/ (to which I added the ...
Moritz Grünbauer's user avatar
2 votes
1 answer
297 views

Issues with GAN and VAE models

I'm reading this amazing paper on Normalizing Flows https://arxiv.org/pdf/1908.09257.pdf but one sentence kind of bothers me: GANs and VAEs have demonstrated impressive performance results on ...
Pavel Podlipensky's user avatar
3 votes
1 answer
1k views

How to find bits/dim of a gaussian output distribution?

I have images that are 64x64x3 and 64x64x1 8-bit. I transform those images down to [-1,1]. I now want to find the bits/dim for my VAE log probability. How do I find the bits/dim of the log likelihood? ...
Chris's user avatar
  • 65
2 votes
1 answer
480 views

Can PCA generate a new random image?

I read The Batch: GANs newsletter and Goodfellow said: My colleague Bing Xu modeled face images from the Toronto Face Database, which were only 90 pixels square and grayscale. Because the faces were ...
Thew's user avatar
  • 121
3 votes
3 answers
2k views

In VAE, why use MSE loss between input x and decoded sample x' from latent distribution?

Variational Autoencoders (VAEs) are based on the concept of Variational Inference (VI) and use two Neural Networks similar to Vanilla Autoencoders (AEs) for function approximation. I understood the ...
Jonas G.'s user avatar
3 votes
1 answer
444 views

Can someone explain CAM loss used in U-GAT-IT paper?

I have been reading a recent paper accepted at ICLR, U-GAT-IT, which seems to produce pleasing results in the image-to-image translation tasks. There are four kinds of loss used in this paper: ...
Sudarshan Regmi's user avatar
3 votes
1 answer
209 views

Why is using a mixture of logstic distributions makes sense in pixelcnn++?

I went trough the paper and code of the pixelcnn++ model. From what I understand, they train the network in the following way for predicting the value of a single pixel: the inputs are the pixel ...
Moran Reznik's user avatar
0 votes
0 answers
116 views

Generating Graphs using a Neural Network

I currently have constructed a Graph Neural Network in PyTorch with graph conv layers I have made. With this, I am able to feed in adjacency and feature matrices and successfully perform node ...
Andrew's user avatar
  • 176
1 vote
2 answers
40 views

How to extract crucial features to create an image

Imagine, you have a dataset containing pictures of (example only, just to explain the task) cats and dogs. The data set is labeled, so we can train using supervised learning algorithms. My goal is ...
newbie data-scientist's user avatar
8 votes
1 answer
204 views

Structure of Generative Adversarial Networks (GAN) for mapping a simulation model

There is a simulation model of a system that I want to map as a neural network to test if a better execution time can be achieved with similar accuracy. The simulation model receives real-valued ...
Emma's user avatar
  • 93
13 votes
1 answer
730 views

How to understand Generative Adversarial Networks Discriminative distribution?

So I am currently studying Generative Adversarial Network and I read the paper by Goodfellow a few times now Generative Adversarial Nets and a few other papers in this field (DCGAN, CycleGAN, pix2pix, ...
Kalle's user avatar
  • 235
1 vote
0 answers
168 views

Are Flow Based Generative Models Referring to the Invertible Transformations?

So I have been studying generative models for a while now. I know how GANs and VAEs work quite well, but I am quite confused by how Flow Based Generative Models work. To my understanding, flow based ...
Ayaz Amin's user avatar
0 votes
1 answer
91 views

Learning Deep Generative Models of Graphs

I'm reading through Learning Deep Generative Models of Graphs, which is a paper that seems to me propose some sort of variational autoencoder to generate a graph. At very high level the semantic of ...
user8469759's user avatar
1 vote
2 answers
97 views

Working mechanism of discriminator in text to image synthesis GAN

I have the following architecture of discriminator in text to image synthesis where the image is convolved to lower dimension and concatenated with the text . My question is what is the use of ...
Sagar Budhathoki Magar's user avatar
2 votes
1 answer
1k views

How does one generate (smooth) varying size output signals with Machine Learning?

I am interested in knowing about generative methods that generate signals (e.g. images) of varying sizes. But the size generation being sort of "smooth/continuous". So for example, generating images ...
Charlie Parker's user avatar
2 votes
0 answers
54 views

Extracting likelihoods from generative model

I am looking for papers dealing with the extraction of explicit descriptions of probability distributions from a generative model. My use case is the following: I trained a GAN to generate samples ...
lbf_1994's user avatar
  • 528
2 votes
0 answers
49 views

How do I check my GAN implementation is correct?

I wrote a GAN implementation and I trained that to produce some sample images after training on a dataset. The images looked visually fine. Now I want to test my implementation on the CI and make ...
abc's user avatar
  • 121
2 votes
1 answer
2k views

On evaluating variational autoencoders with prior likelihood and reconstruction error

A common evaluation metric for variational autoencoders (VAEs) is estimating the marginal likelihood of some held-out data, i.e. $p(x)$. This is difficult and often one can only get a lower bound. It'...
user3658307's user avatar
  • 2,284
5 votes
1 answer
118 views

Convergence to gradient in limit of variance

I came across this equation in the original GAN paper (pg 2 https://papers.nips.cc/paper/5423-generative-adversarial-nets.pdf): $$\lim_{\sigma \rightarrow 0} \nabla_{\bf x} \mathbb{E}_{\epsilon \sim \...
baffld's user avatar
  • 205
2 votes
0 answers
70 views

Understanding probabilistic inference graphs

I am having trouble understanding inference graphs. In the diagram below I understand the graph on the left (forward graph) where the arrows describe the direction that data flows when training for ...
piccolo's user avatar
  • 967
2 votes
0 answers
127 views

What is the difference between a conditional model and just having multiple models?

Say I have a labeled dataset that I want to create a generative model for, like a Generative Adversarial Network or a Variational Autoencoder. What do I gain or lose by making my models conditional (i....
Harm van den Brand's user avatar
1 vote
0 answers
412 views

Which GAN is the best for data augmentation?

I have around 200000 images and I want to augment the data by generating more of them. Images do not have classes, because they are the same object and are used for the task of object detection. Can I ...
Marco Menardi's user avatar
22 votes
4 answers
8k views

Likelihood-free inference - what does it mean?

Recently I have become aware of 'likelihood-free' methods being bandied about in literature. However I am not clear on what it means for an inference or optimization method to be likelihood-free. In ...
piccolo's user avatar
  • 967
14 votes
3 answers
3k views

Is the optimization of the Gaussian VAE well-posed?

In a Variational Autoencoder (VAE), given some data $x$ and latent variables $t$ with prior distribution $p(t) = \mathcal{N}(t \mid 0, I)$, the encoder aims to learn a distribution $q_{\phi}(t)$ that ...
learner's user avatar
  • 707
3 votes
0 answers
99 views

Generative Adversarial Network and Variational Autoencoders for Independent Component Analysis?

Background: I'm working on a model for independent component analysis (ICA) that is based on a methodology similar to GANs and VAEs. What I'm having trouble understanding is how the choice of the loss ...
Don Walpola's user avatar
  • 1,368
2 votes
1 answer
1k views

How sampling and KL loss work in Variational Autoencoders?

I am trying to learn about Variational Autoencoders and found this very informative blog about vae's. I understood most part of vae's but cant understand how sampling and KL loss work in a vae. This ...
Eka's user avatar
  • 2,291
2 votes
1 answer
4k views

What is minibatch discrimination?

Can someone explain what minibatch discrimination is, in simple terms? Here is the link to the original paper. (Minibatch discrimination: Sec 3.2, page 3)
Kunal24's user avatar
  • 171
5 votes
1 answer
7k views

How to interpret the following GAN training losses?

I am training a GAN using the following loss functions: ...
Kunal24's user avatar
  • 171
1 vote
0 answers
2k views

GAN losses balance, but quality of generated image still bad

I build a GAN to train on the fashion mnist dataset. To facilitate the training, I have added gaussian noise with mean 0 and stddev 0.15 on the images. My generator is a 2 layer MLP with sigmoid ...
Chester Cheng's user avatar
16 votes
1 answer
18k views

Variational Autoencoder − Dimension of the latent space

I've done some experiments to understand the influence of the dimension of the latent space in a VAE, and it seems that the higher the space, the harder it is to generate realistic images. I might ...
Arthur Pesah's user avatar
1 vote
1 answer
34 views

Generating Synthetic Food Orders

I have some transactional data for users who have ordered food. However, I am not allowed to share this data but am allowed to augment or generate a synthetic sample and share it. I was thinking about ...
turnerRocker's user avatar
2 votes
1 answer
1k views

Some confusion on learning of Generative Adversarial Networks (GANs)

I have some experience with machine learning, but no background in deep learning at all. The idea of a GAN looks so cool, and there are so many sources out there that talks about the idea, but there ...
user5054's user avatar
  • 1,579
4 votes
1 answer
1k views

Generative Adversial Networks: how the generator is trained with the output of discriminator

Recently I have learned about Generative Adversarial Networks. For training the Generator, I am somehow confused how it learns. Here is an implemenation of GANs: ...
Kadaj13's user avatar
  • 395
2 votes
1 answer
7k views

Regression vs. classification and generative vs. discriminative

I recently touch the idea of Generative adversarial networks, which is a competition between a generative network and a discriminative network. This idea makes me think of replacing the word "network"...
Bossliaw's user avatar
  • 121
5 votes
3 answers
361 views

Tutorial recommendations for understanding GANs

I understand that generative adversarial networks (GANs) can synthetically reconstruct the input using a generator and a discriminator in a zero-sum game. However, I feel that I do not fully ...
3 votes
1 answer
210 views

Boltzmann machines: learning algorithm

I'm trying to study Boltzmann machines, so I don't undestand this recurrent formulation for the training stage of the weights $w$: $\Delta w_{ij} = E_{data} (v_i h_j ) − E_{model} (v_i h_j )$ all ...
volperossa's user avatar
12 votes
2 answers
7k views

What does log-likelihood mean in the context of generative models like GANs?

I understand the general notion of likelihood as "probability to generate the data given parameters" (like here). But people use (log-)likelihood as a measure of "goodness" of a generative model. ...
sygi's user avatar
  • 223
5 votes
0 answers
379 views

What enforces features diversity in RBM?

I'm working on an implementation of a Restricted Boltzman Machine (RBM). I made some tests on the MNIST dataset trying to learn a representation of the digit 2. My inputs are binary images. My aim is ...
user3091275's user avatar