Manuscript Offprint

arXiv:2610.06545

Empirical Variational Autoencoder

Kaede Shiohara

Abstract

We present Empirical Variational Autoencoder (EVA), a general generative framework for continuous-valued (i.e., non-vector-quantized) sequences. EVA is based on the evidence lower bound of the Variational Autoencoder (VAE) but learns autoregressive latent priors empirically from training data, which can be implemented only by an additional single linear layer on top of VAEs. By replacing the conventional standard-Gaussian constraint with the self-predicted priors, EVA significantly alleviates the latent distribution gap between prior and posterior which is typically observed in conventional VAEs, and leads to high-fidelity ancestral sampling for sequential data generation. Extensive experiments on image and sound synthesis demonstrate that EVA achieves competitive generation quality with autoregressive diffusion baselines despite its much faster inference time. Project page: https://mapoon.github.io/EVAPage.

1. Introduction

Autoregressive (AR) models are a dominant approach to sequence generation, but their standard formulation is most natural for discrete-valued data, where each predictive distribution is categorical. For continuous-valued sequences, direct regression losses such as mean squared error do not model the full next-token density and therefore struggle to capture multimodality and uncertainty. Existing continuous AR approaches address this issue by employing continuous generative heads such as Gaussian mixture model [38] and diffusion [18], but these methods either impose fixed parametric families or incur substantial inference costs. Variational autoencoders (VAEs) [16] provide a theoretically well-supported generative framework for continuous data through latent-variable modeling. However, conventional VAEs can suffer from a mismatch between the dependencies remaining across latent positions in the posterior and the factorized standard-Gaussian prior used for generation, which significantly degrades sampling quality. In practice, this limitation has contributed to a trend in which VAE-style models are more often used as latent compressors or tokenizers than as standalone generators in modern large-scale generative pipelines [27, 43].

In this work, we revisit the role of VAEs as generative models especially for sequential data. Our proposed Empirical Variational Autoencoder (EVA) is built on the evidence lower bound (ELBO) of VAEs, but replaces the traditional fixed latent prior with an autoregressive prior learned empirically from data. This simple modification significantly aligns the prior distribution with the posterior and enables high-fidelity sequential sampling. Experiments on a controlled toy benchmark, ImageNet [28], and VGGSound [6] show that EVA achieves competitive results with autoregressive generators [18, 38] while maintaining substantially more efficient ancestral inference than diffusion-based AR approaches.

References (45)