Variational Autoencoders (VAE) are widely used for dimensionality reduction of large-scale tabular and image datasets.The proposed model, LMMVAE, separates the VAE latent model into fixed and random parts to account for correlated data observations.LMMVAE improves squared reconstruction error and negative likelihood loss on unseen data.It also enhances performance in downstream tasks such as supervised classification.