VAE generating same results during test time

I have trained a VAE to generate a style transferred sentence, from a negative sentence to a positive sentence. The underlying concept of VAE tells us that the sampling is done randomly, to which Mean and Variance are added corresponding to the original input.

However, with my trained VAE, I am observing that at test time, my VAE is generating the same output (style transferred sentence) given an input sentence, no matter how many times I test.

My question is: Is this a normal behavior? If yes, is it not contradicting the random sampling? If no, what might have gone wrong?

Example (test time):

Input sentence: the food smells
Output sentence: the food is fresh

I get the same output every time.

Topic vae inference autoencoder sampling nlp

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.