To verify this, we investigate whether the BoW representation and the learned latent code can be reconstructed from each other.
given a sentence x we can compute BoW as defined above and µ = enc(x), the latent encoding of x as represented by the mean vector output by the encoder.